Comments (4)
My apologies, I think this was a logic/bug error on my end where there was an edge case where it returned true anyway if the node was fully synced but the wallet wasn't.
Seems to work fine after adjusting my code with latest release, the state is not 'ready' immediately after creating the wallet anymore.
Closing.
from cardano-wallet.
The strange thing is that the console says otherwise, cardano-wallet.cardano-engine is still syncing from the cardano node. E.g:
That's curious, if GET
reports "status": "ready"
on a wallet, then the wallet should be, well, ready. That said, there is a background process that detects stake pools, maybe that is causing the log messages.
Could you include more detailed logs? (Or contact us privately via the Cardano Foundation (Slack) if you don't want to post your logs publicly. Happy to escalate to a contact person if you like.)
from cardano-wallet.
These are the logs I receive while all my wallets are status ready as well as network/information endpoint is ready/in sync.
{"MESSAGE":"\u001b[34m[cardano-wallet.wallet-engine:Info:135]\u001b[0m [2023-09-24 09:53:04.74 UTC] 9e5295f3: Syncing (36.70% percent) Applied 6000 blocks, 0 rollbacks in the last 30.068146537s. Current tip is [point 3c4ac2fb at slot 10602566]."}
Running cardano-wallet-v2023-07-18-linux64.tar.gz, this line above appears just before shutdown once the 'in sync' state is determined. It's only at 36% due to the few times the archival node as been rebooted and is able to increment some bit before shutting back down.
Here are also some pool-engine messages around the same time:
{"MESSAGE":"\u001b[35m[cardano-wallet.pools-engine:Notice:27]\u001b[0m [2023-09-24 09:49:58.83 UTC] In sync! Applied 2267 blocks, 0 rollbacks in the last 30.013552159s. Current tip is [point 0ef01649 at slot 28892968]."}
Noticeably the ready state is available when the pool-engine sync completes before the wallet-engine?
So what is "cardano-wallet.wallet-engine:Info:135" doing?
from cardano-wallet.
These are the logs I receive while all my wallets are status ready as well as network/information endpoint is ready/in sync.
{"MESSAGE":"\u001b[34m[cardano-wallet.wallet-engine:Info:135]\u001b[0m [2023-09-24 09:53:04.74 UTC] 9e5295f3: Syncing (36.70% percent) Applied 6000 blocks, 0 rollbacks in the last 30.068146537s. Current tip is [point 3c4ac2fb at slot 10602566]."}
Hm. 🤔 This log message is created by a wallet whose walletId
starts with 9e5295f3
. Can you locate this wallet in one of the following listings?
GET /wallets
GET /byron-wallets
GET /shared-wallets
These listings also include the "state"
field for each wallet. Could you filter the response and post here the "id"
, "state"
, and "tip"
fields of the JSON object corresponding to the wallet whose "id"
starts with 9e5295f3
, as well as a recent Syncing
log message from this wallet?
from cardano-wallet.
Related Issues (20)
- Wallet takes too long to sync HOT 4
- Preview testnet error for cardano-wallet HOT 7
- Store keys in Hashicorp Vault HOT 2
- Stake pool monitor exit: Unhandled exception: SQLite3 returned ErrorIO while attempting to perform step: disk I/O error HOT 5
- Upgrade cardano-wallet to build with ghc-9.6 HOT 1
- Compatibility with `cardano-node` version `8.0.0` HOT 10
- Adahandle support
- Publish tag 2023-07-18 on Docker hub HOT 2
- Invalid link in `CONTRIBUTING.md` file HOT 2
- Cardano wallet's threads are dying while syncing HOT 1
- MacOS ARM64 builds HOT 3
- Can't sign tx with "mustBeSignedBy" constraint with a stakeKey. HOT 3
- cardano-wallet is not getting synced up HOT 12
- cabal build all with v2023-07-18 tag not working HOT 1
- Documentation / interface for hardware wallets HOT 3
- CHaP release HOT 3
- "The machine terminated part way through evaluation due to overspending the budget" HOT 1
- Quickstart Bash Script Error: tar file cannot be decoded. HOT 1
- cardano-wallet NixOS module not working with cardano-node NixOS module HOT 1
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 cardano-wallet.