96 Commits (7c512f91ce8176c046a1acdaffd385024a2eab5b)

Author SHA1 Message Date
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
Rusty Russell 1396cf6249 lightningd: remove num_revocations_received. 7 years ago
Christian Decker e51d261f51 lightningd: Load persisted channels on startup 7 years ago
Christian Decker 4bc0750882 wallet: Moving wallet_channel->peer_id into the peer struct 7 years ago
Christian Decker 406d52042b peer: Add channel to peer and save upon opening a channel 7 years ago
Rusty Russell edd27d21b5 lightningd: save last htlc sigs. 7 years ago
Rusty Russell b6d7ad0614 lightningd: store the htlc stubs. 7 years ago
Rusty Russell c389215a35 closingd: send the tx to master as we negotiate. 7 years ago
Rusty Russell dbfac68c3f lightningd: keep last valid tx, and its signature. 7 years ago
Christian Decker 85d2256898 wallet: Use persistent shachain for remote secrets 8 years ago
Rusty Russell 2b7c091e70 closing: update to match proposal to restart negotiation on reconnect. 8 years ago
Rusty Russell c1f21b9fce lightningd/peer_control.c: rename peer->balance. 8 years ago
Rusty Russell 0c07856ae4 lightningd/peer_control.c: remove unnecessary reconnected field. 8 years ago
Rusty Russell a827d2b2bb lightningd: add in support for closingd. 8 years ago
Rusty Russell 4881129f54 peer_fail_permanent: handle take() arg. 8 years ago