token transaction?
yes, no difference to any other transaction.
Is it? https://cashtokens.org/docs/spec/chip#double-spend-proof-support
I've been told they are protected. @cculianu
Doesn't look like it. BCHN checks if the tx (or any of its unconfirmed ancestors) are P2PKH with this check: https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/blob/master/src/script/script.cpp?ref_type=heads#L456 Which returns false for CT transactions causing it to not be considered possible for DSP https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/blob/master/src/dsproof/dsproof_validate.cpp?ref_type=heads#L207
The P2PKH check shouldn't be a problem actually. But dsproof for SIGHASH_UTXOS is still unimplemented https://gitlab.com/bitcoin-cash-node/bitcoin-cash-node/-/blob/master/src/dsproof/dsproof_create.cpp?ref_type=heads#L32
btw, will DSP be emitted if TX replacement happens later by miner?
Not sure, but I really hope so...
Обсуждают сегодня