types

package
v3.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteStatus

type DeleteStatus struct {
	LastPruned  string `codec:"last_pruned"`
	OldestRound uint64 `codec:"oldest_txn_round"`
}

DeleteStatus encodes pruned metastate.

type ImportState

type ImportState struct {
	NextRoundToAccount uint64 `codec:"next_account_round"`
}

ImportState encodes an import round counter.

type MigrationState

type MigrationState struct {
	NextMigration int `json:"next"`

	// The following are deprecated.
	NextRound    int64  `json:"round,omitempty"`
	NextAssetID  int64  `json:"assetid,omitempty"`
	PointerRound *int64 `json:"pointerRound,omitempty"`
	PointerIntra *int64 `json:"pointerIntra,omitempty"`
}

MigrationState is metadata used by the postgres migrations.

type NetworkState

type NetworkState struct {
	GenesisHash sdk.Digest `codec:"genesis-hash"`
}

NetworkState encodes network metastate.

Jump to

Keyboard shortcuts

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