ed25519-zebra/src/batch
Henry de Valence bd5efba032 Use in-band signaling to flush batch verification requests.
This changes the `VerificationRequest` type alias (now called `batch::Request`)
to an enum containing either a verification request or a request to flush the
batch.  This allows both automatic and manual control of batch sizes, either by
setting a low batch limit on service creation or by setting a high limit and
manually sending flush commands.

To keep things ergonomic, the `Request` enum now has a `impl From` the previous
tuple, so to send a request, all that's necessary is to assemble a
pubkey-sig-message tuple and call `.into()` on it.
2020-01-30 17:44:09 -08:00
..
batcher.rs Use in-band signaling to flush batch verification requests. 2020-01-30 17:44:09 -08:00
singleton.rs Use in-band signaling to flush batch verification requests. 2020-01-30 17:44:09 -08:00