Skip to content

Commit

Permalink
chore: add bitcoin rpc whitelist warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Dec 3, 2024
1 parent e76b443 commit 66a6bec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zetaclient/chains/interfaces/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ type ZetacoreClient interface {
}

// BTCRPCClient is the interface for BTC RPC client
//
// WARN: you must add any RPCs used on mainnet/testnet to the whitelist in https://github.com/zeta-chain/bitcoin-core-docker
type BTCRPCClient interface {
GetNetworkInfo() (*btcjson.GetNetworkInfoResult, error)
CreateWallet(name string, opts ...rpcclient.CreateWalletOpt) (*btcjson.CreateWalletResult, error)
Expand Down

0 comments on commit 66a6bec

Please sign in to comment.