Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: btc_enigma on February 29, 2016, 05:13:59 AM



Title: estimatefee not working
Post by: btc_enigma on February 29, 2016, 05:13:59 AM
Hi,

I am using bitcoind 0.12 and tried estimatefee  1 , this is returning -1 on my node.
Same result on https://chainquery.com/bitcoin-api/estimatefee/1

Its returning results for block number 2 ownwards. Is this excepted or a bug ?


Title: Re: estimatefee not working
Post by: Foxpup on February 29, 2016, 06:58:03 AM
It is expected if no reasonable fee is likely to get your transaction into the next block, which is currently the case as there seems to be unusually high transaction volume.


Title: Re: estimatefee not working
Post by: btc_enigma on February 29, 2016, 07:36:21 AM
It is expected if no reasonable fee is likely to get your transaction into the next block, which is currently the case as there seems to be unusually high transaction volume.

How could it calculate fee for two blocks and not give a fee estimate for one block ? Also I don't see any spike in tx volume , its been same as last few days ...

I am not sure how the estimatefee algorithm works but I would assume it would track transaction in mempool to see how many blocks it took them to confirm and then take an average of fee/byte for each number of block.