filter out old gossip pull requests (#11448)

* init

* builds

* stats

* revert

* tests

* clippy

* add some jitter

* shorter jitter timer

* update

* fixup! update

* use saturating_sub

* fix filters
This commit is contained in:
anatoly yakovenko
2020-08-11 06:26:42 -07:00
committed by GitHub
parent f12fc66a69
commit 713851b68d
4 changed files with 102 additions and 14 deletions

View File

@ -436,7 +436,7 @@ fn network_run_pull(
let rsp = node
.lock()
.unwrap()
.generate_pull_responses(&filters)
.generate_pull_responses(&filters, now)
.into_iter()
.flatten()
.collect();