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

2810 Commits

Author SHA1 Message Date
Andrew Chow
c27d5e8b96 Mark BIP 174 as final 2021-01-25 17:13:57 -05:00
Andrew Chow
80df41818e Include PSBT versions that can or must include field 2021-01-15 13:01:24 -05:00
Andrew Chow
a4fb1b9de0 Specify procedure for new fields and versions 2021-01-15 13:01:24 -05:00
Andrew Chow
c0991047e2 Explicitly specify PSBTv0 2021-01-15 13:01:19 -05:00
Andrew Chow
50fdf5435e Reformat BIP 174 2021-01-14 12:50:27 -05:00
Rusty Russell
6057fede05 BIP 174: clarify format of proprietary extensions.
"Variable length string identifier" is not defined anywhere, and the suggestion
to use "0x00" is also deeply unclear.  I assumed it meant a nul-terminated
string!

Be explicit: you mean it must be a compact siz1\e unsigned int length, followed
by that many identifier bytes, followed by a compact size unsigned int subtype,
followed by optional keydata.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-13 16:55:42 -05:00
Luke Dashjr
cf0b529e78
Merge pull request #998 from sabotag3x/master
Add Portuguese wordlist to BIP39
2020-12-20 19:01:59 +00:00
Wladimir J. van der Laan
7e13d23d43
Merge #1043: BIP155: change when sendaddrv2 is to be sent
e549ed36e8 BIP155: change when sendaddrv2 is to be sent (Vasil Dimov)

Pull request description:

  Mandate to send `sendaddrv2` to the peer before sending our `verack`
  to them.

  This way we know that the peer does not support `addrv2` if we did not
  receive `sendaddrv2` from them before receiving their `verack`.

ACKs for top commit:
  MarcoFalke:
    ACK e549ed36e8
  harding:
    ACK e549ed36e8
  jnewbery:
    ACK e549ed36e8
  laanwj:
    re-ACK e549ed36e8
  jonatack:
    ACK e549ed3
  hebasto:
    ACK e549ed36e8, I believe that the establishing of connection invariants in a such manner--in response to the `version` and prior to sending the `verack`--is the right way both for new `addrv2` message and for other future features.

Tree-SHA512: ec8c40a7f857cc8b7df10812cb34d526299b6908b06049dfea24e25d830fc2d01bf4c052e9e4cd575ce4a1b93032cbe27323a390fe7fb90803a5975dd363d150
2020-12-09 12:27:50 +01:00
Vasil Dimov
e549ed36e8
BIP155: change when sendaddrv2 is to be sent
Mandate to send `sendaddrv2` to the peer before sending our `verack`
to them.

This way we know that the peer does not support `addrv2` if we did not
receive `sendaddrv2` from them before receiving their `verack`.
2020-12-08 10:35:24 +01:00
Luke Dashjr
7e3284dafd
Merge pull request #1003 from kallewoof/202010-signmsg
BIP-322: switch to using tx based approach
2020-10-24 13:18:20 +00:00
Karl-Johan Alm
75ec9631ef
BIP-322: switch to tx based approach
Co-authored-by: Stepan Snigirev <stepan.snigirev@mpq.mpg.de>
Co-authored-by: Luke Dashjr <luke_github1@dashjr.org>
2020-10-24 16:09:15 +09:00
Luke Dashjr
f7ea92c02b
Merge pull request #1019 from ajtowns/202010-bip8-trivial
BIP8: clarify timeoutheight behaviour and requirements
2020-10-19 14:33:03 +00: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
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
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