solana/accounts-db/src
Illia Bobyr d077b13efa
accounts-db: test_hash_stored_account: Avoid UB. (#33083)
unsafe { transmute }` in the test is generating undefined behavior, as it
assigns a value into `bool` that is neither 0 nor 1.

We see discrepancy between release and debug builds due to this.

It is better to avoid `unsafe` blocks if there alternatives that let the
compiler check everything.
2023-09-05 20:30:17 -07:00
..
account_storage
accounts_db
append_vec sdk: put AccountSharedData::set_data() behind feature="dev-context-only-utils" (#33086) 2023-09-01 21:02:14 +07:00
epoch_accounts_hash
tiered_storage General cleanup (#32980) 2023-08-24 21:44:19 +02:00
account_info.rs
account_overrides.rs
account_rent_state.rs
account_storage.rs Make should_panic tests compatible with 1.73+ panic format (#33099) 2023-09-01 02:04:22 +00:00
accounts.rs preliminaries for bumping nightly to 2023-08-25 (#33047) 2023-08-29 23:05:35 +00:00
accounts_cache.rs Fix write cache size grow/shrink bug (#32788) 2023-08-14 10:11:09 -07:00
accounts_db.rs accounts-db: test_hash_stored_account: Avoid UB. (#33083) 2023-09-05 20:30:17 -07:00
accounts_file.rs
accounts_hash.rs update comment (#32919) 2023-08-21 10:04:37 -07:00
accounts_index.rs Revert "Add an RPC API that can query the list of Top N secondary index keys and their sizes (#28887)" (#33121) 2023-09-01 14:36:06 -07:00
accounts_index_storage.rs
accounts_partition.rs
accounts_update_notifier_interface.rs
active_stats.rs
ancestors.rs
ancient_append_vecs.rs Make should_panic tests compatible with 1.73+ panic format (#33099) 2023-09-01 02:04:22 +00:00
append_vec.rs Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
blockhash_queue.rs
bucket_map_holder.rs
bucket_map_holder_stats.rs
cache_hash_data.rs Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871) 2023-08-21 19:11:21 +02:00
cache_hash_data_stats.rs refactor cache hash data stats (#32884) 2023-08-18 09:24:59 -07:00
contains.rs
epoch_accounts_hash.rs
hardened_unpack.rs Removes the "unpacked entries so far" log at startup (#33093) 2023-08-31 15:29:12 -04:00
in_mem_accounts_index.rs rework sorting during generate_index (#33076) 2023-08-31 12:51:56 -07:00
inline_spl_token.rs
inline_spl_token_2022.rs
lib.rs Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
nonce_info.rs
partitioned_rewards.rs
pubkey_bins.rs use shift for pubkey to bin calculation (#33090) 2023-08-31 15:04:25 -05:00
read_only_accounts_cache.rs update lru for read only cache if it has been long enough since last access (#32560) 2023-08-29 10:37:55 -07:00
rent_collector.rs replaces assert!(matches!(...)) with assert_matches!(...) (#33068) 2023-08-30 13:48:27 -04:00
rent_debits.rs
rolling_bit_field.rs Make should_panic tests compatible with 1.73+ panic format (#33099) 2023-09-01 02:04:22 +00:00
secondary_index.rs Revert "Add an RPC API that can query the list of Top N secondary index keys and their sizes (#28887)" (#33121) 2023-09-01 14:36:06 -07:00
shared_buffer_reader.rs
sorted_storages.rs General cleanup (#32980) 2023-08-24 21:44:19 +02:00
stake_rewards.rs Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871) 2023-08-21 19:11:21 +02:00
storable_accounts.rs preliminaries for bumping nightly to 2023-08-25 (#33047) 2023-08-29 23:05:35 +00:00
tiered_storage.rs TieredStorage struct (5/N) -- tests for write_accounts (#32850) 2023-08-18 11:29:53 -07:00
transaction_error_metrics.rs
transaction_results.rs
verify_accounts_hash_in_background.rs
waitable_condvar.rs