Pages:
Author

Topic: My transactions get stuck in memory pool !!! - page 2. (Read 458 times)

jr. member
Activity: 48
Merit: 17
Are you sure your transaction is in the mempool ? Try
Code:
getrawmempool 1
Hi, yes. I'm pretty sure. I used the command(It works without 1) and  I got that transaction ID. If you run it too, you can see it. Very strange!


The `1` parameter was in order to get more details http://chainquery.com/bitcoin-api/getrawmempool . It is indeed very strange, don't you modify any part of the code ? How did you set up the network ?

I just changed some things according to https://bitcointalksearch.org/topic/m.35016844 guide.Created a new genesis block according to my new difficulty(nBits) which was  0x1f0fffff and powLimit in chainparams.cpp was changed to  0x000ffff...f .Also commented this line in mining.cpp :

Code:
if (IsInitialBlockDownload())
        throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Bitcoin is downloading blocks...");

Finally changed coinbase maturity to 10.
sr. member
Activity: 279
Merit: 435
Are you sure your transaction is in the mempool ? Try
Code:
getrawmempool 1
Hi, yes. I'm pretty sure. I used the command(It works without 1) and  I got that transaction ID. If you run it too, you can see it. Very strange!


The `1` parameter was in order to get more details http://chainquery.com/bitcoin-api/getrawmempool . It is indeed very strange, don't you modify any part of the code ? How did you set up the network ?
sr. member
Activity: 279
Merit: 435
Hi,

Are you sure your transaction is in the mempool ? Try
Code:
getrawmempool 1
to be sure and to know a little more about your tx.
jr. member
Activity: 48
Merit: 17
Several weeks ago I asked same question. I created my private chain with a very low difficulty (for implementing some tests) and when testing the network and creating transactions they get lost some how!!! Here's a scenario with images attached:

1. I created two node s on same machine, mined one of them till my custom coinbase maturity (I changed it to 10 blocks).
2. I made a transaction from first node to second node (2 btcs), then mined it with second node using command "generate  1". Till this stage it worked fine. See the image for results (first node is in the left and second node is in the right):



3.In this stage no matter from which side I create transactions. It gets stuck in memory  pool. No matter how hard i try to mine it, no peer would  add it to the chain. I created another transaction from first node to second node. See the picture.



I don't this the problem is with fee because with enough fee I still have the problem.
The link to my repository  is : https://github.com/chameleon1239/bitcoin.git

Any one has any idea? I didn't change the source code for confirming transactions  or memory pool.
Pages:
Jump to: