Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDataBasic ¶
type MempoolTicketDetails ¶ added in v0.1.2
type MempoolTicketDetails struct { Height uint32 `json:"height"` Time int64 `json:"time"` Length uint32 `json:"length"` Total uint32 `json:"total"` Tickets TicketsDetails `json:"tickets"` }
type MempoolTicketFeeInfo ¶ added in v0.1.2
type MempoolTicketFeeInfo struct { Height uint32 `json:"height"` Time int64 `json:"time"` dcrjson.FeeInfoMempool LowestMineable float64 `json:"lowest_mineable"` }
type MempoolTicketFees ¶ added in v0.1.2
type StakeDiff ¶
type StakeDiff struct { dcrjson.GetStakeDifficultyResult Estimates dcrjson.EstimateStakeDiffResult `json:"estimates"` IdxBlockInWindow int `json:"window_block_index"` PriceWindowNum int `json:"window_number"` }
type StakeInfoExtended ¶
type StakeInfoExtended struct { Feeinfo dcrjson.FeeInfoBlock `json:"feeinfo"` StakeDiff float64 `json:"stakediff"` PriceWindowNum int `json:"window_number"` IdxBlockInWindow int `json:"window_block_index"` PoolInfo TicketPoolInfo `json:"ticket_pool"` }
type StakeInfoExtendedEstimates ¶
type StakeInfoExtendedEstimates struct { Feeinfo dcrjson.FeeInfoBlock `json:"feeinfo"` StakeDiff StakeDiff `json:"stakediff"` PriceWindowNum int `json:"window_number"` IdxBlockInWindow int `json:"window_block_index"` PoolInfo TicketPoolInfo `json:"ticket_pool"` }
type Status ¶
type Status struct { Ready bool `json:"ready"` DBHeight uint32 `json:"db_height"` Height uint32 `json:"node_height"` NodeConnections int64 `json:"node_connections"` APIVersion int `json:"api_version"` DcrdataVersion string `json:"dcrdata_version"` }
Status indicates the state of the server, including the API version and the software version.
type TicketDetails ¶ added in v0.1.2
type TicketPoolInfo ¶
type TicketPoolInfo struct { Size uint32 `json:"size"` Value float64 `json:"value"` ValAvg float64 `json:"valavg"` }
TicketPoolInfo models data about ticket pool
type TicketPoolValsAndSizes ¶ added in v0.1.2
type TicketsDetails ¶ added in v0.1.2
type TicketsDetails []*TicketDetails
Click to show internal directories.
Click to hide internal directories.