block

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0, BSD-2-Clause Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Plugin holds the singleton instance of the plugin.
	Plugin *node.Plugin
)

Functions

func GetBlock

func GetBlock(c echo.Context) (err error)

GetBlock is the handler for the /blocks/:blockID endpoint.

func GetBlockMetadata

func GetBlockMetadata(c echo.Context) (err error)

GetBlockMetadata is the handler for the /blocks/:blockID/metadata endpoint.

func GetMarkerIndexConflictIDMapping

func GetMarkerIndexConflictIDMapping(c echo.Context) (err error)

GetMarkerIndexConflictIDMapping is the handler for the /blocks/sequences/:sequenceID/markerindexconflictidmapping endpoint.

func GetSequence

func GetSequence(c echo.Context) (err error)

GetSequence is the handler for the /blocks/sequences/:sequenceID endpoint.

func NewBlockMetadata

func NewBlockMetadata(metadata *tangle.BlockMetadata) jsonmodels.BlockMetadata

NewBlockMetadata returns BlockMetadata from the given tangle.BlockMetadata.

func PostPayload

func PostPayload(c echo.Context) error

PostPayload is the handler for the /blocks/payload endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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