rec

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2018 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Address [20]byte
	Pub     [33]byte
}

Account is an address and public key of a counterparty account

type Accounting

type Accounting struct {
	Sequence     int64
	Account      [20]byte
	CreditDebit  int64
	Timestamp    int64
	OtherAccount [20]byte
	Comment      string
	OrderPos     int64
	EntryNo      int64
	Extra        []byte
}

Accounting is an entry regarding internal movements of funds

type BestBlock

type BestBlock struct {
	ID   [32]byte
	Data []byte
}

BestBlock is the latest block at the time the wallet was last open

type CreditDebit

type CreditDebit struct {
	Address [20]byte
	Amount  int64
}

CreditDebit is an increase or decrease to the balance in the wallet

type DefaultKey

type DefaultKey struct {
	Address [20]byte
}

DefaultKey sets the default key for receiving payments to use in interfaces

type Key

type Key struct {
	Address [20]byte
	Priv    [32]byte
	Pub     [33]byte
}

Key is a key pair controlled by the user

type MasterKey

type MasterKey struct {
	Crypt      []byte
	IV         [12]byte
	Iterations int64
}

MasterKey is the password-encrypted store for the symmetric ciphertext that seecures a wallet database

type MinVersion

type MinVersion struct {
	Number int64
}

MinVersion stores the minimum version number required to support the wallet

type Name

type Name struct {
	Address [20]byte
	Label   string
}

Name is a human readable string label for an address

type Pool

type Pool struct {
	Seq int64
	Key
	Created int64
	Expires int64
}

Pool is a wallet key pair that has not yet been put to use

type Script

type Script struct {
	ID   [20]byte
	Data []byte
}

Script is a script stored in the wallet database

type Seed

type Seed struct {
	Secret [32]byte
}

Seed is a 'hierarchic deterministic' wallet seed that can spawn many subkeys

type Setting

type Setting struct {
	Name  string
	Value []byte
}

Setting is a configuration that can be used by wallet implementations

type Tx

type Tx struct {
	ID                    [32]byte
	Data                  []byte
	Prev                  proto.MerkleTx
	TimeRecvIsTxTime      int64
	TimeRecv              int64
	FromMe                bool
	FromAccount           [20]byte
	Spent                 []byte
	OrderPos              int64
	DebitCached           bool
	CreditCached          bool
	ImmatureCreditCached  bool
	AvailableCreditCached bool
	ChangeCached          bool
}

Tx is a transaction connected to an address in the wallet

Jump to

Keyboard shortcuts

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