Giter Club home page Giter Club logo

Comments (5)

revett avatar revett commented on August 27, 2024

Thanks for the issue @Sindbag.

I've just released v0.1.6 which includes a feature for optional wallet file mounting. It is documented in the wiki - Mounting Wallet Files.

Could you explain the separate chain volume in more detail so that I can work on that next?

from neo-local.

Sindbag avatar Sindbag commented on August 27, 2024

Currently, chain synchronization data is stored inside docker on /home/user/.neopython/Chains path and could be dropped after kill of the container. Idea is to keep those syncs in the main server's filesystem in order to skip sync between starts (runs) of the container.
I know there is a way to download most part of the blocks, but it should be done each time

from neo-local.

revett avatar revett commented on August 27, 2024

Is this an issue because each time you run make start it deletes the existing chain and starts a new one?

from neo-local.

Sindbag avatar Sindbag commented on August 27, 2024

Not exactly, but including this. I run neo-python container in interactive mode, then I wait till it syncs all the blocks and after all speculations I close it and sync is dropped until new run. Saving sync files between runs would require sync only for the latest missing blocks, instead of the full chain.

from neo-local.

revett avatar revett commented on August 27, 2024

I don't think I will add this to the project as it is a very niche request. If you'd like to implement within your local project you can mount a new volume at this point in the stack:

volumes:
- ./smart-contracts:/smart-contracts
- ./wallets:/wallets

Let me know if you have any issues 👍

from neo-local.

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.