From 66a6bec5d2157f89ec4854be33e674d9e115a7b9 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 3 Dec 2024 15:22:23 -0800 Subject: [PATCH] chore: add bitcoin rpc whitelist warning --- 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)