-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove UnprocessedTransactionStorage #4604
Conversation
d02bfcc
to
3cda2ff
Compare
@@ -2171,348 +2093,6 @@ mod tests { | |||
Blockstore::destroy(ledger_path.path()).unwrap(); | |||
} | |||
|
|||
#[test] | |||
fn test_consume_buffered_packets() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a similar test of functionality for votes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding this to #5072
8a90c01
to
826b995
Compare
we should be able to remove |
19b2098
to
00ec190
Compare
00ec190
to
a080886
Compare
@@ -89,26 +84,6 @@ impl UnprocessedPacketBatches { | |||
self.message_hash_to_transaction.clear(); | |||
} | |||
|
|||
/// Insert new `deserialized_packet_batch` into inner `MinMaxHeap<DeserializedPacket>`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this type UnprocessedPacketBatches
does not need to exist anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Only DeserializedPacket remains in this file. Should we rename the file or wait for the multi_iterator thing to be removed as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DeserializedPacket
is also useless 😄 but we can leave that for a follow-up PR because it involves a bunch of small changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^it is useless because it wraps a Arc<ImmutableDeserializedPacket>
with a forwarded
bool; which is no longer part of banking stage's responsibilities
Towards: #3357