Comments (9)
simplewallet (by default) syncs up from the "creation date" that is serialised and stored in the .keys file
This option should disregard the date and sync from the block height
from monero.
My solution sends start_height parameter in the RPC call and only receives blocks newer than that block.
jakoblind@e4273f2
from monero.
Awesome - up for testing:) When you get a moment, can you add the start_height optional parameter to the simplewallet "refresh" CLI command as well? Good job!!
from monero.
i already added it to the refresh command. just try:
refresh 153000
if the number cant be parsed it just treats it as 0.
from monero.
Oh brilliant, I don't know how I missed that in glossing through the code!
from monero.
Right now I'm thinking about this: "This should also be the default behaviour when generating a new wallet."
After a new wallet is generated, it is not automatically synced but the user have to write "refresh" command manually. Should we instead do autosync after wallet creation?
from monero.
@jakoblind I'd say no - reason being that simplewallet is also used for offline wallet creation, so you don't want it trying to sync when the daemon may not even be accessible. Those who will use simplewallet in the long run and not touch any of the forthcoming GUI tools will be intelligent enough to refresh after create (one hopes;)
from monero.
Tested and working - can you wrap this into a PR so we can merge? Thank you!
from monero.
Merged, thank you @jakoblind!
from monero.
Related Issues (20)
- Why are there 4 numbers in the versioning scheme? HOT 6
- Month-long reorgs in logs HOT 2
- Problem linking with libicu when building on Arch HOT 23
- Monerod Syncing problem HOT 25
- Proposal: Reduce size of block hashing blobs for PoW validation HOT 8
- monero-cli: non-interactive wallet generation HOT 8
- wallet2.cpp-3e34503d.o.tmp infected with malware HOT 2
- Signature Verification on testnet HOT 5
- I'm getting lots of stacktrace exceptions (running sethforprivacy's monero Docker) HOT 3
- Relying on `--data-dir` can be problematic. HOT 1
- monero-wallet-rpc can't work via socks5 HOT 3
- Segfault on any operation on the blockchain HOT 3
- Monero OpenRPC Specification HOT 17
- Add more zmq features HOT 3
- database: Potential data race for mutual exclusion HOT 15
- Problems sending Monero HOT 8
- data-dir option for MacOS HOT 7
- bootstrap - `get_coinbase_tx_sum` returns `height or count is too large` instead of `method not found` HOT 3
- `prune_blockchain` cause entire node to hang on HOT 11
- `race_condition` failing randomly 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 monero.