types

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: ISC Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	BurnJaxNetReward = 1 << iota
	BurnJaxReward    = 1 << iota
)
View Source
const (
	JaxBurnAddr    = "1JAXNETJAXNETJAXNETJAXNETJAXW3bkUN"
	JaxBCHBurnAddr = "qqjaxnetjaxnetjaxnetjaxnetjaxnetju326ted65" // 14T1986qwbxxLRxekqBxC4PmdTCWHL7GpK
	JaxBurnAddrTy  = "jax-burn"
)

Variables

View Source
var RawBCHJaxBurnScript = []byte{
	0x76, 0xa9, 0x14, 0x25, 0xd3, 0x4f, 0x2b, 0x97,
	0x4d, 0x3c, 0xae, 0x5d, 0x34, 0xf2, 0xb9, 0x74,
	0xd3, 0xca, 0xe5, 0xd3, 0x4f, 0x2b, 0x97, 0x88, 0xac,
}
View Source
var RawJaxBurnScript = []byte{
	0x76, 0xa9, 0x14, 0xbc, 0x47, 0x3a, 0xf4, 0xc7,
	0x1c, 0x45, 0xd5, 0xaa, 0x32, 0x78, 0xad, 0xc9,
	0x97, 0x1, 0xde, 0xd3, 0x74, 0xa, 0x54, 0x88, 0xac,
}

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 chainhash provides abstracted hash functionality.
Package chainhash provides abstracted hash functionality.
Package jaxjson provides primitives for working with the bitcoin JSON-RPC API.
Package jaxjson provides primitives for working with the bitcoin JSON-RPC API.
nolint: gomnd
nolint: gomnd
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