4

geth コンソール経由でプライベート チェーンをマイニングできません。次の手順で行き詰まります。

    > miner.start()
    INFO [01-05|11:11:22] Updated mining threads                    threads=0
    INFO [01-05|11:11:22] Transaction pool price threshold updated price=18000000000 null
    > INFO [01-05|11:11:22] Starting mining operation 
    INFO [01-05|11:11:22] Commit new mining work                   number=1 txs=0 uncles=0 elapsed=482.122µs

環境: Ubantu X86_64 を搭載した AliCloud サーバー。1GB RAM 1 CPU コア。

ここに私が使用したgenesis.jsonがあります:

{
    "config": {
    "chainId": 201804,
    "homesteadBlock": 0,
    "eip155Block": 0,
    "eip158Block": 0
},
"timestamp": "0x0",
"gasLimit": "0x888888888000000",
"difficulty": "0x400",
"coinbase": "0x9933333333333333333333333333333333333333",
"alloc": {}
}

でnode1を作成します

   geth --datadir "node1/" init genesis.json`.  

node1を開始する

geth --identity "node1" --rpc --rpcport 8101 --rpccorsdomain "*" --datadir "./node1" --port 31001 --rpcapi "db,eth,net,web3" --networkid 201804 console

さらに、マイニングは、私の MAC ラップトップで同じ構成とコマンドを使用して正常に動作します。CPUコアまたはRAMが不足しているため、マイナーがクラウドサーバーにスタックした可能性がありますが、よくわかりません。

誰でもこれを助けることができますか?

4

1 に答える 1