Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ActiveParams = MainNet MainNet = ClaimTrieParams{ MaxActiveDelay: 4032, ActiveDelayFactor: 32, MaxNodeManagerCacheSize: 32000, OriginalClaimExpirationTime: 262974, ExtendedClaimExpirationTime: 2102400, ExtendedClaimExpirationForkHeight: 400155, MaxRemovalWorkaroundHeight: 658300, NormalizedNameForkHeight: 539940, AllClaimsInMerkleForkHeight: 658309, } TestNet = ClaimTrieParams{ MaxActiveDelay: 4032, ActiveDelayFactor: 32, MaxNodeManagerCacheSize: 32000, OriginalClaimExpirationTime: 262974, ExtendedClaimExpirationTime: 2102400, ExtendedClaimExpirationForkHeight: 278160, MaxRemovalWorkaroundHeight: 1, NormalizedNameForkHeight: 993380, AllClaimsInMerkleForkHeight: 1198559, } Regtest = ClaimTrieParams{ MaxActiveDelay: 4032, ActiveDelayFactor: 32, MaxNodeManagerCacheSize: 32000, OriginalClaimExpirationTime: 500, ExtendedClaimExpirationTime: 600, ExtendedClaimExpirationForkHeight: 800, MaxRemovalWorkaroundHeight: -1, NormalizedNameForkHeight: 250, AllClaimsInMerkleForkHeight: 349, } )
View Source
var DelayWorkarounds = generateDelayWorkarounds() // called "removal workarounds" in previous versions
View Source
var TakeoverWorkarounds = generateTakeoverWorkarounds()
Functions ¶
func SetNetwork ¶
func SetNetwork(net wire.BitcoinNet)
Types ¶
type ClaimTrieParams ¶
type ClaimTrieParams struct { MaxActiveDelay int32 ActiveDelayFactor int32 MaxNodeManagerCacheSize int OriginalClaimExpirationTime int32 ExtendedClaimExpirationTime int32 ExtendedClaimExpirationForkHeight int32 MaxRemovalWorkaroundHeight int32 NormalizedNameForkHeight int32 AllClaimsInMerkleForkHeight int32 }
Click to show internal directories.
Click to hide internal directories.