switch ethereum 2.0 to ethereum serenity (#714)

This commit is contained in:
terence tsao
2018-11-01 12:02:01 +01:00
committed by Preston Van Loon
parent 3868b6bbe7
commit 8408315f9c
18 changed files with 33 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
# Prysmatic Labs Validator Client Implementation
This is the main project folder for a validator client implementation of Ethereum 2.0 in Golang by [Prysmatic Labs](https://prysmaticlabs.com). A validator client attaches to a running beacon node in order to perform proposer/attester responsibilities and manage the lifecycle of a particular shard upon being assigned to one.
This is the main project folder for a validator client implementation of Ethereum Serenity in Golang by [Prysmatic Labs](https://prysmaticlabs.com). A validator client attaches to a running beacon node in order to perform proposer/attester responsibilities and manage the lifecycle of a particular shard upon being assigned to one.
Before you begin, check out our main [README](https://github.com/prysmaticlabs/prysm/blob/master/README.md) and join our active chat room on Discord or Gitter below:

View File

@@ -1,5 +1,5 @@
// Package attester defines all relevant functionality for a Attester actor
// within Ethereum 2.0.
// within Ethereum Serenity.
package attester
import (
@@ -26,7 +26,7 @@ type beaconClientService interface {
}
// Attester holds functionality required to run a block attester
// in Ethereum 2.0.
// in Ethereum Serenity.
type Attester struct {
ctx context.Context
cancel context.CancelFunc

View File

@@ -58,7 +58,7 @@ VERSION:
app := cli.NewApp()
app.Name = "validator"
app.Usage = `launches an Ethereum 2.0 validator client that interacts with a beacon chain, starts proposer services, shardp2p connections, and more
app.Usage = `launches an Ethereum Serenity validator client that interacts with a beacon chain, starts proposer services, shardp2p connections, and more
`
app.Action = startNode
app.Flags = []cli.Flag{

View File

@@ -1,5 +1,5 @@
// Package node defines a validator client which connects to a
// full beacon node as part of the Ethereum 2.0 specification.
// full beacon node as part of the Ethereum Serenity specification.
package node
import (
@@ -32,7 +32,7 @@ const shardChainDBName = "shardchaindata"
// ValidatorClient defines an instance of a sharding validator that manages
// the entire lifecycle of services attached to it participating in
// Ethereum 2.0.
// Ethereum Serenity.
type ValidatorClient struct {
ctx *cli.Context
services *shared.ServiceRegistry // Lifecycle and service store.
@@ -49,7 +49,7 @@ func GeneratePubKey() ([]byte, error) {
return pubkey, err
}
// NewValidatorClient creates a new, Ethereum 2.0 validator client.
// NewValidatorClient creates a new, Ethereum Serenity validator client.
func NewValidatorClient(ctx *cli.Context) (*ValidatorClient, error) {
registry := shared.NewServiceRegistry()
ValidatorClient := &ValidatorClient{

View File

@@ -1,5 +1,5 @@
// Package proposer defines all relevant functionality for a Proposer actor
// within Ethereum 2.0.
// within Ethereum Serenity.
package proposer
import (
@@ -31,7 +31,7 @@ type rpcAttestationService interface {
}
// Proposer holds functionality required to run a block proposer
// in Ethereum 2.0. Must satisfy the Service interface defined in
// in Ethereum Serenity. Must satisfy the Service interface defined in
// sharding/service.go.
type Proposer struct {
ctx context.Context