230 Commits (master)

Author SHA1 Message Date
Rusty Russell ae8b459932 onchaind: tell wallet when we see our revoked commitment tx `to_remote` output 7 years ago
Rusty Russell 613b65eede onchaind: use the HSM to get the per-commitment-point. 7 years ago
Rusty Russell 14d6fc4a31 onchaind: use HSM for signing htlc transactions. 7 years ago
Rusty Russell 4098f47cfc onchaind: use HSM to sign "to-us" transactions. 7 years ago
Rusty Russell 437b65eba1 onchaind: clean up types for penalty transactions. 7 years ago
Rusty Russell dd2773dfc0 common/keyset: use struct basepoints rather than open-coding fields. 7 years ago
Rusty Russell 76cc428923 onchaind: make commit number a global. 7 years ago
Rusty Russell b2b85100d7 common/derive_basepoints: add routines for marshal/unmarshal. 7 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Rusty Russell c78afa9201 onchaind: use lowball fee instead of donating to miners. 7 years ago
Rusty Russell 3460b42513 onchaind: fix up BOLT references. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell b4db228aa1 onchaind: add BOLT 3 comment for fee calculations. 7 years ago
Rusty Russell 1764d6c907 grind_htlc_tx_fee: benchmark. 7 years ago
Rusty Russell c52222848d onchaind: support tests. 7 years ago
Rusty Russell 5f1c77d249 test_lightning.py: add test for onchain with different feerates. 7 years ago
Rusty Russell 4234321f7e onchain: get feerate min/max from master. 7 years ago
Rusty Russell 564615d878 onchaind: accept a range of possible feerates. 7 years ago
Rusty Russell 1a4a59d221 common/daemon: common routines for all daemons. 7 years ago
Rusty Russell 20bbd92564 utils: add subdaemon_shutdown() to consolidate subdaemon cleanup. 7 years ago
Rusty Russell 06e8fbda95 onchain: print exactly what we were doing if we fail in grind_feerate. 7 years ago
Christian Decker 5519717144 onchaind: Pass the funding spend height through when adding a UTXO 7 years ago
practicalswift a4059ef83e Use expected LIGHTNING_DIR_FILE_H define 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell ccc9414356 status: remove trc context now we have tmpctx. 7 years ago
Rusty Russell ef2a063169 utils: add a global tmpctx. 7 years ago
Rusty Russell 25cb8caae8 onchaind: fix confusing message about delayed txs. 7 years ago
Rusty Russell a48c300df2 onchaind: fix too-eager OUR_HTLC_TIMEOUT_TX. 7 years ago
Rusty Russell eb52dde5b5 onchaind: add a new state for where we're not producing an output. 7 years ago
Rusty Russell 45e145df5e onchaind: don't create zero-output txs if fees overwhelm us. 7 years ago
Rusty Russell 7895ff8fa8 onchaind: don't require an exact match for proposals. 7 years ago
Rusty Russell 5de6a3cf12 fixup! onchain message should be ONCHAIN: not FUNDING_SPEND_SEEN 7 years ago
Rusty Russell cccdb53bec channel_states: fold all the ONCHAIND states into one. 7 years ago
Rusty Russell 8946ecc7b5 onchaind: keep billboard uptodate. 7 years ago
Rusty Russell 7e0f2c4d26 onchaind: two small changes. 7 years ago
Rusty Russell c57aa628e3 closingd: update billboard as negotiation proceeds. 7 years ago
practicalswift 7a5ce1db7d Remove unused parameter shaseed in handle_their_unilateral(..., const struct sha256 *shaseed, ...) 7 years ago
practicalswift 6682248b91 Remove unused parameter tx in handle_mutual_close(const struct bitcoin_tx *tx, ...) 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell 611ecc60ae lightningd: rename peer_state -> channel_state, remove OPENINGD. 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Rusty Russell fd498be7ca status: generate messages rather than marshal/unmarshal manually. 7 years ago
Rusty Russell 674a2c7554 tools/generate_wire.py: make bitcoin_tx a varlen structs 7 years ago
Rusty Russell de0777cb2c Fix weight calculation, rename cost->weight. 7 years ago
Rusty Russell 2fbe3161a0 onchaind: remove unnecessary num_outputs arg from onchain_unwatch_tx 7 years ago
Rusty Russell 0f97b8cf36 subdaemon.c: subdaemon_setup() routine for all daemons. 7 years ago
Christian Decker 5f29a218b7 onchain: Add message to notify about their_unilater/to-us outputs 7 years ago
Rusty Russell 824f8517ac onchaind: fix all_irrevocably_resolved test. 7 years ago
Rusty Russell 72a52b0b59 onchaind: fix label on HTLC timeout tx. 7 years ago