Skip to content

Commit

Permalink
rebase conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
vctt94 committed Jun 28, 2022
1 parent 10da58e commit cb6c981
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions client/asset/dcr/config.go
Expand Up @@ -4,7 +4,6 @@
package dcr

import (
"context"
"fmt"
"path/filepath"

Expand Down Expand Up @@ -40,26 +39,7 @@ type walletConfig struct {
FeeRateLimit float64 `ini:"feeratelimit"`
RedeemConfTarget uint64 `ini:"redeemconftarget"`
ActivelyUsed bool `ini:"special:activelyUsed"` //injected by core
}

// Config holds the parameters needed to initialize an RPC connection to a dcr
// wallet. Default values are used for RPCListen and/or RPCCert if not set.
type Config struct {
PrimaryAccount string `ini:"account"`
UnmixedAccount string `ini:"unmixedaccount"`
TradingAccount string `ini:"tradingaccount"`
RPCUser string `ini:"username"`
RPCPass string `ini:"password"`
RPCListen string `ini:"rpclisten"`
RPCCert string `ini:"rpccert"`
UseSplitTx bool `ini:"txsplit"`
FallbackFeeRate float64 `ini:"fallbackfee"`
FeeRateLimit float64 `ini:"feeratelimit"`
RedeemConfTarget uint64 `ini:"redeemconftarget"`
ApiFeeFallback bool `ini:"apifeefallback"`
// Context should be canceled when the application exits. This will cause
// some cleanup to be performed during shutdown.
Context context.Context `ini:"-"`
}

type rpcConfig struct {
Expand Down

0 comments on commit cb6c981

Please sign in to comment.