MCPcopy Create free account
hub / github.com/chain/txvm / Option

Struct Option

protocol/txvm/option.go:13–15  ·  view source on GitHub ↗

Option is the type of a function that can be passed as an option to Validate.

Source from the content-addressed store, hash-verified

11// Option is the type of a function that can be passed as an option to
12// Validate.
13type Option struct {
14 apply func(vm *VM)
15}
16
17// OnLog can be passed as an option to Validate. It adds a callback to
18// be invoked when data is added to the transaction log.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected