light_issi

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Num  hexutil.Uint64
	Hash keys.Uint256
	Outs []Out
	Nils []keys.Uint256
}

type GIn

type GIn struct {
	SKr  keys.PKr
	Root keys.Uint256
}

type GenTxParam

type GenTxParam struct {
	Gas      uint64
	GasPrice uint64
	From     light_types.Kr
	Ins      []GIn
	Outs     []light_types.GOut
}

type ISSI

type ISSI interface {
	GetBlocksInfo(start uint64, count uint64) ([]Block, error)
	Detail(root []keys.Uint256, skr *keys.PKr) ([]light_types.DOut, error)
	//GenTx(param *GenTxParam) (keys.Uint256, error)
	GenTx(param *GenTxParam) (keys.Uint256, error)
	CommitTx(txhash *keys.Uint256) error
}

type Out

type Out struct {
	Root keys.Uint256
	Hash keys.Uint256
	PKr  keys.PKr
}

Jump to

Keyboard shortcuts

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