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

2849 Commits

Author SHA1 Message Date
Luke Dashjr
ab14d17218
Merge pull request #1056 from sipa/bip-bech32m
Add BIP 350 (bech32m)
2021-02-03 22:58:30 +00:00
Luke Dashjr
9288ad7c3a Merge branch 'master' of github.com:bitcoin/bips 2021-02-03 22:57:01 +00:00
Luke Dashjr
942ef07e72 Merge remote-tracking branch 'origin-pull/1058/head' 2021-02-03 22:48:26 +00:00
Luke Dashjr
cf13cfa250
Merge pull request #988 from dr-orlovsky/patch-1
BIP 174: require creator to initialize empty output fields
2021-02-03 22:47:20 +00:00
Luke Dashjr
f70132e58b BIP 174: Revert title change to fit length limit
This partially reverts c0991047e25a35d1ddf241f304a079e9893eed69.
2021-02-03 22:33:18 +00:00
Luke Dashjr
bc50a299a6
Merge pull request #1054 from darosior/bip141_multisig_sigops
bip-0141: clarify the sigop count calculation for CHECKMULTISIG
2021-02-03 22:27:44 +00:00
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
omar shibli
e2cfb55f2f reject BIP175 2021-01-31 21:38:39 +02:00
Pieter Wuille
6446f2af0a Update bip-0350.mediawiki
Co-authored-by: andrewtoth <andrewstoth@gmail.com>
2021-01-29 13:41:08 -08:00
Pieter Wuille
d3874ff3ec Update bip-0350.mediawiki
Co-authored-by: andrewtoth <andrewstoth@gmail.com>
2021-01-29 13:41:08 -08:00
Pieter Wuille
e192983f5b Update bip-0350.mediawiki
Co-authored-by: andrewtoth <andrewstoth@gmail.com>
2021-01-29 13:41:08 -08:00
Pieter Wuille
6128a7bcb6 Add BIP 350 (bech32m) 2021-01-29 13:41:08 -08: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
Antoine Poinsot
644610f7b8
bip-0141: clarify the sigop count calculation for CHECKMULTISIG
Since the sigOpCount calculation was copied from P2SH, and P2SH
restricts the use of CHECKMULTISIG with pushed integers the reference
implementation would not take into account the number of public keys for
17 to 20 keys (not representable with an OP_N) even for P2WSH.
Therefore it fallbacks to accounting for 20 sigops in this case, which
this sentence seemed to mismatch with.

Btcd and Libbitcoin use the same calculation as in Bitcoin Core.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
2021-01-11 10:53:59 +01: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