hpoa / lisinski-ibft2

0 stars 0 forks source link

detalji kako startati ibft 2.0 u pantheonu #1

Open JohnnySheffield opened 5 years ago

JohnnySheffield commented 5 years ago

Here's some extra detail about how to get the node public key and node address you'll need to specify node 1 as the bootnode and initial validator:

Get the node public key of node 1 as described for a Clique network: https://docs.pantheon.pegasys.tech/en/latest/Tutorials/Create-Private-Clique-Network/#2-get-public-key-for-node-1

Get the address of node 1 to include in the extraData string for the IBFT genesis file as described for a Clique network: https://docs.pantheon.pegasys.tech/en/latest/Tutorials/Create-Private-Clique-Network/#3-get-address-for-node-1

RLP the data required for the extraData string as described for IBFT: https://docs.pantheon.pegasys.tech/en/latest/Consensus-Protocols/IBFT/#genesis-file

The List is the address of node 1.

Delete the database directory created when generating the node public key for address 1 as described for a Clique network: https://docs.pantheon.pegasys.tech/en/latest/Tutorials/Create-Private-Clique-Network/#5-delete-database-directory

Start node 1 using the IBFT genesis file with the extra data string created in step 3.

Start additional nodes specifying node 1 as the bootnode: https://docs.pantheon.pegasys.tech/en/latest/Configuring-Pantheon/Bootnodes/#private-networks

Vote in additional validators using the JSON-RPC IBFT methods: https://docs.pantheon.pegasys.tech/en/latest/Reference/JSON-RPC-API-Methods/#ibft-20-methods

JohnnySheffield commented 5 years ago

https://docs.pantheon.pegasys.tech/en/latest/Consensus-Protocols/IBFT/

JohnnySheffield commented 5 years ago

Dodatni materijali za čitanje

https://pegasys.tech/another-day-another-consensus-algorithm-why-ibft-2-0/

https://docs.pantheon.pegasys.tech/en/0.9.0/Consensus-Protocols/Comparing-PoA/

https://arxiv.org/abs/1901.07160