-
Notifications
You must be signed in to change notification settings - Fork 648
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
cli_wallet caching issues #151
Comments
From @neura-sx on January 22, 2016 7:46 Maybe a simple |
…it could easily go out of sync
cli_wallet caching issues bitshares#151 bitshares#151 taken from openledger@4886364 Fix: Capture exceptions when initializing `vote_id_type` with a string bitshares#578 bitshares#578
Assigning to @cogutvalera to review the original Issue(s), impacted code and draft a description of a proposed task list to seek approval for further development. The need on this Issue is to define what we want the fix to be and how we get there without breaking current functionality. Please be descriptive in your assessment and proposed solution options. |
ok sure ! Thanks ! |
From @theoreticalbts on January 21, 2016 20:44
The cache design of
cli_wallet
is fundamentally broken, leading to numerous issues: cryptonomex/graphene#323 cryptonomex/graphene#331 cryptonomex/graphene#353 cryptonomex/graphene#527Anything which updates the account object causes a tendency for the cache to get out of sync. Really the CLI wallet should use the same architecture as the web wallet: Subscribe to object updates in order to implement a caching proxy for all object requests from individual wallet functions. As a stop-gap we could simply remove the existing cache, implement a new cache and require it to hit the
witness_node
anytime it needs an account (assuming mostcli_wallet
users also runwitness_node
on localhost or a fast LAN).As this requires a substantial re-working of the wallet, perhaps this should be a worker proposal.
Copied from original issue: cryptonomex/graphene#530
Tasks to be done:
The text was updated successfully, but these errors were encountered: