forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 1k
Introduce ledger-tool simulate-block-production #2733
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
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
5a35a0a
Introduce ledger-tool simulate-block-production
ryoqun 69a8548
Move counting code out of time-sensitive loop
ryoqun 1561dee
Avoid misleading ::clone() altogether
ryoqun 2be4049
Use while instead of loop+break
ryoqun dfa9765
Add comment of using BTreeMap
ryoqun 39846f6
Reduce simulation jitter due to mem deallocs
ryoqun 8dad62c
Rename to CostTracker::new_from_parent_limits()
ryoqun 849cc6b
Make ::load() take a slice
ryoqun e09a4b2
Clean up retracer code a bit
ryoqun 6b9ba1f
Add comment about BaningTracer even inside sim
ryoqun 9468227
Remove redundant dcou dev-dependencies
ryoqun 168ee1d
Apply suggestions from code review
ryoqun a11de4e
Fix up and promote to doc comments
ryoqun c9d4330
Make warm-up code and doc simpler
ryoqun a2fac7b
Further clean up timed_batches_to_send
ryoqun fffe86f
Fix wrong units...
ryoqun 35e235a
Replace new_with_dummy_keypair() with traits
ryoqun 8fcbe11
Tweak --no-block-cost-limits description
ryoqun d573884
Remove redundant dev-dependencies
ryoqun b24a7e3
Use RwLock to mimic real ClusterInfo
ryoqun 61f5fb3
Fix typo
ryoqun 7594dbf
Refactor too long BankingSimulator::start()
ryoqun d0dc2f6
Reduce indent
ryoqun d66c5db
Calculate required_duration in advance
ryoqun e357af8
Use correct format specifier instead of cast
ryoqun 4228e2e
Align formatting by using ::*
ryoqun 78ac1d2
Make envs overridable
ryoqun 33398a3
Add comment for SOLANA_VALIDATOR_EXIT_TIMEOUT
ryoqun 7026f1b
Clarify comment a bit
ryoqun 29db915
Fix typoss
ryoqun 9a3efd5
Fix typos
ryoqun ca13534
Use correct variant name: DeserializeError
ryoqun 715d3c5
Remove SimulatorLoopLogger::new()
ryoqun 86b905d
Fix typos more
ryoqun ed7b9c8
Add explicit _batch in field names
ryoqun e3f6bf2
Avoid unneeded events: Vec<_> buffering
ryoqun 666e1b0
Manually adjust logging code styles
ryoqun 1a1b620
Align name: spawn_sender_loop/enter_simulator_loop
ryoqun 3a6912e
Refactor by introducing {Sender,Simulator}Loop
ryoqun c1d1235
Fix out-of-sync sim due to timed preprocessing
ryoqun 62e9c61
Fix too-early base_simulation_time creation
ryoqun fe7331b
Don't log confusing info! after leader slots
ryoqun 33af3da
Add justification comment of BroadcastStage
ryoqun bb7edea
Align timeout values
ryoqun c43281f
Comment about snapshot_slot=50
ryoqun 791b094
Don't squash all errors unconditionally
ryoqun e577e53
Remove repetitive exitence check
ryoqun 8d2187e
Promote no_block_cost_limits logging level
ryoqun 9208fb8
Make ci/run-sanity.sh more robust
ryoqun 284a1b6
Improve wordking of --enable-hash-overrides
ryoqun f4a1ca8
Remove marker-file based abortion mechanism
ryoqun 0e8aca5
Remove needless touch
ryoqun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.