Pierre Krieger
Pierre Krieger
The main difficulty of this issue is that the allocator needs access to the memory of the Wasm in order to allocate, but in the current API this memory is...
cc #515
Closing this PR, as all the changes are completely outdated.
After https://github.com/paritytech/smoldot/pull/2519 it will be possible to use the NodeJS native API and the Deno native API. Only browsers will need to do the decompression using JS code.
cc https://mozilla.github.io/standards-positions/#compression-streams
Accidentally opened in the wrong repo.
The warp syncing consists in multiple stages: the first one (normally the longest) consists in downloading and verifying the fragments to do the actual syncing, and the rest consists in...
Note that the warp sync code at the moment downloads all the fragments (this usually takes multiple requests) then verifies them all at once. It would be better if fragments...
Tests are now passing. Will add more tests.
This PR is definitely a bit embarrassing: it revealed many unimplemented things, which now are.