text Quorum和passwords.txt

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Quorum和passwords.txt相关的知识,希望对你有一定的参考价值。

Follow these steps to set up in IBFT Quorum network:

Install go-quorum >= 1.7.2 on all nodes.
Install istanbul-tools on at least one node.
Generate genesis.json, static-nodes.json templates (and nodekeys) using instanbul-tools on one of the nodes: istanbul setup --nodes --verbose --num --quorum --save (N = number of initial validator nodes).
Create chaindata directory on all nodes: mkdir Blockchain
Create (empty) passwords file on all nodes: touch passwords.txt
Create account(s) on all nodes: geth --datadir Blockchain --password passwords.txt account new > account1.txt
Update coinbase address in genesis.json template and allocate eth (using needed accounts in accounts.txt files on all nodes)
Copy updated genesis.json to all nodes.
Update static-nodes.json with correct IPs and ports, and copy to all nodes into chaindata directory. Cannot change enodes anymore (unless new extraData in genesis.json is generated using istanbul-tools).
Initialize chaindata directory on all nodes: geth --datadir Blockchain init genesis.json
Make sure each node has the nodekey in Blockchain/geth/nodekey corresponding to its enode in static-nodes.json & extraData.
Start geth nodes: nohup geth --datadir Blockchain --unlock 0 --password passwords.txt --mine --minerthreads 1 --syncmode full --shh --port 20000 --rpc --rpcaddr 0.0.0.0 --rpcport 20010 --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,istanbul &> gethNode.log &

以上是关于text Quorum和passwords.txt的主要内容,如果未能解决你的问题,请参考以下文章

phpmyadmin 登录脚本

Quorum 和唱票那回事

云原生 etcd 系列-8|Quorum 和唱票那回事

Quorum Software宣布与斯伦贝谢建立新一代规划和经济合作关系

了解 Elasticsearch 的 write_consistency 和 quorum 规则

微信分布式数据存储协议对比——Paxos和Quorum