Beispiel #1
0
 public AccountEntry(AccountEntryReason reason, uint256 block, Spendable spendable, Money balanceChange)
 {
     _Block         = block;
     _Spendable     = spendable;
     _BalanceChange = balanceChange;
     _Reason        = (byte)reason;
 }
Beispiel #2
0
 public Coin(Spendable spendable)
 {
     Outpoint = spendable.OutPoint;
     TxOut    = spendable.TxOut;
 }
Beispiel #3
0
 public AccountEntry(AccountEntryReason reason, uint256 block, Spendable spendable, Money balanceChange)
 {
     _Block = block;
     _Spendable = spendable;
     _BalanceChange = balanceChange;
     _Reason = (byte)reason;
 }
Beispiel #4
0
 internal AccountEntry PushAccountEntry(uint256 block, Spendable spendable, Money balanceChange)
 {
     return(PushAccountEntry(new AccountEntry(balanceChange < 0 ? AccountEntryReason.Outcome : AccountEntryReason.Income, block, spendable, balanceChange)));
 }
Beispiel #5
0
 internal AccountEntry PushAccountEntry(uint256 block, Spendable spendable, Money balanceChange)
 {
     return PushAccountEntry(new AccountEntry(balanceChange < 0 ? AccountEntryReason.Outcome : AccountEntryReason.Income, block, spendable, balanceChange));
 }