tx

package
v0.0.0-...-7c1852d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

The tx package implements transactions for cryptocurrency.

Index

Constants

This section is empty.

Variables

View Source
var CoinMakerPk = pk1
View Source
var CoinMakerSk = sk1

Functions

This section is empty.

Types

type TxArray

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

func (*TxArray) AppendNewTx

func (txa *TxArray) AppendNewTx(
	senderName string,
	receiverName string,
	senderPk *ed25519.PublicKey,
	receiverPk *ed25519.PublicKey,
	senderSk *ed25519.PrivateKey,
	value int,
)

Add a new tx to txArray

func (*TxArray) PrintTxHistory

func (txa *TxArray) PrintTxHistory()

Jump to

Keyboard shortcuts

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