Documentation ¶
Index ¶
- Constants
- func ApplyLitecoinParams(litecoinParams litecoinCfg.Params) *bitcoinCfg.Params
- func BlocksToHours(blockDelta uint32, blockTime float64) string
- func CalculateInvoiceExpiry(blockDelta uint32, blockTime float64) int64
- func ConnectBoltzLnd(lnd *lnd.LND, boltz *boltz.Boltz, symbol string) (string, error)
- func ExpandDefaultPath(dataDir string, currentValue string, defaultFileName string) string
- func FileExists(path string) bool
- func FormatJson(resp interface{}) (string, error)
- func FormatMilliSat(milliSat int64) string
- func GetBlockTime(symbol string) float64
- func GetDefaultDataDir() (string, error)
- func GetSmallestUnitName(symbol string) string
- func GetSwapMemo(symbol string) string
Constants ¶
View Source
const BitcoinBlockTime = float64(10)
Block times in minutes
View Source
const LitecoinBlockTime = float64(2.5)
Variables ¶
This section is empty.
Functions ¶
func ApplyLitecoinParams ¶
func ApplyLitecoinParams(litecoinParams litecoinCfg.Params) *bitcoinCfg.Params
func BlocksToHours ¶
func CalculateInvoiceExpiry ¶
func ConnectBoltzLnd ¶ added in v1.1.0
func ExpandDefaultPath ¶ added in v1.2.1
func FileExists ¶ added in v1.2.0
func FormatJson ¶ added in v1.2.0
func GetBlockTime ¶
func GetDefaultDataDir ¶ added in v1.2.1
func GetSmallestUnitName ¶ added in v1.2.1
func GetSwapMemo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.