Process forwarded packets only when the node is about to be the leader (#3935)

* Tests and metrics
This commit is contained in:
Pankaj Garg
2019-04-22 19:49:32 -07:00
committed by GitHub
parent 43f7cd8149
commit de6af95061
3 changed files with 165 additions and 7 deletions

View File

@@ -51,6 +51,7 @@ impl Tpu {
tpu_via_blobs_sockets,
&exit,
&packet_sender,
&poh_recorder,
);
let (verified_sender, verified_receiver) = channel();