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