Merge pull request #224 from harmony-one/bcnewnreadme

Read me for newnode and beaconchain
pull/228/head
alajko 6 years ago committed by GitHub
commit 76f9a07cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      internal/beaconchain/README.md
  2. 1
      internal/newnode/README.md

@ -0,0 +1,3 @@
The beaconchain package currently is a centralized service that allocates every potential new node (uses newnode package) a specific shard.
If N is the number of shards, supplied as a parameter at bootup, then first N joining nodes are assigned to be the leaders of those N shards. The nodes that come after that are then assigned shards based on their order of entry.
In the future, the generation of randomness would be decentralized. Such randomness would be provided to a new node once its PoS has been verified and then the node would be able to calculate its own shard automatically.

@ -0,0 +1 @@
Newnode package is for handling the interactions of a new candidate node that wants to join the network. Such interaction at the moment is about contacting the beaconchain and getting assigned a shard and findingout the shardleader. In future this package will be merged into the node package.
Loading…
Cancel
Save