429 Commits (aa71a822b3665dc68b93a6d72ea69dbfebffecc5)

Author SHA1 Message Date
Rusty Russell 435e85a5b2 lightningd: move "tell gossipd peer is no longer important" to drop_to_chain. 7 years ago
Rusty Russell e72e54f8d1 json_listpeers: use channel connected flag for JSON. 7 years ago
Rusty Russell bc4809aa85 gossipd: make sure master only ever sees one active connection. 7 years ago
Rusty Russell be1f33b265 gossipd: have master explicitly tell us when peer is disconnected. 7 years ago
Rusty Russell ab9d9ef3b8 gossipd: drain fd instead of passing around gossip index. 7 years ago
Rusty Russell 72c459dd6c gossipd: keep reaching struct only when we're actively connecting, and don't retry 7 years ago
Rusty Russell a1f77cab3c lightningd: tell gossipd that peers we load from db are important. 7 years ago
Rusty Russell 8c2c1fe1c2 openingd: tell gossipd that the peer is important once funding tx in place. 7 years ago
Christian Decker 5e505e9c53 onchaind: Add a level of indirection to txwatches and txowatches 7 years ago
Rusty Russell d2b4e09e27 lightningd: re-allow closing negotiation when CLOSINGD_COMPLETE 7 years ago
Rusty Russell 8e976150ad json_fundchannel: fix release vs connect/nongossip race. 7 years ago
Rusty Russell bee795ed68 channeld: don't do explicit state update. 7 years ago
Rusty Russell 22fe2c921f lightningd: commit short-channel-id to db when we create it. 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
Christian Decker 23984ecde4 chaintopology: Use the DB to locate transactions and rebroadcast txs 7 years ago
Christian Decker aa696370af txwatch: Switch to passing only txid into the depth callbacks 7 years ago
ZmnSCPxj 8a9fef2127 peer_control: Indicate how much money in the channel is spendable, given the reserve. 7 years ago
Rusty Russell daa14f48f2 peer_control: don't list opening channels as connected=false. 7 years ago
ZmnSCPxj f83c4ff903 wallet: Add msatoshi_to_us_min and msatoshi_to_us_max statistics for channels. 7 years ago
Rusty Russell 5f1c77d249 test_lightning.py: add test for onchain with different feerates. 7 years ago
Rusty Russell 1f9ad06056 lightningd: allow us to close channel while still awaiting lockin. 7 years ago
ZmnSCPxj 0bb9bcc0f1 wallet: Track some channel usage statistics. 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
practicalswift 0bf1b01425 Fix typos 7 years ago
ZmnSCPxj, ZmnSCPxj jxPCSmnZ 044705a547 peer_control: Fix a use-after-free bug. (#1237) 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago
ZmnSCPxj d49915cdd2 peer_control: Have listpeers also return channel ID. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell 46cc7c281e features: more general accessor functions. 7 years ago
ZmnSCPxj 1de124277b peer_control: Print both `to_self_delay` in listpeers. 7 years ago
Rusty Russell 6c1233de44 channel: reserve a bip32 index as soon as channel is opened. 7 years ago
John Barboza 30b290cb8f Explicit error message when disconnect fails 7 years ago
John Barboza 0a1351fd51 gossipd: command to disconnect from a gossiping peer 7 years ago
John Barboza b50912d8b1 Print node alias when listing peers 7 years ago
Rusty Russell c5d41a23d7 short_channel_id: just use structeq. 7 years ago
Rusty Russell 042d5d13f5 short_channel_id: don't use bitfields. 7 years ago
Christian Decker a90502d917 jsonrpc: Refuse to forget a channel with an open HTLC 7 years ago
Rusty Russell cccdb53bec channel_states: fold all the ONCHAIND states into one. 7 years ago
Rusty Russell 8aa7a48138 listpeers: display billboard as 'status' array. 7 years ago
practicalswift d873bf60bf Remove unused parameter fieldname in json_add_log(..., const char *fieldname, ...) 7 years ago
practicalswift f24eae60b7 Remove unused parameter why in delete_channel(..., const char *why) 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell 719290a4c4 txwatch: remove unused callback arg, hide struct definitions. 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 372040bbd5 lightningd/onchain_control: routines to control onchaind (move from peer_control.c) 7 years ago
Rusty Russell 9176ee628c lightningd/closing_control: routines to control closingd (move from peer_control.c) 7 years ago