1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-03-05 20:06:47 +01:00
Commit graph

2903 commits

Author SHA1 Message Date
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
richard
dfa5042dc5
Update bip-0085.mediawiki 2020-10-16 21:18:20 -04: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
Anthony Towns
3c63846fc2 BIP8: add dot file for generating states diagram 2020-10-15 15:39:04 +00:00
Luke Dashjr
903d7a3a91
Merge pull request #1013 from kallewoof/202010-signet-author-fix
bip-325: add Anthony Towns to authors and change status to Proposed
2020-10-14 13:58:29 +00:00
Karl-Johan Alm
acacbaa2fa
bip-325: add Anthony Towns to authors 2020-10-14 13:24:13 +09:00
Karl-Johan Alm
20b6874407
bip-325: status -> proposed 2020-10-14 13:21:20 +09:00
Luke Dashjr
7e70cd62e1
Merge pull request #991 from n1rna/bip49/fix-typo
Fix typo in BIP 49
2020-10-08 12:00:27 +00:00
Luke Dashjr
dcc6a6a200
Merge pull request #1005 from kallewoof/202010-signet-sigscript
bip-325: correct placement of challenge
2020-10-08 04:33:01 +00:00
Wladimir J. van der Laan
ebeb28ee0e
Merge #1002: BIP155: Mention SHA3-256 explicitly
6ef71b344c BIP155: Small text improvements (Hennadii Stepanov)
562f1d7188 BIP155: Mention SHA3-256 explicitly (Hennadii Stepanov)

Pull request description:

  It seems better to clarify that `CHECKSUM` in Tor onion v3 address uses SHA3-256 hash function.

ACKs for top commit:
  vasild:
    ACK 6ef71b344
  laanwj:
    ACK 6ef71b344c

Tree-SHA512: b88c7dfeeda2a99cfe1042c9f4e7cbeb6047882bf97ce9c1dd5e1f4a30203a9a03702638cc4b6c3b573f6c0a05b73a5ca43a77352a5ca24a32d19be129f8b317
2020-10-06 15:51:27 +02:00
Karl-Johan Alm
bb989a69e0
bip-325: correct placement of challenge 2020-10-06 15:34:34 +09:00
Prayank
eb57dc00dd
Change 'Client support' to 'Backwards compatibility'
+ Change 'Client support' section to 'Backwards compatibility'
+ Reasons: avoid confusion and according to the format mentioned in the below link:
https://github.com/bitcoin/bips/blob/master/bip-0002.mediawiki#specification
+ Discussed changes in https://github.com/bitcoin/bips/pull/994
2020-10-06 02:37:02 +05:30
Luke Dashjr
cca9b983a1
Merge pull request #992 from Lucienest/patch-1
Update bip-0039.mediawiki
2020-10-05 19:58:29 +00:00
Luke Dashjr
53a10c98be
Merge pull request #987 from sipa/bip-taproot
Minor clarifications and fixes
2020-10-05 19:44:15 +00:00
Luke Dashjr
471ec4a8f4 Merge remote-tracking branch 'origin-pull/976/head' 2020-10-05 19:42:54 +00:00
Luke Dashjr
d70179499a
Merge pull request #979 from dgenr8/patch-1
Update bip-0119.mediawiki
2020-10-05 19:36:49 +00:00
Luke Dashjr
7f75cc0cdc
Merge pull request #997 from dergigi/patch-1
[Trivial] Fix typos
2020-10-05 18:38:45 +00:00
Luke Dashjr
9429ed2e4d
Merge pull request #1000 from ajtowns/202009-signet-genesis
BIP 325: update signet genesis block
2020-10-05 17:26:08 +00:00
Luke Dashjr
1b7bf8e6aa
Merge pull request #981 from apoelstra/2020-08-rename-hash-preimages
BIP174: add `_IN_` to names of new hash preimage fields
2020-10-05 16:31:18 +00:00
Luke Dashjr
602f4971ee
Merge pull request #990 from dr-orlovsky/patch-3
BIp 174: fixing typo in rationale reference with closed tag
2020-10-05 16:19:38 +00:00
Luke Dashjr
c4c4077105
Merge pull request #978 from MarcoFalke/patch-1
BIP 325: Clarify that scriptWitness is a stack, not a byte string
2020-10-05 16:18:24 +00:00
Luke Dashjr
80d4cb82bb
Merge pull request #989 from dr-orlovsky/patch-2
BIP 174: rename responsibilities->roles to match Bitcoin Core
2020-10-05 16:15:57 +00:00
Luke Dashjr
47daca4c6f
Merge pull request #971 from yahiheb/bip79-status
Update bip79 status
2020-10-05 16:14:18 +00:00
Luke Dashjr
2a92499f7f
Merge pull request #839 from pengpengliu/master
BIP39: Add swift implementation
2020-10-05 16:12:35 +00:00
Luke Dashjr
60c95f7a20
Merge pull request #985 from joshklop/patch-1
Fixing spelling in BIP 9
2020-10-05 16:12:25 +00:00
Luke Dashjr
20b06003ce
Merge pull request #969 from pacu/patch-1
Added MnemonicSwift as Swift impl for BIP-39
2020-10-05 16:05:11 +00:00
Luke Dashjr
621f4d9a4a
Merge pull request #975 from ysangkok/expire-bip-0124
Reject 124 (expired)
2020-10-05 16:04:57 +00:00
Luke Dashjr
330f3f3c9d
Merge pull request #974 from ysangkok/expire-bip-0135
Reject 135 (expired)
2020-10-05 16:04:15 +00:00
Luke Dashjr
2853268a2d
Merge pull request #973 from ysangkok/expire-bip-0114
Reject 114 (expired)
2020-10-05 16:03:40 +00:00
Luke Dashjr
94073deb66
Merge pull request #967 from vasild/bip155_time_and_varint
BIP155: clarify variable integer format and change time to fixed 32 bit
2020-10-01 14:07:41 +00:00
Vasil Dimov
87ef5aaa7c
BIP155: clarify that "services" uses CompactSize
The Bitcoin Core source code has `VARINT` type which is different than
the "variable integer" format used all over the P2P protocol and also
for the "services" field in this BIP. The latter is called `CompactSize`
in some BIPs and also in the Bitcoin Core source code, thus use the word
`CompactSize` to refer to it and link to its documentation.
2020-09-29 11:12:43 +02:00
sabotag3x
d353c54154 Create portuguese.txt
Co-authored-by: Breno Rodrigues Brito <brenorb@gmail.com>
Co-authored-by: ninjastic <ninjasticdev@protonmail.com>
Co-authored-by: sabotag3x <sabotage.sta@gmail.com>
Co-authored-by: bitmover <67111541+bitmover-studio@users.noreply.github.com>
Co-authored-by: alegotardo <40860228+alegotardo@users.noreply.github.com>
Co-authored-by: kuthullu <kuthullu@gmail.com>
Co-authored-by: Trimegistus <trimegisto@rocketmail.com>
2020-09-28 09:32:14 -03:00
Hennadii Stepanov
6ef71b344c
BIP155: Small text improvements 2020-09-27 14:07:57 +03:00
Hennadii Stepanov
562f1d7188
BIP155: Mention SHA3-256 explicitly 2020-09-27 14:06:19 +03:00
Luke Dashjr
60bfc4bb53
Merge pull request #907 from vasild/bip155_clarifications
BIP155: include changes from followup discussions
2020-09-23 12:49:25 +00:00
Anthony Towns
9b0c3d0e6a bip-0325: update signet genesis block 2020-09-21 15:27:18 +10:00
Gigi
f040ea4ae6
[Trivial] Fix typos
werbs -> verbs
geografical -> geographical
2020-09-17 10:39:28 +02:00
Lucien Nocelli
9b7840a513
Update bip-0039.mediawiki
Fixed some syntax,
2020-09-09 15:46:31 +00:00
Gregory Sanders
6d7d3011e8
bip141 commitment is required for signet blocks
Co-authored-by: MarcoFalke <falkemarco@gmail.com>
2020-09-09 09:38:35 -04:00
Nima Yazdanmehr
de74be2515
Fix typo in BIP 49 2020-09-08 21:45:59 +04:30
Gregory Sanders
c8b47a8d48 Slight cleanup of signet commitment description 2020-09-08 11:38:44 -04:00
Dr. Maxim Orlovsky
6b3b636490
BIp 174: fixing typo in rationale reference with closed tag 2020-09-08 15:00:07 +02:00
Luke Dashjr
68bb026c56
Merge pull request #986 from kallewoof/202009-bip325-1-5-bytes
BIP 325: correct byte count for compact size
2020-09-08 05:03:36 +00:00
Dr. Maxim Orlovsky
d509aa2110
BIP 174: removing extra "fields" word 2020-09-07 18:38:23 +02:00
Dr. Maxim Orlovsky
a159cca11f
BIP 174: rename responsibilities->roles to match Bitcoin Core
[Bitcoin Core uses "roles" instead of "responsibilities"](https://github.com/bitcoin/bitcoin/blob/master/src/psbt.h#L559) and it makes semantical sense (plus less verbose).
2020-09-07 13:17:44 +02:00
Dr. Maxim Orlovsky
3d297861eb
Require creator to initialize empty output fields
The current version of the spec requires creator role to initialize empty input fields, but says nothing about output field initialization. At the same time, the following role, updater, "should also add redeemScripts, witnessScripts, and BIP 32 derivation paths to the input and output data if it knows them.", which does not make any sense if the fields were uninitialized. The [current Bitcoin Core implementation does this](a24806c25d/src/psbt.cpp (L12)), and [other PSBT implementations, like rust-bitcoin, follow this practice](https://github.com/rust-bitcoin/rust-bitcoin/blob/master/src/util/psbt/mod.rs#L59)
2020-09-07 13:06:43 +02:00
Pieter Wuille
3b1fb9600b Clarify that R=infinity is invalid in BIP340
Also rename is_infinity to is_infinite is reference implementation,
to match the wording in BIP340.
2020-09-03 14:38:22 -07:00
MarcoFalke
d8531483f5 bip 341/342: Replace CCompactSize with CompactSize 2020-09-03 14:37:50 -07:00