mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-01-10 14:46:03 +00:00
7ec039f822
ECC decoding can be done with any encoded.K blocks, and now we start it once any K blocks arrived. Previous code essentially waited for all blocks to arrive (or fail to arrive), that may mean unnecessary delays. New code will sometimes ECC-decode when parity blocks were retrieved faster that data blocks (instead of waiting for data blocks from network), but we expect that it's OK due to extremely fast Leopard decoding (~~500 MB/s)