What is Nostr?
Tier Nolan [ARCHIVE] /
npub1g6vā€¦l5wd
2023-06-07 15:48:30
in reply to nevent1qā€¦3y7v

Tier Nolan [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 6:25 PM, Btc Drak <btcdrak at gmail.com> wrote:

> In our case for Bitcoin Core, option 2 we use nVersion=8, apply a
> bitmask of 0xdffffff8 thus:
>
> if ((block.nVersion & ~0x20000007) >= 4 &&
> CBlockIndex::IsSuperMajority(...)) { //...}
>
> With nVersion=8, but using comparison >=4 allows us to recover the
> bit later, assuming we want it (otherwise we use version >=8).
>

That is the 75% "activation" rule portion? The 95% rule has to apply to
all blocks.

The supermajority applies to unmasked blocks?

I think you want it so that a sequence of blocks with version 8 can be
followed by version 4 blocks?

If 950 of the last 1000 blocks have bit 0x08 set, then reject any block
with a version less than 4.

This means transitioning to the version bits BIP just requires dropping the
version back to 4 and adding a rule enforcing the BIPs for version 4 and
higher blocks.

This would be part of the version bits BIP enforcement.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150819/50b3f2f0/attachment.html>;
Author Public Key
npub1g6vxlp4e0nyhs2dqxxcryztyf5f5hyuaq93nw4r87zcnv0sdsa0qqsl5wd