C# Class BitSharp.Core.Test.Rules.UnitTestRules

Inheritance: BitSharp.Core.Rules.MainnetRules
Show file Open project: pmlyon/BitSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
PostValidateBlock ( BitSharp.Core.Domain.Chain newChain, object finalTally ) : void
PreValidateBlock ( BitSharp.Core.Domain.Chain newChain ) : void
TallyTransaction ( BitSharp.Core.Domain.Chain newChain, ValidatableTx validatableTx, object &runningTally ) : void
UnitTestRules ( ) : BitSharp.Common
ValidateTransaction ( BitSharp.Core.Domain.Chain newChain, ValidatableTx validatableTx ) : void
ValidationTransactionScript ( BitSharp.Core.Domain.Chain newChain, BlockTx tx, BitSharp.Core.Domain.TxInput txInput, int txInputIndex, PrevTxOutput prevTxOutput ) : void

Method Details

PostValidateBlock() public method

public PostValidateBlock ( BitSharp.Core.Domain.Chain newChain, object finalTally ) : void
newChain BitSharp.Core.Domain.Chain
finalTally object
return void

PreValidateBlock() public method

public PreValidateBlock ( BitSharp.Core.Domain.Chain newChain ) : void
newChain BitSharp.Core.Domain.Chain
return void

TallyTransaction() public method

public TallyTransaction ( BitSharp.Core.Domain.Chain newChain, ValidatableTx validatableTx, object &runningTally ) : void
newChain BitSharp.Core.Domain.Chain
validatableTx BitSharp.Core.Domain.ValidatableTx
runningTally object
return void

UnitTestRules() public method

public UnitTestRules ( ) : BitSharp.Common
return BitSharp.Common

ValidateTransaction() public method

public ValidateTransaction ( BitSharp.Core.Domain.Chain newChain, ValidatableTx validatableTx ) : void
newChain BitSharp.Core.Domain.Chain
validatableTx BitSharp.Core.Domain.ValidatableTx
return void

ValidationTransactionScript() public method

public ValidationTransactionScript ( BitSharp.Core.Domain.Chain newChain, BlockTx tx, BitSharp.Core.Domain.TxInput txInput, int txInputIndex, PrevTxOutput prevTxOutput ) : void
newChain BitSharp.Core.Domain.Chain
tx BitSharp.Core.Domain.BlockTx
txInput BitSharp.Core.Domain.TxInput
txInputIndex int
prevTxOutput BitSharp.Core.Domain.PrevTxOutput
return void