factoid

package
v0.0.0-...-349195c Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	// contains filtered or unexported fields
}

func (*Transaction) Bytes

func (t *Transaction) Bytes() (data []byte)

func (*Transaction) Extract

func (t *Transaction) Extract(data []byte) []byte

func (*Transaction) GetHash

func (t *Transaction) GetHash() (h types.Hash)

func (*Transaction) GetSignature

func (t *Transaction) GetSignature() types.Signature

func (*Transaction) New

func (w *Transaction) New() *Transaction

func (*Transaction) SigBytes

func (t *Transaction) SigBytes() (data []byte)

func (*Transaction) Sign

func (t *Transaction) Sign(p types.PrivateKey)

func (*Transaction) ValidateSig

func (t *Transaction) ValidateSig() bool

type Wallet

type Wallet struct {
	CurrentSeed [32]byte
	MyKeys      map[types.Address]walletEntry
}

func NewWallet

func NewWallet(seed []byte) *Wallet

func (*Wallet) GetPrivateKey

func (w *Wallet) GetPrivateKey(address types.Address) types.PrivateKey

func (*Wallet) NewAddress

func (w *Wallet) NewAddress() types.Address

Jump to

Keyboard shortcuts

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