Documentation
¶
Index ¶
- func GetBlockPublisherBufferSize() int
- func GetConfigUpdatePublisherBufferSize() int
- func GetOLCollCacheEnabled() bool
- func GetOLCollCacheSize() int
- func GetOLCollExpirationCheckInterval() time.Duration
- func GetOLCollLevelDBPath() string
- func GetOLCollMaxPeersForRetrieval() int
- func GetOLCollPullTimeout() time.Duration
- func GetPvtDataCacheSize() int
- func GetRoles() string
- func GetTransientDataCacheSize() int
- func GetTransientDataExpiredIntervalTime() time.Duration
- func GetTransientDataLevelDBPath() string
- func GetTransientDataPullTimeout() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockPublisherBufferSize ¶
func GetBlockPublisherBufferSize() int
GetBlockPublisherBufferSize returns the size of the block publisher channel buffer for various block events
func GetConfigUpdatePublisherBufferSize ¶
func GetConfigUpdatePublisherBufferSize() int
GetConfigUpdatePublisherBufferSize returns the size of the config update publisher channel buffer for ledger config update events
func GetOLCollCacheEnabled ¶
func GetOLCollCacheEnabled() bool
GetOLCollCacheEnabled returns if off-ledger cache is enabled
func GetOLCollCacheSize ¶
func GetOLCollCacheSize() int
GetOLCollCacheSize returns the size of the off-ledger cache
func GetOLCollExpirationCheckInterval ¶
GetOLCollExpirationCheckInterval is time when the background routine checks expired collection data in db to cleanup.
func GetOLCollLevelDBPath ¶
func GetOLCollLevelDBPath() string
GetOLCollLevelDBPath returns the filesystem path that is used to maintain the off-ledger level db
func GetOLCollMaxPeersForRetrieval ¶
func GetOLCollMaxPeersForRetrieval() int
GetOLCollMaxPeersForRetrieval returns the number of peers that should be messaged to retrieve collection data that is not stored locally.
func GetOLCollPullTimeout ¶
GetOLCollPullTimeout is the amount of time a peer waits for a response from another peer for transient data.
func GetPvtDataCacheSize ¶
func GetPvtDataCacheSize() int
GetPvtDataCacheSize returns the number of pvt data per block to keep the in the cache
func GetRoles ¶
func GetRoles() string
GetRoles returns the roles of the peer. Empty return value indicates that the peer has all roles.
func GetTransientDataCacheSize ¶
func GetTransientDataCacheSize() int
GetTransientDataCacheSize returns the size of the transient data cache
func GetTransientDataExpiredIntervalTime ¶
GetTransientDataExpiredIntervalTime is time when background routine check expired transient data in db to cleanup.
func GetTransientDataLevelDBPath ¶
func GetTransientDataLevelDBPath() string
GetTransientDataLevelDBPath returns the filesystem path that is used to maintain the transient data level db
func GetTransientDataPullTimeout ¶
GetTransientDataPullTimeout is the amount of time a peer waits for a response from another peer for transient data.
Types ¶
This section is empty.