Btc Drak [ARCHIVE] on Nostr: 📅 Original date posted:2015-08-19 📝 Original message:On Wed, Aug 19, 2015 at ...
📅 Original date posted:2015-08-19
📝 Original message:On Wed, Aug 19, 2015 at 11:31 AM, Jorge Timón <jtimon at jtimon.cc> wrote:
> I don't think just using version=4 for cltv and friends would be a
> problem if it wasn't for the XT/nonXT issue.
What problem am I missing if we just mask of the offending bits. For my own
project which uses auxpow (and thus has weird nVersion), I also used the
bitmasking method to get rid of auxpow version bits before making the
standard integer comparisons to deploy BIP66 using IsSuperMajority():
if ((block.nVersion & 0xff) >= 4 && CBlockIndex::IsSuperMajority(...))
{ //...}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150819/aeca027e/attachment.html>
Published at
2023-06-07 17:36:59Event JSON
{
"id": "75a61b2e1169d8bbcd53cb6600247860c84fa86835aeed73dc1c4d170eb8628a",
"pubkey": "fdf31024ca0537ed828d895ddc8525f8af023f0dc935a8327a8a496d0d7a9f83",
"created_at": 1686159419,
"kind": 1,
"tags": [
[
"e",
"7b6db0ce13f47e3b2db7907716169da0107cc63b6d57e20477da59a8b07dbb21",
"",
"root"
],
[
"e",
"40d2fdd1af37cceaf14349f454a785ab55b900eb39cdb2d334a2ec01dc0d6416",
"",
"reply"
],
[
"p",
"498a711971f8a0194289aee037a4c481a99e731b5151724064973cc0e0b27c84"
]
],
"content": "📅 Original date posted:2015-08-19\n📝 Original message:On Wed, Aug 19, 2015 at 11:31 AM, Jorge Timón \u003cjtimon at jtimon.cc\u003e wrote:\n\n\u003e I don't think just using version=4 for cltv and friends would be a\n\u003e problem if it wasn't for the XT/nonXT issue.\n\n\nWhat problem am I missing if we just mask of the offending bits. For my own\nproject which uses auxpow (and thus has weird nVersion), I also used the\nbitmasking method to get rid of auxpow version bits before making the\nstandard integer comparisons to deploy BIP66 using IsSuperMajority():\n\n if ((block.nVersion \u0026 0xff) \u003e= 4 \u0026\u0026 CBlockIndex::IsSuperMajority(...))\n{ //...}\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150819/aeca027e/attachment.html\u003e",
"sig": "be4fe7bf4998ec95033b6b063ebdcc0a44141190b42d902d50c950b5f1ef94d2f003a706d61e86c3dde4b084d831dde58b29c92e2c05d0addc33fa96a2875999"
}