stub

package
v0.0.0-...-bc1f52c Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transactions

type Transactions struct {
	Reward *big.Int
	// contains filtered or unexported fields
}

Transactions represent a transactions adapter.

func New

func New() *Transactions

func (*Transactions) CoinBaseTx

func (p *Transactions) CoinBaseTx([]byte) *blockchain.Transaction

func (*Transactions) FindUserBalance

func (p *Transactions) FindUserBalance([]byte) *big.Int

func (*Transactions) FindUserTokensReceived

func (p *Transactions) FindUserTokensReceived([]byte) *big.Int

func (*Transactions) FindUserTokensSend

func (p *Transactions) FindUserTokensSend([]byte) *big.Int

func (*Transactions) GetLastBlock

func (p *Transactions) GetLastBlock() ([]byte, *big.Int, error)

func (*Transactions) New

func (p *Transactions) New([]byte, []byte, *big.Int) (*blockchain.Transaction, error)

func (*Transactions) SendBlock

func (*Transactions) WriteBlock

func (p *Transactions) WriteBlock([]byte) (*blockchain.Block, error)

Jump to

Keyboard shortcuts

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