Quentin Le Sceller
c4e69717ab
Less cloning and pattern simplifications ( #3216 )
...
* Less cloning and pattern simplifications
* Revert inclusive range and remove unecessary Error:From
2020-02-05 11:02:07 -05:00
Quentin Le Sceller
6e5afe496b
Update License to 2020 ( #3196 )
2020-01-20 11:40:58 +00:00
Quentin Le Sceller
6be6391225
Change 2018 to 2019 in copyright files ( #3072 )
2019-10-02 09:40:20 +01:00
Tengfei Niu
7aa27652b7
refactor code ( #2990 )
...
refactor: refactor code.
2019-09-04 09:53:05 -04:00
Antioch Peverell
cb652e7ef1
do not treat txhashset.zip download as abusive behavior ( #1973 )
...
* do not treat txhashset.zip download as abusive behavior
* count times, not bytes so we exclude quiet increments
* use inc_quiet when tracking sent bytes via an attachment
* add comment
* fixup "quiet" counter entries
* rustfmt
2018-11-13 21:34:45 +00:00
Ignotus Peverell
e9c50ccb56
Time comparisons are difficult. Or not.
2018-11-08 00:40:28 +00:00
Ignotus Peverell
f7d0fe1840
Bug fix, tuning of peer message rate counting
2018-11-07 22:15:12 +00:00
Ignotus Peverell
8b546632fe
Peer rate limiting ( #1933 )
...
* Rate counter in peer conn to monitor traffic
* Ban peers that trigger is_abusive
2018-11-06 17:51:22 -08:00