Documentation
¶
Index ¶
- func HexStringToTX(tx string) (*wire.MsgTx, error)
- func ReverseBytes(s []byte)
- type PayoutMap
- type PayoutMeta
- type StratumClientStatus
- type StratumStatus
- type UTXO
- type Window
- func (w *Window) Add(val float64)
- func (w *Window) Rate(interval time.Duration) float64
- func (w *Window) RateMinute() float64
- func (w *Window) RateSecond() float64
- func (w *Window) SampleRate(interval time.Duration) float64
- func (w *Window) SampleRateMinute() float64
- func (w *Window) SampleRateSecond() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReverseBytes ¶
func ReverseBytes(s []byte)
Types ¶
type PayoutMap ¶
type PayoutMap struct {
CreditIDs []int
UserID int
Address string
Amount int64
MinerFee int64
AddressObj btcutil.Address `json:"-"`
}
Contains information the
type PayoutMeta ¶
type PayoutMeta struct {
ChangeAddress string
PayoutMaps map[int]*PayoutMap `json:"payout_maps"`
Inputs []UTXO
}
A type we use to pass payout transaction metadata between ngweb and ngsigner
type StratumClientStatus ¶
type StratumStatus ¶
type StratumStatus struct {
Clients []StratumClientStatus `json:"clients"`
}
type UTXO ¶
Pass UTXO information (address mostly) to ngsigner for signing. Also for decoding from database
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func (*Window) RateMinute ¶
func (*Window) RateSecond ¶
func (*Window) SampleRateMinute ¶
func (*Window) SampleRateSecond ¶
Click to show internal directories.
Click to hide internal directories.