Estimate Fee returning -1

2

I updated the bitcoin node to version to 140200 on top of which one of my applications was running. There wasn't any issue with the flow of the application estimatefee RPC I get -1 for no matter what I give as the number of blocks. Also the alternate fee api estimatesmartfee returns negative values. When I execute the same api on a node with version 140100 it gives me a positive result How do I resolve this ?

Shabahat M. Ayubi

Posted 2017-09-01T09:10:00.980

Reputation: 1 409

Answers

4

-1 means "not enough information for an accurate estimation".

Try with a higher confirmation target.

Pieter Wuille

Posted 2017-09-01T09:10:00.980

Reputation: 54 032

i tried all numbers till 250 block numbers. Still it did not work.Shabahat M. Ayubi 2017-09-02T11:59:54.753

I also thought it returns -1 when the block target is out of range (limits = 2-20)Danny Brewster 2017-09-02T08:00:15.253

How long has your node been running?Pieter Wuille 2017-09-02T19:08:56.620