solana/runtime/src
Tyera Eulberg 637e366b18
Prevent rent-paying account creation (#22292)
* Fixup typo

* Add new feature

* Add new TransactionError

* Add framework for checking account state before and after transaction processing

* Fail transactions that leave new rent-paying accounts

* Only check rent-state of writable tx accounts

* Review comments: combine process_result success behavior; log and metrics before feature activation

* Fix tests that assume rent-exempt accounts are okay

* Remove test no longer relevant

* Remove native/sysvar special case

* Move metrics submission to report legacy->legacy rent paying transitions as well
2022-01-11 11:32:25 -07:00
..
accounts_db Refactor slot status notification to decouple from accounts notifications (#21308) 2021-11-17 17:11:38 -08:00
bank Prevent rent-paying account creation (#22292) 2022-01-11 11:32:25 -07:00
serde_snapshot AcctIdx: define type for serialized AppendVecId (#21938) 2021-12-16 08:41:01 -06:00
account_info.rs load_accounts_index_for_shrink ignores cached entries (#21951) 2021-12-16 16:37:08 -06:00
account_rent_state.rs Prevent rent-paying account creation (#22292) 2022-01-11 11:32:25 -07:00
accounts.rs Add runtime support for address table lookups (#22223) 2022-01-07 11:59:09 +08:00
accounts_background_service.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
accounts_cache.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
accounts_db.rs Prevent rent-paying account creation (#22292) 2022-01-11 11:32:25 -07:00
accounts_hash.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
accounts_index.rs AcctIdx: hold ranges in memory uses multiple threads (#22031) 2021-12-21 17:31:48 -06:00
accounts_index_storage.rs AcctIdx: resize in-mem after startup for disk index (#21676) 2021-12-08 16:52:22 -06:00
accounts_update_notifier_interface.rs Refactor slot status notification to decouple from accounts notifications (#21308) 2021-11-17 17:11:38 -08:00
ancestors.rs impl better debug for Ancestors (#21737) 2021-12-09 18:36:13 -06:00
append_vec.rs AcctInfo: store offset in AccountInfo as u32 (#21895) 2021-12-15 15:41:11 -06:00
bank.rs Prevent rent-paying account creation (#22292) 2022-01-11 11:32:25 -07:00
bank_client.rs convert std::sync::mpsc to crossbeam_channel (#22264) 2022-01-11 02:44:46 -08:00
bank_forks.rs Don't forward packets received from TPU forwards port (#22078) 2021-12-29 19:34:31 +01:00
bank_utils.rs Refactor: Improve type safety and readability of transaction execution (#22215) 2022-01-05 10:15:15 +08:00
block_cost_limits.rs set secp256k1 cost similar to sigverify 2021-12-31 17:45:50 -06:00
blockhash_queue.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
bloom.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
bucket_map_holder.rs Use AtomicUsize for next_bucket_to_flush (#22095) 2022-01-03 10:35:35 -06:00
bucket_map_holder_stats.rs AcctIdx: items() uses held ranges (#21954) 2021-12-17 09:59:29 -06:00
builtins.rs Add zk_token_sdk_enabled feature to gate Zk Token proof program and `sol_zk_token_elgamal_op` syscalls 2022-01-05 11:57:37 -08:00
cache_hash_data.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
cache_hash_data_stats.rs
commitment.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
contains.rs
cost_model.rs Count compute units even when transaction errors (#22182) 2021-12-30 21:21:42 -05:00
cost_tracker.rs use cost model to limit new account creation (#21369) 2021-12-12 14:57:18 -06:00
epoch_stakes.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
execute_cost_table.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
genesis_utils.rs Don't forward packets received from TPU forwards port (#22078) 2021-12-29 19:34:31 +01:00
hardened_unpack.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
in_mem_accounts_index.rs AcctIdx: respect disk idx mem size param (#22050) 2021-12-22 09:54:05 -06:00
inline_spl_token.rs spl-token: New program feature flag (#21354) 2021-11-21 14:27:03 +01:00
lib.rs Prevent rent-paying account creation (#22292) 2022-01-11 11:32:25 -07:00
loader_utils.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
message_processor.rs Add runtime support for address table lookups (#22223) 2022-01-07 11:59:09 +08:00
non_circulating_supply.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
nonce_keyed_account.rs Refactor: Remove `KeyedAccount` from program runtime (#22226) 2022-01-03 23:30:56 +01:00
pubkey_bins.rs AcctIdx: support 2^24 bins (#20739) 2021-10-18 14:05:16 -05:00
read_only_accounts_cache.rs optimizes ReadOnlyAccountsCache LRU eviction implementation (#22403) 2022-01-11 17:25:28 +00:00
rent_collector.rs Refactor Rent::due() with RentDue enum (#22346) 2022-01-08 09:03:46 -06:00
secondary_index.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
serde_snapshot.rs AcctIdx: appendvecid: u32 (#21842) 2022-01-03 10:35:17 -06:00
shared_buffer_reader.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
snapshot_archive_info.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
snapshot_config.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
snapshot_hash.rs
snapshot_package.rs convert std::sync::mpsc to crossbeam_channel (#22264) 2022-01-11 02:44:46 -08:00
snapshot_utils.rs Check file size of `snapshot_version` when unarchiving snapshot (#21925) 2021-12-17 12:27:54 -06:00
sorted_storages.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
stake_delegations.rs Ensure that StakeDelegations and StakeHistory serde (#21640) 2021-12-06 17:34:10 -06:00
stake_history.rs Ensure that StakeDelegations and StakeHistory serde (#21640) 2021-12-06 17:34:10 -06:00
stake_weighted_timestamp.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
stakes.rs Remove activated feature for removing inactive delegations from stakes cache (#21732) 2021-12-14 09:23:36 -05:00
status_cache.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
system_instruction_processor.rs Refactor: Remove `KeyedAccount` from program runtime (#22226) 2022-01-03 23:30:56 +01:00
transaction_batch.rs Revert "Count compute units even when transaction errors (#22059)" (#22174) 2021-12-30 02:42:32 -05:00
vote_account.rs Deserialize accounts before acquiring stakes cache lock (#21733) 2021-12-10 16:02:35 -05:00
vote_sender_types.rs Add vote instructions that directly update on chain vote state (#21531) 2021-12-07 16:47:26 -08:00
waitable_condvar.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00