Function getSumOutput

Get sum of Output

bool getSumOutput (
  in ref const(Transaction) tx,
  ref Amount acc
) pure nothrow @nogc @safe;

Parameters

NameDescription
tx Transaction
acc Accumulator value. Pass a default-initialized value to get this transaction's sum of output.

Return

true if the sum returned is correct. false if there was an overflow.