1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 09:50:06 +01:00
Commit Graph

42 Commits

Author SHA1 Message Date
Jonas Nick
e1def09d6d BIP8: fix typo: 2 retarget intervals are 4032 blocks. 2021-03-22 12:57:36 +00:00
Jonas Nick
f5a3140f21 BIP8: remove redundant and conflicting sentence from param selection
At the end of the param selection section it's explicitly stated that
startheight _must_ be a multiple of 2016.
2021-03-22 12:56:59 +00:00
Andrew Chow
54fe11608c Add minimum activation height to BIP 8 2021-03-20 15:03:49 -04:00
Luke Dashjr
48b3896e6e Merge branch 'bip8_threshold' 2021-02-26 19:49:50 +00:00
Luke Dashjr
82000f65c1 Merge remote-tracking branch 'origin-pull/1073/head' 2021-02-26 19:47:43 +00:00
Antoine Poinsot
a118ef42a6
bip8: mention in intro the forced activation is optional
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
2021-02-26 14:18:35 +01:00
Antoine Poinsot
ca77342417
bip8: remove recommendation to force activation after a year
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
2021-02-26 13:33:36 +01:00
Luke Dashjr
72bf969a17 BIP 8: Avoid speculating precisely on how soon the economic majority might be upgraded 2021-02-17 21:07:56 +00:00
Luke Dashjr
1e25eb98f6 BIP 8: Advise not choosing a bit being used for other things 2021-02-17 21:02:51 +00:00
Luke Dashjr
663efa52d4 BIP 8: Move recommendation for "name" to "Selection guidelines" 2021-02-17 21:01:03 +00:00
Luke Dashjr
6ea5857b62 BIP 8: Reduce threshold recommendation to 90% 2021-02-17 20:58:33 +00:00
Luke Dashjr
febdf1312a BIP 8: Make threshold a parameter 2021-02-17 20:58:22 +00:00
Anthony Towns
63d2800fab bip 8: simplify MUST_SIGNAL check 2021-02-04 12:51:11 +10:00
Luke Dashjr
0aa8c3ae02
Merge pull request #1021 from ajtowns/202010-bip8-mustsignal-to-threshold
BIP8: allow some MUST_SIGNAL blocks to not signal
2021-02-02 20:30:41 +00:00
Luke Dashjr
79cd91ec98
Merge pull request #1020 from ajtowns/202010-bip8-lockedin-rec
BIP8: Make signalling during LOCKED_IN recommended rather than mandatory
2021-02-02 19:52:33 +00:00
Anthony Towns
afe97b2eee BIP8: allow some MUST_SIGNAL blocks to not signal
Using the same threshold for MUST_SIGNAL as STARTED means that any chain
that would have resulted in activation with lockinontimeout=false will
also result in activation with lockinontimeout=true (and vice-versa).
This reduces the ways in which a consensus split can occur, and avoids
a way in which miners could attempt to discourage users from setting
lockinontimeout=true.
2020-10-17 18:18:30 +10:00
Anthony Towns
9a119ce46a BIP8: Make signalling during LOCKED_IN recommended rather than mandatory 2020-10-17 17:47:19 +10:00
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