67 Commits (c7839dff76e454b984b0772f775b5e9e5857d558)

Author SHA1 Message Date
niftynei 864f2f3e21 channel_id: save to database, dont derive from funding_txid 4 years ago
Rusty Russell 1746406e41 Makefile: normalize all the Makefiles 4 years ago
Rusty Russell 6e4e267f2c doc: update BOLT now option_anchor_outputs is merged. 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
Rusty Russell 85e3b43176 channeld, openingd: take into account option_anchor_outputs for fees. 4 years ago
Rusty Russell 05c3a9bf12 script: change htlc output scripts if option_anchor_outputs. 4 years ago
niftynei dc868630a8 tx-psbt: pass in the witness script (if known) when adding an input 5 years ago
niftynei 24e186bc20 test: use correct deps for channeld tests 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 39b34a35c8 bitcoin/tx.c: don't free witness implicitly. 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
lisa neigut 7046d0220c makefiles: move all unit tests under `make check-units` 6 years ago
Rusty Russell e7778a0494 channeld: extract HTLC trim logic into common. 6 years ago
Michael Schmoock 9e98d01d02 feat: pass htlc amount exceeded to exception 6 years ago
GreenAddress fb07265663 remove libbase58, use base58 from libwally (#2594) 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 d651ce6f3b wally: Migrate main daemon to use wally transactions 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 72b68845ca commit_tx: make fee msat vs sat explicit. 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 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