Have a 3-node local private cluster - Nodes A, B and M (miner). Added M as a peer to both node A and node B. When send a transaction transferring 1 ether from node A to node B - eth.sendTransaction in node A. See there is one pending transaction in node A while no pending in either node B or node M. My understanding was that all transactions propagate and node M would mine that and add to the Block. See 0 pending transactions in node B or node M. Am I missing something ?

  • Can you confirm that you see M with admin.peers? – Xavier Leprêtre B9lab Oct 10 '16 at 18:08
  • Node M shows both the node A and node B as peers. – S.Bhaskar Oct 10 '16 at 21:03
  • Started the miner using the command: geth --mine --minerthreads 1 --etherbase "xxx" --gasprice 1000000 --gpomin 1000000 --gpomax 1000000 --identity "miner" --datadir ./data/miner --networkid 12345 --maxpeers 2 --nodiscover --ipcdisable --rpc --rpcaddr --rpcport 30001 --port 8081 --verbosity 4 console, where xxx is the miner account address – S.Bhaskar Oct 10 '16 at 21:05
  • started 2 nodes A and B using the command: geth --identity <node-name> --datadir ./data/<A or B> --etherbase "xxx" --networkid 12345 --maxpeers 2 --nodiscover --ipcdisable --rpc --rpcaddr --rpcport <30002 and 30003> --port <8082 and 8083> --verbosity 3 console – S.Bhaskar Oct 10 '16 at 21:07
  • If the sendTransaction is performed on node M, then the transaction is mined and all the node A, B, and M reflect the appropriate ether balances. – S.Bhaskar Oct 10 '16 at 21:36

it seems to be a bug in geth : read https://github.com/ethereum/go-ethereum/issues/2769

| improve this answer | |
  • Tried starting all the nodes A, B, and M as normal and added peers M to node A and B as well as peer A to node B. This way all the nodes are connected with 2 peers. Now started the miner on node M and send a transaction from node B. Nothing happens ... this is a serious bug IMHO. How is one supposed to setup and test ethereum in an enterprise ? – S.Bhaskar Oct 13 '16 at 1:11
  • use another client parity or eth – Badr Bellaj Oct 13 '16 at 8:27

You should have multiple nodes to have complete private network setup, single miner will not work as it violates ethereum protocol , try with multiple nodes it should work, but two miners cannot run under single windows OS , please follow setup for running multiple miner below

Setting up private multi node / miner ethereum network

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.