Documentation ¶
Index ¶
- func CallHTMLRequestHandler(t *testing.T, e *echo.Echo, handler echo.HandlerFunc, route string, ...) *goquery.Document
- func CallWebAPIRequestHandler(t *testing.T, handler echo.HandlerFunc, method string, route string, ...)
- type MockChain
- func (*MockChain) AwaitRequestProcessed(ctx context.Context, requestID isc.RequestID, confirmed bool) <-chan *blocklog.RequestReceipt
- func (*MockChain) ConfigUpdated(accessNodes []*cryptolib.PublicKey)
- func (*MockChain) GetCandidateNodes() []*governance.AccessNodeInfo
- func (*MockChain) GetChainNodes() []peering.PeerStatusProvider
- func (*MockChain) GetCommitteeInfo() *chain.CommitteeInfo
- func (*MockChain) GetConsensusPipeMetrics() chain.ConsensusPipeMetrics
- func (*MockChain) GetConsensusWorkflowStatus() chain.ConsensusWorkflowStatus
- func (*MockChain) GetNodeConnectionMetrics() nodeconnmetrics.NodeConnectionMetrics
- func (*MockChain) ID() isc.ChainID
- func (*MockChain) LatestAliasOutput() (confirmed *isc.AliasOutputWithID, active *isc.AliasOutputWithID)
- func (*MockChain) LatestState(freshness chain.StateFreshness) (state.State, error)
- func (*MockChain) Log() *logger.Logger
- func (*MockChain) Processors() *processors.Cache
- func (*MockChain) ReceiveOffLedgerRequest(request isc.OffLedgerRequest, sender *cryptolib.PublicKey)
- func (*MockChain) ServersUpdated(serverNodes []*cryptolib.PublicKey)
- func (*MockChain) Store() state.Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallHTMLRequestHandler ¶
Types ¶
type MockChain ¶
type MockChain struct{}
func (*MockChain) AwaitRequestProcessed ¶
func (*MockChain) AwaitRequestProcessed(ctx context.Context, requestID isc.RequestID, confirmed bool) <-chan *blocklog.RequestReceipt
AwaitRequestProcessed implements chain.Chain
func (*MockChain) ConfigUpdated ¶
ConfigUpdated implements chain.Chain
func (*MockChain) GetCandidateNodes ¶
func (*MockChain) GetCandidateNodes() []*governance.AccessNodeInfo
GetCandidateNodes implements chain.Chain
func (*MockChain) GetChainNodes ¶
func (*MockChain) GetChainNodes() []peering.PeerStatusProvider
GetChainNodes implements chain.Chain
func (*MockChain) GetCommitteeInfo ¶
func (*MockChain) GetCommitteeInfo() *chain.CommitteeInfo
GetCommitteeInfo implements chain.Chain
func (*MockChain) GetConsensusPipeMetrics ¶
func (*MockChain) GetConsensusPipeMetrics() chain.ConsensusPipeMetrics
GetConsensusPipeMetrics implements chain.Chain
func (*MockChain) GetConsensusWorkflowStatus ¶
func (*MockChain) GetConsensusWorkflowStatus() chain.ConsensusWorkflowStatus
GetConsensusWorkflowStatus implements chain.Chain
func (*MockChain) GetNodeConnectionMetrics ¶
func (*MockChain) GetNodeConnectionMetrics() nodeconnmetrics.NodeConnectionMetrics
GetNodeConnectionMetrics implements chain.Chain
func (*MockChain) LatestAliasOutput ¶
func (*MockChain) LatestAliasOutput() (confirmed *isc.AliasOutputWithID, active *isc.AliasOutputWithID)
LatestAliasOutput implements chain.Chain
func (*MockChain) LatestState ¶
LatestState implements chain.Chain
func (*MockChain) Processors ¶
func (*MockChain) Processors() *processors.Cache
Processors implements chain.Chain
func (*MockChain) ReceiveOffLedgerRequest ¶
func (*MockChain) ReceiveOffLedgerRequest(request isc.OffLedgerRequest, sender *cryptolib.PublicKey)
ReceiveOffLedgerRequest implements chain.Chain
func (*MockChain) ServersUpdated ¶
ServersUpdated implements chain.Chain
Click to show internal directories.
Click to hide internal directories.