Search code examples
ethereumraftquorum

Public transactions in quorum stuck in pending in transaction pool


I followed Quorum's docs and have created a 2 node network using the raft-consensus. In the genesis block i had pre-allocated funds to one of the accounts. Now I am trying to do a public transaction of some ethers to the other node. However the transaction is getting stuck in the transaction pool and the balances of both nodes remain unchanged. I have used the same genesis.json file that was provided in the documentation. Is there something I am missing?

Once the two nodes were brought up, I tried running - eth.sendTransaction({from:current-node-address, to: second-node's-address, value:0x200,gas:21000})

On checking the transactionReceipt with the transaction hash that was generated, it displays null.


Solution

  • It sounds like your network is not minting blocks, so you may have some Raft misconfiguration.

    Check the log files for any error messages. You can also check that both nodes are in the network and that one of them is minting (is the leader) by using the command raft in the geth console.