-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor transaction logic for ease of use (#346)
* Refactor transaction logic for ease of use * move non-witness utxo retrieval to prepare inputs func * Only add non witness data for ledger * Skip dust UTXO for send max * add fiat to btc conversion * Fix fee calc * Extract add non witness utxos to own protected function * Refactor options that would change the structure fo a txn to be immutable * Mark getBtcEquivalent as deprecated * Add send max tests * add combine utxos and send btc tests * Add send ordinals tests * Add do not use warning to untested functions * Remove extra non-witness utxo addition * Improve ledger input preperation * Fix input prep
- Loading branch information
1 parent
30b3650
commit 2d298d2
Showing
11 changed files
with
682 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.