Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should I use the wallet after I start btcwallet [-4: blockchain RPC is inactive] #920

Open
BlueShells opened this issue Mar 26, 2024 · 0 comments

Comments

@BlueShells
Copy link

BlueShells commented Mar 26, 2024

I have successfully set up an btcd with segtest , and I want to create some new blocks

So I follow the guide , create a new wallet with command

btcwallet -u rpcuser -P rpcpass --create

and started it

./btcwallet -u test -P "test" --rpclisten 0.0.0.0:18332 --testnet --debuglevel=trace --rpcconnect https://btcd:18334 --cafile rpc.cert

but I failed to get newaddress with command

./btcctl --wallet -u test -P "test" --testnet getnewaddress

I got "-4: blockchain RPC is inactive"

but if I run the same command with "listaccounts"

./btcctl --wallet -u test -P "test" --testnet listaccounts

I could get
{ "default": 0, "imported": 0 }

so I tmp unlock this wallet
./btcctl --wallet -u test -P "test" --testnet walletpassphrase test 30

then I could create wallet

./btcctl --wallet -u test -P "test" --testnet createnewaccount abc

and I got this error when create address
./btcctl --wallet -u test -P "test" --testnet getnewaddress abc legacy

-4: blockchain RPC is inactive

version is :
btcd-linux-amd64-v0.24.0

@BlueShells BlueShells changed the title How should I use the wallet after I start btcwallet How should I use the wallet after I start btcwallet [address manager is locked] Apr 2, 2024
@BlueShells BlueShells changed the title How should I use the wallet after I start btcwallet [address manager is locked] How should I use the wallet after I start btcwallet [-4: blockchain RPC is inactive] Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant