Static asserts for consistency of fee defaults#19370
Merged
laanwj merged 1 commit intobitcoin:masterfrom Jul 22, 2020
Merged
Conversation
This adds static asserts that ensure that the default values given for fee levels in the wallet (minimum fee and incremental feerate increase) are at least as high as the corresponding levels configured in the core node policy.
Member
|
code review ACK 1554b54, these assumptions seem straightforward |
sidhujag
pushed a commit
to syscoin/syscoin
that referenced
this pull request
Jul 24, 2020
1554b54 Static asserts for consistency of fee defaults. (Daniel Kraft) Pull request description: This adds `static_assert`'s that ensure that the default values given for fee levels in the wallet (minimum fee and incremental feerate increase) are at least as high as the corresponding levels configured in the core node policy. Since the core policy values are enforced by the network, it makes sense for the wallet to be conservative and above (or at least not below) this. ACKs for top commit: laanwj: code review ACK 1554b54, these assumptions seem straightforward Tree-SHA512: 50e5adf082f467062334377f82a3ee75bcfd436afc65bd0eb33c8d0549d6d90fd1f48c31f60cabe523eb59be9efa8ae0879e9e09cd51ca9c1bd466631ce03cf4
domob1812
added a commit
to domob1812/namecoin-core
that referenced
this pull request
Jul 27, 2020
Updated DEFAULT_TRANSACTION_MINFEE to match the higher fees in Namecoin so that bitcoin/bitcoin#19370 works. Also needs some according tweaks to the regtests.
domob1812
added a commit
to domob1812/namecoin-core
that referenced
this pull request
Jul 27, 2020
Updated DEFAULT_TRANSACTION_MINFEE to match the higher fees in Namecoin so that bitcoin/bitcoin#19370 works. Also needs some according tweaks to the regtests.
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds
static_assert's that ensure that the default values given for fee levels in the wallet (minimum fee and incremental feerate increase) are at least as high as the corresponding levels configured in the core node policy. Since the core policy values are enforced by the network, it makes sense for the wallet to be conservative and above (or at least not below) this.