Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChainsListener ¶ added in v1.0.3
func NewChainsListener(parent chain.ChainListener, accessNodesCB func(chainID isc.ChainID, accessNodes []*cryptolib.PublicKey)) chain.ChainListener
Types ¶
type Chains ¶
type Chains struct {
// contains filtered or unexported fields
}
func New ¶
func New( log *logger.Logger, nodeConnection chain.NodeConnection, processorConfig *processors.Config, offledgerBroadcastUpToNPeers int, offledgerBroadcastInterval time.Duration, pullMissingRequestsFromCommittee bool, deriveAliasOutputByQuorum bool, pipeliningLimit int, consensusDelay time.Duration, networkProvider peering.NetworkProvider, trustedNetworkManager peering.TrustedNetworkManager, chainStateStoreProvider database.ChainStateKVStoreProvider, walEnabled bool, walFolderPath string, smBlockCacheMaxSize int, smBlockCacheBlocksInCacheDuration time.Duration, smBlockCacheBlockCleaningPeriod time.Duration, smStateManagerGetBlockRetry time.Duration, smStateManagerRequestCleaningPeriod time.Duration, smStateManagerTimerTickPeriod time.Duration, smPruningMinStatesToKeep int, smPruningMaxStatesToDelete int, chainRecordRegistryProvider registry.ChainRecordRegistryProvider, dkShareRegistryProvider registry.DKShareRegistryProvider, nodeIdentityProvider registry.NodeIdentityProvider, consensusStateRegistry cmt_log.ConsensusStateRegistry, chainListener chain.ChainListener, shutdownCoordinator *shutdown.Coordinator, chainMetricsProvider *metrics.ChainMetricsProvider, ) *Chains
func (*Chains) Deactivate ¶
Deactivate a chain in the node.
Click to show internal directories.
Click to hide internal directories.