Author

Topic: Depending on orphan blocks - abuse of the protocol ? (Read 201 times)

legendary
Activity: 3108
Merit: 2177
Playgram - The Telegram Casino
In any case, is it considered an abuse of the protocol to refer to the orphan block in my app? , so if I get 1 confirmation in a orphan block, is it safe to assume that block will be remembered by the network forever? Are there any official guarantees about the availability of orphan blocks, in bitcoind or other implementations, or are they prune-able and I should expect it to be pruned sooner or later?

There is no guarantee that a node will see a block if it is not in the main chain because blocks are generally not propagated once they are determined to be stale.

Makes sense. I think some block explorers keep them, but probably just for data analysis purposes.

Well, the ones that the nodes of those block explorers see. I'm not sure how many nodes your typical block explorers have running but some stale blocks are bound to be left unnoticed.
jr. member
Activity: 39
Merit: 6
In any case, is it considered an abuse of the protocol to refer to the orphan block in my app? , so if I get 1 confirmation in a orphan block, is it safe to assume that block will be remembered by the network forever? Are there any official guarantees about the availability of orphan blocks, in bitcoind or other implementations, or are they prune-able and I should expect it to be pruned sooner or later?

There is no guarantee that a node will see a block if it is not in the main chain because blocks are generally not propagated once they are determined to be stale.

Makes sense. I think some block explorers keep them, but probably just for data analysis purposes.
legendary
Activity: 4466
Merit: 3391
In any case, is it considered an abuse of the protocol to refer to the orphan block in my app? , so if I get 1 confirmation in a orphan block, is it safe to assume that block will be remembered by the network forever? Are there any official guarantees about the availability of orphan blocks, in bitcoind or other implementations, or are they prune-able and I should expect it to be pruned sooner or later?

There is no guarantee that a node will see a block if it is not in the main chain because blocks are generally not propagated once they are determined to be stale.
jr. member
Activity: 39
Merit: 6
Stale blocks  (the correct term for what you want) are not generally accessible.

So no, ok cool. Thanks!
staff
Activity: 4284
Merit: 8808
Stale blocks  (the correct term for what you want) are not generally accessible.
jr. member
Activity: 39
Merit: 6
Suppose I'm writing an app that uses the Bitcoin blockchain to store small amounts of data - eg. hashes, I write a tx to a block and later that block becomes orphaned. Ok so the tx probably will get confirmed in the forked chain, either at the same height or later, or not - if there's a fee spike or the network just forgets the tx for some reason.

In any case, is it considered an abuse of the protocol to refer to the orphan block in my app? , so if I get 1 confirmation in a orphan block, is it safe to assume that block will be remembered by the network forever? Are there any official guarantees about the availability of orphan blocks, in bitcoind or other implementations, or are they prune-able and I should expect it to be pruned sooner or later?
Jump to: