-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add some transitions that the transaction builder can do automatically. Attempt to put excess chain mana on the chained output. Disallow editing provided outputs. * Allow adding remainder amount too * transition outputs with min amount and zero mana * Update sdk/src/client/api/block_builder/transaction_builder/error.rs Co-authored-by: /alex/ <[email protected]> * review * while let * little cleanup * fix borked merge * fix transitions and change priority logic to use a scoring system * fix dumb test * add score based on number of inputs * remove allotment amounts from mana gained. Re-add account mana reduction process. * factor in remainder amounts and rework scoring * Factor calculated allotment into mana required and fix test * do not select amount or mana that gains nothing --------- Co-authored-by: /alex/ <[email protected]>
- Loading branch information
Showing
19 changed files
with
1,027 additions
and
777 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
Oops, something went wrong.