205 Commits (0925daa0877fd8f23685d8b0855d37f0fedffa88)

Author SHA1 Message Date
lisa neigut b1f15c2605 BOLT updates: broken link fixes 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
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
Stephanie Stroka 6091e5158b cleanup: derive_basepoints is no longer needed in channel.c 6 years ago
Rusty Russell a3115279fd channeld: don't assign htlc preimage twice. 6 years ago
Rusty Russell 36b1cac6e6 lightningd: new state AWAITING_UNILATERAL. 6 years ago
Rusty Russell 6aed936799 channeld: check option_data_loss_protect fields. 6 years ago
Rusty Russell e7116284f0 channeld: move reestablish retransmission below checks. 6 years ago
Rusty Russell 43156643b4 lightningd: message for channeld to tell us that channel risks penalty. 6 years ago
Rusty Russell ebaf5eaf2e channeld: send option_data_loss_protect fields. 6 years ago
Rusty Russell 692bae7873 channeld: create get_per_commitment_point helper. 6 years ago
Rusty Russell 28977435a3 channeld: fix incorrect comment on reestablish. 6 years ago
Rusty Russell 9f175deecd lightningd: update feerate upon receiving revoke_and_ack from fundee. 6 years ago
Rusty Russell 63e4ea17af channeld: don't commit until we've seen recent incoming msg, ping if required. 6 years ago
Rusty Russell 93e445daf5 channeld: send our own pings whenever we indicate we want to send a commitment. 6 years ago
Rusty Russell 86a46cb1d4 channeld: push TCP output on commitment and revocation messages. 6 years ago
Christian Decker 8a34933c1a gossip: Annotate locally added channels with their capacity 7 years ago
Rusty Russell 136f10e4a3 common/read_peer_msg: remove. 6 years ago
Rusty Russell 6b5462b637 channeld: 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 74d428109a channeld: it's OK to block on writing to peer. 6 years ago
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 7 years ago
practicalswift b5682a773b Remove dead stores 7 years ago
Christian Decker 6bbea741d1 pay: Strip the type prefix from nested channel_updates 7 years ago
Rusty Russell 480e32a236 channeld: don't resize tal_fmt() output. 7 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell 162879d6a2 channeld: use fulfilled_htlc and failed_htlc msgs in single htlc case. 7 years ago
Rusty Russell 3c651f19a8 channeld: send correct channel_update when reporting failure. 7 years ago
Rusty Russell 1119dd5577 channeld: always receive and maintain short_channel_id of failing channel. 7 years ago
Rusty Russell 378d73cd96 channeld: fix dev_disconnect doublefree crash. 7 years ago
Rusty Russell b5fcd54ef0 channeld: don't read from gossipfd while we're reconnecting. 7 years ago
Rusty Russell a52d522525 gossipd: handle ping messages for remote peers too. 7 years ago
Rusty Russell cdc97f5114 channeld: use HSM for signatures and to get per_commitment_point, remove seed. 7 years ago
Rusty Russell 8f9408a072 channeld: store next per_commit_point. 7 years ago
Rusty Russell 909bda938b channeld: add hsm_req() helper. 7 years ago
Rusty Russell dd2773dfc0 common/keyset: use struct basepoints rather than open-coding fields. 7 years ago
Rusty Russell 9dd0415a15 channeld: don't free msg in init. 7 years ago
Rusty Russell 26deec0c82 channeld: remove duplicate call to channel_announcement_negotiate(). 7 years ago
Rusty Russell d4300e0ce8 hsm: create both channel_announcement signatures. 7 years ago
Rusty Russell b2b85100d7 common/derive_basepoints: add routines for marshal/unmarshal. 7 years ago
Rusty Russell e217bc1220 per-commit-secret is a struct secret, not a sha256. 7 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 7 years ago
Rusty Russell 68a8eeea21 htlc_wire: rename malformed to failcode in struct failed_htlc. 7 years ago
Rusty Russell 5a184c24e8 channeld: add extra check to channel_force_htlcs. 7 years ago
Rusty Russell efee948d3a channeld: handle HTLCs failed by failcode uniformly. 7 years ago
Rusty Russell 8155bfcf18 channeld: make channel_fulfill_htlc return the HTLC it fulfulled. 7 years ago
Rusty Russell e92f244b80 channeld: hoist make_failmsg above send_fail_or_fulfill. 7 years ago