solana/ledger/src/shred
behzad nouri 37296caee8
removes set_{slot,index,last_in_slot} implementations for merkle shreds (#27689)
These methods are only used in tests but invoked on a merkle shred they
will always invalidate the shred because the merkle proof will no longer
verify. As a result the shred will not sanitize and blockstore will
avoid inserting them. Their use in tests will result in spurious test
coverage because the shreds will not be ingested.

The commit removes implementation of these methods for merkle shreds.
Follow up commits will entirely remove these methods from shreds api.
2022-09-09 17:58:04 +00:00
..
common.rs removes set_{slot,index,last_in_slot} implementations for merkle shreds (#27689) 2022-09-09 17:58:04 +00:00
legacy.rs removes set_{slot,index,last_in_slot} implementations for merkle shreds (#27689) 2022-09-09 17:58:04 +00:00
merkle.rs removes set_{slot,index,last_in_slot} implementations for merkle shreds (#27689) 2022-09-09 17:58:04 +00:00
shred_code.rs Minor shred constant cleanup (#27472) 2022-08-30 18:53:05 -07:00
shred_data.rs removes set_{slot,index,last_in_slot} implementations for merkle shreds (#27689) 2022-09-09 17:58:04 +00:00
stats.rs track time to coalesce entries in recv_slot_entries (#27525) 2022-09-06 16:07:17 -07:00
traits.rs removes set_{slot,index,last_in_slot} implementations for merkle shreds (#27689) 2022-09-09 17:58:04 +00:00