block

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block interface {
	Hash() types.Bytes
	Confirmations() int
	Height() int
	Transactions() []types.Bytes
	Time() types.UnixTime
	PreviousBlockHash() types.Bytes
	NextBlockHash() types.Bytes
}

type BlockBCH

type BlockBCH struct {
	// contains filtered or unexported fields
}

func (*BlockBCH) Confirmations

func (blk *BlockBCH) Confirmations() int

func (*BlockBCH) Hash

func (blk *BlockBCH) Hash() types.Bytes

func (*BlockBCH) Height

func (blk *BlockBCH) Height() int

func (*BlockBCH) NextBlockHash

func (blk *BlockBCH) NextBlockHash() types.Bytes

func (*BlockBCH) PreviousBlockHash

func (blk *BlockBCH) PreviousBlockHash() types.Bytes

func (*BlockBCH) Time

func (blk *BlockBCH) Time() types.UnixTime

func (*BlockBCH) Transactions

func (blk *BlockBCH) Transactions() []types.Bytes

func (*BlockBCH) UnmarshalJSON

func (blk *BlockBCH) UnmarshalJSON(b []byte) error

type BlockBTC

type BlockBTC struct {
	// contains filtered or unexported fields
}

func (*BlockBTC) Confirmations

func (blk *BlockBTC) Confirmations() int

func (*BlockBTC) Hash

func (blk *BlockBTC) Hash() types.Bytes

func (*BlockBTC) Height

func (blk *BlockBTC) Height() int

func (*BlockBTC) NextBlockHash

func (blk *BlockBTC) NextBlockHash() types.Bytes

func (*BlockBTC) PreviousBlockHash

func (blk *BlockBTC) PreviousBlockHash() types.Bytes

func (*BlockBTC) Time

func (blk *BlockBTC) Time() types.UnixTime

func (*BlockBTC) Transactions

func (blk *BlockBTC) Transactions() []types.Bytes

func (*BlockBTC) UnmarshalJSON

func (blk *BlockBTC) UnmarshalJSON(b []byte) error

type BlockDCR

type BlockDCR struct {
	// contains filtered or unexported fields
}

func (*BlockDCR) Confirmations

func (blk *BlockDCR) Confirmations() int

func (*BlockDCR) Hash

func (blk *BlockDCR) Hash() types.Bytes

func (*BlockDCR) Height

func (blk *BlockDCR) Height() int

func (*BlockDCR) NextBlockHash

func (blk *BlockDCR) NextBlockHash() types.Bytes

func (*BlockDCR) PreviousBlockHash

func (blk *BlockDCR) PreviousBlockHash() types.Bytes

func (*BlockDCR) Time

func (blk *BlockDCR) Time() types.UnixTime

func (*BlockDCR) Transactions

func (blk *BlockDCR) Transactions() []types.Bytes

func (*BlockDCR) UnmarshalJSON

func (blk *BlockDCR) UnmarshalJSON(b []byte) error

type BlockDOGE

type BlockDOGE struct {
	// contains filtered or unexported fields
}

func (*BlockDOGE) Confirmations

func (blk *BlockDOGE) Confirmations() int

func (*BlockDOGE) Hash

func (blk *BlockDOGE) Hash() types.Bytes

func (*BlockDOGE) Height

func (blk *BlockDOGE) Height() int

func (*BlockDOGE) NextBlockHash

func (blk *BlockDOGE) NextBlockHash() types.Bytes

func (*BlockDOGE) PreviousBlockHash

func (blk *BlockDOGE) PreviousBlockHash() types.Bytes

func (*BlockDOGE) Time

func (blk *BlockDOGE) Time() types.UnixTime

func (*BlockDOGE) Transactions

func (blk *BlockDOGE) Transactions() []types.Bytes

func (*BlockDOGE) UnmarshalJSON

func (blk *BlockDOGE) UnmarshalJSON(b []byte) error

type BlockLTC

type BlockLTC struct {
	// contains filtered or unexported fields
}

func (*BlockLTC) Confirmations

func (blk *BlockLTC) Confirmations() int

func (*BlockLTC) Hash

func (blk *BlockLTC) Hash() types.Bytes

func (*BlockLTC) Height

func (blk *BlockLTC) Height() int

func (*BlockLTC) NextBlockHash

func (blk *BlockLTC) NextBlockHash() types.Bytes

func (*BlockLTC) PreviousBlockHash

func (blk *BlockLTC) PreviousBlockHash() types.Bytes

func (*BlockLTC) Time

func (blk *BlockLTC) Time() types.UnixTime

func (*BlockLTC) Transactions

func (blk *BlockLTC) Transactions() []types.Bytes

func (*BlockLTC) UnmarshalJSON

func (blk *BlockLTC) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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