diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2022-05-25 10:16:56 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2022-08-23 11:34:10 -0400 |
commit | 1d4cfa4272cf2c8b980cc8762c1ff2220d3e8d51 (patch) | |
tree | 4d1338b17702e4ed0998ece0f00f2d4b8b9ba062 /src/Makefile.am | |
parent | 2bd9aa5a44b88c866c4d98f8a7bf7154049cba31 (diff) | |
download | bitcoin-1d4cfa4272cf2c8b980cc8762c1ff2220d3e8d51.tar.xz |
Add function to validate difficulty changes
The rule against difficulty adjustments changing by more than a factor of 4 can
be helpful for anti-DoS measures in contexts where we lack a full headers
chain, so expose this functionality separately and in the narrow case where we
only know the height, new value, and old value.
Includes fuzz test by Martin Zumsande.
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions