public TransactionsInfo CalulateTransactionsInfo() { return(new TransactionsInfo( Chain.Aggregate(0, (seed, block) => seed + block.Signed.Data.Transactions.Length), PendingTransactions.Count )); }
public override int GetHashCode() { return(Terminal.GetHashCode() ^ Chain.Aggregate(17, (h, t) => h * 31 + t.GetHashCode())); }