1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-19 12:08:05 +00:00

2835 Commits

Author SHA1 Message Date
Luke Dashjr
ee523cd9a9
Merge pull request #1055 from achow101/reorganize-psbt
BIP 174: Reformat, reorganize, and mark final
2021-02-03 22:26:59 +00:00
Luke Dashjr
707dea4307 Merge remote-tracking branch 'origin-pull/1040/head' 2021-02-03 22:25:27 +00:00
Luke Dashjr
3b0662a622
Merge pull request #1047 from prusnak/bip39-wordlist-warning
bip39: discourage from using localized wordlists
2021-02-03 22:19:52 +00:00
Luke Dashjr
ef89ae83eb
Merge pull request #1046 from luke-jr/readme_link_bip2
README: Link BIP 2 for submissions
2021-02-03 22:15:24 +00:00
Luke Dashjr
f15b0d0b0a
Merge pull request #1035 from multisignature/patch-1
Update bip-0079.mediawiki
2021-02-03 22:15:14 +00:00
Luke Dashjr
bcbc83f0c8
Merge pull request #1026 from rikitau/bip85-fix-typo
BIP-0085: fix typo
2021-02-03 22:14:07 +00:00
Luke Dashjr
c0be0307fc
Merge pull request #1042 from OrfeasLitos/clarify-nonce
Mention that public nonce is ''R'' and private nonce is ''s''
2021-02-03 22:11:19 +00:00
Luke Dashjr
e78a64fc97
Merge pull request #1028 from kallewoof/202010-signmsg2
BIP-322: minor clarification
2021-02-03 22:04:31 +00:00
Luke Dashjr
2fb8635054
Merge pull request #1018 from hoganri/patch-2
BIP 0085: Add link to JavaScript library implementation
2021-02-03 21:56:44 +00: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
Andrew Chow
88fb205264 Combine Appendix with field listing tables 2021-01-25 17:13:57 -05:00
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
Pavol Rusnak
a78b211d23 bip39: discourage from using localized wordlists 2020-12-22 00:08:33 +01:00
Luke Dashjr
cf0b529e78
Merge pull request #998 from sabotag3x/master
Add Portuguese wordlist to BIP39
2020-12-20 19:01:59 +00:00
Luke Dashjr
518bb8bf4f README: Link BIP 2 for submissions 2020-12-18 03:53:37 +00:00
Wladimir J. van der Laan
7e13d23d43
Merge #1043: BIP155: change when sendaddrv2 is to be sent
e549ed36e8bbb0d15b1bd245cc5bb2c5664d5aa2 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 e549ed36e8bbb0d15b1bd245cc5bb2c5664d5aa2
  harding:
    ACK e549ed36e8bbb0d15b1bd245cc5bb2c5664d5aa2
  jnewbery:
    ACK e549ed36e8bbb0d15b1bd245cc5bb2c5664d5aa2
  laanwj:
    re-ACK e549ed36e8bbb0d15b1bd245cc5bb2c5664d5aa2
  jonatack:
    ACK e549ed3
  hebasto:
    ACK e549ed36e8bbb0d15b1bd245cc5bb2c5664d5aa2, 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
Orfeas Litos
23782b8693
Remove the term "secret nonce", only refer to s 2020-11-30 14:30:47 +00:00
Orfeas Litos
cf32b7bd39
Say that public nonce is R and private nonce is s 2020-11-30 12:31:10 +00:00
Ethan Kosakovsky
6fb34f2a51
Add BIP85-DRNG and other key derivations 2020-11-19 11:57:57 +00:00
Karl-Johan Alm
1a7eaa9c7f
BIP-322: minor clarification 2020-11-09 12:11:26 +09:00
PandaBread2
fcd5c5d4ca
Update bip-0079.mediawiki 2020-11-07 22:52:14 +00:00
Rita Kitic
8744a4dd11 fix typo 2020-10-27 19:15:49 +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
richard
d771818c9e
Update formatting 2020-10-21 21:41:59 -04:00
richard
77ed66afd5
Update bip-0085.mediawiki 2020-10-21 20:31:29 -04: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
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
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
6ef71b344c51aebe1dab5ac47f87d8f926462a65 BIP155: Small text improvements (Hennadii Stepanov)
562f1d71883d1daa0dd5f438d25986fb18465800 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 6ef71b344c51aebe1dab5ac47f87d8f926462a65

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