summaryrefslogtreecommitdiff
path: root/bip-0341.mediawiki
AgeCommit message (Collapse)Author
2023-06-29Merge pull request #1406 from real-or-random/patch-18Luke Dashjr
BIP341: Fix definition of NUMS point
2023-03-10Improve BIP-341 wordingraphjaph
Reading the spec closely the different language used for serialization of input outpoints and input amounts was confusing on first read. This change uses the same language for both, which makes it easier to read.
2023-02-19Mark Taproot BIPs as FinalChristian Lewe
2023-01-12BIP341: Use the term "NUMS"Tim Ruffing
2023-01-12BIP341: Fix definition of NUMS pointTim Ruffing
2023-01-04BIP 341: allow taproot_sign_key with no script treeJonas Nick
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-04Merge pull request #1379 from DariusParvin/bip341-aux_randkallewoof
BIP341: add aux_rand argument to taproot_sign_key
2022-11-03BIP341: add bip340_aux_rand argument to taproot_sign_keyDarius Parvin
2022-10-24BIP 341: Fix taproot_tweak_pubkeyJonas Nick
`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-09-28BIP 341: add missing conversions between bytes and intDarius Parvin
Convert seckey0 to bytes at the start of the function. Return the output as bytes for consistency with the rest of the code.
2022-08-16BIP 341: add missing conversion from bytes to intJonas Nick
2022-01-15Merge pull request #1232 from Olf0/patch-1Luke Dashjr
[Nit] Add full stop to conclude sentence
2022-01-07Merge pull request #1230 from dr-orlovsky/patch-9kallewoof
BIP-341: explicitly allow softforks with future leaf versions
2021-11-13Mention activation heights in BIP 341MarcoFalke
2021-11-12BIP341 test vectorsPieter Wuille
2021-11-12[Nit] Add full stop to conclude sentenceolf
... because in a normative document, it shall be obvious that this sentence was not accidentally truncated. (Concerns final sentence of footnote / cite-reference 20, https://github.com/bitcoin/bips/edit/master/bip-0341.mediawiki#cite_ref-20-0)
2021-11-11Merge pull request #1224 from brandonblack/masterkallewoof
BIP341/342: Implementation clarifications
2021-11-10Fixes a link in BIP 341Ian Shipman
2021-11-08BIP-341: allow future softforks for leaf version signature verificationDr. Maxim Orlovsky
Currently the BIP-341 and BIP-342 leave the question of how to verify signature for non-`0xC0` leaf version scripts undefined. I haven't checked the Bitcoin Core code for that matter yet, but (1) I think we need to cover signature validation of non-`0xC0` leaf version scripts in this standard and (2) the only way of doing that is "always succeed" rule for the future leaf version values (otherwise we will need a hard fork to introduce them).
2021-11-03BIP341: Clarify tweaking of secret keysBrandon Black
2021-11-03BIP341/342: Clarify SigHash extensionsBrandon Black
* Pull the definition of the extension in BIP342 to its own section * Add a section to BIP341 on validating script path signatures * Clarify that SigMsg does not produce the message being signed, but a common portion of it
2021-11-01BIP341: SigHash: Clarify encoding of script pub keysBrandon Black
2021-11-01BIP341: SigHash: Clarify SIGHASH_DEFAULTBrandon Black
2021-07-14remove int_from_bytes in lift_x call since it is done internallyRiccardo Casatta
2021-06-14Replaces Bech32 by Bech32m in BIP341Raulo
Segwit version 1 is encoded by Bech32m given by BIP350
2021-04-26BIP 341: fix tuple indexeugene
2021-04-25Merge pull request #1104 from ajtowns/202103-bip341-speedy-trial-mtpLuke Dashjr
BIP341: speedy trial activation parameters
2021-04-14BIP341: add brackets to avoid ambiguity due to precendence rules around ↵Anthony Towns
bipwise ops
2021-04-13BIP 341/342: Add link to Bitcoin Core test vectorsJonas Nick
Also remove mention of non-existing examples.
2021-04-13BIP341: add testnet3 parametersAnthony Towns
2021-04-08BIP341: document simplified bip9 statesAnthony Towns
2021-04-08BIP341: bip9 speedy trial parametersAnthony Towns
2021-03-26BIP341/342: document current deployment statusAnthony Towns
2020-09-03bip 341/342: Replace CCompactSize with CompactSizeMarcoFalke
2020-08-27Merge pull request #982 from sipa/bip-taprootLuke Dashjr
BIP340 updates: even R, new tags, small fixups, clarifications
2020-08-20Rename lift_x_even_y to lift_xPieter Wuille
2020-07-28Use consistent capitalization of tag TapSighashPieter Wuille
2020-05-15bip-341: add missing Post-HistoryJonas Nick
2020-05-15bip-341: Commit to all scriptPubKeys in SigMsgJonas Nick
2020-03-27BIP-0341: Replace notion of is_negated with parity bitJonas Nick
2020-03-06BIP-0341: Avoid decompressing the output public key in script spendsJonas Nick
2020-02-23Switch to even-y tiebreaker for pubkeysPieter Wuille
2020-02-23missing spaceAnthony Towns
2020-01-26Fix broken linkNicolas Dorier
2020-01-20fix BIP linksPieter Wuille
2020-01-19Fixes to headersPieter Wuille
2020-01-19fixesPieter Wuille
2020-01-19Rename BIPsPieter Wuille