88 Commits (06a54606a341125962f406c1fb0d2ad72ec98c71)

Author SHA1 Message Date
niftynei 0ca6c3cc84 script: break out redeemscript->scriptsig function 4 years ago
ZmnSCPxj jxPCSnmZ 6c13e9b300 bitcoin/script.c: Add scriptpubkey_opreturn_padded, which creates an OP_RETURN with a pointless random 20-byte padding. 4 years ago
Rusty Russell 6e4e267f2c doc: update BOLT now option_anchor_outputs is merged. 4 years ago
Rusty Russell 591e8f9663 psbt: finalize to-remote with option_anchor_outputs. 4 years ago
Rusty Russell 3ff8311b40 channeld: change to_remote for option_anchor_outputs. 4 years ago
Rusty Russell e7423888ba initial_commit_tx, commit_tx: add anchor outputs if needed. 4 years ago
Rusty Russell 05c3a9bf12 script: change htlc output scripts if option_anchor_outputs. 4 years ago
Rusty Russell 09f065fc45 script: expose script_push_bytes(). 4 years ago
Rusty Russell 93d04d08d0 wire: update to latest version of the spec. 4 years ago
Rusty Russell 2aad3ffcf8 common: tal_dup_talarr() helper. 5 years ago
lisa neigut cb2cad8c94 script: add helper for checking if a 'known type' 5 years ago
lisa neigut 81c40da3b5 bolt: update to lightning-rfc:636b9f, change opcode reference format 5 years ago
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell bbc4a599dc bitcoin/script.h: assert the constants in the header are correct. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell 18a6cbd11f bitcoin/*: fix up BOLT references. 6 years ago
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell 45e145df5e onchaind: don't create zero-output txs if fees overwhelm us. 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Rusty Russell 070929f92e bitcoin/script: define standard scriptpubkey lengths. 7 years ago
ZmnSCPxj f0fa01b439 Share similar code between bitcoin_witness_p2sh_p2wpkh and bitcoin_scriptsig_p2sh_p2wpkh. 7 years ago
Rusty Russell 88ec8df329 bitcoin/scripts: use htlckey instead of localkey. 7 years ago
Rusty Russell 20ce829f81 script: add helper to use a raw witness program. 7 years ago
Rusty Russell 9ec5cb7ba2 script: enhance is_p2sh/is_p2pkh/is_p2wsh/is_p2wpkh to extract addr. 7 years ago
Rusty Russell f9edbcb4ec script: add p2sh scriptpubkey helper to create from hash. 7 years ago
Rusty Russell 6ef64cd52b script: make "sig_and_empty" more generic, make htlc tx witness fns clearer. 7 years ago
Rusty Russell 052c9f42d4 bitcoin/script: remove routines unnecessary for modern daemon. 7 years ago
Rusty Russell af9d763763 bitcoin/script: support variants where we only have the ripemd. 7 years ago
Christian Decker 7dc693963d script: Consolidate scripts to use pubkey_to_hash160 7 years ago
Christian Decker 40165ba6d5 script: Use pkh to construct p2pkh output scripts 7 years ago
Rusty Russell 6f181e0dc1 BOLT update for 8-byte satoshi values, and other updates. 7 years ago
Rusty Russell 7389aae26a Massive BOLT text underscore and formatting updates. 7 years ago
Christian Decker 80bf908922 script: Consolidate pubkey comparison 8 years ago
Rusty Russell 29d6004efc bitcoin/script: update scripts to the lightningnetwork/lightning-rfc#123 version 8 years ago
Rusty Russell de39752d05 bitcoin/script: add internal hash160_key helper. 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 999472d99a bitcoin: fix script number encoding. 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 a4fdaab5b3 Use global secp256k1_ctx instead of passing it around. 8 years ago
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