40 Commits (b600e6118c1ac9048ce3f34114e101cae7e5c3f5)

Author SHA1 Message Date
Rusty Russell 8522a5ea64 struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 8 years ago
Rusty Russell 8159c4458a bitcoin/script.h: remove struct bitcoin_signature 8 years ago
Rusty Russell 7b1a4fc765 utils: add tal_hex() helper. 8 years ago
Rusty Russell c7b69abdaa type_to_string: move formatting to appropriate files. 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell 700c536a27 Makefile: remove all the old Elements Alpha support. 8 years ago
Rusty Russell 809caa8588 bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 8 years ago
Jacob ae52977e42 fixed whitespace 8 years ago
Jacob 4751522162 Changed openssl's RAND_bytes() to sodium's randombytes_buf() 8 years ago
Rusty Russell 2a03af4486 Misc minor cleanups. 8 years ago
Rusty Russell f4e94147a7 Remove unused script functions now we use witness. 9 years ago
Rusty Russell d26be323b6 measure_tx_cost: determine the BIP141 cost of a transaction. 9 years ago
Rusty Russell e7b9a913a6 bitcoind: getrawblock helper. 9 years ago
Rusty Russell 772a960c41 tx: add measure_tx_len() helper. 9 years ago
Rusty Russell 6b956ea22a varint: new file. 9 years ago
Rusty Russell df5d4e3c10 bitcoin/signature: BIP143 signature support. 9 years ago
Rusty Russell 8545db418b bitcoin/tx: sha256_tx_for_sig() takes sighash flag. 9 years ago
Rusty Russell ee5f0e3ea6 bitcoin/tx: add helper to write blob of data. 9 years ago
Rusty Russell 58b14292ad bitcoin/tx: (optional) input amount. 9 years ago
Rusty Russell 66084271c3 bitcoind: work around fundrawtransaction segwit issue. 9 years ago
Rusty Russell 587cda0ab8 tx: segregated witness encoding/decoding support. 9 years ago
Rusty Russell a084bb2160 bitcoin/tx: make sure we don't try to do a huge allocation on bad input tx. 9 years ago
Rusty Russell e44a7dc2d5 bitcoin/tx: remove style arg. 9 years ago
Rusty Russell 8104886503 Remove Alpha support. 9 years ago
Rusty Russell 6750794667 Use #if instead of #ifdef (we already use -Wundef). 9 years ago
Rusty Russell 3374ddd2a6 bitcoin: use a length arg to bitcoin_tx_from_hex 9 years ago
Rusty Russell 7cf786f1f4 pull_bitcoin_tx: allocate outputs off tx itself. 9 years ago
Rusty Russell 3a803eefbb bitcoin/tx: move bitcoin_tx_from_file() to test-cli, expose bitcoin_tx_from_hex() 9 years ago
Rusty Russell 9ebbe16b1e source cleanup: sort include lines into alpha order 9 years ago
Rusty Russell 4b02c6f558 locktime: nice abstractions for absolute and relative locktimes. 9 years ago
Rusty Russell 4c42930940 bitcoin/tx, protobuf_convert: support BIP68 as implemented. 9 years ago
Rusty Russell 6b2d844f2a bitcoin: use ccan/mem instead of rolling own check_mem function. 9 years ago
Rusty Russell 454a3867e5 BIP68 support (nSequence enforcement) 9 years ago
Rusty Russell c4d5a85b4e protocol: remove tx_version field. 9 years ago
Rusty Russell ee3af28980 test-cli/txid-of: simple helper to get txid. 9 years ago
Rusty Russell 6a5ba591ee signature: match alpha hashing bug for multiple inputs. 9 years ago
Rusty Russell 66b1df4036 tx: locktime should be 0. 9 years ago
Rusty Russell ae31431168 tx: centralize transaction writing, append amounts for alpha. 9 years ago
Rusty Russell 20624c049f tx: prepare for Elements Alpha. 9 years ago
Rusty Russell 602117e8bb Add valgrind memcheck helpers. 9 years ago
Rusty Russell ef9463f6b1 Sort include lines (ignoring hacky cli test utils). 9 years ago
Rusty Russell 612d713470 Move bitcoin stuff into bitcoin subdir. 9 years ago
Rusty Russell 9ed6968fe5 add_varint: encode correctly (LE) 10 years ago
Rusty Russell 0203d51ec0 pull_varint: fix. 10 years ago
Rusty Russell 904ef32459 bitcoin_tx: handle \n at end of file for tx. 10 years ago
Rusty Russell 6048a15db9 bitcoin_tx: bitcoin_txid_from_hex helper. 10 years ago
Rusty Russell 617d21eb43 check-anchor-scriptsigs: dump out anchor tx if scriptsigs make expected tx. 10 years ago
Rusty Russell bd38003db6 Add function to linearize tx into bytes, by generalizing hash code. 10 years ago
Rusty Russell 393400fa39 Make an explicit bitcoin_txid() call. 10 years ago
Rusty Russell 3a62a9172d Create bitcoin_tx helper. 10 years ago