solana/runtime/src
Lijun Wang 1e8a8e07b6
Stream the executed transaction count in the block notification (#29272)
Problem

The plugins need to know when all transactions for a block have been all notified to serve getBlock request correctly. As block and transaction notifications are sent asynchronously to each other it will be difficult.

Summary of Changes

Include the executed transaction count in block notification which can be used to check if all transactions have been notified.
2023-01-05 09:36:19 -08:00
..
accounts_background_service
accounts_db write_version -> write_version_obsolete (#29176) 2022-12-14 07:43:40 -08:00
append_vec write_version -> write_version_obsolete (#29176) 2022-12-14 07:43:40 -08:00
bank removes feature gate code preventing crediting accounts that end rent paying (#28818) 2022-11-15 19:55:34 +00:00
epoch_accounts_hash Requires EAH state cannot be Invalid (#28817) 2022-11-17 11:01:01 -05:00
serde_snapshot test_utils::create_test_accounts pre-allocates an append vec first (#29336) 2022-12-21 09:02:42 -08:00
snapshot_package Converts PendingAccountsPackage to a channel (#28352) 2022-10-13 12:47:36 -04:00
snapshot_utils move AccountStorage out of accounts_db.rs (#29261) 2022-12-14 15:08:39 -08:00
account_info.rs remove unnecessary type (#29473) 2023-01-03 06:34:05 -08:00
account_overrides.rs
account_rent_state.rs removes feature gate code preventing crediting accounts that end rent paying (#28818) 2022-11-15 19:55:34 +00:00
account_storage.rs get_storages_for_slot uses get_slot_storage_entry (#29498) 2023-01-04 10:15:56 -08:00
accounts.rs feature: set rent_epoch to Epoch::MAX (#28690) 2023-01-02 07:51:08 -08:00
accounts_background_service.rs remove handle_snapshot_request(caching_enabled) (#29241) 2022-12-13 09:31:47 -08:00
accounts_cache.rs remove slot# from account hash (#28405) 2022-10-18 08:03:37 -07:00
accounts_db.rs process_storage_slot takes a single append vec (#29519) 2023-01-05 07:33:47 -08:00
accounts_hash.rs Avoids copying hashes when computing merkle root (#29225) 2022-12-13 10:20:14 -05:00
accounts_index.rs Elides unnecessary lifetimes (#29299) 2022-12-20 12:44:17 -05:00
accounts_index_storage.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
accounts_update_notifier_interface.rs handle write_version correctly in geyser api (#29224) 2022-12-13 06:42:28 -08:00
active_stats.rs
ancestors.rs
ancient_append_vecs.rs write_version -> write_version_obsolete (#29176) 2022-12-14 07:43:40 -08:00
append_vec.rs add test_shrink_ancient_overflow (#29363) 2023-01-02 07:09:53 -08:00
bank.rs Stream the executed transaction count in the block notification (#29272) 2023-01-05 09:36:19 -08:00
bank_client.rs Feature - Program redeployment cooldown (#29136) 2022-12-13 22:54:24 +01:00
bank_forks.rs Requires EAH state cannot be Invalid (#28817) 2022-11-17 11:01:01 -05:00
bank_utils.rs
block_cost_limits.rs chore: update Solana docs and code comments that specify "BPF" to "SBF" 2022-10-31 14:14:25 -04:00
blockhash_queue.rs
bucket_map_holder.rs Prune redundant const SLOT_MS (#29278) 2022-12-16 08:05:09 -08:00
bucket_map_holder_stats.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
builtins.rs
cache_hash_data.rs Cleans up CacheHashData (#29267) 2022-12-15 14:16:27 -05:00
cache_hash_data_stats.rs rename merge() -> accumulate() (#28561) 2022-10-25 08:52:02 -07:00
commitment.rs
contains.rs
cost_model.rs Update cost model to use requested_cu instead of estimated cu #27608 (#28281) 2022-11-22 11:55:56 -06:00
cost_tracker.rs remove redundant internal functions (#29035) 2022-12-02 10:21:25 -06:00
epoch_accounts_hash.rs Promotes accounts hash to a strong type (#28930) 2022-11-28 10:09:47 -05:00
epoch_stakes.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
genesis_utils.rs Remove KeypairInsecureClone trait and add insecure_clone() instead (#27396) 2022-09-12 14:59:41 +00:00
hardened_unpack.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
in_mem_accounts_index.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
inline_spl_associated_token_account.rs
inline_spl_token.rs
inline_spl_token_2022.rs
lib.rs move AccountStorage out of accounts_db.rs (#29261) 2022-12-14 15:08:39 -08:00
loader_utils.rs
message_processor.rs Refactor - executor_cache (#28332) 2022-10-12 18:09:03 +02:00
non_circulating_supply.rs
nonce_keyed_account.rs Feature: Explicitly limit `TransactionContext::instruction_trace_capacity` (#27938) 2022-09-26 10:47:16 +02:00
prioritization_fee.rs Add metrics for min/max priority fee per slot, and counters for fee/non-fee transactions (#29330) 2022-12-21 16:42:26 +00:00
prioritization_fee_cache.rs exclude Vote transactions from updating min-fee-cache (#29341) 2022-12-20 20:05:46 +00:00
pubkey_bins.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
read_only_accounts_cache.rs add ability to flush read only accounts cache (#28726) 2022-11-02 12:03:32 -07:00
rent_collector.rs test_rent_exempt_temporal_escape works in passes (#29460) 2023-01-02 14:32:09 -08:00
rent_paying_accounts_by_partition.rs
rolling_bit_field.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
root_bank_cache.rs root_bank_cache (#27985) 2022-09-23 15:01:03 -05:00
runtime_config.rs
secondary_index.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
serde_snapshot.rs cleanup in account_storage.rs (#29467) 2023-01-02 14:55:02 -08:00
shared_buffer_reader.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
snapshot_archive_info.rs Uses SnapshotHash type in snapshot archive fields (#28681) 2022-10-31 14:28:35 -04:00
snapshot_config.rs Add SnapshotUsage to SnapshotConfig (#27508) 2022-09-02 08:56:23 -04:00
snapshot_hash.rs Promotes accounts hash to a strong type (#28930) 2022-11-28 10:09:47 -05:00
snapshot_minimizer.rs filter_storages ignores reclaims (#29512) 2023-01-04 12:38:30 -08:00
snapshot_package.rs Promotes accounts hash to a strong type (#28930) 2022-11-28 10:09:47 -05:00
snapshot_utils.rs Adds SnapshotError::IoWithSourceAndFile (#29527) 2023-01-05 09:08:15 -05:00
sorted_storages.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
stake_account.rs fix typo 2022-09-28 09:48:56 -05:00
stake_history.rs
stake_weighted_timestamp.rs
stakes.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
static_ids.rs
status_cache.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
storable_accounts.rs write_version -> write_version_obsolete (#29176) 2022-12-14 07:43:40 -08:00
system_instruction_processor.rs BorrowedAccount: add set_data_from_slice(), make set_data() take owned values (#27836) 2022-09-24 01:37:02 +01:00
transaction_batch.rs
transaction_error_metrics.rs Cap accounts data a transaction can load by its requested limit (#27840) 2022-11-14 10:29:35 -06:00
transaction_priority_details.rs Cap accounts data a transaction can load by its requested limit (#27840) 2022-11-14 10:29:35 -06:00
verify_accounts_hash_in_background.rs
vote_account.rs
vote_parser.rs Add convenience methods to VoteInstruction to distinguish vote types (#28526) 2022-10-21 14:17:40 -06:00
vote_sender_types.rs
vote_transaction.rs
waitable_condvar.rs