Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SolidEntryPointCheckAdditionalThresholdPast is the additional past cone (to BMD) that is walked to calculate the solid entry points SolidEntryPointCheckAdditionalThresholdPast = 5 // SolidEntryPointCheckAdditionalThresholdFuture is the additional future cone (to BMD) that is needed to calculate solid entry points correctly SolidEntryPointCheckAdditionalThresholdFuture = 5 // AdditionalPruningThreshold is the additional threshold (to BMD), which is needed, because the messages in the getMilestoneParents call in getSolidEntryPoints // can reference older messages as well AdditionalPruningThreshold = 5 )
View Source
const ( // the depth, respectively the starting point, at which a snapshot of the ledger is generated CfgSnapshotsDepth = "snapshots.depth" // interval, in milestones, at which snapshot files are created (snapshots are only created if the node is synced) CfgSnapshotsInterval = "snapshots.interval" // path to the full snapshot file CfgSnapshotsFullPath = "snapshots.fullPath" // path to the delta snapshot file CfgSnapshotsDeltaPath = "snapshots.deltaPath" // create a full snapshot if the size of a delta snapshot reaches a certain percentage of the full snapshot // (0.0 = always create delta snapshot to keep ms diff history) CfgSnapshotsDeltaSizeThresholdPercentage = "snapshots.deltaSizeThresholdPercentage" // URLs to load the snapshot files from. CfgSnapshotsDownloadURLs = "snapshots.downloadURLs" // whether to delete old message data from the database based on maximum milestones to keep CfgPruningMilestonesEnabled = "pruning.milestones.enabled" // maximum amount of milestone cones to keep in the database CfgPruningMilestonesMaxMilestonesToKeep = "pruning.milestones.maxMilestonesToKeep" // whether to delete old message data from the database based on maximum database size CfgPruningSizeEnabled = "pruning.size.enabled" // target size of the database CfgPruningSizeTargetSize = "pruning.size.targetSize" // the percentage the database size gets reduced if the target size is reached CfgPruningSizeThresholdPercentage = "pruning.size.thresholdPercentage" // cooldown time between two pruning by database size events CfgPruningSizeCooldownTime = "pruning.size.cooldownTime" // whether to delete old receipts data from the database CfgPruningPruneReceipts = "pruning.pruneReceipts" )
View Source
const (
// force loading of a snapshot, even if a database already exists
CfgSnapshotsForceLoadingSnapshot = "forceLoadingSnapshot"
)
Variables ¶
View Source
var (
CorePlugin *node.CorePlugin
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.