C# Class Paymetheus.Bitcoin.BlockChain

显示文件 Open project: btcsuite/Paymetheus Class Usage Examples

Public Methods

Method Description
ConfirmationHeight ( int blockChainHeight, int minConf ) : int
Confirmations ( int blockChainHeight, BlockIdentity location ) : int
Confirmations ( int blockChainHeight, int txHeight ) : int
IsCoinbase ( Transaction tx ) : bool
IsConfirmed ( int blockchainHeight, int txHeight, int minConfirmations ) : bool
IsMatured ( int blockchainHeight, int txHeight ) : bool

Method Details

ConfirmationHeight() public static method

public static ConfirmationHeight ( int blockChainHeight, int minConf ) : int
blockChainHeight int
minConf int
return int

Confirmations() public static method

public static Confirmations ( int blockChainHeight, BlockIdentity location ) : int
blockChainHeight int
location BlockIdentity
return int

Confirmations() public static method

public static Confirmations ( int blockChainHeight, int txHeight ) : int
blockChainHeight int
txHeight int
return int

IsCoinbase() public static method

public static IsCoinbase ( Transaction tx ) : bool
tx Transaction
return bool

IsConfirmed() public static method

public static IsConfirmed ( int blockchainHeight, int txHeight, int minConfirmations ) : bool
blockchainHeight int
txHeight int
minConfirmations int
return bool

IsMatured() public static method

public static IsMatured ( int blockchainHeight, int txHeight ) : bool
blockchainHeight int
txHeight int
return bool