diff options
author | fanquake <fanquake@gmail.com> | 2020-09-29 16:24:27 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-09-29 16:35:01 +0800 |
commit | ec9b4492eba5d32ab833d511984756601d3f39b0 (patch) | |
tree | 9cac3cd3ebef5bf6cf9006ecf7dff23a534b13e4 /src/secp256k1/contrib | |
parent | 6af9b31bfc6dd6086d245c00eb7cff762fc34a1e (diff) | |
parent | a3abeec33a6ae903e514c7a7b6f587b7c17288a0 (diff) |
Merge #19630: Cleanup fee estimation code
a3abeec33a6ae903e514c7a7b6f587b7c17288a0 policy/fees: remove a floating-point division by zero (Antoine Poinsot)
c36869bbf6a38626833b4aea53be024c48ede475 policy/fees: unify some duplicated for loops (Antoine Poinsot)
569d92a4d2924a1f6d50775980b591552f6372e7 policy/fees: small readability improvements (Antoine Poinsot)
5b8cb35621891b681f9b49a9de5f6d8da4ccdecc policy/fee: remove requireGreater parameter in EstimateMedianVal() (Antoine Poinsot)
dba8196b447b6a85be66890db70928100e867d8b policy/fees: correct decay explanation comments (Antoine Poinsot)
Pull request description:
This (*does not* change behaviour and) cleans up a bit of unused code in `CBlockPolicyEstimator` and friends, and slightly improves readability of the rest (comment correction etc.). The last commit is a small reformatting one which I could not resist but am happy to remove at will.
ACKs for top commit:
jnewbery:
utACK a3abeec33a6ae903e514c7a7b6f587b7c17288a0
MarcoFalke:
ACK a3abeec33a6ae903e514c7a7b6f587b7c17288a0 💹
ariard:
Code Review ACK a3abeec.
Tree-SHA512: b7620bcd23a2ffa8f7ed859467868fc0f6488279e3ee634f6d408872cb866ad086a037e8ace76599a05b7e9c07768adf5016b0ae782d153196b9c030db4c34a5
Diffstat (limited to 'src/secp256k1/contrib')
0 files changed, 0 insertions, 0 deletions