Documentation
¶
Index ¶
- func BTCValueToUSD(satsValue *types.BigInt) float64
- func BlockHeightString(height int64) string
- func FormatNumber(number string) string
- func FutureBlock(height int64, lastBlock int64) types.Block
- func GitCommit() string
- func HexToASCII(hexstring string) string
- func Int64ToBTC(sats int64) *types.BigInt
- func IsScriptInBurnScripts(script string, burnScripts []types.BurnScript) bool
- func IsScriptInNotes(script string, noteList []notes.Note) bool
- func NoEscapeHTML(str string) template.HTML
- func PrettyDuration(t time.Time, significantPlaces int) string
- func PrettyPrintJSON(data interface{}) (string, error)
- func RevaluePriceWithAdjustedSupply(expectedSupply, circulatingSupply *types.BigInt, currentPrice float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BTCValueToUSD ¶
func BlockHeightString ¶
func FormatNumber ¶
func HexToASCII ¶
func Int64ToBTC ¶
func IsScriptInBurnScripts ¶
func IsScriptInBurnScripts(script string, burnScripts []types.BurnScript) bool
func NoEscapeHTML ¶
func PrettyPrintJSON ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.