444 Commits (master)

Author SHA1 Message Date
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
Rusty Russell 08ae4a687d script: HTLC support. 9 years ago
Rusty Russell cf3433a0ad script: add OP_CHECKLOCKTIMEVERIFY. 9 years ago
Rusty Russell 0170ad4abd script: add add_push_le32 helper. 9 years ago
Rusty Russell c4d5a85b4e protocol: remove tx_version field. 9 years ago
Rusty Russell 8f0140c542 script: remove now-unnecessary 2of2 ops. 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 11099d738f script: dual anchor input support. 9 years ago
Rusty Russell aa79887d79 script: use the normalized delay script form for commit output. 9 years ago
Rusty Russell d053181b0b script: add standard routines for secret-or-timedelay outputs. 9 years ago
Rusty Russell 465c2b04e8 signature: fix -DDEBUG case, add hash printing. 9 years ago
Rusty Russell 8f64eb90af Switch over to CCAN's ripemd160. 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 62a002c860 script: make DER for signature encoding optional. 9 years ago
Rusty Russell faae91f3fc Schnorr signature support. 9 years ago
Rusty Russell 1d82bf51fc signature: fix invalid S check. 9 years ago
Rusty Russell d20ddb5a90 Use libsecp256k1 instead of openssl for crypto. 9 years ago
Rusty Russell fbe63124f6 Move DER encoding into bitcoin/signature.c 9 years ago
Rusty Russell 20624c049f tx: prepare for Elements Alpha. 9 years ago
Rusty Russell 61737a79d2 Fix typo. 9 years ago
Rusty Russell 602117e8bb Add valgrind memcheck helpers. 9 years ago
Rusty Russell 143e7e032c Optimize revocable output a little. 9 years ago
Rusty Russell 9f12b72476 Don't include mutual redemption in recovable commit tx output. 9 years ago
Rusty Russell ef9463f6b1 Sort include lines (ignoring hacky cli test utils). 9 years ago
Rusty Russell 442f321585 Move protobuf<->bitcoin converters out of bitcoin/ 9 years ago
Rusty Russell 612d713470 Move bitcoin stuff into bitcoin subdir. 9 years ago