Better docs for sigverify_stage

This commit is contained in:
Greg Fitzgerald 2018-06-06 11:31:18 -06:00
parent d0e0c17ece
commit fe706583f9
1 changed files with 6 additions and 1 deletions

View File

@ -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 packet::SharedPackets;
use rand::{thread_rng, Rng}; use rand::{thread_rng, Rng};