qtumproject / qips

Qtum Improvement Proposals
9 stars 2 forks source link

Increasing in the number of blocks to include a transaction in the blockchain after 0.20.2 on regtest node #27

Open swanwarp opened 3 years ago

swanwarp commented 3 years ago

I ran 0.20.2 node in regtest mode. After 5000 blocks was generated I start 18 tests with such scenario: 1) Send money to address A using 'sendtoaddress', wait until transaction was included in chain 2) Send money from address A to address B using 'sendrawtransaction' and (for building transaction) 'estimatesmartfee 10', wait 10 blocks 3) Check that last transaction was included

Main issue is that from test to test number of blocks needed for including transaction is increasing and at last tests transaction is not included in next 10 blocks after sending. I use 'estimatesmartfee 10', it returns higher value from test to test, but from some point raising fee according to smart estimation does not lead to transaction will be included in 10 blocks. This issue was occurred after updating node to 0.20.2, on 0.20.1 all tests have been passed.

Node configuration: { "addrindex": "1", "dnsseed": "0", "fallbackfee": "0.0002", "logevents": "1", "port": "12000", "regtest": "1", "reindex": "1", "rpcallowip": "0.0.0.0/0", "rpcbind": "****", "rpcpassword": "****", "rpcport": "12001", "rpcuser": "****", "server": "1", "txindex": "1", "upnp": "0", "wallet": "" }