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: 2 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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