1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-02-23 23:27:22 +01:00
Commit graph

25 commits

Author SHA1 Message Date
Anthony Towns
b6b5b92337 BIP8: clarify timeoutheight behaviour and requirements
When lockinontimeout is true, we don't transition directly from STARTED
to LOCKED_IN, so don't imply that we do.

If startheight or timeoutheight are not on a retarget boundary, they
behave as if they had been rounded up to the next retarget boundary,
so to keep things simple, require them to be at a boundary.

If timeoutheight is less than two retarget periods later than startheight,
behaviour when lockinontimeout is true (one retarget period of STARTED,
one of MUST_SIGNAL, one of LOCKED_IN, then ACTIVE) will not match
behaviour when lockinontimeout is false (one retarget period of STARTED,
then either LOCKED_IN or FAILED), so disallow that as well.
2020-10-17 17:24:15 +10:00
Anthony Towns
0f683f71f5 BIP8: add note about keeping lockinontimeout=true peers connected to each other 2020-10-15 15:56:19 +00:00
Anthony Towns
da9cdd6759 BIP8: replace FAILING with MUST_SIGNAL
This removes the FAILING state and adds compulsory signalling during a
new MUST_SIGNAL phase during the last retarget period prior to the
timeout height.

This ensures that if a deployment occurs using bip8 with
lockinontimeout=false and timeoutheight=N, that a later deployment using
bip8 with lockinontimeout=true and timeoutheight=K, where K<N that any
chain where LOCKED_IN is reached prior to height K, will be accepted as
valid by nodes using either set of deployment parameters.

It also ensures that the soft-fork's changed rules are only enforced
on chain a retarget period after signalling indicates enforcement is
expected (which was not previously the case if the FAILING to ACTIVE
transition took place).
2020-10-15 15:54:08 +00:00
Jake Rawsthorne
d6267eddb4 Fix pseudocode starting 1 block early 2020-07-22 20:56:09 +01:00
Luke Dashjr
eda06164d3 BIP 8: Add new reference implementation 2020-06-26 20:17:22 +00:00
Luke Dashjr
c0d698ae77 BIP 8: Note LOCKED_IN bit requirement in GBT section 2020-06-26 20:07:17 +00:00
Luke Dashjr
ef04aeca51 BIP 8: Fix timeout logic 2020-06-26 17:37:50 +00:00
Luke Dashjr
8e906f14af BIP 8: Remove impossible direct path from DEFINED to FAILING 2020-06-26 15:25:22 +00:00
Luke Dashjr
f4c9fd3ef7 BIP 8: Fix misspellings 2020-06-25 05:25:06 +00:00
Luke Dashjr
00aa4c6b43 BIP 8: Drop unmaintained reference implementation 2020-06-25 05:23:24 +00:00
Luke Dashjr
8f4595b29b De-reject BIP-0008 due to progress being made (restore to Draft)
This reverts commit cb064ccdeb.
2020-06-25 05:01:43 +00:00
Luke Dashjr
a004e03d0f Merge remote-tracking branch 'origin-pull/550/head' 2020-06-25 05:01:15 +00:00
Janus
cb064ccdeb BIP-0008 rejected (expired) 2020-02-26 11:54:45 -06:00
shaolinfry
fcd34618d7 Amend BIP8 by height 2017-07-07 06:49:30 +00:00
Luke Dashjr
155ce23c2f BIP 8: Add FAILING state to allow lockinontimeout upgrades 2017-06-25 06:36:14 +00:00
Luke Dashjr
d7662ab88c BIP 8: Require the bit to be set during LOCKED_IN 2017-06-25 06:36:14 +00:00
Luke Dashjr
ca8e9b87a7 BIP 8: Use block heights rather than MTP 2017-06-25 06:36:14 +00:00
Luke Dashjr
17e158b3c3 BIP 8: Add a contrast section 2017-06-25 06:32:06 +00:00
Luke Dashjr
750f5e59f6 BIP 8: Refactor back to wholly-contained spec
This partially reverts 7f6a0f811c
2017-06-25 06:32:06 +00:00
shaolinfry
14973bcb09 Bug fix 2017-04-25 18:56:21 +05:30
shaolinfry
7f6a0f811c Further simplify BIP8.
There is no material change to the specification
However, lockinontimeout is just an implementation
detail, if not set the workflow is BIP9.
As a result, BIP8 is more concisely represented in the
simplified state.
2017-04-21 14:45:16 +05:30
shaolinfry
eb88f8dd1a Fix broken link and title 2017-04-21 12:59:17 +05:30
shaolinfry
43e6486d19 fixup 2017-04-20 23:44:23 +05:30
shaolinfry
4cc5346dde Add assignments and move state chart 2017-04-20 17:57:13 +01:00
shaolinfry
8421908b2f Use allocated BIP number 8 2017-04-20 17:41:37 +01:00
Renamed from bip-uaversionbits.mediawiki (Browse further)