33 Commits (bc0039e8c0ceb28e4b642df25d889c96e34b4b50)

Author SHA1 Message Date
Rusty Russell 29d6004efc bitcoin/script: update scripts to the lightningnetwork/lightning-rfc#123 version 8 years ago
Rusty Russell 39993f229d bitcoin/script: rename bitcoin_redeem_p2wpkh -> bitcoin_redeem_p2sh_p2wpkh 8 years ago
Rusty Russell ccff3ac437 lightningd/funding_tx: fill in scriptsigs for p2sh UTXOs. 8 years ago
Rusty Russell 5475666b7e lightningd: simple wallet support. 8 years ago
Rusty Russell 82f5b3ad51 bitcoin/script: bitcoin_witness_p2wpkh() 8 years ago
Rusty Russell 3e1ae177fb bitcoin/script: BOLT 3 htlc transaction support. 8 years ago
Rusty Russell 6f3803aae7 bitcoin/script: BOLT 3 commitment transaction support. 8 years ago
Rusty Russell 1bb66cde2a bitcoin/scrpt: add vanilla p2pkh support. 8 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 1edce4878d bitcoin/signature.h: remove struct signature. 8 years ago
Rusty Russell a4fdaab5b3 Use global secp256k1_ctx instead of passing it around. 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. 9 years ago
Rusty Russell 69cb158edd base58, script, protobuf_convert: don't use temporary secp256k1 context. 9 years ago
Rusty Russell caf50c9ae4 peer: handle fulfull and fail onchain. 9 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 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 58a62e782d bitcoin/script: don't pass value for HTLC script. 9 years ago
Rusty Russell 08ae4a687d script: HTLC support. 10 years ago
Rusty Russell 8f0140c542 script: remove now-unnecessary 2of2 ops. 10 years ago
Rusty Russell 11099d738f script: dual anchor input support. 10 years ago
Rusty Russell aa79887d79 script: use the normalized delay script form for commit output. 10 years ago
Rusty Russell d053181b0b script: add standard routines for secret-or-timedelay outputs. 10 years ago
Rusty Russell 612d713470 Move bitcoin stuff into bitcoin subdir. 10 years ago
Rusty Russell 16baa1dae9 create-commit-spend-tx: spend the commit tx (after timeout) 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 17c56a8cfc Fix DER encoding. 10 years ago
Rusty Russell abac31072e open-anchor-scriptsig: use pubkey, not addr in scriptsig. 10 years ago
Rusty Russell c291d19af6 Add check-commit-sig. 10 years ago
Rusty Russell 316f29cb69 bitcoin_script: wean entirely off protobuf types. 10 years ago
Rusty Russell f911b2b6df Use pubkey structures in bitcoin_script, rather than protobufs. 10 years ago
Rusty Russell eec612af9f Use raw 64-byte signatures in protocol. 10 years ago
Rusty Russell bf38ca052e open-commit-sig: create signature for commit tx. 10 years ago
Rusty Russell 670670f138 open-anchor-sig, many fixes for open-channel. 10 years ago