@Fangzheng1992
2018-11-17T07:07:06.000000Z
字数 981
阅读 515
通过在每个交易中引入一个含有特殊操作码的input,而被引入的操作码只能在bitcoin-abc或bitcoin-sv其中一条链上有效。其产生的效果就像这个交易在另外一条链上被免疫了一样。当前bitcoin-abc可用的特殊操作码有OP_CHECKDATASIG和OP_CHECKDATASIGVERIFY, bitcoin-sv可用的特殊操作码有: OP_MUL、OP_INVERT、OP_LSHIFT和OP_RSHIFT。另外通过引入一个分叉后获取的coinbase作为交易input的一部分也可以起到相同的效果,原因是由于这个coinbase产生的utxo在另外一条链上不存在。
The Immune Vaccine for Replay Protection is designed to introduce an input with a special opcode into each transaction, the opcode can only be recognized by one of chains from Bicoin-abc or Bitcoin-sv.The result is just like that the transaction can be immunized on the other chain.At present, the special opcodes available for Bitcoin-abc are as follows: OP_CHECKDATASIG and OP_CHECKDATASIGVERIFY. The special opcodes available for Bitcoin-sv are as follows: OP_MUL, OP_INVERT, OP_LSHIFT and OP_RSHIFT.Moreover, through importing a coinbase produced after the fork as part of the transaction input, since the UTXO actually doesn’t exist on the other chain, which will also achieve the same effect.