Documentation
¶
Overview ¶
statemgr package implements object which is responsible for the smart contract ledger state to be synchronized and validated
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(store kvstore.KVStore, c chain.ChainCore, peers peering.PeerDomainProvider, nodeconn chain.NodeConnection, timersOpt ...StateManagerTimers) chain.StateManager
Types ¶
type StateManagerTimers ¶ added in v0.2.0
type StateManagerTimers struct {
// period of state pull retry
PullStateRetry time.Duration
// how long delay state pull after state candidate received
PullStateAfterStateCandidateDelay time.Duration
GetBlockRetry time.Duration
}
func NewStateManagerTimers ¶ added in v0.2.0
func NewStateManagerTimers() StateManagerTimers
Click to show internal directories.
Click to hide internal directories.