Re: [bitcoin-dev] 7z block compression, 18%

2021-04-24 Thread Greg Maxwell via bitcoin-dev
https://bitcointalk.org/index.php?topic=5303978.msg55946632#msg55946632 Blockstream satellite codebase includes an alternative serialization that works a single transaction at a time and saves ~20%. This avoids violating layering, preserves single txn access, is compatible with transaction relay.

Re: [bitcoin-dev] 7z block compression, 18%

2021-04-24 Thread Pavol Rusnak via bitcoin-dev
If block compression is going to be considered, zstd provides better properties than the competition. Especially for the decompression. [1] [1] https://github.com/facebook/zstd -- Best Regards / S pozdravom, Pavol "stick" Rusnak Co-founder and CTO, SatoshiLabs __

[bitcoin-dev] 7z block compression, 18%

2021-04-24 Thread NITSOPOULOS KONSTANTINOS via bitcoin-dev
Hi, I can compress new blocks by up to 18% using the 7z file type. I use wxHexEditor to dump a block's raw hex onto my disk, and then compress that with 7-Zip. I'd like to see 7z built into Bitcoin Core, for block compression (storage & propagation). The entire blockchain could be under 290GB if it