poi

package
v1.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RouteCreateProof   = "/create/:" + restapi.ParameterMessageID
	RouteValidateProof = "/validate"
)
View Source
const (
	ProofVersion = 1
)

Variables

View Source
var (
	Plugin *node.Plugin
)

Functions

This section is empty.

Types

type ProofRequestAndResponse

type ProofRequestAndResponse struct {
	Version   byte              `json:"version"`
	Milestone *iotago.Message   `json:"milestone"`
	Message   *iotago.Message   `json:"message"`
	Proof     []*iotago.Message `json:"proof"`
}

type ValidateProofResponse

type ValidateProofResponse struct {
	Valid bool `json:"valid"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL