data

package
v0.0.0-...-4a59439 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(connectionString string) (conn net.Conn, err error)

func RefreshState

func RefreshState()

func RemoveRootFromDB

func RemoveRootFromDB()

func Return14Hours

func Return14Hours() []utilities.Serie

func ReturnAllAccTx

func ReturnAllAccTx(UrlHash string) []utilities.Acctx

func ReturnAllAggTx

func ReturnAllAggTx(UrlHash string) []utilities.Aggtx

func ReturnAllBlocks

func ReturnAllBlocks(UrlHash string) []utilities.Block

func ReturnAllConfigTx

func ReturnAllConfigTx(UrlHash string) []utilities.Configtx

func ReturnAllFundsTx

func ReturnAllFundsTx(UrlHash string) []utilities.Fundstx

func ReturnAllStakeTx

func ReturnAllStakeTx(UrlHash string) []utilities.Staketx

func ReturnAllUpdateTx

func ReturnAllUpdateTx(UrlHash string) []utilities.Updatetx

func ReturnBlocksAndTransactions

func ReturnBlocksAndTransactions(UrlHash string) utilities.Blocksandtx

func ReturnNewestParameters

func ReturnNewestParameters() utilities.Systemparams

func ReturnOneAccTx

func ReturnOneAccTx(UrlHash string) utilities.Acctx

func ReturnOneAccount

func ReturnOneAccount(UrlHash string) utilities.Accountwithtxs

func ReturnOneAggTx

func ReturnOneAggTx(UrlHash string) utilities.Aggtx

func ReturnOneBlock

func ReturnOneBlock(UrlHash string) utilities.Block

func ReturnOneConfigTx

func ReturnOneConfigTx(UrlHash string) utilities.Configtx

func ReturnOneFundsTx

func ReturnOneFundsTx(UrlHash string) utilities.Fundstx

func ReturnOneStakeTx

func ReturnOneStakeTx(UrlHash string) utilities.Staketx

func ReturnOneUpdateTx

func ReturnOneUpdateTx(UrlHash string) utilities.Updatetx

func ReturnTopAccounts

func ReturnTopAccounts(UrlHash string) []utilities.Account

func ReturnTotals

func ReturnTotals() utilities.Stats

func RunDB

func RunDB()

func SaveBlockAndTransactions

func SaveBlockAndTransactions(oneBlock *protocol.Block)

func SetupDB

func SetupDB(username string, userpassword string)

func UpdateAccountData

func UpdateAccountData(tx utilities.Fundstx)

func UpdateAccountIsStaking

func UpdateAccountIsStaking(tx utilities.Staketx)

func UpdateTotals

func UpdateTotals()

func UpdateTxToUpdate

func UpdateTxToUpdate(tx utilities.Updatetx)

func WriteAccTx

func WriteAccTx(tx utilities.Acctx)

func WriteAccountWithAddress

func WriteAccountWithAddress(tx utilities.Acctx, accountHash string)

func WriteAggTx

func WriteAggTx(tx utilities.Aggtx)

func WriteBlock

func WriteBlock(block utilities.Block)

func WriteConfigTx

func WriteConfigTx(tx utilities.Configtx)

func WriteFundsTx

func WriteFundsTx(tx utilities.Fundstx)

func WriteParameters

func WriteParameters(parameters utilities.Systemparams)

func WriteStakeTx

func WriteStakeTx(tx utilities.Staketx)

func WriteUpdateTx

func WriteUpdateTx(tx utilities.Updatetx)

Types

This section is empty.

Jump to

Keyboard shortcuts

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