Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
f7814d00
Commit
f7814d00
authored
Dec 28, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Note about the need to upgrade storage format.
parent
48021857
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cache/http_store.h
View file @
f7814d00
...
...
@@ -60,6 +60,10 @@ using reader_uptr = std::unique_ptr<http_response::AbstractReader>;
//
void
http_store
(
http_response
::
AbstractReader
&
,
const
fs
::
path
&
,
const
asio
::
executor
&
,
Cancel
,
asio
::
yield_context
);
// TODO: This format is both inefficient for multi-peer downloads (Base64 decoding needed)
// and inadequate for partial responses (`ouipsig` is in previous `sigs` file line, maybe missing).
// A format with binary records or just SIG/DHASH/CHASH of the *current* block might be more convenient
// (DHASH may be zero in the first record).
// Return a new reader for a response under the given directory.
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment