105 Commits (b920d4d21bf2cd1c9b81c3b963323adb4a758dc9)

Author SHA1 Message Date
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
Rusty Russell 27220646c3 common/wire: move bitcoin-specific marshalling functions into bitcoin files. 4 years ago
lisa neigut 824e8fa72b tx: split 'compute fee' into two, with one that takes an input value 5 years ago
lisa neigut 3d241bc261 tx: expose elements 'is fee' calculation 5 years ago
lisa neigut c110f3662c bitcoin_tx: add helper for extracting output amount 5 years ago
Christian Decker c236bf0fbd tx: Make elements_add_fee_output private 5 years ago
Christian Decker 42a63e4416 tx: Strengthen transaction construction checks 5 years ago
Christian Decker 9521549c49 elements: Fix missing witness script entry for fee outputs 5 years ago
Ken Sedgwick 5c8f881a75
hsmd: Added fields to hsm_sign_remote_commitment_tx to allow complete validation. 5 years ago
darosior 273029f244 wallet: set nLockTime to the tip for withdrawal transactions 5 years ago
Christian Decker be49a599bc elements: Do not get upset if we see a confidential asset or value 5 years ago
Christian Decker d35ec902f4 elements: Work around libwally getting upset with helpful flags 5 years ago
lisa neigut cbfa045f91 tx: remove input size assertion 5 years ago
Christian Decker ff4a2bf38f onchaind: Annotate inputs and outputs not the transactions 5 years ago
Yash Bhutwala 30ec739c15 check for return code in the else block 5 years ago
Christian Decker 7283efa5b5 elements: Add amount_asset to support more than just plain satoshis 5 years ago
Christian Decker c38afc5512 tx: Switch to amount_sat for fee computations 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 378745391d elements: Change function prefix to elements_ for some functions 5 years ago
Christian Decker 91a311ee0d elements: Added better handling of NULL output scripts 5 years ago
Christian Decker fad9a74662 tx: Use the context chainparams to determine the fee asset 5 years ago
Christian Decker 557f6063a7 elements: Consolidate weight computation to be handled by wally 5 years ago
Christian Decker 99988cb0e1 elements: Fix up existing fee output instead of adding a new one 6 years ago
Christian Decker 92b8758753 elements: Add helpers to compute and add fee outputs. 6 years ago
Christian Decker 5e3b27c306 elements: Mark inputs with the elements feature 6 years ago
Christian Decker 541d8db2a6 elements: Use correct initializers for outputs and values 6 years ago
Christian Decker 6b7c3c7a78 elements: Extract the real value from the transactions 6 years ago
Christian Decker 639713b547 elements: Fix transaction handling for elements transactions 6 years ago
Christian Decker f19726b4aa elements: Pass the correct flags to libwally so it can parse txs 6 years ago
trueptolemy 6570c743c4 bitcoin: Add the interface to add multiple outputs to bitcoin transaction 5 years ago
Rusty Russell c9817b225b bitcoin/tx: pass struct amount_sat by copy. 5 years ago
Rusty Russell 39b34a35c8 bitcoin/tx.c: don't free witness implicitly. 5 years ago
Christian Decker 5dff67900e tx: Add chainparams when deserializing transactions from wire msgs 5 years ago
Christian Decker 9288a7906b tx: Add chainparams to struct bitcoin_tx as context 5 years ago
Rusty Russell f1b57063f7 bitcoin/tx: use fromwire_fail in pull_bitcoin_tx. 5 years ago
Rusty Russell 711762ec67 bitcoin/tx: separate assertions. 5 years ago
Rusty Russell 09d9abf12e bitcoin/tx: script arg should be const. 5 years ago
Christian Decker 21a0dad016 wally: Post-migration cleanups 6 years ago
Christian Decker 509bb2c7ae wally: Remove tx->input and tx->output, wally all the way! 6 years ago
Christian Decker d651ce6f3b wally: Migrate main daemon to use wally transactions 6 years ago
Christian Decker 8d0500228e wally: Add accessor methods for script and amount 6 years ago
Christian Decker 30ed2e1a8f wally: Remove unused sha256_tx_for_sig function 6 years ago
Christian Decker 3ae19479a8 wally: Use libwally only to serialize transactions 6 years ago
Christian Decker 9fe481b967 wally: Move input amounts into a separate array 6 years ago
Christian Decker ce58cba9fe wally: Making extra sure that pulling a TX results in the correct read offset. 6 years ago
Christian Decker 03329a61da wally: Add setters for output amounts, input witnesses and scripts 6 years ago
Christian Decker 3937b17e2b wally: Add a consistency check for old and new style txs 6 years ago
Christian Decker 60fbf1f7d0 wally: Add shims to generate both transaction versions in parallel 6 years ago
Christian Decker 16f72cb160 wally: Migrate version and locktime to libwally tx 6 years ago