Accumulator.Tx
Transactions on accumulators.
add a n
increments the value of the accumulator a
by n
. add
operations can be performed scalably in parallel.
get a
returns the current value of the accumulator.
CAUTION: Performing a get
is expensive and can limit scalability.