173 Commits (1f4626227844b066b1207a4a395cb3cb9d9270d1)

Author SHA1 Message Date
Rusty Russell 1245ffaae3 script: add check for 32-byte preimage. 9 years ago
Rusty Russell 02593059cd script: rename scriptpubkey_htlc_send to/recv bitcoin_redeem_htlc_send/recv 9 years ago
Rusty Russell 9eabab78ab utils: tal_hexstr() helper. 9 years ago
Rusty Russell 7efc0efab1 scripteq: simple helper for comparing scripts. 9 years ago
Rusty Russell f4e94147a7 Remove unused script functions now we use witness. 9 years ago
Rusty Russell b1700b1a91 protocol: non-HTLC commit tx outputs are p2wpkh 9 years ago
Rusty Russell 8dce2e77f7 script: 2of2 witness support. 9 years ago
Rusty Russell d26be323b6 measure_tx_cost: determine the BIP141 cost of a transaction. 9 years ago
Rusty Russell e60b1b4efa bitcoind: use correct endianness for block hashes. 9 years ago
Rusty Russell e7b9a913a6 bitcoind: getrawblock helper. 9 years ago
Rusty Russell 410fc3b272 misc: remove some unused functions. 9 years ago
Rusty Russell d9c4960f33 bitcoin/script: support for creating p2sh-p2wpkh. 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 af080d5613 bitcoin/script: helper to create ScriptCode for signing P2WPKH. 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 ed70b13041 bitcoin: add first unit test. 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 40b14981fd daemon: fix BIP68 support. 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 15f7ec436c Fix "make check-source" 9 years ago
Rusty Russell e669baec1c bitcoin/signature: fix compilation with #define DEBUG 9 years ago
Rusty Russell b6943b9198 protocol: remove support for uncompressed pubkeys. 9 years ago
Rusty Russell c1d1b360bf daemon: add memcheck() in various places where we expect things to be initialized. 9 years ago
Rusty Russell 6750794667 Use #if instead of #ifdef (we already use -Wundef). 9 years ago
Rusty Russell 9aa0eac814 bitcoin: hand in a secp256k1_context to all routines. 9 years ago
Rusty Russell 3374ddd2a6 bitcoin: use a length arg to bitcoin_tx_from_hex 9 years ago
Rusty Russell cf547d491b bitcoin: add len arg to pubkey conversion function. 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 04fd2c861f bitcoin/base58: p2sh address support. 9 years ago
Rusty Russell 93b5db89a8 signature: expose check_signed_hash() 9 years ago
Rusty Russell 9ebbe16b1e source cleanup: sort include lines into alpha order 9 years ago
Rusty Russell d733e82352 header cleanup: sort include lines into alpha order, after config.h 9 years ago
Rusty Russell 2e873af86f locktime: complete the set of conversion functions. 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 4e23f9916d script: encode numbers minimally. 9 years ago
Rusty Russell 6b2d844f2a bitcoin: use ccan/mem instead of rolling own check_mem function. 9 years ago
Rusty Russell 32fe988fe8 bitcoin: signature fixes. 9 years ago
Rusty Russell 242fa1b2dd pubkey: pubkey_eq helper. 9 years ago
Rusty Russell e7856e6e69 Update libsecp to git@github.com:bitcoin/secp256k1.git 52fd03f 9 years ago
Rusty Russell 454a3867e5 BIP68 support (nSequence enforcement) 9 years ago
Rusty Russell 58a62e782d bitcoin/script: don't pass value for HTLC script. 9 years ago