storage

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Unknown is the status of a transaction that is unknown
	Unknown = dbdriver.Unknown
	// Pending is the status of a transaction that has been submitted to the ledger
	Pending = dbdriver.Pending
	// Confirmed is the status of a transaction that has been confirmed by the ledger
	Confirmed = dbdriver.Confirmed
	// Deleted is the status of a transaction that has been deleted due to a failure to commit
	Deleted = dbdriver.Deleted
	// Orphan is the status of a transaction that never reached the ledger
	Orphan = dbdriver.Orphan
)

Variables

View Source
var (
	ErrNotSupported = errors.New("not supported")
)
View Source
var TxStatusMessage = dbdriver.TxStatusMessage

TxStatusMessage maps TxStatus to string

Functions

This section is empty.

Types

type IdentityConfiguration

type IdentityConfiguration = dbdriver.IdentityConfiguration

type IdentityStore

type IdentityStore = dbdriver.IdentityStore

type KeyStore

type KeyStore = dbdriver.KeyStore

type StatusEvent

type StatusEvent = common.StatusEvent

StatusEvent models an event related to the status of a transaction

type TokenRequestRecord

type TokenRequestRecord = dbdriver.TokenRequestRecord

type TransactionRecord

type TransactionRecord = dbdriver.TransactionRecord

TransactionRecord is a more finer-grained version of a movement record. Given a Token Transaction, for each token action in the Token Request, a transaction record is created for each unique enrollment ID found in the outputs. The transaction record contains the total amount of the token type that was transferred to/from that enrollment ID in that action.

type TransactionStoreTransaction

type TransactionStoreTransaction = dbdriver.TransactionStoreTransaction

type TxStatus

type TxStatus = dbdriver.TxStatus

TxStatus is the status of a transaction

type WalletID

type WalletID = dbdriver.WalletID

type WalletStore

type WalletStore = dbdriver.WalletStore

Directories

Path Synopsis
mock
Code generated by counterfeiter.
Code generated by counterfeiter.
db
common/mock
Code generated by counterfeiter.
Code generated by counterfeiter.
driver/mock
Code generated by counterfeiter.
Code generated by counterfeiter.
kvs
mock
Code generated by counterfeiter.
Code generated by counterfeiter.
cleanup/mock
Code generated by counterfeiter.
Code generated by counterfeiter.
recovery/mock
Code generated by counterfeiter.
Code generated by counterfeiter.
mock
Code generated by counterfeiter.
Code generated by counterfeiter.
mock
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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