88 Commits (master)

Author SHA1 Message Date
Christian Decker 03329a61da wally: Add setters for output amounts, input witnesses and scripts 6 years ago
Christian Decker 3937b17e2b wally: Add a consistency check for old and new style txs 6 years ago
Christian Decker 60fbf1f7d0 wally: Add shims to generate both transaction versions in parallel 6 years ago
Christian Decker 16f72cb160 wally: Migrate version and locktime to libwally tx 6 years ago
Christian Decker 9609d762c8 wally: Add wally_tx in bitcoin_tx 6 years ago
Rusty Russell 948ca470ad bitcoin: use amount_sat/amount_msat. 6 years ago
Rusty Russell b7da41e674 bitcoin/signature: implement SIGHASH_SINGLE|SIGHASH_ANYONECANPAY for segwit. 6 years ago
Rusty Russell a83e45fec2 bitcoin/signature: create/check tx sigs without mangling the tx. 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Rusty Russell 9a6c36a568 bitcoin/tx: remove unused pull_bitcoin_tx_onto. 7 years ago
Rusty Russell de0777cb2c Fix weight calculation, rename cost->weight. 7 years ago
Christian Decker 524849bc11 bitcoin: Split pull_bitcoin_tx 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
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 809caa8588 bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 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 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 8104886503 Remove Alpha support. 9 years ago
Rusty Russell 3374ddd2a6 bitcoin: use a length arg to bitcoin_tx_from_hex 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 d733e82352 header cleanup: sort include lines into alpha order, after config.h 9 years ago
Rusty Russell 4b02c6f558 locktime: nice abstractions for absolute and relative locktimes. 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 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 612d713470 Move bitcoin stuff into bitcoin subdir. 9 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
Rusty Russell 670670f138 open-anchor-sig, many fixes for open-channel. 10 years ago