Documentation ¶
Index ¶
Constants ¶
View Source
const ( BlockTime = 60 * 2 TransactionUnlockTime = 10 MinerRewardUnlockTime = 60 TailEmissionReward = 600000000000 RequiredMajor = 3 RequiredMinor = 10 RequiredMoneroVersion = (RequiredMajor << 16) | RequiredMinor RequiredMoneroString = "v0.18.0.0" )
View Source
const ( MainNetwork = 18 TestNetwork = 53 StageNetwork = 24 SubAddressMainNetwork = 42 SubAddressTestNetwork = 63 SubAddressStageNetwork = 36 IntegratedMainNetwork = 19 IntegratedTestNetwork = 54 IntegratedStageNetwork = 25 )
View Source
const ( HardForkViewTagsVersion = 15 HardForkSupportedVersion = 16 )
Variables ¶
This section is empty.
Functions ¶
func NetworkMajorVersion ¶
Types ¶
type HardFork ¶
type HardFork struct { // Version Numeric epoch of the version Version uint8 `json:"version"` // Time Block height at which the hardfork occurs (Monero) Height uint64 `json:"height"` // Threshold Not used currently Threshold uint8 `json:"threshold"` // Time Unix timestamp at which the hardfork occurs (p2pool), or when it happened (Monero) Time uint64 `json:"time"` }
func NetworkHardFork ¶
Directories ¶
Path | Synopsis |
---|---|
rpc
Package rpc provides a client that's able to communicate with a `monerod` daemon via its RPC interfaces.
|
Package rpc provides a client that's able to communicate with a `monerod` daemon via its RPC interfaces. |
rpc/daemon
Package daemon provides a client that encapsulates RPC methods and endpoints that can be hit in a daemon.
|
Package daemon provides a client that encapsulates RPC methods and endpoints that can be hit in a daemon. |
Click to show internal directories.
Click to hide internal directories.