Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Support ¶
type Support interface { // Ledger returns the ledger associated with this validator Ledger() ledger.PeerLedger // MSPManager returns the MSP manager for this chain MSPManager() msp.MSPManager // Apply attempts to apply a configtx to become the new config Apply(configtx *common.ConfigEnvelope) error // GetMSPIDs returns the IDs for the application MSPs // that have been defined in the channel GetMSPIDs(cid string) []string }
Support provides all of the needed to evaluate the VSCC
type Validator ¶
Validator interface which defines API to validate block transactions and return the bit array mask indicating invalid transactions which didn't pass validation.
func NewTxValidator ¶
NewTxValidator creates new transactions validator
Click to show internal directories.
Click to hide internal directories.