8000 Remove transaction statuses from status cache · Issue #6457 · anza-xyz/agave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Remove transaction statuses from status cache #6457
Open
@steveluscher

Description

@steveluscher

This is a re-open of solana-labs#22710 by @jstarry

Problem

The bank status cache is primarily used to prevent recent transactions from being replayed but is also used by RPC to retrieve the execution status of recent transactions. The status of recent transactions are already stored in blockstore (when enable_rpc_transaction_history is enabled) so storing the status in memory is redundant.

Proposed Solution

  • Migrate from the BankStatusCache (which stores the message hash, signature, and status for each transaction) to a RecentTransactionCache (which only stores message hashes of transactions processed in each fork).
  • Remove get_signature_status methods from Bank and have RPC query blockstore instead

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0