From fe706583f936469c0ba14caa958332568cf884f6 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Wed, 6 Jun 2018 11:31:18 -0600 Subject: [PATCH] Better docs for sigverify_stage --- src/sigverify_stage.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/sigverify_stage.rs b/src/sigverify_stage.rs index 41c8238e0e..7876e0c5bb 100644 --- a/src/sigverify_stage.rs +++ b/src/sigverify_stage.rs @@ -1,4 +1,9 @@ -//! The `sigverify_stage` implements the signature verification stage of the TPU. +//! The `sigverify_stage` implements the signature verification stage of the TPU. It +//! receives a list of lists of packets and outputs the same list, but tags each +//! top-level list with a list of booleans, telling the next stage whether the +//! signature in that packet is valid. It assumes each packet contains one +//! transaction. All processing is done on the CPU by default and on a GPU +//! if the `cuda` feature is enabled with `--features=cuda`. use packet::SharedPackets; use rand::{thread_rng, Rng};