65 Commits (14de198bd1645cf7257af3e770c95e73d8c62867)

Author SHA1 Message Date
niftynei f9300e8480 tx: add setter for tx locktime 4 years ago
niftynei dc868630a8 tx-psbt: pass in the witness script (if known) when adding an input 4 years ago
niftynei a04f0fe250 psbt: remove input_amounts from bitcoin tx 4 years ago
Rusty Russell 48853ec954 onchaind: use tx_parts for initial tx. 4 years ago
Rusty Russell abba59057c onchaind: remove chainparams args in favor of global. 4 years ago
Rusty Russell 48f397ee19 onchaind: receive a tx_parts instead of a tx when a tx is seen onchain. 4 years ago
niftynei 559f88faa1 psbt: add serialize to/from wire for psbts 4 years ago
Rusty Russell b920d4d21b wire: make fromwire_fail return non-const, use it more 4 years ago
niftynei fbe50e087a setup: create a common setup which will handle the wally-context 4 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
Rusty Russell 197d1bcef2 wire: move towire/fromwire_short_channel_id out to bitcoin/short_channel_id.c 4 years ago
Rusty Russell 13356b75bf wire: move towire/fromwire_amount from wire/ into common/amount.c 4 years ago
Rusty Russell 4dbfce6057 wire: move towire/fromwire_preimage out to bitcoin/preimage.c. 4 years ago
Rusty Russell 27220646c3 common/wire: move bitcoin-specific marshalling functions into bitcoin files. 4 years ago
lisa neigut b881f7337e make the experimental features branch work ok 5 years ago
lisa neigut 8acbbca05d coins: use the chain's BIP173 name instead of a 'unit of account' 5 years ago
lisa neigut de065580f6 coins: update API surface for creating coin movements 5 years ago
lisa neigut e9d26a46e0 coin moves: actually record the blockheight for all chain moves 5 years ago
lisa neigut 9caf20f636 coin moves: don't log coin moves in onchaind if we're replaying 5 years ago
lisa neigut 034b2c7ee4 coin moves: add handling for mutual closure case 5 years ago
lisa neigut 1f0cfa71b0 coin moves: pass our currently known channel balance to onchaind 5 years ago
lisa neigut e8d10edbe5 coin moves: record onchain movements after they've been resolved 5 years ago
Rusty Russell 4eb1233ccb lightningd: don't report spurious temporary_node_failure on local failures. 5 years ago
Rusty Russell c95e58ad4b subdaemons: initialize feature routines with explicit feature_set. 5 years ago
darosior 8cbc0038bc onchaind: a feerate per transaction type 5 years ago
Rusty Russell 00cb5adfe6 common: allow subdaemons to specify the node_id in status messages. 5 years ago
Christian Decker ff4a2bf38f onchaind: Annotate inputs and outputs not the transactions 5 years ago
Christian Decker d5f0c08a88 elements: Remove global is_elements variable in favor of chainparams 5 years ago
Christian Decker ef7a63d8f8 elements: Move from a global is_elements to a global chainparams 5 years ago
Christian Decker 314622028f onchaind: Eliminate a chicken-and-egg problem with msg parsing 5 years ago
Christian Decker fad9a74662 tx: Use the context chainparams to determine the fee asset 5 years ago
Rusty Russell ee3480e56b derive_keyset: don't rotate key for remote iff option_static_remotekey. 5 years ago
Rusty Russell 87f0ee6351 channeld: set option_static_remotekey when negotiated. 5 years ago
darosior 0b0ad4c22d transition from status_trace() to status_debug 5 years ago
Rusty Russell 837e6232c3 common: reduce header differences for DEVELOPER vs non-DEVELOPER. 5 years ago
Rusty Russell a7a9f1c9d3 onchaind: fix bug when grinding feerates with multiple possibilities. 5 years ago
Rusty Russell 9424477cb5 onchaind/test: new test, for grinding feerate when multiple possibilities. 5 years ago
Christian Decker 9288a7906b tx: Add chainparams to struct bitcoin_tx as context 5 years ago
Christian Decker 15e73e3dc3 onchaind: Pass genesis hash to onchaind so it knows the chainparams 5 years ago
lisa neigut 7046d0220c makefiles: move all unit tests under `make check-units` 5 years ago
Rusty Russell f1b57063f7 bitcoin/tx: use fromwire_fail in pull_bitcoin_tx. 5 years ago
Christian Decker b6b548a983 wallet: Rip out the txtypes type in favor of enum wallet_tx_type 5 years ago
Christian Decker 94e024af41 onchaind: Have onchaind annotate htlc-{succes,failure} and penalties 5 years ago
Christian Decker ae0bc4aed0 onchaind: Store and annotate transactions we broadcast ourselves 5 years ago
Christian Decker 9fe481b967 wally: Move input amounts into a separate array 6 years ago
Christian Decker 478e2d7084 onchaind: Have onchaind also tell us the scriptPubKey of our outputs 6 years ago
Rusty Russell 948ca470ad bitcoin: use amount_sat/amount_msat. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 3412c5d392 commit_tx & htlc_tx: use amount_sat/amount_msat. 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago