cellprovider

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IndexerSearchKeyHashLenParam = [2]uint64{32, 33}

Functions

func IsEmptyErr

func IsEmptyErr(err error) bool

Types

type EmptyErr

type EmptyErr error

func NewEmptyErr

func NewEmptyErr(cellName string) EmptyErr

type LiveCellPackObj

type LiveCellPackObj struct {
	LiveCell    *indexer.LiveCell
	Obj         interface{}
	CellCap     uint64
	WitnessData []byte
}

func LoadOneHeightCell

func LoadOneHeightCell(rpcClient rpc.Client) (*LiveCellPackObj, error)

func LoadOneQuoteCell

func LoadOneQuoteCell(rpcClient rpc.Client) (*LiveCellPackObj, error)

func LoadOneTimeCell

func LoadOneTimeCell(rpcClient rpc.Client) (*LiveCellPackObj, error)

func (*LiveCellPackObj) LatestBlockHeight

func (l *LiveCellPackObj) LatestBlockHeight() (int64, error)

func (*LiveCellPackObj) LatestTimeUnix

func (l *LiveCellPackObj) LatestTimeUnix() (int64, error)

func (*LiveCellPackObj) ToAccountCell

func (l *LiveCellPackObj) ToAccountCell() (*gotype.AccountCell, error)

func (*LiveCellPackObj) ToHeightCellDep

func (l *LiveCellPackObj) ToHeightCellDep() *types.CellDep

*

  • Copyright (C), 2019-2021
  • FileName: time_cell
  • Author: LinGuanHong
  • Date: 2021/3/05 16:52
  • Description:

func (*LiveCellPackObj) ToQuoteCell

func (l *LiveCellPackObj) ToQuoteCell() *gotype.QuoteCell

func (*LiveCellPackObj) ToTimeCellDep

func (l *LiveCellPackObj) ToTimeCellDep() *types.CellDep

*

  • Copyright (C), 2019-2021
  • FileName: time_cell
  • Author: LinGuanHong
  • Date: 2021/2/25 10:52 上午
  • Description:

func (*LiveCellPackObj) TxHash

func (l *LiveCellPackObj) TxHash() types.Hash

func (*LiveCellPackObj) TxHashStr

func (l *LiveCellPackObj) TxHashStr() string

func (*LiveCellPackObj) TypeInputCell

func (l *LiveCellPackObj) TypeInputCell(lockScriptType celltype.LockScriptType) *celltype.TypeInputCell

Jump to

Keyboard shortcuts

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