Age | Commit message (Collapse) | Author |
|
Co-authored-by: kallewoof <kalle.alm@gmail.com>
|
|
copypasta FTW
|
|
|
|
|
|
|
|
|
|
Since constraints on unauthorized recovery transaction structure exist
only to avoid pinning, make them a matter of policy and not consensus.
|
|
Thanks to Vojtěch Strnad for most of this.
|
|
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.
|
|
|
|
from feedback by Gleb and Joost.
|
|
|
|
BIP324 reference code / test vector improvements
|
|
BIP174: s/uiht/uint/s
|
|
|
|
* 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
|
|
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).
|
|
Add BIP324: v2 P2P Transport Protocol
|
|
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.
|
|
BIP341: add aux_rand argument to taproot_sign_key
|
|
BIP 341: Fix taproot_tweak_pubkey
|
|
|
|
BIP330: drop redundant booleans from the sendtxrcncl message
|
|
`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`.
|
|
The reconciliation protocol assumes using one role consistently. Since
it is irrelevant which one is which, we can imply that the initiator of
the P2P connection will assume the role of reconciliation initiator.
This protocol simplification will seep into the implementation.
|
|
bip-0011/12 - fixed broken implementation url
|
|
[Trivial] BIP-70 Fixing sipa's gist proposal url
|
|
|
|
Changes/clarifications to bip-330.
|
|
BIP 341: add missing conversions between bytes and int
|
|
BIP118: simplify explanation of signature message
|
|
New BIP 351: Private Payments
|
|
BIP 372: Pay-to-contract tweak fields for PSBT
|
|
Update BIPs 300/301
|
|
370: Fix merge conflict and typo
|
|
nit: fix typo in bip-0370 test vectors.
|
|
Minor improvements
|
|
|
|
Convert seckey0 to bytes at the start of the function.
Return the output as bytes for consistency with the rest of the code.
|
|
|
|
|
|
Basing on https://github.com/bitcoin/bips/pull/1293#issuecomment-1242438684
|
|
|
|
|
|
|
|
|
|
|
|
|