285 Commits (4399faf57c27170190548fb857aae2052d5b389c)

Author SHA1 Message Date
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 72b68845ca commit_tx: make fee msat vs sat explicit. 6 years ago
Rusty Russell a8e0e1709a channeld: fix fee calculation. 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 a046af4416 lightningd/test: move some tests to common/ and channeld/ 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
Jon Griffiths 087ef43a0d Call wally_init(0) on startup to enabled assembly-optimised SHA-256 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
Rusty Russell 3746ea36e2 channeld: tiebreak identical HTLC outputs by CLTV. 6 years ago
Rusty Russell 0c28c7b6a5 channeld: htlcmap is never NULL. 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
practicalswift a46d712154 Avoid applying the unary minus operator to an unsigned value 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
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 6 years ago