Luke Dashjr via bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org> writes:
> This BIP describes a new opcode (OP_CHECKBLOCKATHEIGHT) for the Bitcoin > scripting system to address reissuing bitcoin transactions when the coins > they > spend have been conflicted/double-spent. > > https://github.com/luke-jr/bips/blob/bip-cbah/bip-cbah.mediawiki > > Does this seem like a good idea/approach? Prefer a three-arg version (gbits-to-compare, blocknum, hash): - If <bits> is 0 or > 256, invalid. - If the hash length is not (<bits> + 7) / 8, invalid. - If the hash unused bits are not 0, invalid. - Otherwise <bits> of hash is compared to lower <bits> of blockhash. This version also lets you play gambling games on-chain! Or maybe I've just put another nail in CBAH's coffin? Cheers, Rusty. _______________________________________________ bitcoin-dev mailing list bitcoin-dev@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev