Author: Anthony Towns 2017-06-28 07:01:33
Published on: 2017-06-28T07:01:33+00:00
A proposal to prevent transaction replay in case of a chain split has been put forward. The proposed approach involves updating OP_CHECKSIG, MULTISIG and VERIFY variants to allow signatures to specify an additional integer block-height. This would make the signature invalid if used on a chain that does not have that particular block in its history. The proposal adds four bytes to a signature and some extra sha ops when verifying the signature, but otherwise seems lightweight and scales to an arbitrary number of forks without requiring any coordination between chains.The proposed method is considered superior to what Johnson Lau proposed in January or BIP 115 from last year. If a signature doesn't specify a block height, the genesis block hash could be used for consistency, which would lock a given signature to "bitcoin," "testnet" or "litecoin," which might be beneficial. The proposal suggests using a relative reference ("-206") instead of a four-byte absolute reference ("473000") to reduce the size of the signature.
Updated on: 2023-05-20T03:08:03.606078+00:00