mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
![]() Because AssumeUTXO nodes prioritize tip synchronization, they relay their local address through the network before completing the background chain sync. This, combined with the advertising of full-node service (NODE_NETWORK), can result in an honest peer in IBD connecting to the AssumeUTXO node (while syncing) and requesting an historical block the node does not have. This behavior leads to an abrupt disconnection due to perceived unresponsiveness (lack of response) from the AssumeUTXO node. This lack of response occurs because nodes ignore getdata requests when they do not have the block data available (further discussion can be found in PR 30385). Fix this by refraining from signaling full-node service support while the background chain is being synced. During this period, the node will only signal 'NODE_NETWORK_LIMITED' support. Then, full-node ('NODE_NETWORK') support will be re-enabled once the background chain sync is completed. |
||
---|---|---|
.. | ||
blockchain.cpp | ||
blockchain.h | ||
client.cpp | ||
client.h | ||
external_signer.cpp | ||
fees.cpp | ||
mempool.cpp | ||
mempool.h | ||
mining.cpp | ||
mining.h | ||
net.cpp | ||
node.cpp | ||
output_script.cpp | ||
protocol.h | ||
rawtransaction.cpp | ||
rawtransaction_util.cpp | ||
rawtransaction_util.h | ||
register.h | ||
request.cpp | ||
request.h | ||
server.cpp | ||
server.h | ||
server_util.cpp | ||
server_util.h | ||
signmessage.cpp | ||
txoutproof.cpp | ||
util.cpp | ||
util.h |