Daira Emma Hopwood
|
9af901e1a9
|
Add assertions that `GetRandInt*` functions are called with `nMax >= 0`.
All existing uses have been checked to ensure they are consistent with
this assertion.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
|
2023-04-19 22:48:46 +01:00 |
Daira Emma Hopwood
|
75030610f2
|
ZIP 317 block construction algorithm.
This breaks tests which are repaired in subsequent commits.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
|
2023-04-19 22:48:46 +01:00 |
Daira Emma Hopwood
|
9d368ba29b
|
Remove unnecessary #include.
Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
|
2023-03-11 00:34:41 +00:00 |
Daira Hopwood
|
efda29a05d
|
Another minor optimization
Co-authored-by: Kris Nuttycombe <kris@electriccoin.co>
|
2023-03-10 23:46:43 +00:00 |
Daira Hopwood
|
7b52813c61
|
Minor optimization to weighted_map::remove
Co-authored-by: str4d <thestr4d@gmail.com>
|
2023-03-10 21:45:46 +00:00 |
Daira Hopwood
|
16099d66b6
|
Refactoring to split the weighted tx tree out of mempool_limit.{cpp,h}
and make it more reusable.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2023-03-08 16:03:34 +00:00 |