chains

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0, BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "Chains"

Variables

This section is empty.

Functions

func ActivateChain

func ActivateChain(chr *registry_pkg.ChainRecord) error

ActivateChain activates chain on the Wasp node: - creates chain object - insert it into the runtime registry - subscribes for related transactions in he IOTA node

func DeactivateChain

func DeactivateChain(chr *registry_pkg.ChainRecord) error

DeactivateChain deactivates chain in the node

func GetChain

func GetChain(chainID coretypes.ChainID) chain.Chain

GetChain returns active chain object or nil if it doesn't exist

func Init

func Init() *node.Plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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