Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HasuraURL string NodeRestUrl string NodeRPCUrl string BitcoinNodeUrl string BitcoinNodePort string BitcoinNodeUserName string BitcoinNodePassword string FoundryPoolAPIBaseURL string FoundryPoolAPIKey string DbDriverName string DbHost string DbPort string DbUser string DbPassword string DbName string HasuraActionsURL string IsTesting bool AuraPoolBackEndUrl string Network string CUDOMaintenanceFeePercent float64 CUDOFeePayoutAddress string CUDOMaintenanceFeePayoutAddress string CUDOFeeOnAllBTC float64 AuraPoolTestFarmWalletPassword string WorkerProcessIntervalPayment time.Duration WorkerProcessIntervalRetry time.Duration WorkerFailureRetryDelay time.Duration RBFTransactionRetryDelayInSeconds int RBFTransactionRetryMaxCount int GlobalPayoutThresholdInBTC float64 MailFromAddress string MailToAddress string SendgridApiKey string ServiceMaxErrorCount int }
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func (*Helper) DaysIn ¶
We generate a date one month on from the target one (m+1), but set the day of month to 0. Days are 1-indexed, so this has the effect of rolling back one day to the last day of the previous month (our target month of m). Calling Day() then procures the number we want. Returns the length of the month
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (*Provider) InitBtcRpcClient ¶
Click to show internal directories.
Click to hide internal directories.