Commit Graph

26 Commits (9fc5bb546bff59104fa158e53a23bc4ffa327b9c)

Author SHA1 Message Date
grdddj 9fc5bb546b style(core): full pyright-based type-checking
2 years ago
Andrew Kozlik 221977ad9d chore(core): Convert SIGHASH_* consts to SigHashType enum.
3 years ago
Andrew Kozlik ae35086bb9 refactor(core): Rename Hash143 to SigHasher and replace preimage_hash() with two functions.
3 years ago
Andrew Kozlik 381e8bc85a feat(core): Implement the BIP-341 common signature message computation.
3 years ago
Andrew Kozlik 99e4ed6f42 chore(core): Support script_pubkey parameter for Bitcoin inputs.
3 years ago
Andrew Kozlik 7811204ed5 refactor(core/bitcoin): Use HashWriter in address derivation.
3 years ago
Andrew Kozlik 27e6f35f78 refactor(core/bitcoin): Change scripts to use writer semantics.
3 years ago
Jan Pochyla a8623c4b59 refactor(core): fix imports and use new protobuf API in apps
3 years ago
Martin Milata ac711fb8ee style(core): use more recent type annotation syntax
3 years ago
Martin Milata ee64b65b26 refactor(core): call super().__init__() in subclasses
4 years ago
Pavol Rusnak 952adc5961
style(core): use PEP515 Underscores in Numeric Literals
4 years ago
Andrew Kozlik bd3fe1d789 chore(core): In apps.bitcoin create a separate class for transaction information.
4 years ago
Andrew Kozlik 7c2d690e45 chore(core): In apps.bitcoin allow get_tx_digest() to be used for original transactions.
4 years ago
Andrew Kozlik 5fc491c597 chore(core): In apps.bitcoin move BIP143 hashing back to a separate class.
4 years ago
matejcik 0eed360037 chore: make tx type names shorter
4 years ago
matejcik 37025e2a84 feat(core): use specialized protobufs in apps.bitcoin, enable typing
4 years ago
Andrew Kozlik d6ee542deb core/bitcoin: Move transaction confirmation logic from Bitcoin to BasicApprover class.
4 years ago
Martin Milata d955e3f1e5 core: rename class Overwintered to Zcashlike
4 years ago
Martin Milata 10387e1869 core: drop zcash v3 tx signing support
4 years ago
matejcik c85d768b81 core: update references to keychain everywhere
4 years ago
Andrew Kozlik d48a372ca7 core/sign_tx: Implement support for signed external inputs.
4 years ago
Andrew Kozlik 5378e12ba2 core/bitcoin: Clarify hash_type vs. sighash_type terminology.
4 years ago
matejcik e6e3043096 all: implement support for pre-overwinter prevtx (fixes #1030)
4 years ago
Andrew Kozlik 42eddf8e04 core/sign_tx: validate prevout amount in all cases
4 years ago
Tomas Susanka 3084ee1eed core/bitcoin: move write_bitcoin_varint to common writers
4 years ago
Tomas Susanka 445f56d387 core/bitcoin: finalize bitcoin refactor
4 years ago