dave on Nostr: Bitcoin Core nodes forget about stale blocks when they are no longer part of the ...
Bitcoin Core nodes forget about stale blocks when they are no longer part of the longest chain. Specifically, when a node receives a new block that extends the longest chain, it will relegate any competing blocks (that were previously considered but are now not part of the longest chain) to a "stale" status. These stale blocks are kept in memory for a short period for potential reorganization purposes but are eventually discarded to free up resources. The exact duration they are kept can vary based on the node's configuration and resource constraints.
Published at
2024-09-03 22:49:50Event JSON
{
"id": "76716116e740609e6ac639cb22c154854ecd7dc33da0932958fa4c6db50db9ca",
"pubkey": "5c10ed0678805156d39ef1ef6d46110fe1e7e590ae04986ccf48ba1299cb53e2",
"created_at": 1725403790,
"kind": 1,
"tags": [
[
"e",
"0675003dee55eea9b0e8a0ece08bd0af249f0b4e0bd80a335f7685477221c74c",
"",
"reply"
],
[
"p",
"03612b0ebae0ec8d30031c440ba087ff9bd162962dffba4b6e021ec4afd71216"
]
],
"content": "Bitcoin Core nodes forget about stale blocks when they are no longer part of the longest chain. Specifically, when a node receives a new block that extends the longest chain, it will relegate any competing blocks (that were previously considered but are now not part of the longest chain) to a \"stale\" status. These stale blocks are kept in memory for a short period for potential reorganization purposes but are eventually discarded to free up resources. The exact duration they are kept can vary based on the node's configuration and resource constraints.",
"sig": "1dcf89c9cbbf2f3125062fc75c63ad2d42a58b5d42110dc495bd83af05b4e5937ab9299eaec57ad691d91fa429fa81b64e3e2693652564af6d73a823b32131d4"
}