database

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatsKey = "stats"

	AddressesKey = "addresses"

	CoinCreatorsKey = "coincreators"

	AddressKeyPrefix      = "a:"
	CoinOutputKeyPrefix   = "c:"
	ThreeBotKeyPrefix     = "b:"
	ERC20AddressKeyPrefix = "e:"
)

Root Keys used for public Database values

Variables

This section is empty.

Functions

func GetAddressKeyAndField

func GetAddressKeyAndField(uh types.UnlockHash) (key, field string)

GetAddressKeyAndField gets the key and field hash for an unlock hash.

func GetCoinOutputKeyAndField

func GetCoinOutputKeyAndField(id types.CoinOutputID) (key, field string)

GetCoinOutputKeyAndField gets the key and field hash for a coin output ID.

func GetERC20AddressKeyAndField

func GetERC20AddressKeyAndField(addr types.ERC20Address) (string, string)

GetERC20AddressKeyAndField gets the key and field hash for an ERC20 Address.

func GetThreeBotKeyAndField

func GetThreeBotKeyAndField(id types.BotID) (string, string)

GetThreeBotKeyAndField gets the key and field hash for a 3Bot (record) ID.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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