130 Commits (162cea265c1c47c794b0a826d5a8f53033c04c19)

Author SHA1 Message Date
Rusty Russell 86fb54a33b lightningd: remove per-peer log book. 5 years ago
Rusty Russell bd55f6d940
common/features: only support a single feature bitset. 5 years ago
Rusty Russell 049529542a lightningd: delay reprocessing of incoming htlcs at startup until plugins ready. 5 years ago
Rusty Russell dd79813a75 common: add peer_error flag to treat this error as "soft". 6 years ago
Rusty Russell 38d2899fbb common/per_per_state: generalize lightningd/peer_comm Part 1 6 years ago
Rusty Russell 13717c6ebb gossipd: hand a gossip_store_fd to all subdaemons. 6 years ago
Rusty Russell eaac0d7105 lightningd: group crypto_state and fds into a convenient structure. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Rusty Russell 171006d17c lightnignd: peer addr is never NULL, adjust new_peer. 6 years ago
Rusty Russell 41b0872f58 Use localfeatures and globalfeatures consistently. 6 years ago
Rusty Russell 168bec0974 lightningd: move channel/peer/htlc load into own function. 6 years ago
Rusty Russell a260849870 moveonly: feerate_min and feerate_max belong in chaintopology.c 6 years ago
Rusty Russell 175db926c2 chaintopology: expose when we don't actually know feerate. 6 years ago
Rusty Russell 50f5eb34b4 openingd: take peer before we're opening, wait for explicit funding msg. 6 years ago
Rusty Russell 8bffd2b604 lightningd: centralize refcounting behaviour for peers. 6 years ago
Rusty Russell 641b33349b peer_control: annotate feature bitfields as being taken. 7 years ago
Rusty Russell 722dd05e9d lightningd: keep features arrays for connected peers. 7 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 7 years ago
Rusty Russell 540c68d7ca gossipd/gossip_constants.h: Single place for BOLT constants. 7 years ago
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