Michael Sproul
baef1db40f
Lint for sum and product in consensus code ( #2226 )
...
## Issue Addressed
Closes #1621
## Proposed Changes
Use the `disallowed_method` lint to ban uses of `Iterator::{sum,product}` from `types` and `state_processing`.
## Additional Info
The lint is turned off in the tree hash caching code, as it is performance sensitive and overflowy arithmetic is already allowed there.
2021-03-01 00:57:13 +00:00
..
2021-03-01 00:57:13 +00:00
2021-01-19 00:34:28 +00:00
2020-10-01 11:12:36 +10:00
2020-10-01 11:12:36 +10:00
2020-10-01 11:12:36 +10:00
2020-07-25 02:03:18 +00:00
2021-02-15 00:09:12 +00:00
2020-10-01 11:12:36 +10:00
2020-11-23 03:43:22 +00:00
2021-01-19 00:34:28 +00:00
2020-05-18 21:24:23 +10:00
2021-02-15 07:17:52 +00:00
2021-01-28 23:31:06 +00:00
2020-06-19 11:18:27 +10:00
2021-01-20 19:19:38 +00:00
2020-10-01 11:12:36 +10:00
2020-06-19 11:18:27 +10:00
2020-10-01 11:12:36 +10:00
2020-10-01 11:12:36 +10:00
2021-02-10 23:29:49 +00:00
2020-10-01 11:12:36 +10:00
2020-10-01 11:12:36 +10:00
2020-10-01 11:12:36 +10:00
2020-10-25 23:27:39 +00:00
2020-06-19 11:18:27 +10:00
2021-02-15 00:09:12 +00:00
2021-03-01 00:57:13 +00:00
2020-10-01 11:12:36 +10:00
2020-11-23 03:43:22 +00:00
2020-09-25 05:18:21 +00:00
2020-07-25 02:03:18 +00:00
2021-02-15 07:17:52 +00:00
2020-07-25 02:03:18 +00:00
2021-02-15 00:09:12 +00:00
2020-11-23 03:43:22 +00:00
2020-06-19 11:18:27 +10:00
2020-06-03 14:56:54 +10:00
2020-10-01 11:12:36 +10:00
2021-01-19 03:50:06 +00:00
2020-05-18 21:24:23 +10:00
2020-11-18 23:31:37 +00:00
2021-01-28 23:31:06 +00:00
2020-10-01 11:12:36 +10:00
2020-10-11 23:58:12 +00:00
2020-10-01 11:12:36 +10:00