Documentation
¶
Index ¶
- func BitAssets(ctx context.Context, host string, port int) (*bitassets.Client, error)
- func BitNames(ctx context.Context, host string, port int) (*bitnames.Client, error)
- func Bitcoind(ctx context.Context, orchestratorAddr string) (corerpc.BitcoinServiceClient, error)
- func CoinShift(ctx context.Context, host string, port int) (*coinshift.Client, error)
- func EnforcerCrypto(ctx context.Context, url string) (cryptorpc.CryptoServiceClient, error)
- func EnforcerValidator(ctx context.Context, url string) (rpc.ValidatorServiceClient, error)
- func EnforcerWallet(ctx context.Context, url string) (rpc.WalletServiceClient, error)
- func Photon(ctx context.Context, host string, port int) (*photon.Client, error)
- func Thunder(ctx context.Context, host string, port int) (*thunder.Client, error)
- func Truthcoin(ctx context.Context, host string, port int) (*truthcoin.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bitcoind ¶
EnforcerValidator creates a CUSF enforcer (validator & wallet) client. Bitcoind returns a btc-buf BitcoinService client against the orchestrator's hosted core proxy. orchestratorAddr is a full URL (config.OrchestratorAddr defaults to "http://localhost:30400"); a bare host:port also works and gets prefixed with http://. Single canonical bitcoind RPC route — no direct dial.
func EnforcerCrypto ¶
EnforcerCrypto creates a CUSF enforcer (crypto) client.
func EnforcerValidator ¶
func EnforcerWallet ¶
EnforcerWallet creates a CUSF enforcer (wallet) client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.