153 Commits (f9c6f6413fd776754173fcd8fc101493a7c461ab)

Author SHA1 Message Date
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 58604a0497 chainparams: add bip173 name. 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 56d89b02c7 chainparams: fix order of chain hashes. 7 years ago
Rusty Russell 739b163f8b Makefiles: simplify dependencies. 7 years ago
Rusty Russell f42f34b82d external: new subdirectory for all external libraries and submodules. 7 years ago
Rusty Russell 8c22bd9ee1 headers: fix up header idempotent lines. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 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
Rusty Russell 253b3e679e bitcoin/tx: use NULL for empty input scripts, not a zero-len array. 7 years ago
Christian Decker f085a474b2 fix: Only add cli_args if we have some defined 7 years ago
Christian Decker fa6e53bb08 Move short_channel_id primitive into bitcoin 8 years ago
Christian Decker 7dc693963d script: Consolidate scripts to use pubkey_to_hash160 8 years ago
Christian Decker 2c0b52fb77 bitcoin: Make chainparams const 8 years ago
Christian Decker 5fdb8a58aa fix: Addressing feedback from PR #192 8 years ago
Christian Decker 83c8c3fc52 opening: Use the correct chainparams to open a channel 8 years ago
Christian Decker df056e5973 bitcoin: Added chainparams grouping blockchain specific parameters 8 years ago
Christian Decker 40165ba6d5 script: Use pkh to construct p2pkh output scripts 8 years ago
Christian Decker f10b779c83 pubkey: valgrind was reporting about unset memory in address parsing 8 years ago
Christian Decker 954b2c4a67 fix: Corrently parse non-testnet p2pkh addresses 8 years ago
Rusty Russell 6f181e0dc1 BOLT update for 8-byte satoshi values, and other updates. 8 years ago
Rusty Russell 7389aae26a Massive BOLT text underscore and formatting updates. 8 years ago
Christian Decker 80bf908922 script: Consolidate pubkey comparison 8 years ago
Rusty Russell b99c5620ef struct secret: use everywhere. 8 years ago
Rusty Russell dc562f0533 Makefiles: fix from-scratch parallel build. 8 years ago
Rusty Russell 8cc7f31d44 Update wire from spec 9e0a0e893db389bfe392b2f4db8097949395fe28 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 4f6033ba29 bitcoin: fix building of submodules libbase58 submodule. 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 e899c47260 bitcoin/base58: don't segv if key_to_base58 / key_from_base58 called first. 8 years ago
Rusty Russell 7d68554787 type_to_string: add secp256k1_ecdsa_signature. 8 years ago
Rusty Russell 25a37fafae type_to_string: add privkey. 8 years ago
Rusty Russell c6997f15c7 bitcoin/preimage: struct preimage. 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 1edce4878d bitcoin/signature.h: remove struct signature. 8 years ago
Rusty Russell a25e2816e9 type_to_string: add secp256k1_pubkey 8 years ago