From a8236ed03212ab3c30efd5dbccc3d62d582e7900 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Wed, 4 Dec 2024 06:13:24 -0800 Subject: [PATCH] chore: add bitcoin rpc whitelist warning (#3240) --- zetaclient/chains/interfaces/interfaces.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zetaclient/chains/interfaces/interfaces.go b/zetaclient/chains/interfaces/interfaces.go index c13a194eb5..8e2b8e2a3a 100644 --- a/zetaclient/chains/interfaces/interfaces.go +++ b/zetaclient/chains/interfaces/interfaces.go @@ -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)