Difficulty adjustment #10879

pull kallewoof wants to merge 23 commits into bitcoin:master from dgarage:difficulty-adjustment changing 26 files +2120 −35
  1. kallewoof commented at 4:52 AM on July 19, 2017: member

    This includes code by Mark Friedenbach to do smooth difficulty adjustments.

  2. Added ProbabilityTarget/Estimate support to arith_uint256. 6d5d656d74
  3. [test] Added tests for arith_uint256::SetProbabilityTarget/GetProbabilityEstimate. f9b818d17e
  4. Added generic proof of work class. acb859be3a
  5. Imported cuckoo cycle code. 7f4cbf16c3
  6. Added wrapper around cuckoo cycle code. 94f170c480
  7. Added SHA256 POW. caff14ab22
  8. Modified base cuckoo cycle implementation for Bitcoin. e141ca2149
  9. f'inline pthread helpers in osx_barrier.h (fix core cuckoo-cycle) 1464aa203d
  10. [consensus] Add C4 network to chainparams. 49d63d90cd
  11. [temporary] Disable random.cpp dependency in pow to deal with linker issues. 6f45bed355
  12. [pow] Updated CC to allow internal nonces and support for aborting mid-nonce. 0a4c671905
  13. [pow-sha256] Solver now returns success state. 65bdfc36e3
  14. [pow] Solvers now return success state. 093bae6768
  15. [chain] Added C4 network parameters. 46c586e9d4
  16. [pow] Added support for CC in blocks as well as primitive mining functionality. 44c1db582b
  17. Updated Makefile. 749671be83
  18. Edge ivars and started work on bg mining interrupted mid-nonce upon new chain active tip. e9d5d1556b
  19. [pow] Background mining. 12e19b5f05
  20. f'fixes to background solving 64d1148e97
  21. f'some debug stuff; CC stops iterating after 1st sol (probably not worth it but keeping for now) 97de4ccfcc
  22. [consensus] Add BC2 network to chainparams. c1edc38f69
  23. Add GMP library as dependency, for arbitrary-precision rational numbers. 0023b07331
  24. Add new difficulty adjustment filter, which replaces the simple average over 2016 blocks with a faster-activing 36-tap Parks and McClellan FIR filter, and adjustments every 15 blocks with a gain of 0.125 and a limiter of 1.375. a1decce99b
  25. kallewoof closed this on Jul 19, 2017

  26. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me