Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyProcessed error = fmt.Errorf("Already Processed BTC Block")
View Source
var (
ErrBTCPrivateKeyMissing = errors.New("you must specify a BTC private key")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BTCStartHeight uint64 EXBTCAddress string EXBTCInitialConns int EXBTCMaxConns int PrivateListenAddress string PublicListenAddress string LogLevel string PgURI string PrometheusListenAddress string PrometheusNamespace string PprofListenAddress string RequestLimit int RequestTimeout int // in seconds RemoteIPHeaders []string TrustedProxies []string BFGURL string BTCPrivateKey string }
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) BtcBlockCanonicalHeight ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.