40 Commits (c938ebb5c09403b68a205524a1b76da2796a5899)

Author SHA1 Message Date
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 78a0177f1c script: free redeemscript in bitcoin_witness_p2sh_p2wpkh 8 years ago
Rusty Russell f90fb4934f close_shutdown: make sure script_pubkey is standard. 8 years ago
Rusty Russell ec3344ce6e daemon/output_to_htlc: routines to map outputs for HTLCs for a given commit_num. 8 years ago
Rusty Russell 42bed80145 pubkey: don't carry around DER encoding. 8 years ago
Rusty Russell 69cb158edd base58, script, protobuf_convert: don't use temporary secp256k1 context. 8 years ago
Rusty Russell caf50c9ae4 peer: handle fulfull and fail onchain. 8 years ago
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 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 410fc3b272 misc: remove some unused functions. 9 years ago
Rusty Russell d9c4960f33 bitcoin/script: support for creating p2sh-p2wpkh. 9 years ago
Rusty Russell af080d5613 bitcoin/script: helper to create ScriptCode for signing P2WPKH. 9 years ago
Rusty Russell 8104886503 Remove Alpha support. 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 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 4e23f9916d script: encode numbers minimally. 9 years ago
Rusty Russell 242fa1b2dd pubkey: pubkey_eq helper. 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 8f0140c542 script: remove now-unnecessary 2of2 ops. 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 8f64eb90af Switch over to CCAN's ripemd160. 9 years ago
Rusty Russell 62a002c860 script: make DER for signature encoding optional. 9 years ago
Rusty Russell fbe63124f6 Move DER encoding into bitcoin/signature.c 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
Rusty Russell 975a5b2041 scriptsig_p2sh_2of2: fix sig order. 10 years ago
Rusty Russell 16baa1dae9 create-commit-spend-tx: spend the commit tx (after timeout) 10 years ago
Rusty Russell 114b7afbe2 bitcoin_script: fix bug in complex anchor redeem script. 10 years ago
Rusty Russell 3a4d8cd282 bitcoin_script: use OP_NOP dummy for now, as bitcoind rejects OP_NOP3 10 years ago
Rusty Russell 3c7e11fd65 bitcoin_script: DER correctly when we have leading zeroes. 10 years ago
Rusty Russell 126192a842 create-steal-tx: get my money back! 10 years ago
Rusty Russell e1532ce044 bitcoin_script: get rid of scriptpubkey_pay_to_pubkeyhash. 10 years ago
Rusty Russell cbad9a1fa5 bitcoin_script: remember to push extra 0 for OP_CHECKMULTISIG. 10 years ago