For testing purposes, I source-installed go-ethereum and built a private network. After setting up the genesis.json file, I successfully created a private network, but I don't know how to mine the current block that has been converted to PoS.
{
"config": {
"chainId": 5846471,
"terminalTotalDifficultyPassed": true
},
"difficulty": "1",
"gasLimit": "8000000",
"extradata": "",
"alloc": {}
}
https://geth.ethereum.org/docs The site only explains how to mine based on PoW.
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-miner The site says that the miner command is currently deprecated.
Please let me know how to mine on PoS or if there is a site that explains it.