147 Commits (bc430cced31f6e740ccc1fbf445c898705e5334e)

Author SHA1 Message Date
Rusty Russell b8e484b508 struct channel_config: use amount_sat / amount_msat. 6 years ago
Rusty Russell 85b8b25749 bitcoin/chainparams: use amount_sat / amount_msat 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
Rusty Russell b155dbb316 openingd: make sure we take utxos on success. 6 years ago
Rusty Russell 9b9f9e4837 openingd: I can't believe we have even more typo fixes. 6 years ago
Rusty Russell 2c3a53b88e openingd: even more typo fixes. 6 years ago
Rusty Russell 6a04d2ced3 openingd: comment typo fixes 6 years ago
Rusty Russell 9d95eba6f2 openingd: document this in semi-literate style. 6 years ago
Rusty Russell 338e4bab45 openingd: don't create trivial single-use is_all_channel_error function. 6 years ago
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
Rusty Russell 5c60d7ffb2 gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 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
Rusty Russell 8f1f1784b3 hsmd: remove hsmd/client.c 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 6 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. 6 years ago
Rusty Russell 89b1cc69ef openingd: take hsmfd, use it to sign commitment transaction and get commitment_point 6 years ago
Rusty Russell ad9dbaaa3f openingd: rename confusing 'our_commit' and 'their_commit'. 6 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 6 years ago
Rusty Russell 2d533dc82e channeld: don't manually disable channel. 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Rusty Russell 82ff891202 Update to latest BOLT version. 6 years ago
Rusty Russell 80182ce275 openingd: fix up BOLT references. 6 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