light

package
v0.7.9-beta.r7.9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SLI_Inst = SLI{}
View Source
var SRI_Inst = SRI{}
View Source
var SSI_Inst = SSI{}

Functions

func GetOut

func GetOut(root *keys.Uint256, num uint64) (out *localdb.RootState)

func SignTx

func SignTx(sk *keys.Uint512, paramTx *light_types.GenTxParam) (tx light_types.GTx, err error)

Types

type SLI

type SLI struct {
}

func (*SLI) CreateKr

func (self *SLI) CreateKr() (kr light_types.Kr)

func (*SLI) DecOuts

func (self *SLI) DecOuts(outs []light_types.Out, skr *keys.PKr) (douts []light_types.DOut)

func (*SLI) GenTx

func (self *SLI) GenTx(param *light_types.GenTxParam) (gtx light_types.GTx, e error)

type SRI

type SRI struct {
}

func (*SRI) GetAnchor

func (self *SRI) GetAnchor(roots []keys.Uint256) (wits []light_types.Witness, e error)

func (*SRI) GetBlocksInfo

func (self *SRI) GetBlocksInfo(start uint64, count uint64) (blocks []light_types.Block, e error)

type SSI

type SSI struct {
}

func (*SSI) Detail

func (self *SSI) Detail(roots []keys.Uint256, skr *keys.PKr) (douts []light_types.DOut, e error)

func (*SSI) GenTx

func (self *SSI) GenTx(param *light_issi.GenTxParam) (hash keys.Uint256, e error)

func (*SSI) GetBlocksInfo

func (self *SSI) GetBlocksInfo(start uint64, count uint64) (blocks []light_issi.Block, e error)

func (*SSI) GetTx

func (self *SSI) GetTx(txhash keys.Uint256) (tx *light_types.GTx, e error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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