33 Commits (a5ed98a2eaf260341e56de5ca38d8b7b121c1b81)

Author SHA1 Message Date
Rusty Russell c3e96e058e bolt: Updated the BOLT specification to unify UNKNOWN_PAYMENT_HASH & INCORRECT_PAYMENT_AMOUNT 6 years ago
Christian Decker 65054ae72e bolt: Updated the BOLT specification to a07dc3df3b4611989e3359f28f96c574f7822850 6 years ago
Rusty Russell 55e8634a1f channeld: don't fail channel on unknown code in update_fail_malformed_htlc. 6 years ago
Rusty Russell 7e8dbc1c37 sphinx: use struct pubkey. 6 years ago
Rusty Russell 109c6eb3a3 channeld: include proper sha value in BADONION errors. 6 years ago
Rusty Russell f5ced1ddd5 channeld: handle malformed onion properly. 6 years ago
Rusty Russell 85ce1ff1c8 channeld: allow creation of the three BADONION errors. 6 years ago
Rusty Russell 554c3ec7e5 channeld: process onion packet ourselves. 6 years ago
Rusty Russell 59febcb968 sphinx: explain why parse_onionpacket fails. 6 years ago
Rusty Russell 66de6b84be channeld: use pointer for shared secret. 6 years ago
Rusty Russell 6aa511fa7a channeld: only enable option_data_loss_protect if EXPERIMENTAL_FEATURES. 6 years ago
Rusty Russell 54623a9ff5 channeld: don't assume we offered option_data_loss_protect. 6 years ago
Rusty Russell 881c3893e6 channeld: get local peer features from lightningd. 6 years ago
lisa neigut a39c97c960 channeld: support private channel creation, fixes #2125 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell 9257f652fd channeld: don't save commit_sigs in struct peer. 6 years ago
Rusty Russell 95e47cdac2 channeld: accept update_fee before funding_locked. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Rusty Russell 6094a95132 channeld: don't leak messages, and free init-only variables. 6 years ago
Rusty Russell bed7986650 channeld: speak no wumbo. 6 years ago
Rusty Russell 5a12af817a channeld: don't keep local copy of config. 6 years ago
Rusty Russell 22858f35f9 struct channel: keep a copy of configs, not just pointers. 6 years ago
Rusty Russell b5a96765d8 struct channel: remove most helpers. 6 years ago
Rusty Russell 5c60d7ffb2 gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 6 years ago
Rusty Russell 3e2dea221b common/msg_queue: make it a tal object. 6 years ago
lisa neigut 66ca2a333f channeld: use u64 fo `htlc_minimum_msat` 6 years ago
lisa neigut 0ae1d03513 BOLT7: broadcast `htlc_maximum_msat` in `channel_update s 6 years ago
Rusty Russell ea4308ce52 channeld: allow WIRE_ANNOUNCEMENT_SIGNATURES before funding_locked. 6 years ago
Rusty Russell 1526f024fb channeld: disable check for my_current_per_commitment_point. 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 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 6 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