http://www.7klian.com

实践Substrate私有网络搭建

        ]
2.3.2 修改 chain spec 文件
      },
{
2020-07-22 22:04:20 It isn’t safe to expose RPC publicly without a proxy server that filters available set of RPC methods.
2020-07-22 22:10:31   Local node identity is: 12D3KooWC2mv6TUKbQbgujE57BWXtPdZM45E1tXtr8ekpUFwZoMX (legacy representation: QmYNUMrY5ow2Ev9zm5fZ2VdE3mQQcmfbzrSsyXaRAppMXc)
2.4.1 启动Bootnode节点
  Public key (hex):   0x5c066fdf0bfc266fdef4153371c07673108b4681005bfddb02b86612ee362866
$ ./target/release/node-template   –ws-external –rpc-external –rpc-cors=all   –base-path /tmp/jsrzx-bootnode01   –chain=./customSpecRaw.json   –port 30333   –ws-port 9944   –rpc-port 9933   –telemetry-url ‘ws://telemetry.polkadot.io:1024 0’   –validator   –rpc-methods=Unsafe   –name jsrzx-BootNode01
          [
2020-07-22 22:10:32   Local node identity is: 12D3KooWD4fjwTCEtoHczV3bH1bzyouWtAS1VXtM5q49m9zWmrXu (legacy representation: QmUQMXzgnMwxzb47xHLxgHzfSuD1sUseDjtZ8CqUW1isJw)
$ ./subkey –sr25519 inspect “text bubble owner rebuild damage today steel inflict mom book absent fiscal//rzexin//aura”
$ ./subkey –ed25519 inspect “text bubble owner rebuild damage today steel inflict mom book absent fiscal//rzexin//grandpa”
重启之后看到乐成发生 finalized 区块。
2020-07-22 22:10:31 Using default protocol ID “sup” because none is configured in the chain specs
          “5FbZJF6Afe2xsM2QnsRSGW7nDkXwBMNKUmFdUp6jEL9QTEjX”
  SS58 Address:       5GTz3X4NeranDE5ZUj6EzK2PiR6xFokevbKyNQ4REc57DREC
· 添加 aura2
2020-07-22 22:05:24   Node name: jsrzx-Validator01
2.1 安装 Substrate Node Template
2020-07-22 22:10:33  Discovered new external address for our node: /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWC2mv6TUKbQbgujE57BWXtPdZM45E1tXtr8ekpUFwZoMX
    “0x9c3c7edccb0c653c6a867ed9b51cf8a21265a6099109f8bbc03517df65ad7c71”
Secret phrase `text bubble owner rebuild damage today steel inflict mom book absent fiscal` is account:
2020-07-22 22:04:25  Idle (0 peers), best: #0 (0x8647…f715), finalized #0 (0x8647…f715), ⬇ 0 ⬆ 0
  SS58 Address:       5FbZJF6Afe2xsM2QnsRSGW7nDkXwBMNKUmFdUp6jEL9QTEjX
            1152921504606846976
2020-07-22 22:05:35  Idle (1 peers), best: #0 (0x8647…f715), finalized #0 (0x8647…f715), ⬇ 27 B/s ⬆ 32 B/s

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。