Documentation ¶
Index ¶
Constants ¶
View Source
const MAINNET_GNOMON_SCID = "a05395bb0cf77adc850928b0db00eb5ca7a9ccbafd9a38d021c8d299ad5ce1a4"
Gnomon Index SCID
View Source
const MAX_API_VAR_RETURN = 1024
Max API data return for limiting data / load. This is unused if --remove-api-throttle is defined or ApiThrottle is false for structures.ApiConfig
View Source
const TESTNET_GNOMON_SCID = "c9d23d2fc3aaa8e54e238a2218c0e5176a6e48780920fd8474fac5b0576110a2"
Variables ¶
View Source
var Hardcoded_SCIDS = []string{"0000000000000000000000000000000000000000000000000000000000000001"}
Hardcoded Smart Contracts of DERO Network TODO: Possibly in future we can pull this from derohe codebase
View Source
var Logger logrus.Logger
Global logger
View Source
var Version = semver.MustParse("2.0.0-alpha.1")
Major.Minor.Patch-Iteration
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { Enabled bool `json:"enabled"` Listen string `json:"listen"` StatsCollectInterval string `json:"statsCollectInterval"` HashrateWindow string `json:"hashrateWindow"` Payments int64 `json:"payments"` Blocks int64 `json:"blocks"` SSL bool `json:"ssl"` SSLListen string `json:"sslListen"` GetInfoSSLListen string `json:"getInfoSSLListen"` CertFile string `json:"certFile"` GetInfoCertFile string `json:"getInfoCertFile"` KeyFile string `json:"keyFile"` GetInfoKeyFile string `json:"getInfoKeyFile"` MBLLookup bool `json:"mbblookup"` ApiThrottle bool `json:"apithrottle"` }
type BurnTXParse ¶
type FastSyncImport ¶
type GetInfo ¶
type GetInfo rpc.GetInfo_Result
type GnomonSCIDQuery ¶
type JSONRpcReq ¶
type JSONRpcReq struct { Id *json.RawMessage `json:"id"` Method string `json:"method"` Params *json.RawMessage `json:"params"` }
type JSONRpcResp ¶
type JSONRpcResp struct { Id *json.RawMessage `json:"id"` Version string `json:"jsonrpc"` Result interface{} `json:"result"` Error interface{} `json:"error"` }
type NormalTXWithSCIDParse ¶
type SCIDInteractionHeight ¶
type SCIDVariable ¶
type SCIDVariable struct { Key interface{} Value interface{} }
Click to show internal directories.
Click to hide internal directories.