Bitcoin Forum
April 26, 2024, 11:30:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Fee estimation failed. Fallbackfee is disabled....  (Read 661 times)
chameleon123 (OP)
Jr. Member
*
Offline Offline

Activity: 48
Merit: 17


View Profile
December 11, 2018, 06:47:51 AM
 #1

Hello
Recently I forked bitcoin and changed difficulty of PoW for some tests.Each node mines coins properly but when I want to send some coins from one to the other using bitcoin-qt, in transaction fee section I choose "recommended" option, and by the time I want to send them I get this error :

"Fee estimation failed. Fallbackfee is disabled. Wait a few blocks or enable -fallbackfee"

Does anyone know what should I do ?

1714174247
Hero Member
*
Offline Offline

Posts: 1714174247

View Profile Personal Message (Offline)

Ignore
1714174247
Reply with quote  #2

1714174247
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714174247
Hero Member
*
Offline Offline

Posts: 1714174247

View Profile Personal Message (Offline)

Ignore
1714174247
Reply with quote  #2

1714174247
Report to moderator
1714174247
Hero Member
*
Offline Offline

Posts: 1714174247

View Profile Personal Message (Offline)

Ignore
1714174247
Reply with quote  #2

1714174247
Report to moderator
Pmalek
Legendary
*
Offline Offline

Activity: 2744
Merit: 7105



View Profile
December 11, 2018, 11:50:59 AM
 #2

I am not sure why you are getting an error but this might be the reason for it.
Quote
Sometimes, it is not possible to give good estimates, or an estimate at all. Therefore, a fallback value can be set with `-fallbackfee=<f>` (default: `0.0002` BTC/kB).
Source: https://en.bitcoin.it/wiki/Miner_fees

Quote
fallbackfee
A fee rate (in BTC/kB) that will be used when fee estimation has insufficient data (default: 0.0002)
Source: https://manpages.debian.org/experimental/bitcoin-qt/bitcoin-qt.1.en.html

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
December 11, 2018, 03:31:44 PM
 #3


Does anyone know what should I do ?

You have to pass the
Code:
-fallbackfee
option when running
Code:
bitcoin-qt
or
Code:
bitcoind
. Default being, as said above, 0.0002.
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4165


View Profile
December 11, 2018, 04:19:53 PM
 #4

Is there any transactions in the memory pool and/or did the previous blocks had any transactions in them (other than the coinbase transaction)? If there are no transactions that has ever been made, it is impossible for the client to recommend any fees to be used. The whole point of floating fee is for it to be based on the miner's preference on the previous blocks mined and the currently backlog of transaction. You can't use floating fee if that is the case.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
chameleon123 (OP)
Jr. Member
*
Offline Offline

Activity: 48
Merit: 17


View Profile
December 12, 2018, 09:18:30 AM
 #5

Thanks for all the replies.

All coinbase transactions work fine and I can mine properly.

I enabled -fallbackfee as said but it seems my transaction is lost. Receiver doesn't receive anything. Transaction is still in memory pool but that shouln't take long because th difficulty is changed.

I have a speculation about my genesis block. About a month ago I faced a problem about "InitialBlockDownload()" function returns false but it shouldn't.@achow101 suggesteed that i comment that part that checks "InitialBlockDownload()" value.The discussion can be found here :
https://bitcointalk.org/index.php?topic=5057572.msg47423887#msg47423887

I guess some where in some checkings  InitialBlockDownload() returns false still. I have no idea what should I do Sad
Here's a link to my repository :

https://github.com/chameleon1239/bitcoin


darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
December 12, 2018, 11:47:59 AM
 #6

Quote
Transaction is still in memory pool but that shouln't take long because th difficulty is changed.
What do you mean ? Transaction could stay in mempool for a very long time, especially on a new network.

Quote
Transaction is still in memory pool
Quote
I can mine properly.
Meaning that you mine empty blocks even if there is a tx in the mempool ? Maybe you should check your debug.log (/home/<yourusername>/.bitcoin/debug.log)
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
December 12, 2018, 12:03:06 PM
 #7

So I've checked your code.

You should check the value stored by
Code:
IsInitialBlockDownload()
.
You should check if the function
Code:
IsInitialBlockDownload()
has an influence on other functions, especially ones which are related to your problem : https://github.com/chameleon1239/bitcoin/search?q=IsInitialBlockDownload&unscoped_q=IsInitialBlockDownload .
For instance : https://github.com/chameleon1239/bitcoin/blob/59ecacfc84af13e5a1608e7d970315d07dcb0269/src/validation.cpp#L460

You can use
Code:
LogPrintf("")
to debug and understand what's going wrong.
chameleon123 (OP)
Jr. Member
*
Offline Offline

Activity: 48
Merit: 17


View Profile
December 12, 2018, 05:57:13 PM
 #8

So I've checked your code.

You should check the value stored by
Code:
IsInitialBlockDownload()
.
You should check if the function
Code:
IsInitialBlockDownload()
has an influence on other functions, especially ones which are related to your problem : https://github.com/chameleon1239/bitcoin/search?q=IsInitialBlockDownload&unscoped_q=IsInitialBlockDownload .
For instance : https://github.com/chameleon1239/bitcoin/blob/59ecacfc84af13e5a1608e7d970315d07dcb0269/src/validation.cpp#L460

You can use
Code:
LogPrintf("")
to debug and understand what's going wrong.

Yes, I did all that. The value returned when starting up the network is true but after a quick time it latches to false and remains false after that. I have no idea what caused the problem and I can't Log fields such as nMinimumChainWork and chainActive.Tip()->nChainWork purely. I gives me errors. I don't know how to do step by step debugging except gdb which is nightmare for me.

One one question when I run two nodes on same machine should they both be added to each other (dns is set 0 now) or it is ok to set one as server and add  the second node's ip and port to first node using -addnode command ?

Quote
What do you mean ? Transaction could stay in mempool for a very long time, especially on a new network.

I think it depends on hash limit.I increased hash limit bound, so it should mine faster and also add transaction to the blockchain faster.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!