110 Commits (52917ff6c9922d636ab3ff6f9f68e41c4a5503bf)

Author SHA1 Message Date
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal. 7 years ago
Rusty Russell ab9d9ef3b8 gossipd: drain fd instead of passing around gossip index. 7 years ago
Rusty Russell 8c2c1fe1c2 openingd: tell gossipd that the peer is important once funding tx in place. 7 years ago
Rusty Russell 05ba976a41 lightningd: --dev-no-reconnect needs to always suppress reconnection. 7 years ago
ZmnSCPxj 2cee1ab20f peer_control: Make close wait for complete closure, with timeout. 7 years ago
Rusty Russell 5f1c77d249 test_lightning.py: add test for onchain with different feerates. 7 years ago
ZmnSCPxj e34be575aa lightning/peer_control.h: Minor cleanup of nonexistent functions. 7 years ago
Rusty Russell ae8fb96d06 lightningd/channel_control: routines to control channeld (move from peer_control.c) 7 years ago
Rusty Russell 36652a3df3 lightningd/peer_control: reorder, move more functions out. 7 years ago
Rusty Russell 9176ee628c lightningd/closing_control: routines to control closingd (move from peer_control.c) 7 years ago
Rusty Russell a83ff83328 lightningd/connect_control: routines to control connecting (move from peer_control.c) 7 years ago
Rusty Russell 4cf274b1c0 lightningd/opening_control: routines to control openingd (move from peer_control.c) 7 years ago
Rusty Russell 611ecc60ae lightningd: rename peer_state -> channel_state, remove OPENINGD. 7 years ago
Rusty Russell 8db8c51201 lightningd: struct uncommitted_channel for opening channels. 7 years ago
Rusty Russell 6a3ccafaf9 wallet: don't implicitly remove peers, but do it explicitly. 7 years ago
Rusty Russell 8f48a72d74 lightningd: remove peer->log in favor of channel->log. 7 years ago
Rusty Russell e20fff9340 lightningd: remove almost all other peer2channel / channel2peer shims. 7 years ago
Rusty Russell 329e31bbe7 lightningd/peer_htlcs: remove remaining peer_ shims. 7 years ago
Rusty Russell 409fef582d subd: keep pointer to channel, not peer. 7 years ago
Rusty Russell b7680412e3 lightningd: rename peer_fail functions to channel_fail. 7 years ago
Rusty Russell 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
Christian Decker 61e982c6b7 gossip: Implement connection failed handler in lightningd 7 years ago
Christian Decker d14969ce77 masterd: Peer has to know which direction an eventual channel is 7 years ago
Rusty Russell 79dc44713b channeld: --ignore-fee-limits as a hack for fee disparities. 7 years ago
Rusty Russell 904a3e4ae3 MAX_FUNDING_SATOSHI: clean up def to be max, fix name, share with openingd. 7 years ago
Christian Decker 351718e90f jsonrpc: Return an error if funding amount is too large 7 years ago
ZmnSCPxj 83e76e3ac3 features: Move feature-handling code to a common/features.c source. 7 years ago
Rusty Russell d4c8210a9e gossipd: don't hang if we try to connect to already-connected peer. 7 years ago
Rusty Russell 1b41335121 chain_topology: two-stage startup. 7 years ago
Rusty Russell ba22484901 lightningd: simplify permanent failure. 7 years ago
Rusty Russell 887e9dcc44 travis: reenable check-source (without BOLT text). 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
Rusty Russell cec87ba08b peer_control: move link to the top of the structure. 7 years ago
Rusty Russell 94711969f9 gossipd: hand out gossip_index to other daemons. 7 years ago
Rusty Russell 67aa95c194 gossipd: hand back peer, don't hand a new peer. 7 years ago
Rusty Russell 6b232de7b1 openingd: return to master for more gossip when negotiation fails. 7 years ago
Rusty Russell 20d7ddcb6e json_fund_channel: give more details than "peer died". 7 years ago
Rusty Russell 552e56d002 channeld: send update_fee messages. 7 years ago
Rusty Russell 956350e62e lightningd: check peers don't leave dangling HTLCs when they die. 7 years ago
Rusty Russell 1142c44c29 lightningd: fail htlcs we offer if peer unresponsive after deadline. 7 years ago
Rusty Russell 78cd25d620 ipaddr: rename to wireaddr. 7 years ago
Rusty Russell bd1cac34ce netaddr: remove. 7 years ago
Rusty Russell dfd60a2047 gossipd: tell the master the peer's address. 7 years ago
Rusty Russell 48cedef756 peer_control: remove unique_id field. 7 years ago
Rusty Russell 5a256c724a subd: simplify and cleanup lifetime handling. 7 years ago
Rusty Russell 474887512d gossipd: rewrite to do the handshake internally. 7 years ago
Christian Decker cfac9a1f73 htlcs: Remove in-memory htlc_stubs 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 d7db0be5da lightningd: start onchaind when we see funding spent. 7 years ago