ethereum geth rpc Why The method miner_start does not exist/is not available
……………………………………….
……………………………………….
……………………………………….
go-ethereum
https://github.com/ethereum/go-ethereum/wiki/Management-APIs#miner
geth –rpcapi “db,personal,eth,net,web3” --rpc –rpcaddr “0.0.0.0” –rpccorsdomain “*” –rpcvhosts=*
So you want miner, need put “db,personal,miner,eth,net,web3”
curl -X POST -H “Content-Type: application/json” –data ‘{“jsonrpc”:“2.0”,“method”:“miner_stop”,“params”:[],“id”:1}’ go-ethe:8545
{“jsonrpc”:“2.0”,“id”:1,“result”:null}
Fxxx Document………………………………………..
Import see this url document
web3
https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_mining
https://github.com/ethereum/web3.js/