Hi team,
I 've a 2 node multichain. The nodes were in sync and working fine, I started with load testing of the nodes and gradually on the 2nd node I started to get memory errors like below. Anyway that's another story.
EXCEPTION: St9bad_alloc
std::bad_alloc
bitcoin in ProcessMessages()
So after this I deleted the ~/.multichain/chain1 from my 2nd node and started the multichain on 2nd node again. It took some time to get the blocks synced (the inflight section of getpeerinfo didn't show any blocks so I assumed they are synced. )
Now on the 2nd node when I do getinfo and getpeerinfo I see respectively;
"blocks" : 1287,
"inbound" : true,
"startingheight" : 1287,
"banscore" : 0,
"synced_headers" : 1287,
"synced_blocks" : 1287,
Seems alright.
But when I do the same on 1st node.
"blocks" : 1287,
"inbound" : false,
"startingheight" : 632,
"banscore" : 0,
"synced_headers" : 634,
"synced_blocks" : -1,
Doesn't seem alright to me.
1. What does the inbound imply here?
2. why my sync header and block is different on node 1?
Thanks.