mirror of https://github.com/zcash/orchard.git
Update the doc for `struct Action`. This was originally written when the
Orchard design had not yet been finalized. Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
3d79ba47fe
commit
f90e52df92
|
@ -8,12 +8,8 @@ use crate::{
|
|||
|
||||
/// An action applied to the global ledger.
|
||||
///
|
||||
/// Externally, this both creates a note (adding a commitment to the global ledger),
|
||||
/// and consumes some note created prior to this action (adding a nullifier to the
|
||||
/// global ledger).
|
||||
///
|
||||
/// Internally, this may both consume a note and create a note, or it may do only one of
|
||||
/// the two. TODO: Determine which is more efficient (circuit size vs bundle size).
|
||||
/// This both creates a note (adding a commitment to the global ledger), and consumes
|
||||
/// some note created prior to this action (adding a nullifier to the global ledger).
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Action<A> {
|
||||
/// The nullifier of the note being spent.
|
||||
|
|
Loading…
Reference in New Issue