Documentation ¶
Index ¶
- type ChainProvider
- type Chains
- func (c *Chains) Activate(chr *registry.ChainRecord, registryProvider registry.Provider, ...) error
- func (c *Chains) ActivateAllFromRegistry(registryProvider registry.Provider, allMetrics *metrics.Metrics) error
- func (c *Chains) Attach(nodeConn *txstream.Client)
- func (c *Chains) Deactivate(chr *registry.ChainRecord) error
- func (c *Chains) Dismiss()
- func (c *Chains) Get(chainID *iscp.ChainID) chain.Chain
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chains ¶
type Chains struct {
// contains filtered or unexported fields
}
func New ¶
func New( log *logger.Logger, processorConfig *processors.Config, offledgerBroadcastUpToNPeers int, offledgerBroadcastInterval time.Duration, pullMissingRequestsFromCommittee bool, networkProvider peering.NetworkProvider, getOrCreateKVStore dbmanager.ChainKVStoreProvider, ) *Chains
func (*Chains) Activate ¶
func (c *Chains) Activate(chr *registry.ChainRecord, registryProvider registry.Provider, allMetrics *metrics.Metrics) error
Activate activates chain on the Wasp node: - creates chain object - insert it into the runtime registry - subscribes for related transactions in he IOTA node
func (*Chains) ActivateAllFromRegistry ¶
func (*Chains) Deactivate ¶
func (c *Chains) Deactivate(chr *registry.ChainRecord) error
Deactivate deactivates chain in the node
Click to show internal directories.
Click to hide internal directories.