Giter Club home page Giter Club logo

Comments (4)

gilnobrega avatar gilnobrega commented on June 11, 2024

Hey, unfortunately Windows does not preserve timestamps when you copy files, and the code mentioned above only acts on cached plots (a plot which existed before). If the code did what you are suggesting then the plot lengths would be incorrect, since its completion date (modified date) would be many days later than its creation date.
Does this make sense?

from farmr.

tinodj avatar tinodj commented on June 11, 2024

Hey,

I am not sure that I understood the whole logic in the code but it seems to me that code logic at the moment is as following:

  1. Check for a plot, if found, regardless of its size it will be added in the list and cached (imagine it is half copied). Time modified will be get at that point, and will be marked as incomplete.
  2. Later, for this plot size will be updated, so it will become complete, but datetime modified will not be updated. So, the end time will be about (5-10mins off), depending how long a plot copy operation takes.

But, yes, under windows if someone just copy some plot from one destination to another this will give trouble. So, either leave it as it is or do this update only if it is less than 15mins difference. But, anyway, this really doesnโ€™t matter that much, it was just my OCDC in motion :D

from farmr.

gilnobrega avatar gilnobrega commented on June 11, 2024

This feature was implemented to preserve original timestamps of old plots rather than moving new plots. Copying/moving new plots shouldn't be an issue since chia only copies .tmp files and then renames them to .plot, not sure if mad max does this as well.

from farmr.

tinodj avatar tinodj commented on June 11, 2024

Oh I see. But many people have some other scripts in place that are moving the completed(new) plots. For example: leave the plot on the disk where it was created and then move it later to a slower storage for farming. But I see, then a two step process (move to .tmp, then rename) will be a good workaround.

from farmr.

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.