check

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: MIT Imports: 8 Imported by: 11 modules, 15 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidSig = errors.New("invalid transaction v, r, s values")
)

Functions

This section is empty.

Types

type Check

type Check struct {
	Nonce    uint64
	DueBlock uint64
	Coin     types.CoinSymbol
	Value    *big.Int
	Lock     *big.Int
	V        *big.Int
	R        *big.Int
	S        *big.Int
}

func DecodeFromBytes

func DecodeFromBytes(buf []byte) (*Check, error)

func (*Check) Hash

func (check *Check) Hash() types.Hash

func (*Check) LockPubKey

func (check *Check) LockPubKey() ([]byte, error)

func (*Check) Sender

func (check *Check) Sender() (types.Address, error)

func (*Check) String

func (check *Check) String() string

Jump to

Keyboard shortcuts

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