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