feat(geyser): add completed data set shred range to deshred txn#11748
feat(geyser): add completed data set shred range to deshred txn#11748sam0x17 merged 4 commits intoanza-xyz:masterfrom
Conversation
|
A few things to flag:
|
|
ah nvm, there are already release tags, we will just keep it how you did it 👍🏻 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #11748 +/- ##
=========================================
- Coverage 83.2% 83.2% -0.1%
=========================================
Files 859 859
Lines 322230 322338 +108
=========================================
+ Hits 268144 268222 +78
- Misses 54086 54116 +30 🚀 New features to boost your workflow:
|
|
@leafaar it's complaining about coverage again |
|
On it! |
91d964f to
dbab45a
Compare
Problem
Deshred transaction notifications currently do not identify which completed data set produced a transaction. Plugins can receive transactions before execution, but they cannot associate them with the contiguous shred range that reconstructed the underlying
Vec<Entry>.A block-wide transaction index would be misleading here, since a completed data set can contain multiple entries and multiple transactions, and completed data sets for the same slot may be observed out of order.
Summary of Changes
completed_data_set_starting_shred_indexandcompleted_data_set_ending_shred_index_exclusiveCompletedDataSetsService,DeshredTransactionNotifier, and the geyser plugin managerReplicaDeshredTransactionInfoV2and emitReplicaDeshredTransactionInfoVersions::V0_0_2instead of overloading the existing payloadVec<Entry>Fixes #