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

Switching node chain types #36

Open
flomang opened this issue Dec 13, 2022 · 0 comments
Open

Switching node chain types #36

flomang opened this issue Dec 13, 2022 · 0 comments

Comments

@flomang
Copy link
Collaborator

flomang commented Dec 13, 2022

The user should be able to open a mainnet wallet, close it, and open a textnet wallet. If the wallet is set to use the embedded node the embedded node should shutdown the mainnet node and start a testnet node on another thread. This sometimes fails and the testnet wallet is not able to communicate with the embedded node.

I'm noticing these traces when I switch chains:

grin_wallet_api::owner - Wallet state updater failed with error: ClientCallback("Error calling get_unspent_outputs: Request error: Cannot make request: error sending request for url (https://127.0.0.1:3413/v2/foreign): operation timed out")
20221213 10:24:58.359 ERROR grin_wallet_impls::node_clients::http - Error calling get_tip: Request error: Cannot make request: error sending request for url (https://127.0.0.1:13413/v2/foreign): error trying to connect: tcp connect error: Connection refused (os error 61)
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