shared

package
v0.2.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigIntToInt64

func BigIntToInt64(value *big.Int) int64

func BigIntToString

func BigIntToString(value *big.Int) string

func ConvertToRad

func ConvertToRad(value string) string

func ConvertToRay

func ConvertToRay(value string) string

func ConvertToWad

func ConvertToWad(value string) string

func GetDataBytesAtIndex

func GetDataBytesAtIndex(n int, logData []byte) []byte

TODO: Remove once transformers have been updated to use GetUpdatedLogNoteDataBytesAtIndex

func GetHexWithoutPrefix

func GetHexWithoutPrefix(raw []byte) string

func GetOrCreateIlk

func GetOrCreateIlk(ilk string, db *postgres.DB) (int, error)

func GetOrCreateIlkInTransaction

func GetOrCreateIlkInTransaction(ilk string, tx *sqlx.Tx) (int, error)

func GetOrCreateUrn added in v0.2.2

func GetOrCreateUrn(guy string, ilkID int, db *postgres.DB) (int, error)

func GetOrCreateUrnInTransaction added in v0.2.2

func GetOrCreateUrnInTransaction(guy string, ilkID int, tx *sqlx.Tx) (int, error)

func GetTicInTx

func GetTicInTx(headerID int64, tx *sqlx.Tx) (int64, error)

func GetUpdatedLogNoteDataBytesAtIndex added in v0.2.2

func GetUpdatedLogNoteDataBytesAtIndex(n int, logData []byte) []byte

func MinInt64

func MinInt64(ints []int64) (min int64)

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