Notes
A note is a piece of value of one token that belongs to one account. It is like a banknote. You spend a whole note, and you may get change back as a new note.
The note stays private. Only its commitment goes on the public record.
Commitments
A commitment is a hash that stands for a note without revealing it:Two trees
The pool remembers recent roots. A proof built against a root from a few updates ago is still accepted, so a new update does not break a transaction that is on its way.