poolapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: ISC, MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PurchaseInfo

type PurchaseInfo struct {
	PoolAddress     string  `json:"PoolAddress"`
	PoolFees        float64 `json:"PoolFees"`
	Script          string  `json:"Script"`
	TicketAddress   string  `json:"TicketAddress"`
	VoteBits        uint16  `json:"VoteBits"`
	VoteBitsVersion uint32  `json:"VoteBitsVersion"`
}

type Response

type Response struct {
	Status  string           `json:"status"`
	Message string           `json:"message"`
	Data    *json.RawMessage `json:"data,omitempty"`
}

type Stats

type Stats struct {
	AllMempoolTix        uint32  `json:"AllMempoolTix"`
	APIVersionsSupported []int   `json:"APIVersionsSupported"`
	BlockHeight          int64   `json:"BlockHeight"`
	Difficulty           float64 `json:"Difficulty"`
	Expired              uint32  `json:"Expired"`
	Immature             uint32  `json:"Immature"`
	Live                 uint32  `json:"Live"`
	Missed               uint32  `json:"Missed"`
	OwnMempoolTix        uint32  `json:"OwnMempoolTix"`
	PoolSize             uint32  `json:"PoolSize"`
	ProportionLive       float64 `json:"ProportionLive"`
	ProportionMissed     float64 `json:"ProportionMissed"`
	Revoked              uint32  `json:"Revoked"`
	TotalSubsidy         float64 `json:"TotalSubsidy"`
	Voted                uint32  `json:"Voted"`
	Network              string  `json:"Network"`
	PoolEmail            string  `json:"PoolEmail"`
	PoolFees             float64 `json:"PoolFees"`
	PoolStatus           string  `json:"PoolStatus"`
	UserCount            int64   `json:"UserCount"`
	UserCountActive      int64   `json:"UserCountActive"`
	Version              string  `json:"Version"`
}

Jump to

Keyboard shortcuts

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