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