addr

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTopics

func GetTopics() []db.Object

func ListenAddrSeenTxs

func ListenAddrSeenTxs(ctx context.Context, addrs [][25]byte) (chan *SeenTx, error)

Types

type SeenTx

type SeenTx struct {
	Addr   [25]byte
	Seen   time.Time
	TxHash [32]byte
}

func GetSeenTxs

func GetSeenTxs(ctx context.Context, addr [25]byte, start []byte) ([]*SeenTx, error)

func (*SeenTx) Deserialize

func (i *SeenTx) Deserialize([]byte)

func (*SeenTx) GetShardSource

func (i *SeenTx) GetShardSource() uint

func (*SeenTx) GetTopic

func (i *SeenTx) GetTopic() string

func (*SeenTx) GetUid

func (i *SeenTx) GetUid() []byte

func (*SeenTx) Serialize

func (i *SeenTx) Serialize() []byte

func (*SeenTx) SetUid

func (i *SeenTx) SetUid(uid []byte)

Jump to

Keyboard shortcuts

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