solana/sdk/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
..
signer patches bug in sigverify-shreds when identity is hot-swapped (#29802) 2023-01-21 20:07:41 +00:00
transaction deprecates Pubkey::new in favor of Pubkey::{,try_}from (#29805) 2023-01-21 18:06:27 +00:00
wasm Add rustfmt.toml and `cargo fmt` (#23238) 2022-02-19 13:32:29 +08:00
account.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
account_utils.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
builtins.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
client.rs Support sending versioned txs in AsyncClient (#23982) 2022-04-02 11:12:02 +08:00
commitment_config.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
compute_budget.rs Revert "Cap accounts data a transaction can load by its requested limit" (#29373) 2023-01-17 11:34:18 +01:00
derivation_path.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
deserialize_utils.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
ed25519_instruction.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
entrypoint.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
entrypoint_deprecated.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
epoch_info.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
example_mocks.rs Fixup docs in sdk to use new clients (#27362) 2022-08-24 21:29:56 -06:00
exit.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
feature.rs
feature_set.rs Add a feature ID for enable_big_mod_exp_syscall (#29851) 2023-01-25 04:57:38 +09:00
fee.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
genesis_config.rs Fix deprecated warning on solana-sdk (#29109) 2023-01-07 06:48:10 +00:00
hard_forks.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
hash.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
inflation.rs
lib.rs Big integer modular exponentiation (EIP-198) (#28503) 2023-01-20 18:42:37 +09:00
log.rs Remove the 5 integer msg! form 2021-12-11 09:37:11 -08:00
native_loader.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
nonce_account.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
offchain_message.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
packet.rs Add fully-reproducible online tracer for banking (#29196) 2023-01-25 21:54:38 +09:00
poh_config.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
precompiles.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
program_utils.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
pubkey.rs deprecates Pubkey::new in favor of Pubkey::{,try_}from (#29805) 2023-01-21 18:06:27 +00:00
quic.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
recent_blockhashes_account.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
reward_type.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
rpc_port.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
secp256k1_instruction.rs precompile verify: &Arc<FeatureSet> to &FeatureSet (#27647) 2022-10-27 19:25:33 -05:00
shred_version.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00
signature.rs deprecates Pubkey::new in favor of Pubkey::{,try_}from (#29805) 2023-01-21 18:06:27 +00:00
system_transaction.rs Resized accounts must be rent exempt 2022-03-02 13:02:02 -08:00
timing.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
transaction_context.rs Adds TX signature to `TransactionContext` in debug mode (#29597) 2023-01-10 00:54:26 +01:00
transport.rs Expand solana-sdk API docs. (#29063) 2022-12-22 08:58:06 +00:00