Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHeadersDB = errs.Class("HeadersDB")
ErrHeadersDB indicates about internal headers DB error.
View Source
var ErrPriceQuoteDB = errs.Class("PriceQuoteDB")
ErrPriceQuoteDB indicates about internal headers DB error.
View Source
var ErrWalletsDB = errs.Class("WalletsDB")
ErrWalletsDB indicates about internal wallets DB error.
View Source
var ( // Error is the default storjscandb errs class. Error = errs.Class("storjscandb") )
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is storjscan database.
func (*DB) Headers ¶
func (db *DB) Headers() blockchain.HeadersDB
Headers creates new headersDB with current DB connection.
func (*DB) MigrateToLatest ¶
MigrateToLatest migrates db to the latest version.
func (*DB) PostgresMigration ¶
PostgresMigration returns steps needed for migrating postgres database.
func (*DB) TokenPrice ¶
func (db *DB) TokenPrice() tokenprice.PriceQuoteDB
TokenPrice creates new PriceQuoteDB with current DB connection.
Click to show internal directories.
Click to hide internal directories.