62 Commits (109c6eb3a3253f2e50aa0527b1f302e3f7227182)

Author SHA1 Message Date
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell 23540fe956 common: make funding_tx and withdraw_tx share UTXO code. 6 years ago
Rusty Russell 8fb1b609ce closingd: handle our own memleak detection. 6 years ago
Rusty Russell 5c60d7ffb2 gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 6 years ago
Rusty Russell 1935614979 closingd: retransmit `shutdown` on reconnect. 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Rusty Russell 8f1f1784b3 hsmd: remove hsmd/client.c 6 years ago
Rusty Russell 0d46a3d6b0 Put the 'd' back in the daemons. 6 years ago
Rusty Russell 136f10e4a3 common/read_peer_msg: remove. 6 years ago
Rusty Russell 41c9431ae0 closingd: use deconstructed read_peer_msg helpers. 6 years ago
Rusty Russell 0b08601951 sync_crypto_write/sync_crypto_read: just fail, don't return NULL. 6 years ago
practicalswift 2c7170b858 Remove unused adjust_feerange(...) parameters: struct crypto_state *cs + const struct channel_id *channel_id 7 years ago
practicalswift 2627d0c33b Remove unused send_offer(...) parameter: const u8 *funding_wscript 7 years ago
Rusty Russell 8ee21bc352 Remove deprecated closing support from closingd. 7 years ago
Rusty Russell a52d522525 gossipd: handle ping messages for remote peers too. 7 years ago
Rusty Russell 429aad8ac7 closingd: use hsmfd to get signatures, don't use seed. 7 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 7 years ago
Rusty Russell 2d533dc82e channeld: don't manually disable channel. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Rusty Russell 0221e81234 closingd: fix up BOLT references. 7 years ago
Saibato 877f63e99e Initial TOR v2/v3 support. 7 years ago
ZmnSCPxj 926b41b7da closingd: Ensure proper closing of TCP socket. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell b68fb24758 read_peer_msg: handle incoming gossip from gossipd. 7 years ago
Rusty Russell ab9d9ef3b8 gossipd: drain fd instead of passing around gossip index. 7 years ago
Rusty Russell d2b4e09e27 lightningd: re-allow closing negotiation when CLOSINGD_COMPLETE 7 years ago
Rusty Russell a6c76f9079 closingd: even with old clients, still require funding offer < commitment fee. 7 years ago
Rusty Russell 1faec99c59 closingd: make sure we restrict feerange with initial offer. 7 years ago
Rusty Russell 90364a8cc6 closingd: Correct whose turn it is when moving from initial negotiation to continuous negotiation. 7 years ago
Rusty Russell 6424b2decd closing: initialize feerange->allow_mistakes. 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 e63b7bb539 take: allocate temporary variables off NULL. 7 years ago
Rusty Russell 40fe5b7bac closingd: use global tmpctx. 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 c57aa628e3 closingd: update billboard as negotiation proceeds. 7 years ago
Rusty Russell 9cffa03647 peer_failed: set permanent slot when we fail the peer. 7 years ago
practicalswift e1f7428864 Remove unused parameter allow_mistakes in init_feerange(..., bool allow_mistakes) 7 years ago
practicalswift e28b646f4b Remove unused parameter their_offer in tell_master_their_offer(u64 their_offer, ...) 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell cfa50d393a openingd: use peer_failed like normal instead of boutique negotiation_failed. 7 years ago
Rusty Russell f76ff90485 status: split off error messages into a new 'peer_status' type. 7 years ago
Rusty Russell 201d498e39 peer_failed: automatically hand PEER_FD, GOSSIP_FD; add gossip_index 7 years ago
Rusty Russell cc9ca82821 status: separate types for peer failure vs "impossible" failures. 7 years ago
Rusty Russell fd498be7ca status: generate messages rather than marshal/unmarshal manually. 7 years ago
Rusty Russell bd1aa935b9 closingd: don't punish peers who can't negotiate properly. 7 years ago
Rusty Russell 03e961897a closingd: rewrite negotiation. 7 years ago
Rusty Russell 5deebb85c3 closingd: use the final commitment tx fee as the maximum. 7 years ago
Rusty Russell 3d91bf2ab8 closingd: use common/read_peer_msg. 7 years ago