Failed to start mining in my private chain

I cannot participate in my private chain through the geth console, stuck in the next step.

    > 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

Environment: AliCloud server with Ubantu X86_64; 1 GB RAM 1 Core processor.

here is genesis.json I used:

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

create node1 using

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

start node1 with

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

Extras: Mining works fine with the same configurations and commands on my MAC laptop. Maybe the miner is stuck in a cloud server due to lack of a processor core or RAM, but I'm not sure.

Can anyone help with this?

+4
source share
1 answer

datadir/.etash . ( github.com/ethereum/go-ethereum/issues/2174) .

+2

Source: https://habr.com/ru/post/1691770/


All Articles