Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalFlags = []cli.Flag{ &cli.StringFlag{ Name: "rpcserver", Usage: "drivechaind RPC address", Value: "localhost:30400", EnvVars: []string{"ORCHESTRATOR_RPCSERVER"}, }, &cli.StringFlag{ Name: "datadir", Usage: "data directory", EnvVars: []string{"ORCHESTRATOR_DATADIR"}, }, &cli.StringFlag{ Name: "bitwindow-dir", Usage: "bitwindow data directory containing the local-auth cookie", Value: orchestrator.DefaultBitwindowDir(), EnvVars: []string{"ORCHESTRATOR_BITWINDOW_DIR"}, }, &cli.StringFlag{ Name: "network", Usage: "bitcoin network", Value: config.DefaultNetwork, EnvVars: []string{"ORCHESTRATOR_NETWORK"}, }, &cli.BoolFlag{ Name: "auto-download", Usage: "automatically download binaries when needed (for CI)", EnvVars: []string{"ORCHESTRATOR_AUTO_DOWNLOAD"}, }, }
Functions ¶
Types ¶
type BitassetsClientWrapper ¶
BitassetsClientWrapper adapts the bitassets.Client to SidechainClient interface
func (*BitassetsClientWrapper) OpenAPISchema ¶
func (w *BitassetsClientWrapper) OpenAPISchema(ctx context.Context) (json.RawMessage, error)
type BitnamesClientWrapper ¶
BitnamesClientWrapper adapts the bitnames.Client to SidechainClient interface
func (*BitnamesClientWrapper) OpenAPISchema ¶
func (w *BitnamesClientWrapper) OpenAPISchema(ctx context.Context) (json.RawMessage, error)
type ClientFactory ¶
type ClientFactory func(port int) SidechainClient
ClientFactory creates a new sidechain client for the given port
type CoinshiftClientWrapper ¶
CoinshiftClientWrapper adapts the coinshift.Client to SidechainClient interface
func (*CoinshiftClientWrapper) OpenAPISchema ¶
func (w *CoinshiftClientWrapper) OpenAPISchema(ctx context.Context) (json.RawMessage, error)
type PhotonClientWrapper ¶
PhotonClientWrapper adapts the photon.Client to SidechainClient interface
func (*PhotonClientWrapper) OpenAPISchema ¶
func (w *PhotonClientWrapper) OpenAPISchema(ctx context.Context) (json.RawMessage, error)
type SidechainClient ¶
type SidechainClient interface {
OpenAPISchema(ctx context.Context) (json.RawMessage, error)
}
SidechainClient interface for all sidechain RPC clients
type ThunderClientWrapper ¶
ThunderClientWrapper adapts the thunder.Client to SidechainClient interface
func (*ThunderClientWrapper) OpenAPISchema ¶
func (w *ThunderClientWrapper) OpenAPISchema(ctx context.Context) (json.RawMessage, error)
type TruthcoinClientWrapper ¶
TruthcoinClientWrapper adapts the truthcoin.Client to SidechainClient interface
func (*TruthcoinClientWrapper) OpenAPISchema ¶
func (w *TruthcoinClientWrapper) OpenAPISchema(ctx context.Context) (json.RawMessage, error)
type ZsideClientWrapper ¶
ZsideClientWrapper adapts the zside.Client to SidechainClient interface
func (*ZsideClientWrapper) OpenAPISchema ¶
func (w *ZsideClientWrapper) OpenAPISchema(ctx context.Context) (json.RawMessage, error)
Click to show internal directories.
Click to hide internal directories.