1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-02-26 00:14:27 +01:00
Commit graph

3305 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
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
Suhas Daftuar
5f18700477 p2p: Add disabletx message
This message, valid between version/verack for peers with version >= 70017,
would allow establishing at the time of connection that no transactions will be
announced/requested between those peers.
2021-01-06 11:41:06 -05:00
Matthew Zipkin
e1e7b77c02
BIP173: segwit address witness version is one 5-bit char not one byte 2021-01-05 10:10:50 -05:00
Andrew Poelstra
c624414119 bip-0322: remove the 'to_spend' transaction from serialization 2020-12-23 15:48:08 +00:00
Andrew Poelstra
9e1beef6ac bip-0322: overhaul/rewrite verification rules 2020-12-23 15:47:27 +00:00
Andrew Poelstra
dbb81b3652 bip-0322: move "legacy" section up, separate "proof of funds", summarize the signature types 2020-12-23 15:45:59 +00:00
Andrew Poelstra
f778098deb bip-0322: replace motivation, add myself to the "thanks to" list 2020-12-23 15:39:45 +00: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
koushiro
e963414eee Add a link of another Rust implmentation of BIP-0039
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2020-12-17 22:20:40 +08:00
Fonta1n3
38096cedd9
remove bip44 stuff 2020-12-16 23:12:19 +08:00
Fontaine
3664283eb4
Merge pull request #1 from ben-kaufman/patch-1
Mention BIP 44 as the Multi-Account standard
2020-12-16 23:10:27 +08:00
Fonta1n3
eae5288ffd
Update bip-0048.mediawiki 2020-12-16 22:59:10 +08:00
benk10
9ec6bf64b7
Fix the table 2020-12-16 16:55:38 +02:00
Fonta1n3
4e81e16224
Update bip-0048.mediawiki 2020-12-16 22:54:41 +08:00
benk10
bfebc4b047
Mention BIP 44 as the Multi-Account standard 2020-12-16 16:43:21 +02:00
Fonta1n3
ff04f6cea4
Update bip-0048.mediawiki 2020-12-16 22:36:43 +08:00
Fonta1n3
42b9148cea
minor 2020-12-16 22:35:09 +08:00
Fonta1n3
23d57cb9ad
typo 2020-12-16 22:31:24 +08:00
Fonta1n3
c9517ecf87
fixes 2020-12-16 22:05:54 +08:00
Fonta1n3
e6b9822142
Create bip-0048.mediawiki 2020-12-16 19:22:20 +08: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
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
Greg-Griffith
08844fd6ef BIP34 specifies it requires minimal encoding.
Non minimal encodings are rejected by the bitcoin-core client because it 
only checks against a specific encoding
2020-11-18 12:17:04 -08:00
Ferdinando M. Ametrano
ee2e059820 added invalid extended keys vectors
The BIP32 specification lacks test vectors for invalid extended keys that should not be parsed as valid. Such test vectors are proposed here.
2020-11-17 07:16:08 +01:00
Ferdinando M. Ametrano
456c8c5088
fixed input test case description as per output test case description 2020-11-16 21:58:41 +01:00
fametrano
c12af49c17
fixed typos 2020-11-15 09:53:06 +01: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
silencer-Tsai
b0521f076c BIP32: Added new test vectors for hardened derivation with leading zeros 2020-11-04 17:58:54 +08:00
Meheret Tesfaye
dfbbe04ddf
Update bip-0039.mediawiki
Add Python-HDWallet on Other Implementation.
2020-11-03 11:31:20 +03:00
rage-proof
55d37134cf
Update bip-0078.mediawiki
the payjoin proposal has more inputs
2020-10-29 23:58:50 +01: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
Adam Gibson
1fbcd28584
update Joinmarket BIP78 status 2020-10-18 13:37:50 +01: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