73 Commits (e2f426903d653e310e483a610dd1d0015e536c9c)

Author SHA1 Message Date
Rusty Russell 0d46a3d6b0 Put the 'd' back in the daemons. 6 years ago
Rusty Russell 11a1ec6e94 openingd: don't leak peer messages. 6 years ago
Rusty Russell 36e31cacf9 openingd: don't leak messages from master. 6 years ago
Rusty Russell 035362e151 openingd: don't exit when we receive an error. 6 years ago
Rusty Russell 174c79acad openingd: tell master if funding failed, but don't exit. 6 years ago
Rusty Russell b39ee8bef5 openingd: make remoteconf a non-pointer member. 6 years ago
Rusty Russell 909cd4136b openingd: get told if we can't let them open a new channel. 6 years ago
Rusty Russell 50f5eb34b4 openingd: take peer before we're opening, wait for explicit funding msg. 6 years ago
Rusty Russell 8f38a46584 lightningd: correctly store our own channel_reserve_satoshis 7 years ago
Rusty Russell 136f10e4a3 common/read_peer_msg: remove. 6 years ago
Rusty Russell 90b43a6f47 openingd: use deconstructed read_peer_msg helpers. 6 years ago
Rusty Russell 0b08601951 sync_crypto_write/sync_crypto_read: just fail, don't return NULL. 6 years ago
Rusty Russell a52d522525 gossipd: handle ping messages for remote peers too. 7 years ago
Rusty Russell 89b1cc69ef openingd: take hsmfd, use it to sign commitment transaction and get commitment_point 7 years ago
Rusty Russell ad9dbaaa3f openingd: rename confusing 'our_commit' and 'their_commit'. 7 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 7 years ago
Rusty Russell 2d533dc82e channeld: don't manually disable channel. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Rusty Russell 82ff891202 Update to latest BOLT version. 7 years ago
Rusty Russell 80182ce275 openingd: fix up BOLT references. 7 years ago
Rusty Russell edf1b3cec9 More option cleanups. 7 years ago
Saibato 877f63e99e Initial TOR v2/v3 support. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell b68fb24758 read_peer_msg: handle incoming gossip from gossipd. 7 years ago
Rusty Russell ab9d9ef3b8 gossipd: drain fd instead of passing around gossip index. 7 years ago
Rusty Russell 429c853fac opening: clearer messages for negotiation failures. 7 years ago
Rusty Russell 21fbae6df8 openingd: ensure that initial channel can cover fees and reserve. 7 years ago
Rusty Russell 441a5b8835 openingd: update check to latest bolt revision. 7 years ago
Rusty Russell 83f83f7685 openingd: make sure our their reserve isn't our dust, and vice versa. 7 years ago
Rusty Russell 0c2447ed77 openingd: don't allow reserve less than dust. 7 years ago
Rusty Russell 1a4a59d221 common/daemon: common routines for all daemons. 7 years ago
Rusty Russell 20bbd92564 utils: add subdaemon_shutdown() to consolidate subdaemon cleanup. 7 years ago
practicalswift dc25e3a6df Make compiler happy 7 years ago
Rusty Russell b45477b081 Make cppcheck happy and code clearer. 7 years ago
Rusty Russell ccc9414356 status: remove trc context now we have tmpctx. 7 years ago
Rusty Russell ef2a063169 utils: add a global tmpctx. 7 years ago
Rusty Russell 10361d5308 openind: update billboard. 7 years ago
Rusty Russell 9cffa03647 peer_failed: set permanent slot when we fail the peer. 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell cfa50d393a openingd: use peer_failed like normal instead of boutique negotiation_failed. 7 years ago
Rusty Russell f76ff90485 status: split off error messages into a new 'peer_status' type. 7 years ago
Rusty Russell 201d498e39 peer_failed: automatically hand PEER_FD, GOSSIP_FD; add gossip_index 7 years ago
practicalswift e97ee3d14e Fix typo in error message (funding_signed ids don't match) 7 years ago
Rusty Russell cc9ca82821 status: separate types for peer failure vs "impossible" failures. 7 years ago
Rusty Russell fd498be7ca status: generate messages rather than marshal/unmarshal manually. 7 years ago
Rusty Russell 780b620cb1 openingd: use wirestring instead of u8 array for why negotiation failed. 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Rusty Russell 89e8d26f45 openingd: use common/read_peer_msg. 7 years ago
Rusty Russell fc43c4824a openingd: handle unexpected messages better. 7 years ago
Rusty Russell 904a3e4ae3 MAX_FUNDING_SATOSHI: clean up def to be max, fix name, share with openingd. 7 years ago