Ben Reeves [ARCHIVE] on Nostr: 📅 Original date posted:2012-03-01 📝 Original message:Yes you are right. Any fix ...
📅 Original date posted:2012-03-01
📝 Original message:Yes you are right. Any fix in DisconnectBlock() has the same potential issues.
I think the exchanges and major merchants need to be made aware that
they must also upgrade. Maybe bundle both BIP16 and BIP30 in 0.6 and
issue an advisory stating that this is a mandatory upgrade for
everyone.
It also might be prudent to have a blockchain repair script ready,
which checks the db for missing coinbase transactions and downloads
them from another peer or block explorer if necessary.
Thank You,
Ben Reeves
www.blockchain.info
On Wed, Feb 29, 2012 at 11:45 PM, Pieter Wuille <pieter.wuille at gmail.com> wrote:
> On Wed, Feb 29, 2012 at 11:00:42PM +0000, Ben Reeves wrote:
>> I'm not sure. What if they use a coinbase of a block that has already matured?
>
> Indeed; duplicate an old coinbase, fork chain without dupe, and spend the old coinbase.
> The 100-blocks maturity will not help against is.
>
> I'm not sure how you intend to fix DisconnectBlock() to prevent this in a backward-
> compatible way, though.
>
> --
> Pieter
Published at
2023-06-07 03:10:38Event JSON
{
"id": "79db99bbcbbfe345667010eb8be747c5b40e50f5f003da2672214dd5066c80cc",
"pubkey": "5ab461bc713c73739adbc543fe021553ac026ff18e60267a0999d45ffdc3a943",
"created_at": 1686107438,
"kind": 1,
"tags": [
[
"e",
"8d0fea15cf3bf2dd4fc4c205df6cc3e36626b119cb7ed7093b876376c9879239",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2012-03-01\n📝 Original message:Yes you are right. Any fix in DisconnectBlock() has the same potential issues.\n\nI think the exchanges and major merchants need to be made aware that\nthey must also upgrade. Maybe bundle both BIP16 and BIP30 in 0.6 and\nissue an advisory stating that this is a mandatory upgrade for\neveryone.\n\nIt also might be prudent to have a blockchain repair script ready,\nwhich checks the db for missing coinbase transactions and downloads\nthem from another peer or block explorer if necessary.\n\nThank You,\nBen Reeves\nwww.blockchain.info\n\nOn Wed, Feb 29, 2012 at 11:45 PM, Pieter Wuille \u003cpieter.wuille at gmail.com\u003e wrote:\n\u003e On Wed, Feb 29, 2012 at 11:00:42PM +0000, Ben Reeves wrote:\n\u003e\u003e I'm not sure. What if they use a coinbase of a block that has already matured?\n\u003e\n\u003e Indeed; duplicate an old coinbase, fork chain without dupe, and spend the old coinbase.\n\u003e The 100-blocks maturity will not help against is.\n\u003e\n\u003e I'm not sure how you intend to fix DisconnectBlock() to prevent this in a backward-\n\u003e compatible way, though.\n\u003e\n\u003e --\n\u003e Pieter",
"sig": "1609c4698c9eb679c5871bfb45161fbba7fd528abd497bb1d218b4845f72a52802814545ae1cb6ae77a08685c8d92943c38429e5a8d5b46847232bd65e81b64d"
}