You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are the preferred ways to store an incomplete big file?
The ZeroNet client creates a sparse file with the final size of the big file at the beginning of the download process. (requires to use fsutil command on windows)
The status of the current specification.
It's already implemented and being used, but nothing is written in stone :)
Packed format:
Turns the string to an list of int by counting the repeating characters starting with 1.
Example: 1110000001 to [3, 6, 1], 0000000001 to [0, 9, 1], 1111111111 to [10]
Activity
MuxZeroNet commentedon Nov 15, 2017
Relevant code snippets from BigfilePlugin.py
Relevant code snippets from the unit tests.
HelloZeroNet commentedon Nov 17, 2017
Thanks for the suggestions it really helped :)
I have added the informations to the docs: https://zeronet.readthedocs.io/en/latest/help_zeronet/network_protocol/#bigfile-plugin
https://zeronet.readthedocs.io/en/latest/help_zeronet/network_protocol/#bigfile-merkle-root
https://zeronet.readthedocs.io/en/latest/help_zeronet/network_protocol/#bigfile-piecemap
Yes, getPieceFields and setPieceFields
The ZeroNet client creates a sparse file with the final size of the big file at the beginning of the download process. (requires to use fsutil command on windows)
It's already implemented and being used, but nothing is written in stone :)
MuxZeroNet commentedon Nov 18, 2017
Checker-board pattern?
HelloZeroNet commentedon Nov 18, 2017
Yes it assumes most of picefield will not be fragmented and users will download pieces in batches.