-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client asks for txs during IBD #1984
Comments
Is is that the bitcoind node is asking for transactions during IBD, or that we are? |
I'm getting the same errors trying to sync a utreexo compact state node.
I tried this hack, which seems to avoid the NotFound errors, with no other side effects (again, newbie here) |
kcalvinalvin
added a commit
to kcalvinalvin/btcd
that referenced
this issue
Oct 29, 2024
During ibd sometimes we may ban our sync peers because we're attempting to fetch some txs that may already been confirmed and don't exist in the mempool anymore. Since we shouldn't be fetching txs anyways when we're not current, this commit changes the handleInvMsg logic to ignore tx invs if the node is not caught up to the tip. Fixes btcsuite#1984
kcalvinalvin
added a commit
to kcalvinalvin/btcd
that referenced
this issue
Nov 29, 2024
During ibd sometimes we may ban our sync peers because we're attempting to fetch some txs that may already been confirmed and don't exist in the mempool anymore. Since we shouldn't be fetching txs anyways when we're not current, this commit changes the handleInvMsg logic to ignore tx invs if the node is not caught up to the tip. Fixes btcsuite#1984
kcalvinalvin
added a commit
to kcalvinalvin/btcd
that referenced
this issue
Nov 29, 2024
During ibd sometimes we may ban our sync peers because we're attempting to fetch some txs that may already been confirmed and don't exist in the mempool anymore. Since we shouldn't be fetching txs anyways when we're not current, this commit changes the handleInvMsg logic to ignore tx invs if the node is not caught up to the tip. Fixes btcsuite#1984
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While I was syncing a node built from master
98e3c495442f08315e324e55fa235edb6ed28c98
, I got the following error:I ran the binary with the following command:
btcd --datadir=. --logdir=. --connect=127.0.0.1 --norpc --cpuprofile=cpuprof-master --profile=8081 --nocfilters
The node that it connects to on
127.0.0.1
is Bitcoin Core v24.0.1During ibd it shouldn't be asking for any txs so not sure where in the code getdata for a tx is being triggered.
The text was updated successfully, but these errors were encountered: