Documentation ¶
Index ¶
- func New(blockCoinbaseMaturity uint64, enableNonNativeSubnetworks bool, ...) model.TransactionValidator
- func NewTestTransactionValidator(baseTransactionValidator model.TransactionValidator) testapi.TestTransactionValidator
- func TransactionOutputEstimatedSerializedSize(output *externalapi.DomainTransactionOutput) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(blockCoinbaseMaturity uint64, enableNonNativeSubnetworks bool, massPerTxByte uint64, massPerScriptPubKeyByte uint64, massPerSigOp uint64, maxCoinbasePayloadLength uint64, databaseContext model.DBReader, pastMedianTimeManager model.PastMedianTimeManager, ghostdagDataStore model.GHOSTDAGDataStore, daaBlocksStore model.DAABlocksStore) model.TransactionValidator
New instantiates a new TransactionValidator
func NewTestTransactionValidator ¶
func NewTestTransactionValidator(baseTransactionValidator model.TransactionValidator) testapi.TestTransactionValidator
NewTestTransactionValidator creates an instance of a TestTransactionValidator
func TransactionOutputEstimatedSerializedSize ¶ added in v0.11.0
func TransactionOutputEstimatedSerializedSize(output *externalapi.DomainTransactionOutput) uint64
TransactionOutputEstimatedSerializedSize is the same as transactionEstimatedSerializedSize but for outputs only
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.