You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,7 @@ Output:
177
177
178
178
### Example 1: Light sync
179
179
180
-
In this example, we will run two ethereumjs-clients. The first will be a fast sync client that
180
+
In this example, we will run two ethereumjs-clients. The first will be a full sync client that
181
181
will connect to the rinkeby network and start downloading the blockchain. The second will be a
182
182
light client that connects to the first client and syncs headers as they are downloaded.
183
183
@@ -187,7 +187,7 @@ listener. The second client will use libp2p to connect to the first client.
187
187
Run the first client and start downloading blocks:
188
188
189
189
```
190
-
ethereumjs --syncmode fast --lightserv true --datadir first --network rinkeby --transports rlpx libp2p:multiaddrs=/ip4/127.0.0.1/tcp/50505/ws
190
+
ethereumjs --syncmode full --lightserv true --datadir first --network rinkeby --transports rlpx libp2p:multiaddrs=/ip4/127.0.0.1/tcp/50505/ws
191
191
```
192
192
193
193
Output:
@@ -272,7 +272,7 @@ to help contributors better understand how the project is organized.
272
272
-`/docs` Contains auto-generated API docs.
273
273
-`/lib/blockchain` Contains the `Chain` class.
274
274
-`/lib/net` Contains all of the network layer classes including `Peer`, `Protocol` and its subclasses, `Server` and its subclasses, and `PeerPool`.
275
-
-`/lib/service` Contains the main Ethereum services (`FastEthereumService` and `LightEthereumService`).
275
+
-`/lib/service` Contains the main Ethereum services (`FullEthereumService` and `LightEthereumService`).
276
276
-`/lib/rpc` Contains the RPC server (optionally) embedded in the client.
277
277
-`/lib/sync` Contains the various chain synchronizers and `Fetcher` helpers.
278
278
-`/test` Contains test cases, testing helper functions, mocks and test data.
@@ -297,12 +297,12 @@ to help contributors better understand how the project is organized.
297
297
and `removed` events when new peers are added and removed and also emit the `message` event whenever
298
298
any of the peers in the pool emit a message. Each `Service` has an associated `PeerPool` and they are used primarily by `Synchronizer`s to help with blockchain synchronization.
299
299
-`Synchronizer` Subclasses of this class implements a specific blockchain synchronization strategy. They
300
-
also make use of subclasses of the `Fetcher` class that help fetch headers and bodies from pool peers. The fetchers internally make use of streams to handle things like queuing and backpressure. - `FastSynchronizer`[**In Progress**] Implements fast syncing of the blockchain - `LightSynchronizer`[**In Progress**] Implements light syncing of the blockchain
300
+
also make use of subclasses of the `Fetcher` class that help fetch headers and bodies from pool peers. The fetchers internally make use of streams to handle things like queuing and backpressure. - `FullSynchronizer`[**In Progress**] Implements full syncing of the blockchain - `LightSynchronizer`[**In Progress**] Implements light syncing of the blockchain
301
301
-`Handler` Subclasses of this class implements a protocol message handler. Handlers respond to incoming requests from peers.
302
302
-`EthHandler`[**In Progress**] Handles incoming ETH requests
303
303
-`LesHandler`[**In Progress**] Handles incoming LES requests
304
-
-`Service` Subclasses of `Service` will implement specific functionality of a `Node`. For example, the `EthereumService` subclasses will synchronize the blockchain using the fast or light sync protocols. Each service must specify which protocols it needs and define a `start()` and `stop()` function.
305
-
-`FastEthereumService`[**In Progress**] Implementation of ethereum fast sync.
304
+
-`Service` Subclasses of `Service` will implement specific functionality of a `Node`. For example, the `EthereumService` subclasses will synchronize the blockchain using the full or light sync protocols. Each service must specify which protocols it needs and define a `start()` and `stop()` function.
305
+
-`FullEthereumService`[**In Progress**] Implementation of ethereum full sync.
306
306
-`LightEthereumService`[**In Progress**] Implementation of ethereum light sync.
307
307
-`WhisperService`[**Not Started**] Implementation of an ethereum whisper node.
308
308
-`Node`[**In Progress**] Represents the top-level ethereum node, and is responsible for managing the lifecycle of included services.
0 commit comments