I created a local private test network (using geth) with two nodes which are initiliazed with enough ethers and gas using a custom genesis block. Both have accounts and now I wanted to try sending a transaction from one to another. I tried the command given in this link: https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_sendtransaction

However, the transaction stays in the pending transaction list and never arrives at the other node. As I understand theoretically, normally it shoould be sent to the all nodes in the network, no?

Can anyone tell me what can be wrong here?

See the image below where the sending node (top) and the target node (bottom) are shown:

enter image description here

In addition, I don't understand how but the second node (the node that suppose to receive the transaction) is apparently mining its balanca value is increasing slowly. The first node however remains the same. PS: I made "miner.start" before on both nodes.

  • 1
    Are you sure both the nodes are talking to each other? If you stop mining on one and start it on the other, do you see the new blocks in the log of the non-mining node? – Edmund Edgar Feb 8 '17 at 9:34
  • I updated my comment @EdmundEdgar, as you can see they should be talking to each other. I will now check about your second question but how would they create block when in the entire system there is just one transaction? – Önder Gürcan Feb 8 '17 at 10:54
  • They should mine regardless of transactions. – Edmund Edgar Feb 8 '17 at 11:28
  • Can they create blocks without having transactions? – Önder Gürcan Feb 8 '17 at 11:48
  • Yup. Just start one of the nodes mining. – Edmund Edgar Feb 8 '17 at 11:57

Your Answer

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

Browse other questions tagged or ask your own question.