dash/src/policy
Wladimir J. van der Laan a865b38bf3
Merge #11133: Document assumptions that are being made to avoid division by zero
55509f1 Document assumptions that are being made to avoid division by zero (practicalswift)

Pull request description:

  Document assumptions (via `assert(…)`:s) that are being made to avoid division by zero.

  Rationale:
  * Make it clear to human reviewers and non-human static analyzers that what might look like potential division by zero cases are written the way they are intentionally (these cases are currently flagged by various static analyzers).

Tree-SHA512: bbb67b1370afd8f39bda35f9e3a20f4325f017d94cc1bfac3b0d36c9f34c2d95a9efe11efe44db29fb4aadd25d8276d8f0e03c8806ac64f0d21d821912e13b8e
2017-10-12 13:40:16 +02:00
..
feerate.cpp Consensus: Policy: MOVEONLY: Move CFeeRate out of the consensus module 2017-05-03 18:00:13 +02:00
feerate.h Force explicit double -> int conversion for CFeeRate constructor 2017-09-11 18:07:52 -04:00
fees.cpp Merge #11133: Document assumptions that are being made to avoid division by zero 2017-10-12 13:40:16 +02:00
fees.h Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
policy.cpp Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00
policy.h Use a sensible default for blockmaxweight 2017-09-11 15:51:26 -04:00
rbf.cpp scripted-diff: Fully remove BOOST_FOREACH 2017-06-05 20:10:50 +02:00
rbf.h Introduce MAX_BIP125_RBF_SEQUENCE constant 2017-06-05 23:14:34 +00:00