defaults

package
v0.0.0-...-bc7c564 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VersionMajor uint16 = 0
	VersionMinor uint16 = 1
)
View Source
const (
	NetId                   uint32        = 0x5891E4FF
	BootstrapNodes          string        = "" /* 288-byte string literal not displayed */
	P2PBindAddress          string        = "0.0.0.0"
	P2PPort                 uint16        = 4004
	RPCBindHost             string        = "127.0.0.1"
	RPCPort                 uint16        = 4003
	TimeoutConnect          time.Duration = time.Duration(10) * time.Second
	TimeoutRequest          time.Duration = time.Duration(60) * time.Second
	MaxAltChainLength       uint32        = 100
	MaxIncoming             uint32        = 100
	MaxOutgoing             uint32        = 10
	MaxBlockTimeOffset      uint32        = 15
	MaxPayloadLength        int           = 255
	NetworkBlocksPerRequest uint32        = 500
	ReconnectionDelayMax    uint32        = 30
)
View Source
const (
	GenesisReward        uint64 = 500000
	MinReward            uint64 = 10000
	RewardDecreaseBlocks uint32 = 420480
)
View Source
const (
	MinTarget        uint32 = 0x24000000
	MinTargetBits    uint   = uint(MinTarget >> 24)
	DifficultyBlocks uint32 = 10
)
View Source
const (
	AccountsPerBlock uint32 = 5
	MaturationHeight uint32 = 100
)

Variables

View Source
var GenesisPow = []byte{0x00, 0x00, 0x00, 0x00, 0x0E, 0xAE, 0x7A, 0x91, 0xB7, 0x48, 0xC7, 0x35, 0xA5, 0x33, 0x8A, 0x11, 0x71, 0x5D, 0x81, 0x51, 0x01, 0xE0, 0xC0, 0x75, 0xF7, 0xC6, 0x0F, 0xA5, 0x2B, 0x76, 0x9E, 0xC7}
View Source
var GenesisSafeBox = sha256.Sum256([]byte("February 1 2017 - CNN - Trump puts on a flawless show in picking Gorsuch for Supreme Court "))
View Source
var UserAgent = fmt.Sprintf("PASL v%d.%d", VersionMajor, VersionMinor)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL