solana/ledger/src
Ryo Onodera 40bbf99c74
Add fully-reproducible online tracer for banking (#29196)
* Add fully-reproducible online tracer for banking

* Don't use eprintln!()...

* Update programs/sbf/Cargo.lock...

* Remove meaningless assert_eq

* Group test-only code under aptly named mod

* Remove needless overflow handling in receive_until

* Delay stat aggregation as it's possible now

* Use Cow to avoid needless heap allocs

* Properly consume metrics action as soon as hold

* Trace UnprocessedTransactionStorage::len() instead

* Loosen joining api over type safety for replaystage

* Introce hash event to override these when simulating

* Use serde_with/serde_as instead of hacky workaround

* Update another Cargo.lock...

* Add detailed comment for Packet::buffer serialize

* Rename sender_overhead_minimized_receiver_loop()

* Use type interference for TraceError

* Another minor rename

* Retire now useless ForEach to simplify code

* Use type alias as much as possible

* Properly translate and propagate tracing errors

* Clarify --enable-banking-trace with better naming

* Consider unclean (signal-based) node restarts..

* Tweak logging and cli

* Remove Bank events as it's not needed anymore

* Make tpu own banking tracer thread

* Reduce diff a bit..

* Use latest serde_with

* Finally use the published rolling-file crate

* Make test code change more consistent

* Revive dead and non-terminating test code path...

* Dispose batches early now that possible

* Split off thread handle very early at ::new()

* Tweak message for TooSmallDirByteLimitl

* Remove too much of indirection

* Remove needless pub from ::channel()

* Clarify test comments

* Avoid needless event creation if tracer is disabled

* Write tests around file rotation and spill-over

* Remove unneeded PathBuf::clone()s...

* Introduce inner struct instead of tuple...

* Remove unused enum BankStatus...

* Avoid .unwrap() for the case of disabled tracer...
2023-01-25 21:54:38 +09:00
..
blockstore deprecates Pubkey::new in favor of Pubkey::{,try_}from (#29805) 2023-01-21 18:06:27 +00:00
shred adds metrics for num merkle shreds on the receiving end (#29710) 2023-01-14 23:07:42 +00:00
ancestor_iterator.rs plumbs through flag to generate merkle variant of shreds 2022-09-23 16:45:18 +00:00
bank_forks_utils.rs remove bank_from_latest_snapshot_archives(caching_enabled) (#29238) 2022-12-13 07:16:24 -08:00
bigtable_delete.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
bigtable_upload.rs Minor cleanup on bigtable_upload (#29379) 2022-12-23 20:19:15 +00:00
bigtable_upload_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
block_error.rs Fix derive_partial_eq_without_eq clippy lint 2022-05-22 22:22:21 -07:00
blockstore.rs Add fully-reproducible online tracer for banking (#29196) 2023-01-25 21:54:38 +09:00
blockstore_db.rs Reduce the amount of IO that LedgerCleanupService performs (#29239) 2023-01-23 04:39:47 -06:00
blockstore_meta.rs ledger/blockstore: PerfSampleV2: num_non_vote_transactions (#29404) 2023-01-12 19:14:04 -08:00
blockstore_metrics.rs Fix typo in blockstore_metrics.rs (#29503) 2023-01-04 09:44:45 -07:00
blockstore_options.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
blockstore_processor.rs Revert "Do not exclude failed simple vote transactions from consensus" (#29745) 2023-01-18 15:13:13 -05:00
builtins.rs chore: update Solana docs and code comments that specify "BPF" to "SBF" 2022-10-31 14:14:25 -04:00
genesis_utils.rs
leader_schedule.rs Fix derive_partial_eq_without_eq clippy lint 2022-05-22 22:22:21 -07:00
leader_schedule_cache.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
leader_schedule_utils.rs
lib.rs Remove runtime dependency from solana-transaction-status (#26930) 2022-08-05 00:20:27 -06:00
next_slots_iterator.rs
rooted_slot_iterator.rs
shred.rs adds feature to (temporarily) drop merkle shreds from testnet (#29711) 2023-01-15 15:41:58 +00:00
shredder.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
sigverify_shreds.rs simplifies sigverify copy_return_values (#29495) 2023-01-05 19:45:52 +00:00
slot_stats.rs patches clippy errors from new rust nightly release (#28028) 2022-09-23 20:57:27 +00:00
staking_utils.rs checks account owner when initializing a vote-account (#25018) 2022-05-06 16:22:49 +00:00
token_balances.rs Remove runtime dependency from solana-transaction-status (#26930) 2022-08-05 00:20:27 -06:00