224 Commits (1a8e8bc047bc6cd124b338e9c69c3bbb561db54a)

Author SHA1 Message Date
SomberNight 1b834a7a78
fix RBF 7 years ago
SomberNight 8f7a4cf876
follow-up 0438bbc2c2 7 years ago
SomberNight 0438bbc2c2
transaction.py: change update_signatures API. fix trezor segwit signing. 7 years ago
SomberNight 05e5ef16eb
transaction.py: more flexible sign() method 7 years ago
SomberNight 4193c7ff14
transaction.py: wtxid is undefined for uncomplete txns 7 years ago
SomberNight e8b5bcf31e
fix incorrect txid for partial segwit txns 7 years ago
SomberNight 12c5474cf1
stricter tx deserialization: forbid negative output amount values 7 years ago
SomberNight 0b78cb5e6b
stricter tx deserialization: forbid output amount values over 21 million btc 7 years ago
SomberNight 71ce7cce6d
stricter tx deserialization: forbid junk at the end 7 years ago
SomberNight 6b8a563d41
add witness version to our partial format 7 years ago
SomberNight a0ba5a7962
change partial txn format: add header. only parse inputs and witness for partial txns. 7 years ago
Dev Random c6fce4b7cc do not actually compute the nested p2wsh-p2sh script if just estimating size (#4412) 7 years ago
SomberNight 16e4827e8c
use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py 7 years ago
SomberNight e375bf48c4
transaction.py: reserialize scriptSig for incomplete txin 7 years ago
ghost43 3337af0734
transaction.py: (txin guess) fix some false positive matches of p2sh-segwit (#4336) 7 years ago
SomberNight cbf1b5d9d5
py3.4 compat: follow-up e13183ea7a 7 years ago
SomberNight ea55d886b7
follow-up 1d6f000868 7 years ago
SomberNight e13183ea7a
bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness 7 years ago
SomberNight 97296432a2
transaction.py: sign_txin. allow override for get_preimage_script. 7 years ago
SomberNight 1d6f000868
transaction.py: shortcut witness/scriptSig serialisation 7 years ago
SomberNight 7b50790584
do not raise BaseException 7 years ago
SomberNight 76e67daadd
changed some asserts to raise-exceptions in lib 7 years ago
SomberNight 4ff3791cb9
fix #4236 7 years ago
SomberNight 77c8010517 bitcoin.py: parameterise a few address-related methods with network 7 years ago
SomberNight 22061b4555 transaction.get_address_from_output_script now handles witness version > 0 7 years ago
SomberNight b043c872eb fix paying to script 7 years ago
SomberNight 135c5e805d fix #4046 7 years ago
SomberNight e5cba92564 transaction serialization: fix segwit coinbase case. 7 years ago
SomberNight 063e40bf18 catch IndexError in parse_redeemScript 7 years ago
SomberNight 4b6a3e2e5d fix #3899; and more aggressively catch exceptions in tx.deserialize() 7 years ago
SomberNight ca19a36478 conflicting transactions 7 years ago
SomberNight e5f239dd28 follow-up 70aa1f1db9 7 years ago
SomberNight 6faef7efe3 remove comment 7 years ago
SomberNight 889456dc77 follow-up prev commit. better handling of p2sh-segwit. added comment to describe the problem for native segwit. 7 years ago
SomberNight 70aa1f1db9 fix #3788 7 years ago
SomberNight d8a9c9720a follow-up 65eae139af 7 years ago
SomberNight aaf5e32207 coinchooser fee calculation now uses tx weights. more precise fee calculation for segwit and mixed-segwit txns. 7 years ago
SomberNight b751e5e7d3 fix: tx size estimation for multisig 7 years ago
SomberNight 2a3c41b24f coinchooser: "privacy" policy now prefers confirmed coins. removed "priority" policy. 7 years ago
SomberNight 0aee9bbbb0 fix spending from multisig (broken by 8be777e882) 7 years ago
SomberNight 8be777e882 tx size estimation: handle uncompressed pubkeys 7 years ago
SomberNight e373f50596 follow-up prev commit 7 years ago
SomberNight a2a25e4738 better segwit tx size estimation 7 years ago
Justin Turner Arthur 857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 7 years ago
SomberNight f8518c78d8 remove Transaction.requires_fee() 7 years ago
ThomasV bf2c07ff2a fix #3244 7 years ago
SomberNight b28f8b3ebd make tx deserialization more robust to ill-formed tx 7 years ago
ThomasV 358068a0c1 fix #3197: parse pubkey 7 years ago
SomberNight 32e88495ae fix: transaction.parse_witness() for coinbase 7 years ago
ThomasV 8683d71711 fix: witness serialization 7 years ago