Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InspectedVector ¶
type InspectedVector interface { IsInspected() bool HasMissingMembers() bool HasSenderFault() bool Reinspect(ctx context.Context, inspector VectorInspector) InspectedVector Inspect(ctx context.Context) GetInspectionResults() (*nodeset.ConsensusStatRow, nodeset.NodeVerificationResult) GetBitset() member.StateBitset GetNode() *population.NodeAppearance GetCustomOptions() uint32 }
type VectorInspection ¶
type VectorInspection interface { CreateInspector(scanner nodeset.VectorEntryScanner, digestFactory transport.ConsensusDigestFactory, nodeID node.ShortNodeID) VectorInspector }
func NewIgnorantVectorInspection ¶
func NewIgnorantVectorInspection() VectorInspection
func NewVectorInspection ¶
func NewVectorInspection(maxPopulationForInlineHashing int, disableRanksAndGSH bool) VectorInspection
type VectorInspectionFactory ¶
type VectorInspectionFactory interface {
CreateVectorInspection(inlineLimit int) VectorInspection
}
func NewVectorInspectionFactory ¶
func NewVectorInspectionFactory() VectorInspectionFactory
type VectorInspector ¶
type VectorInspector interface { GetBitset() member.StateBitset /* Must be called before any CreateVector or InspectVector, and before any parallel access */ PrepareForInspection(ctx context.Context) bool CreateVector(cryptkit.DigestSigner) statevector.Vector InspectVector(ctx context.Context, sender *population.NodeAppearance, customOptions uint32, otherData statevector.Vector) InspectedVector CreateNextPopulation(nodeset.ConsensusBitsetRow) ([]profiles.PopulationRank, proofs.CloudStateHash, proofs.GlobulaStateHash) }
func NewBypassInspector ¶
func NewBypassInspector() VectorInspector
Click to show internal directories.
Click to hide internal directories.