db

package
v0.0.0-...-ae43156 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(table string, min int, max int)

Cleanup Removes part of history from core database before import

func GetMaxLedger

func GetMaxLedger() *int

GetMaxLedger Returns absolute maximum ledger in database

Types

type Gap

type Gap struct {
	Start  int
	End    int
	Size   int
	Chunks int
	Tail   int
}

Gap Represents gap in database

func GetGaps

func GetGaps() (r []Gap)

GetGaps Returns gaps in current Stellar database

func NewGap

func NewGap(start int, finish int) Gap

NewGap Initializes new Gap

Jump to

Keyboard shortcuts

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