dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

estimatesmartfee return -1 #2207

Closed crossle closed 6 years ago

crossle commented 6 years ago
  1. run ./dashd, already sync all blocks
  2. $ ./dash-cli estimatesmartfee 2

{ "feerate": -1, "blocks": 25 }

feerate return -1

PastaPastaPasta commented 6 years ago

Yeah, GUI too looks like smartfee implementation is flawed or purposefully held back. Electrum has it, no reason why the core wallet shouldn't, even though it will always be the minimum fee basically or a duff or 2 higher then that

crossle commented 6 years ago

Any other RPC function can get the fee?

UdjinM6 commented 6 years ago

You have to keep node running 20-ish blocks to fill stats first before using fee estimation commands. In reality, you can simply use hardcoded fee instead - Dash's blocks have plenty of free space (for now) and estimation isn't really needed.

crossle commented 6 years ago

Keep it run few days, worked now