Documentation
¶
Overview ¶
Copyright IBM Corp All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- Variables
- func GenerateConfigWS(testdataDir string) error
- func NewTokenValidationParamsSlice(TestRootPath string) ([]*transferServiceParams, error)
- func SetupNodeP2P(confPath string, factories ...node.NamedFactory) (*fscnode.Node, error)
- type TokenData
- type TokenValidationServiceView
- type TokenValidationServiceViewFactory
Constants ¶
View Source
const (
// DefaultTestRoot is the default path to test data for token transfer verification
DefaultTestRoot = "../../token/core/zkatdlog/nogh/v1/regression/testdata/zero/32-BLS12_381_BBS_GURVY"
)
Variables ¶
View Source
var TestRoot = flag.String("testRoot", DefaultTestRoot, "path to test data for token transfer verification")
TestRoot is the path to test data for token transfer verification, overridable via the -testRoot flag. It defaults to DefaultTestRoot. Because it is registered on the global flag set, it is parsed by both `go test` (for the benchmarks) and the client's flag.Parse call.
Functions ¶
func GenerateConfigWS ¶ added in v0.15.1
GenerateConfigWS mirrors node.GenerateConfig but uses websocket transport. (node.GenerateConfig uses default LibP2P)
func SetupNodeP2P ¶ added in v0.15.1
SetupNodeP2P mirrors node.SetupNode and uses the default websocket transport.
Types ¶
type TokenValidationServiceView ¶
type TokenValidationServiceView struct {
// contains filtered or unexported fields
}
type TokenValidationServiceViewFactory ¶
type TokenValidationServiceViewFactory struct {
// contains filtered or unexported fields
}
TokenValidationServiceViewFactory builds verification views sharing one lazily-built validator. The zero value is ready to use; use it by pointer.
Click to show internal directories.
Click to hide internal directories.