diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-07-22 18:04:51 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-07-22 19:25:07 +0200 |
commit | 93decbc7a486939aeed6205fd45fffddd8a62e58 (patch) | |
tree | 5ee1e42f68e79cc34a563315c5d04b29851ecbb9 /src/timedata.cpp | |
parent | c7b4968552c704f1e2e9a046911e1207f5af5fe0 (diff) | |
parent | 1554b54d47d7e24ce2491f57d24e56d38ceb7649 (diff) |
Merge #19370: Static asserts for consistency of fee defaults
1554b54d47d7e24ce2491f57d24e56d38ceb7649 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 1554b54d47d7e24ce2491f57d24e56d38ceb7649, these assumptions seem straightforward
Tree-SHA512: 50e5adf082f467062334377f82a3ee75bcfd436afc65bd0eb33c8d0549d6d90fd1f48c31f60cabe523eb59be9efa8ae0879e9e09cd51ca9c1bd466631ce03cf4
Diffstat (limited to 'src/timedata.cpp')
0 files changed, 0 insertions, 0 deletions