Commit Graph

1837 Commits

Author SHA1 Message Date
Luke Dashjr
5415dd806e Fix BIP 42 & 173 status 2018-07-05 05:09:05 +00:00
Luke Dashjr
998bae0717 Merge pull request #696 from sipa/somefinal
Move BIP42 and BIP173 to Final
2018-07-05 05:06:14 +00:00
Luke Dashjr
91bd69d29b Merge pull request #687 from Roasbeef/bip158-updates
BIP-0158: remove extended filter, remove txid from regular filter, reparameterize gcs params
2018-07-05 05:03:50 +00:00
Olaoluwa Osuntokun
ac76644533 BIP-0158: regenerate test vectors for fp=19, new reg filter, no ext filter
In this commit, we simplify the code that generates the test vectors to
only generate filters for a target fp of 19, and also only for the
regular filter, as it's the only filter type currently defined.

The test vectors have also been updated to include the previous output
scripts for all input within a block as these are now required to
construct the regular filter.

Finally, the generation code has been updated to properly fetch the
previous input scripts to the generation code can verify the filter it
generates manually against the end server.
2018-07-04 23:19:16 -05:00
Olaoluwa Osuntokun
6a4e819829 BIP-0158: switch to prev output scripts, skip all OP_RETURN 2018-07-04 23:19:15 -05:00
Olaoluwa Osuntokun
1c2ed6dce3 BIP-0158: allow filters to define values for P and M, reparameterize default filter 2018-07-04 15:41:05 -05:00
Olaoluwa Osuntokun
4a85759f02 BIP-0158: remove the extended filter type 2018-07-04 15:41:05 -05:00
Pieter Wuille
6c708338c2 Move BIP42 and BIP173 to Final 2018-06-28 10:31:38 -07:00
James O'Beirne
8a34d1661b Fix typo in BIP 125 2018-06-25 10:31:47 -04:00
Olaoluwa Osuntokun
285606ef7a BIP-0158: remove txid from extended filter 2018-05-30 17:15:59 -07:00
Erik Arvstedt
53fc064db5 Trivial: Fix typos in BIP-118 2018-05-22 11:33:32 +02:00
Luke Dashjr
7158648753 Merge pull request #683 from kallewoof/bip-178-abstract
BIP-178: Reword abstract to indicate it's a bitcoin address type, not…
2018-05-21 23:26:21 +00:00
Karl-Johan Alm
20f5021940 BIP-178: Reword abstract to indicate it's a bitcoin address type, not a public key type 2018-05-22 08:21:06 +09:00
Luke Dashjr
dfa80f58df Merge pull request #682 from cdecker/noinput
BIP 118: SIGHASH_NOINPUT
2018-05-21 05:19:22 +00:00
Christian Decker
67f11db177 noinput: Add the SIGHASH_NOINPUT proposal to the readme 2018-05-20 22:05:29 -07:00
Christian Decker
98b7238f68 noinput: Initial version of the sighash_noinput proposal 2018-05-20 22:05:29 -07:00
Luke Dashjr
6255dc536d Merge pull request #673 from kallewoof/bip-typed-wif
BIP 178: Version Extended WIF
2018-05-20 23:41:12 +00:00
Karl-Johan Alm
f667e7a3c7 [BIP-178] Version Extended WIF. 2018-05-21 08:31:50 +09:00
Luke Dashjr
562a604a52 Merge pull request #677 from jimpo/bip158-test-vectors
BIP 158: Change test vectors from CSV to JSON format.
2018-05-20 08:35:49 +00:00
Luke Dashjr
5d17384849 Merge pull request #639 from sdaftuar/fix-bip-90
Remove 'hard fork' designation on BIP 90
2018-05-20 08:33:03 +00:00
Federico Tenga
a5c5c76220 Update bip-0112.mediawiki 2018-05-16 19:23:22 +02:00
Jim Posen
fe1d3f84ba BIP 158: Change test vectors from CSV to JSON format.
The JSON format is standard for Bitcoin Core test data.
2018-05-01 00:23:45 -07:00
Suhas Daftuar
d208ed3ff1 Remove 'hard fork' designation on BIP 90 2018-04-18 09:34:29 -04:00
Luke Dashjr
f7cfefaccf Merge pull request #668 from aakselrod/bip0158-test-vectors
BIP158: add test vectors and generation code
2018-04-08 02:50:54 +00:00
Luke Dashjr
563dbe9984 Merge pull request #670 from harding/bip66-disclosure
BIP66: link to disclosure of consensus failure bug
2018-04-08 02:49:01 +00:00
Luke Dashjr
12eb1981c2 Merge pull request #669 from achow101/bip174-rev
BIP 174: Clarify that global data can be for inputs and outputs
2018-04-05 03:33:32 +00:00
David A. Harding
ae8605776d BIP66: link to sipa's disclosure of consensus failure bug 2018-04-04 15:06:16 -04:00
Andrew Chow
478f20f871 [PSBT] Clarify that global data can be for inputs and outputs
Clarifies that global data fields redeem scripts, witness scripts,
and hd keypaths can be used for data necessary for both the inputs
and outputs of the transaction.
2018-04-04 11:21:54 -04:00
Alex
3571e1a52d BIP158: add test vectors and generation code
In this commit, we add test vectors for filter and header construction and
the code to generate them. The included test vectors are for testnet with a
value of 20 for P. The code generates filters and headers for values of 1
through 32 for P using testnet blocks. Currently, to run the code,
the `Roasbeef` fork of `btcd` (at https://github.com/roasbeef/btcd) is
required to be running locally in testnet mode; this will be changed in a
future commit after the code is merged into the `btcsuite` mainline.
2018-04-03 12:09:26 -06:00
Luke Dashjr
d1874d5cd2 Merge pull request #655 from Alegege/patch-2
BIP 9: Misplaced table cells typo
2018-04-01 05:45:23 +00:00
Luke Dashjr
7eb444dc7e Merge pull request #667 from Roasbeef/bip-158-minor-updates
BIP158: include the direct pkScript rather than its data pushes
2018-04-01 02:59:52 +00:00
Olaoluwa Osuntokun
4077defdbc BIP158: include the direct pkScript rather than its data pushes
In this commit, we modify regular filter construction slightly.  Rather
than including each pushed data in the script, we instead just include
the script directly, which will eventually be hashed. The rationale for
doing this is two-fold:

  * Most scripts today and in the foreseeable future will just be a
    commitment.

  * Including only the script itself and not the hash of the script
    reduces the worst case filter size. Otherwise, an attacker could
    include a bunch of 2 byte push datas and blow up the filter size for
    all nodes.
2018-03-31 17:48:18 -07:00
BtcDrak
11e16622f2 BIP to reserve nversion bits in blockheader 2018-03-26 10:50:12 +00:00
Luke Dashjr
032a5f6136 Merge pull request #662 from Varunram/master
[trivial] Correct typos in BIP 98
2018-03-10 19:27:33 +00:00
Varunram Ganesh
c7a902f1f9 [trivial] Correct typos
least <- lest
hashes <- hashses
addendum <- ammendum
2018-03-10 20:10:27 +05:30
Jonathan Cross
df3bf7bd1b BIP141: Add BIP173 to references. 2018-03-10 10:37:50 +05:30
Luke Dashjr
4e90ce8ec5 Merge pull request #660 from zaq1tomo/fix/bip65
Fix format [in BIP65]
2018-03-06 18:54:09 +00:00
zaq1tomo
12a981949f fix format 2018-03-06 09:59:40 +09:00
zaq1tomo
9f3e9a0c29 fix format 2018-03-06 09:59:33 +09:00
zaq1tomo
31b9a9f1bf fix format 2018-03-06 09:59:27 +09:00
zaq1tomo
8cbdbf53a8 fix format 2018-03-06 09:59:19 +09:00
Alejandro Garcia
e94b373303 BIP 9: Misplaced table cells typo
Second row was created with an incorrect extra empty cell
2018-03-01 17:37:59 +01:00
Luke Dashjr
973a303edc Merge pull request #556 from rolandgnm/patch-1
Organizes Recent Changes chronologically .
2018-02-21 22:18:27 +00:00
Luke Dashjr
bb71f0e61e Merge pull request #647 from dangershony/patch-5
Fix a grammar error
2018-02-13 01:30:32 +00:00
Luke Dashjr
31613d7359 Merge pull request #635 from russellpwirtz/patch-1
fix grammar error
2018-02-12 23:35:57 +00:00
Luke Dashjr
0e3551cbe9 Merge remote-tracking branch 'origin-pull/584/head' 2018-02-12 03:30:13 +00:00
Dan Gershony
fd4312bf87 Update bip-0098.mediawiki 2018-02-10 23:31:36 +00:00
Luke Dashjr
e38387e175 Merge pull request #645 from kallerosenbaum/master
Withdrawing BIP120/121 due to security issues during soft-forks
2018-02-10 22:16:31 +00:00
Kalle Rosenbaum
a7819e43c6 Fixing README table background style for BIP120 and 121 2018-02-10 13:56:20 +01:00
Kalle Rosenbaum
85a99fb14b Withdrawing BIP120/121 due to security issues during soft-forks 2018-02-08 22:22:50 +01:00