BCH - estimatefee return -1

-1

When I call estimatefee 1 in testnet it returns: -1

According to docs:

If the node doesn’t have enough information to make an estimate, the value -1 will be returned

But on my bitcoin-cli getblockchaininfo, my verificationprogress is: 0.9999960537430175

What am I missing?

truongnm

Posted 2019-01-04T02:21:03.643

Reputation: 99

Downvoter why? I already said that I know the reason? Pathetic!truongnm 2019-01-07T02:56:42.793

Answers

1

From the doc:

-1 is always returned for nblocks == 1 as it is impossible to calculate a fee that is high enough to get reliably included in the next block

https://bitcoincore.org/en/doc/0.16.0/rpc/util/estimatefee/

MCCCS

Posted 2019-01-04T02:21:03.643

Reputation: 5 827

But my node is running quite long and my verificationprogress is: 0.9999960537430175truongnm 2019-01-04T03:39:11.720

No, it means for "estimatefee N", N must be larger than one, or it'll return -1.MCCCS 2019-01-04T04:34:00.937

Of course I ran with N larger than one, but no matter what number I entered, I get the same returned resulttruongnm 2019-01-04T04:57:32.343

Just get this error again after I restart my PCtruongnm 2019-01-24T08:30:21.683

0

Seem that after I restart my PC then things worked!

truongnm

Posted 2019-01-04T02:21:03.643

Reputation: 99

I just get this error again and restart my PC doesn't work!truongnm 2019-01-24T07:20:08.317