-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get rid of 'OnDanglingChange' option for fee balancing
This option allowed choosing between two modes: SaveMoney and PayAndBalance. The former was used with cardano-node, and the latter used with jormungandr. The reason for having a difference is was because of discrepency in the minimum transaction expected by both ledger. On jormungandr, transactions have to be _exactly_ balanced and leave exactly the expected fees required by the network. On the counterpart, the fee calculation was only a function of the number of inputs and outputs... therefore much easier to satisfy than on cardano-node. Now that we've removed jormungandr, this extra indirection / complexity is just harmful. Since the 'PayAndBalance' mode is never used, I've removed the option entirely and made code assume 'SaveMoney' everywhere it used to choose between both alternatives. This also seemingly remove the 'allowUnbalancedTx' field from the transaction layer which was directly related to this option.
- Loading branch information
Showing
7 changed files
with
23 additions
and
104 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
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