Skip to content

Conversation

@domob1812
Copy link
Contributor

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.

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.
@fanquake fanquake added the Tests label Jun 24, 2020
@laanwj
Copy link
Member

laanwj commented Jul 22, 2020

code review ACK 1554b54, these assumptions seem straightforward

@laanwj laanwj merged commit 93decbc into bitcoin:master Jul 22, 2020
@domob1812 domob1812 deleted the fee-asserts branch July 23, 2020 06:52
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.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants