Skip to content
Snippets Groups Projects
Commit 1439558f authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Compress the PoV block before sending it over the network (#2288)


* Compress the PoV block before sending it over the network

This pr changes the way we send PoV blocks over the network. We now
compress the PoV block before it is send over the network. This should
reduce the size significant for PoVs which contain the runtime WASM for
example.

* Preallocate 1KB

* Try something..

* Switch to zstd and some renamings

* Make compression/decompression fail in browsers

* Use some sane maximum value

* Update roadmap/implementers-guide/src/types/network.md

Co-authored-by: default avatarAndronik Ordian <write@reusable.software>

* Fix and add test

* add

Co-authored-by: default avatarAndronik Ordian <write@reusable.software>
Co-authored-by: default avatarRobert Habermeier <rphmeier@gmail.com>
parent 2c0982d7
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment