114 Commits (6119f1f5fb643a0265fc309a6678257c810ee0f5)

Author SHA1 Message Date
Rusty Russell 1259e10761 openingd: plug UTXO leak on failed opening. 6 years ago
Rusty Russell b50c670f08 openingd: plug a funding msg leak. 6 years ago
Rusty Russell fc92ae515b openingd: don't send opening_funder_failed twice funder gets a general error. 6 years ago
Rusty Russell bc4a62d349 openingd: subtract *both* reserves for our "effective capacity" calculation. 6 years ago
Rusty Russell 6d717d73a4 openingd: call it first_per_commitment_point not next_per_commit, as per BOLT 2. 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell a42c8bfb38 openingd: wire up dev_memleak. 6 years ago
lisa neigut 73ea6d0038 BOLT 2 updates for fix placment of chain_hash req 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Simon Vrouwe 94e42f2384 openingd: prioritize incoming peer traffic over handling (and sending out) gossip 6 years ago
Christian Decker f417dfa0e1 chainparams: Always retrieve chainparams by the chain_hash 6 years ago
Christian Decker 0128bc7362 channeld: Use the chainparams to check msatoshi and funding_satoshi 6 years ago
Christian Decker 2402c524cc channeld: Keep track of the chainparams for the chain we are using 6 years ago
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. 7 years ago
Rusty Russell 90b43a6f47 openingd: use deconstructed read_peer_msg helpers. 7 years ago
Rusty Russell 0b08601951 sync_crypto_write/sync_crypto_read: just fail, don't return NULL. 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
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 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 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