github.com/platonnetwork/platon-go@v0.7.6/cases/deploy/README.md (about) 1 # deploy 2 3 部署节点的相关依赖 4 5 ### 1.node:用于存放部署节点的配置文件,格式说明如下 6 7 ```yml 8 consensus: # 共识节点,有时必填 9 - host: 10.10.8.236 # 节点ip,必填 10 username: juzhen # 节点机器账户,必填 11 password: Platon123! # 节点机器密码,必填 12 id: 5b068ef1cfeef626d9ad131d08b889002a2f5c7306ff34c3032ad04fcc92fd234d0c7272014068eb998dae2abfe9f10271ed6731963b1cf22ec944abd8fb0f9e # 节点公钥,非必填,最好不填 13 nodekey: 3314532da43158885d8db07e0b25dc0c194c8382c4fa5ce8c28a0b7c86cdec16 # 节点私钥,非必填,最好不填,需要与公钥对应 14 blspubkey: e3797fad1041ecbd0b91b444de1f063ab74849a0fffa9fa9565ca2b0f78a1420a036d529be9f81576bcb836653436ac0e6eb91143b2e04cb1b0dc93da3ddf893 # bls公钥,必填 15 blsprikey: e4c7bb7918e474bff76b07361ec44b2d613fb9cfb58a296a90bcfbf7bace491f # bls私钥,必填 16 port: 16789 # p2p端口,非必填,最好填 17 rpcport: 6789 # rpc端口,非必填,最好填 18 url: http://10.10.8.236:6789 # rpc url,非必填,最好不填 19 wsport: 6790 # ws端口,非必填,填了才会开ws 20 wsurl: ws://10.10.8.236:6790 # ws url,非必填,与wsport匹配,最好不填 21 - host: 10.10.8.237 22 username: 23 password: 24 id: 25 nodekey: 26 port: 27 rpcport: 28 url: 29 noconsensus: # 非共识节点,有时必填 30 - host: 10.10.8.239 31 username: 32 password: 33 protocol: 34 id: 35 nodekey: 36 port: 37 rpcport: 38 url: 39 ``` 40 41 42 ### 2.bin:platon二进制文件,有改动时需要更新。 43 44 ### 3.template:文件模板。 45 46 ### 4.tmp:用于存放测试过程中新生成的文件。 47 48