types

package
v0.4.1-rc7 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: ISC Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	BurnJaxNetReward = 1 << iota
	BurnJaxReward    = 1 << iota
)
View Source
const (
	JaxBurnAddr   = "1JAXNETJAXNETJAXNETJAXNETJAXW3bkUN"
	JaxBurnAddrTy = "jax-burn"
)

Variables

View Source
var RawJaxBurnAddr = []byte{188, 71, 58, 244, 199, 28, 69, 213, 170, 50, 120, 173, 201, 151, 1, 222, 211, 116, 10, 84}

Functions

This section is empty.

Types

type TimeSorter

type TimeSorter []int64

TimeSorter implements sort.Interface to allow a slice of timestamps to be sorted.

func (TimeSorter) Len

func (s TimeSorter) Len() int

Len returns the number of timestamps in the slice. It is part of the sort.Interface implementation.

func (TimeSorter) Less

func (s TimeSorter) Less(i, j int) bool

Less returns whether the timstamp with index i should sort before the timestamp with index j. It is part of the sort.Interface implementation.

func (TimeSorter) Swap

func (s TimeSorter) Swap(i, j int)

Swap swaps the timestamps at the passed indices. It is part of the sort.Interface implementation.

Directories

Path Synopsis
Package chaincfg defines chain configuration parameters.
Package chaincfg defines chain configuration parameters.
Package jaxjson provides primitives for working with the bitcoin JSON-RPC API.
Package jaxjson provides primitives for working with the bitcoin JSON-RPC API.
Package wire implements the bitcoin wire protocol.
Package wire implements the bitcoin wire protocol.

Jump to

Keyboard shortcuts

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