357 Commits (409fef582dce242910e42daff3ae123915d847a0)

Author SHA1 Message Date
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 8c084d57ff lightningd: channels own the peer. 7 years ago
Rusty Russell 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
Rusty Russell 81ca1db347 wallet: delete peers with no channels. 7 years ago
Rusty Russell 38a313af0d wallet: delete channels in state OPENINGD. 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Rusty Russell 780b620cb1 openingd: use wirestring instead of u8 array for why negotiation failed. 7 years ago
Rusty Russell 674a2c7554 tools/generate_wire.py: make bitcoin_tx a varlen structs 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Christian Decker e04619457b master: Don't crash if peer reconnects before we activate it 7 years ago
Christian Decker d05e8ed695 jsonrpc: Add a dev-forget-channel command to remove stale channels 7 years ago
Christian Decker 3fdb055606 wallet: Make first_blocknum a field of wallet_channel 7 years ago
Rusty Russell e2eb694619 Use common loglevel JSON parser. 7 years ago
Rusty Russell b7acd93578 log: separate levels for IO directions, allow msg + io data. 7 years ago
Rusty Russell 4856ca5db0 json_log: move command to log.c, share code with listpeers log. 7 years ago
Igor Cota a0dffc7be2 Fix listpeers JSON command description 7 years ago
Rusty Russell de0777cb2c Fix weight calculation, rename cost->weight. 7 years ago
Rusty Russell bd1aa935b9 closingd: don't punish peers who can't negotiate properly. 7 years ago
Rusty Russell 5deebb85c3 closingd: use the final commitment tx fee as the maximum. 7 years ago
Rusty Russell 4ed13401ce lightningd: prefer mutual close over unilateral, even if fee identical. 7 years ago
Rusty Russell 191e7f4c5c lightningd: add more debugging info for closing. 7 years ago
alaniz b7856e3512 Onboarding: tweak grammar conventions for RPC responses 7 years ago
practicalswift ebef98d8be Create log timestamp string from log entry data 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
Rusty Russell 0600aac68f lightningd: rename --no-reconnect to --dev-no-reconnect. 7 years ago
Christian Decker d9d618aff9 jsonrpc: Fix wrong argument order in failed connection attempt 7 years ago
Rusty Russell c6ce352404 lightningd: actually unwatch txs when onchaind says we should. 7 years ago
Rusty Russell 57b423625b subd: use peer log for messages (if any). 7 years ago
Rusty Russell 6daa770b0e Minor whitespace/comment spelling fixes. 7 years ago
Christian Decker acc6afc8de gossip: Directly return an error if we don't know a node's address 7 years ago
Christian Decker 61e982c6b7 gossip: Implement connection failed handler in lightningd 7 years ago
ZmnSCPxj 8f5584d7d6 peer_control: Correct roundoff of remote-side msatoshi. 7 years ago
practicalswift 689db5b7c1 Onboarding: Make log output texts friendlier to new users 7 years ago
Christian Decker 6cfc0a6275 fixup! masterd: Disable a channel when channeld fails 7 years ago
Christian Decker e463386d75 masterd: Disable a channel when channeld fails 7 years ago
Christian Decker d14969ce77 masterd: Peer has to know which direction an eventual channel is 7 years ago
Rusty Russell e9328217ff peer_control: better logging when we don't tell peer about locked funding. 7 years ago
Rusty Russell c42fa4404a connect: succeed if we connect to peer and it *doesn't* go back to gossipd. 7 years ago
practicalswift b91556283b Onboarding: Adjust log level for common non-fatal peer state condition from info to debug 7 years ago
Christian Decker 9588c961bb wallet: Forget channels that are irrevocably settled on-chain 7 years ago
practicalswift 5631054152 Start all command descriptions with a verb ("Show", "Set", etc.). Remove unused help texts. 7 years ago
practicalswift 22087dad03 Adjust log level: Warn about ignored fee limits only in debug log 7 years ago
William Casarin f8e5de1974 listpeers: print channel configs 7 years ago
Ephraim Raj 041b641161 Added that peer id should be given to dev-sign-last-tx 7 years ago
Rusty Russell c8c68cfb7c JSONRPC: listpeers multiple channels, output improvements. 7 years ago
Rusty Russell 2f2cacef0d JSONRPC: output from listpeers should be 'id' not 'peerid'. 7 years ago
Rusty Russell cf54f23947 JSONRPC: add id argument to listpeers. 7 years ago
Rusty Russell 5698a133c2 JSONRPC: rename getpeers to listpeers. 7 years ago
ZmnSCPxj, ZmnSCPxj jxPCSmnZ a06f0dfeb1 Make `fundchannel` return txid too 7 years ago