Documentation ¶
Index ¶
- Variables
- func GetBlock(c echo.Context) (err error)
- func GetBlockMetadata(c echo.Context) (err error)
- func GetMarkerIndexConflictIDMapping(c echo.Context) (err error)
- func GetSequence(c echo.Context) (err error)
- func NewBlockMetadata(metadata *tangleold.BlockMetadata) jsonmodels.BlockMetadata
- func PostPayload(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Plugin holds the singleton instance of the plugin. Plugin *node.Plugin )
Functions ¶
func GetBlockMetadata ¶
GetBlockMetadata is the handler for the /blocks/:blockID/metadata endpoint.
func GetMarkerIndexConflictIDMapping ¶
GetMarkerIndexConflictIDMapping is the handler for the /blocks/sequences/:sequenceID/markerindexconflictidmapping endpoint.
func GetSequence ¶
GetSequence is the handler for the /blocks/sequences/:sequenceID endpoint.
func NewBlockMetadata ¶
func NewBlockMetadata(metadata *tangleold.BlockMetadata) jsonmodels.BlockMetadata
NewBlockMetadata returns BlockMetadata from the given tangleold.BlockMetadata.
func PostPayload ¶
PostPayload is the handler for the /blocks/payload endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.