54 Commits (c149a88bbe746014440431b31fce1c2b089531db)

Author SHA1 Message Date
niftynei 864f2f3e21 channel_id: save to database, dont derive from funding_txid 4 years ago
Rusty Russell a5d0c14d4d option_anchor_outputs: wire into all the subdaemons. 4 years ago
Rusty Russell e7423888ba initial_commit_tx, commit_tx: add anchor outputs if needed. 4 years ago
Rusty Russell 222d018b1a commit_tx: take raw funding keys instead of wscript. 4 years ago
niftynei dc868630a8 tx-psbt: pass in the witness script (if known) when adding an input 5 years ago
niftynei fbe50e087a setup: create a common setup which will handle the wally-context 5 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 5 years ago
Rusty Russell fda5f0b427 common/channel_id: move channel_id into its own file. 5 years ago
Christian Decker eb8eabcc3c txs: Move commit tx generation out of the signature computation 5 years ago
lisa neigut 0e20e3c5e7 df: rename 'funder' to 'opener' 5 years ago
Rusty Russell b29d1ed3ff channeld: support HTLCs with blinding (EXPERIMENTAL_FEATURES) 5 years ago
Dr. Maxim Orlovsky fe85cf9a4f Removing duplicated wscript generation for channel txs 5 years ago
Rusty Russell ed839bfda0 channeld: get the onionreply back from lightningd for failed htlcs. 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell 72aa315b5e lightningd: save the fee_states into the database. 5 years ago
Rusty Russell 24d54f98ad channeld: use fee_states internally. 5 years ago
Rusty Russell ce1049115a channeld: remove chainparams local parameter. 5 years ago
Rusty Russell 00cb5adfe6 common: allow subdaemons to specify the node_id in status messages. 5 years ago
Christian Decker d5f0c08a88 elements: Remove global is_elements variable in favor of chainparams 5 years ago
Rusty Russell 87f0ee6351 channeld: set option_static_remotekey when negotiated. 5 years ago
Rusty Russell aca2e4f722 common/memleak: add dynamic hooks for assisting memleak. 5 years ago
Rusty Russell cc70b9c4ec wire: use common/bigsize routines 5 years ago
Christian Decker 9288a7906b tx: Add chainparams to struct bitcoin_tx as context 5 years ago
Michael Schmoock 9e98d01d02 feat: pass htlc amount exceeded to exception 6 years ago
Lawrence Nahum a9e71d76b5 update libwally to latest version 0.6.9 6 years ago
Rusty Russell e0ec9ac521 libwally: update to 0.6.8. 6 years ago
Christian Decker 369a85e289 wally: Use output and input setters when signing / grinding feerate 6 years ago
trueptolemy 92b40cb68a fix:Add infor about how many blocks needed until funding is confirmed 6 years ago
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