Private-Blockchain

如何進入 PoA(私有)鏈?

  • August 31, 2018

幾天前,我按照本教程使用 PoA 建立了一條私有鏈。我成功地執行了一個 PoA 鏈。但是今天我重新啟動了我的伺服器。而且我無法啟動(或進入?)我用 command 建立的 PoA 鏈 parity --config node0.toml。我認為是因為我重新啟動伺服器並且權限已更改…

錯誤資訊是:

Loading config file from node0.toml
2017-06-26 16:29:00  Starting Parity/v1.6.8-beta-c396229-20170608/x86_64-linux-gnu/rustc1.17.0
2017-06-26 16:29:00  State DB configuration: fast
2017-06-26 16:29:00  Operating mode: active
Consensus signer account not found for the current chain. You can create an account via RPC, UI or `parity account new --chain HyperAlbum-chain.json --keys-path /tmp/parity/node0/keys`.

我的 node0.toml 是:

[parity]
chain = "HyperAlbum-chain.json"
base_path = "/tmp/parity/node0"
[network]
port = 30300
[rpc]
port = 8540
apis = ["web3", "eth", "net", "personal", "parity", "parity_set", "traces", "rpc", "parity_accounts"]
interface = "10.4.20.69"
[ui]
port = 8180
[dapps]
port = 8080
[account]
password = ["node.pwds"]
[mining]
engine_signer = "0x00525DBE671740a5F943Cd49a3e7f7D46075B07e"
reseal_on_txs = "none"

那麼如果我重新啟動它,如何再次進入 PoA 鏈呢?或者也許我無法重新啟動奇偶校驗?

非常感謝。:)

:) 哈。在@5chdn 的建議下,我檢查了我的 *.toml。我發現我將我的base_path設置為/tmp,(教程設置也一樣。所以我認為如果你想重新連接你的鏈,不要這樣設置base_path。)在Ubuntu中這個文件斷電時文件夾將被刪除…非常感謝~ :)

引用自:https://ethereum.stackexchange.com/questions/18811