Comments (7)
from sparrow.
Might be an idea to have a Green / Red signal to know if wallet is properly connected.
from sparrow.
Might be an idea to have a Green / Red signal to know if wallet is properly connected.
The toggle in the lower right corner of the wallet acts both as a switch connect to the server, and to indicate the wallet is connected.
I tested the same connection details as above and the test worked immediately. I was then able to connect to this server using the toggle as described above.
The Edit Connection button appears on the Server preferences if the wallet is already connected. Clicking this button indicates that the wallet should terminate this connection in order to receive new connection details. The button then changes to Test Connection in order to allow the user to test these details. After a successful 'Test Connection' (the green tick you posted above), using the toggle should always connect to the server - no restart should be required, since the code execution is exactly the same as used in the test.
It's clear from the above that at some point there was a connection error: 'Retries exhausted'. This means Sparrow has tried repeatedly to get a response from the server, but eventually had to give up. This looks more like the server was overloaded (unable to respond) rather than a connection error though.
That said I have noticed an issue (still unresolved) when switching from between Tor and non-Tor connections, and between some VPN and non-VPN setups. It appears to be IP routing related and quite low level, and is resolved with a restart of the wallet.
from sparrow.
Outstanding Action: More clearly display server has hit max retries
in UI.
Proposed Priority: Low
from sparrow.
As this issue is still open, please allow me to add my drama ...
For some reason, rpcuser did not work with my localhost bitcoin core. I tried to switch to coookie out. I restarted bitcoin core many times, deleted its config and waited until there is no indication of syncing or indexing in the bitcoin core before starting sparrow but sparrow always gave me errors when testing the connection.
In the end I had it set to cookie, it claimed it did not work but minutes later while I was busy doing other stuff, this window suddenly popped up:
I'm not sure what it does but it appears to be by Bitcoin-Qt and not by Sparrow. As my Bitcoin Core has indexing activated, I think it should not take as long as it takes to scan a hand full of addresses but apparently Sparrow now does talk to Bitcoin Core despite a conclusive failed test of the connection.
Something is off here.
from sparrow.
@Giszmo It's possible that the Bitcoin-Qt had not yet started it's RPC interface on the initial test, started it later, and Sparrow then connected (re-attempts at connection are made after a minute). As to the rescan, the scanning is started from the date entered when creating the wallet. The actual time taken is of course dependant on Bitcoin Core, and is independent of any other index in Core (Bitcoin Core's txindex is not an address index, for example).
Given this is an old issue which is somewhat vague in subject, I'm going to close it off here.
from sparrow.
As I'm probably not the only one who clicks "test connection" and immediately tries changing this and that if it says "error", I think it would be very helpful if Sparrow could tell the user "Bitcoin Core can take up to 5 minutes to accept rpc connections" or it could tell the user how to know if the rpc connection is up. Here it definitely took much more than a minute.
from sparrow.
Related Issues (20)
- Error getting fee estimates - failed connection to local electrum server HOT 2
- [Feature request] xpub shield: conceal wallet xpub in the settings tab HOT 2
- Receive funds are not showing up on Sparrow Wallet HOT 1
- Using Ledger nano s hardware wallet in Sparrow shows no funds. HOT 5
- Crash opening webcam scan on MacOS Intel HOT 9
- Balance wrong, unconfirmed transaction is added to balance HOT 1
- Connect remote bitcoin node - umbrel breaks Brave Browser shields HOT 1
- [Feature Request] Option for a fiat column on "Transactions" HOT 22
- [Feature Request] Having the ability to choose the direction of toxic change HOT 2
- Avoid generating dust change after the Tx0. HOT 1
- Transaction view displays wrong order of outputs in "curvy lines" diagram HOT 3
- Wallet history browsing is broken with electrs HOT 8
- [Feature request] Add the capability to mix to PayNyms HOT 1
- No or black video on Win10 using iMac built-in FaceTime HD-Webcam / Airgapped Hardware Wallet dialog slow HOT 8
- Problem importing a non-standard output descriptor HOT 1
- Sparrow linux 32-bit arch HOT 1
- Minor Bug Fix - display unit : BTC > sats > BTC HOT 3
- SatoChip: arraycopy last source index 32 out of bounds for byte 0 HOT 8
- Can't install sparrow wallet on parrot os HOT 7
- Error Executing HWI on Windows 11 with BitBox02 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparrow.