私链搭建(单机多节点)

最终创建两个生产节点的私链

开启钱包服务节点

#建议只在本地监听,因为密钥传输是不加密的
keosd --http-server-address 127.0.0.1:8899
#直接输出
2042116ms thread-0   wallet_plugin.cpp:41          plugin_initialize    ] initializing wallet plugin
2042120ms thread-0   http_plugin.cpp:141           plugin_initialize    ] host: 127.0.0.1 port: 8899
2042121ms thread-0   http_plugin.cpp:144           plugin_initialize    ] configured http to listen on 127.0.0.1:8899
2042122ms thread-0   http_plugin.cpp:213           plugin_startup       ] start listening for http requests
2042123ms thread-0   wallet_api_plugin.cpp:70      plugin_startup       ] starting wallet_api_plugin
2042127ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/create
2042127ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/get_public_keys
2042127ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/import_key
2042127ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/list_keys
2042127ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/list_wallets
2042127ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/lock
2042127ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/lock_all
2042128ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/open
2042128ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/set_timeout
2042128ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/sign_transaction
2042128ms thread-0   http_plugin.cpp:242           add_handler          ] add api url: /v1/wallet/unlock\
#后输出的
2167622ms thread-0   wallet.cpp:182                save_wallet_file     ] saving wallet to file /home/hiup/eosio-wallet/./default.wallet
3194752ms thread-0   wallet.cpp:182                save_wallet_file     ] saving wallet to file /home/hiup/eosio-wallet/./default.wallet

创建一个默认钱包

创建第一个生产节点

创建第二个生产节点

激活test2用户

状态检查

完结

最后更新于