26 Commits (confirmed-only)

Author SHA1 Message Date
Rusty Russell 0d30b89043 channeld: use amount_msat for struct htlc amount. 6 years ago
Rusty Russell 3412c5d392 commit_tx & htlc_tx: use amount_sat/amount_msat. 6 years ago
Rusty Russell bb00deeea4 channeld: use amount_sat/amount_msat. 6 years ago
Rusty Russell b8e484b508 struct channel_config: 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
Christian Decker 65054ae72e bolt: Updated the BOLT specification to a07dc3df3b4611989e3359f28f96c574f7822850 6 years ago
Rusty Russell a046af4416 lightningd/test: move some tests to common/ and channeld/ 6 years ago
Jon Griffiths 087ef43a0d Call wally_init(0) on startup to enabled assembly-optimised SHA-256 6 years ago
Christian Decker 2402c524cc channeld: Keep track of the chainparams for the chain we are using 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell 8155bfcf18 channeld: make channel_fulfill_htlc return the HTLC it fulfulled. 7 years ago
Rusty Russell b40b6240ce channeld: fix up BOLT references. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell 8975fc2ceb libwally: use their secp context for all our daemons. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
practicalswift d2265cd3d2 Make sure msatoshi and sender are not uninitialized when calling channel_add_htlc(...) 7 years ago
Rusty Russell fcffbd0f20 channeld: rename new_channel to new_full_channel. 7 years ago
Rusty Russell 84bf60f934 status: add multiple levels of logging. 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
practicalswift 4452e3f3f1 Remove redundant code 7 years ago
Rusty Russell fc4a7cf103 channeld: return htlc from channel_add_htlc and channel_fail_htlc. 7 years ago
Rusty Russell 6fac3438dd channeld: track feerates. 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell f1e4cad9d4 feerate: use u32 everywhere. 7 years ago
Rusty Russell 37b4ab306e run-channel.c: move under channeld/ 7 years ago
Rusty Russell 5fb4577890 channeld/full_channel: fix incorrect reutrn from channel_rcvd_revoke_and_ack. 7 years ago
Rusty Russell fe5614a489 basepoints/secrets: add htlc entry 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 4bfaaef408 keyset: abstraction over what keys we need for a specific commitment. 7 years ago
Rusty Russell b600e6118c lightningd/channel: hand commit_index in when creating txs only. 8 years ago
Rusty Russell dc160110a6 lightningd/channel: support forcing HTLCs to restore channel state. 8 years ago
Rusty Russell 4151135be2 channel: change initialization to have explicit local amount, and commot indices. 8 years ago
Rusty Russell 7105085801 lightningd/channel: hand back changed htlcs, not callbacks. 8 years ago
Rusty Russell 7389aae26a Massive BOLT text underscore and formatting updates. 8 years ago
Christian Decker f24aab1916 sphinx: Updating daemon to new sphinx implementation 8 years ago
Rusty Russell 2d635a381b lightningd/channel: pass owner, not sender to channel_fulfill_htlc / channel_fail_htlc 8 years ago
Rusty Russell 3041cd5915 lightningd/channel.c: clearer functions names, better return values. 8 years ago
Rusty Russell f83c04fdbe lightningd/channel.c: make callbacks clearly generic 8 years ago
Rusty Russell ada1eb5106 lightningd/channel.c: add callbacks for when HTLCs fully committed/removed. 8 years ago
Rusty Russell 075092411e lightningd/channel: generate htlc txs and wscripts as well. 8 years ago
Rusty Russell 5e00beaeb4 lightningd/test: fix tests after 62ccf266fa 8 years ago
Rusty Russell 4bf398c4e7 status: move into lightningd/status. 8 years ago
Rusty Russell f0c838d250 lightningd: more updates to match latest BOLT2/3. 8 years ago
Rusty Russell c64447a929 lightningd/derive_basepoints: hoist derivation logic. 8 years ago
Rusty Russell 5dc0402a44 Update to lightning-rfc to dc0b529161561c6be3ff53c5f8574b23c3305a04 8 years ago
Rusty Russell 4a7418e3db channel: object to track channel state. 8 years ago