Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CfgTipSelMaxDeltaMsgYoungestConeRootIndexToCMI is the maximum allowed delta // value for the YCRI of a given message in relation to the current CMI before it gets lazy. CfgTipSelMaxDeltaMsgYoungestConeRootIndexToCMI = "tipsel.maxDeltaMsgYoungestConeRootIndexToCMI" // CfgTipSelMaxDeltaMsgOldestConeRootIndexToCMI is the maximum allowed delta // value between OCRI of a given message in relation to the current CMI before it gets semi-lazy. CfgTipSelMaxDeltaMsgOldestConeRootIndexToCMI = "tipsel.maxDeltaMsgOldestConeRootIndexToCMI" // CfgTipSelBelowMaxDepth is the maximum allowed delta // value between OCRI of a given message in relation to the current CMI before it gets lazy. CfgTipSelBelowMaxDepth = "tipsel.belowMaxDepth" // the config group used for the non-lazy tip-pool CfgTipSelNonLazy = "tipsel.nonLazy." // the config group used for the semi-lazy tip-pool CfgTipSelSemiLazy = "tipsel.semiLazy." // CfgTipSelRetentionRulesTipsLimit is the maximum amount of current tips for which "CfgTipSelMaxReferencedTipAge" // and "CfgTipSelMaxChildren" are checked. if the amount of tips exceeds this limit, // referenced tips get removed directly to reduce the amount of tips in the network. CfgTipSelRetentionRulesTipsLimit = "retentionRulesTipsLimit" // CfgTipSelMaxReferencedTipAge is the maximum time a tip remains in the tip pool // after it was referenced by the first message. CfgTipSelMaxReferencedTipAge = "maxReferencedTipAge" // CfgTipSelMaxChildren is the maximum amount of references by other messages // before the tip is removed from the tip pool. CfgTipSelMaxChildren = "maxChildren" // CfgTipSelSpammerTipsThreshold is the maximum amount of tips in a tip-pool before the spammer tries to reduce these (0 = disable (semi-lazy), 0 = always (non-lazy)) // this is used to support the network if someone attacks the tangle by spamming a lot of tips CfgTipSelSpammerTipsThreshold = "spammerTipsThreshold" )
Variables ¶
View Source
var (
Plugin *node.Plugin
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.