3514 Commits

Author SHA1 Message Date
kallewoof
ebea569f19
replace travis with Github Actions (#1432)
replace travis with Github Actions
2023-03-09 11:57:21 +09:00
kallewoof
4e4db8ba12
Merge pull request #1430 from bigspider/psbtv0-fix-signing-algo
PSBTv0: Update Simple Signer Algorithm for SegWitv0 inputs
2023-03-08 12:57:13 +09:00
kallewoof
e98121e531
Merge pull request #1431 from bigspider/psbtv2-fix-txversion
PSBTv2: Relax transaction version requirement
2023-03-08 12:55:23 +09:00
Salvatore Ingala
5cf651155d
Relax transaction version requirement when the Creator is also a Constructor. 2023-03-04 11:24:05 +00:00
Salvatore Ingala
e538fa8562
Update Simple Signer Algorithm for SegWitv0 inputs
It is no longer expected that SegWitV0 inputs have no witness-utxo field.
Reverting the order of checks avoids this assumption (while still relying on the mandatory lack of witness-utxo for legacy inputs).
2023-03-04 11:13:16 +00:00
dhruv
ee8a4a3bc5 Updates to BIP324 since January 11 2023 2023-02-28 09:53:19 -08:00
kallewoof
aa5b0a1009
Merge pull request #1427 from cmdruid/patch-1
Update bip-0370.mediawiki
2023-02-27 09:38:19 +09:00
kallewoof
2ef2b1658f
Merge pull request #1423 from uncomputable/taproot-final
Mark Taproot BIPs as Final
2023-02-27 07:17:04 +09:00
cmd
be78b633e3
Update bip-0370.mediawiki
Small typo. Changed 'gemeric' to 'generic'.
2023-02-23 09:11:04 -06:00
Jameson Lopp
24241ee26b
typos / gramma cleanup 2023-02-22 07:27:03 -06:00
James O'Beirne
6ff8efd3d1 vaults: blank deployment 2023-02-21 16:08:23 -05:00
Christian Lewe
f4a05c1ced Mark BIP 343 as Final 2023-02-21 22:05:30 +01:00
James O'Beirne
0204c9a1f9 vaults: make recovery output structure a matter of policy
Since constraints on unauthorized recovery transaction structure exist
only to avoid pinning, make them a matter of policy and not consensus.
2023-02-21 11:59:36 -05:00
James O'Beirne
58cbc4e9b1 vaults: various feedback
Thanks to Vojtěch Strnad for most of this.
2023-02-21 11:59:31 -05:00
kallewoof
de6b3ffeb8
Merge pull request #1157 from tcharding/list-render
Remove newline to fix list rendering
2023-02-21 10:46:18 +09:00
kallewoof
3de3c768ed
Merge pull request #1418 from jeepkd/patch-1
Add BIP-329 to the index table
2023-02-21 10:45:27 +09:00
kallewoof
7e2f317a44
Merge pull request #1417 from achow101/380-clarify-optional-checksum
380: Clarify optionality of descriptor checksum
2023-02-21 09:50:28 +09:00
kallewoof
e47ee83b65
Merge pull request #1422 from instagibbs/patch-18
Update PSBT_IN_TAP_BIP32_DERIVATION key desc
2023-02-20 11:18:04 +09:00
Christian Lewe
43fa7cf13d Mark Taproot BIPs as Final 2023-02-19 16:16:13 +01:00
James O'Beirne
c589490f98 vaults: make recovery transaction explicit
Instead of implicitly detecting whether or not an OP_VAULT/OP_UNVAULT
spend is a recovery spend by scanning outputs for matching
scriptPubKeys, explicitly indicate recoveries by requiring a witness
stack element that is either -1 in the case of no recovery OR
corresponds to an output index that is the recovery output.
2023-02-15 13:56:22 -05:00
Gregory Sanders
4ab7faad74 Update PSBT_IN_TAP_BIP32_DERIVATION key desc
Clarify intended usage of PSBT_IN_TAP_BIP32_DERIVATION for key-spends.
2023-02-15 13:17:22 -05:00
James O'Beirne
9124f2940e fixup! image clarifications 2023-02-14 13:10:03 -05:00
James O'Beirne
476aea3107 fixup! typos and clarification
from feedback by Gleb and Joost.
2023-02-14 12:50:05 -05:00
James O'Beirne
b30e37c8a2 Add OP_VAULT BIP 2023-02-13 18:58:59 -05:00
Nutthawut (Jeep) Kiddee
ab87f494cd
Add BIP-329 to the index table 2023-02-11 12:38:58 +07:00
Andrew Chow
272e1f5efc 380: Clarify optionality of descriptor checksum
Parsers must handle checksum optionality, but applications can choose to
reject descriptors that don't have a checksum.
2023-02-10 13:01:53 -05:00
kallewoof
30c88a4bec
Merge pull request #1416 from Shadouts/master
BIP0174 and BIP0370 PSBT_GLOBAL_TX_VERSION <valuedata> type correction
2023-02-10 07:18:45 +09:00
Andrew Chow
a3ad2547bc Specify 389: Multipath descriptors 2023-02-09 15:16:19 -05:00
Jack
1c5572b617 Fix valuedata type to match description. 2023-02-08 08:52:22 -09:00
Craig Raw
96a9adedde change origin attribute to reflect an abbreviated output descriptor containing key origin information 2023-02-07 11:05:53 +02:00
AJ ONeal
5cafddccca
feat: add DashPhrase.js to JS implementations 2023-02-03 16:11:11 -07:00
Craig Raw
0a5e3b0101 add optional key origin property and expand truncation note 2023-02-03 10:21:55 +02:00
kallewoof
1a632a3875
Merge pull request #1405 from sipa/202301_bip324_update
BIP324 reference code / test vector improvements
2023-02-03 12:59:37 +09:00
kallewoof
f277d42e0d
Merge pull request #1407 from instagibbs/patch-17
BIP174: s/uiht/uint/s
2023-01-18 10:48:23 +09:00
Gregory Sanders
7e0c47e1f6
uiht 2023-01-17 14:14:54 -05:00
craigraw
41490b74f7
Wallet Labels Export Format (#1383)
* initial commit

* fix formatting

* add importing section

* clarify csv preference

* tabs to spaces

* add rationale and references, require that rfc4180 is followed

* fix reference links

* show reference links as list

* use self describing json lines format instead of csv

* add bip number and accommodate 65 byte pubkeys

* fix comments uri
2023-01-17 08:40:46 +09:00
Tim Ruffing
6e7e5a2523 BIP341: Use the term "NUMS" 2023-01-12 13:50:46 +01:00
Tim Ruffing
996dd77b10
BIP341: Fix definition of NUMS point 2023-01-12 13:41:06 +01:00
Pieter Wuille
cc177ab7bc BIP324 updates
Includes:
* Simpler (but equivalent) ElligatorSwift encoding function & spec
* Improved test vectors
* Test vector generation code
* Code for converting test vectors for libsecp256k1 code.
* Code for running test vectors against SwiftEC paper authors' code.
* Miscellaneous reference code improvements (style, comments).
2023-01-11 17:39:56 -05:00
kallewoof
2361582f0b
Merge pull request #1378 from dhruv/bip324
Add BIP324: v2 P2P Transport Protocol
2023-01-05 08:44:56 +09:00
kallewoof
00902d17d9
Merge pull request #1350 from jonasnick/bip-0341-signingfix
BIP 341: allow taproot_sign_key with no script tree
2023-01-05 08:43:37 +09:00
dhruv
32af2c9dc2 Add BIP324 2023-01-04 08:46:46 -08:00
Jonas Nick
3d243d8a49
BIP 341: allow taproot_sign_key with no script tree
In contrast to taproot_output_script, taproot_sign_key was not able to deal with
a script_tree that is None. This commit fixes taproot_sign_key such that it can
sign for such outputs.

This commit avoids changing the behavior of the functions except
taproot_sign_key at the cost of having some code duplication. Alternatively, one
could let taproot_tree_helper deal with a None script_tree directly.
2023-01-04 14:31:44 +00:00
kallewoof
79bb53dde5
Merge pull request #1379 from DariusParvin/bip341-aux_rand
BIP341: add aux_rand argument to taproot_sign_key
2023-01-04 10:55:06 +09:00
kallewoof
c6725580c5
Merge pull request #1386 from jonasnick/fix-taproot-tweak-pubkey
BIP 341: Fix taproot_tweak_pubkey
2023-01-04 10:33:15 +09:00
scgbckbone
7aaaa01a9c
BIP-85 Passwords 2022-12-05 02:50:34 +01:00
Darius Parvin
e24f685971 BIP341: add bip340_aux_rand argument to taproot_sign_key 2022-11-03 21:25:39 -07:00
Luke Dashjr
15c8203eb3
Merge pull request #1376 from vasild/bip330_sendtxrcncl_smplfctn
BIP330: drop redundant booleans from the sendtxrcncl message
2022-10-28 13:04:33 +00:00
Jonas Nick
be340277fc
BIP 341: Fix taproot_tweak_pubkey
`lift_x` returns `None` if the input integer is not an X coordinate on the curve
to indicate failure. `point_add`, on the other hand, interprets `None` as the
point at infinity. Therefore, without this commit, if the internal `pubkey` is
not a valid X coordinate, the function will not fail, which contradicts the
specification in the "Script validation rules section". Instead, it sets `Q` to
`t*G`.
2022-10-24 20:33:05 +00:00
Richard Ulrich
76d561fb2c
Added the BDK implementation for bip-0127 proof of reserves 2022-10-17 17:55:17 +02:00