Giter VIP home page Giter VIP logo

Comments (9)

fluffypony avatar fluffypony commented on May 17, 2024

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.

jakoblind avatar jakoblind commented on May 17, 2024

My solution sends start_height parameter in the RPC call and only receives blocks newer than that block.
jakoblind@e4273f2

from monero.

fluffypony avatar fluffypony commented on May 17, 2024

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.

jakoblind avatar jakoblind commented on May 17, 2024

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.

fluffypony avatar fluffypony commented on May 17, 2024

Oh brilliant, I don't know how I missed that in glossing through the code!

from monero.

jakoblind avatar jakoblind commented on May 17, 2024

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.

fluffypony avatar fluffypony commented on May 17, 2024

@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.

fluffypony avatar fluffypony commented on May 17, 2024

Tested and working - can you wrap this into a PR so we can merge? Thank you!

from monero.

fluffypony avatar fluffypony commented on May 17, 2024

Merged, thank you @jakoblind!

from monero.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.