solana/sdk/src
sakridge 54c68ea83f
Drop write lock on sysvars (#15497)
* Drop write lock on sysvars

* adds env var for demoting sysvar write lock demotion

* moves demote logic to is_writable

* feature gates sysvar write lock demotion

* adds builtins to write lock demotion

* adds system program id to builtins

* adds Feature111...

* adds an abi-freeze test

* mvines set of builtin program keys

Co-authored-by: Michael Vines <mvines@gmail.com>

* update tests

* adds bpf loader keys

* Add test sysvar

* Plumb demote_sysvar to is_writable

* more plumbing of demote_sysvar_write_locks to is_writable

* patches test_program_bpf_instruction_introspection

* hard codes demote_sysvar_write_locks to false for serialization/encoding methods

* Revert "hard codes demote_sysvar_write_locks to false for serialization/encoding methods"

This reverts commit ae3e2d2e777437bddd753933097a210dcbc1b1fc.

* change the hardcoded ones to demote_sysvar_write_locks=true

* Use data_as_mut_slice

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
Co-authored-by: Michael Vines <mvines@gmail.com>
2021-03-30 10:05:09 -07:00
..
account.rs make AccountSharedData.data private to abstract storage (#16091) 2021-03-25 11:04:20 -05:00
account_utils.rs Account->AccountSharedData (#15691) 2021-03-09 15:06:07 -06:00
arithmetic.rs Add trait for saturating arithmetic (#15812) 2021-03-12 06:22:40 +00:00
builtins.rs
client.rs
commitment_config.rs Rpc: enable getConfirmedBlock and getConfirmedTransaction to return confirmed (not yet finalized) data (#16142) 2021-03-26 16:47:35 -06:00
deserialize_utils.rs
entrypoint.rs
entrypoint_deprecated.rs
entrypoint_native.rs
epoch_info.rs Add transactionCount field to GetEpochInfo 2020-12-17 12:29:50 -08:00
feature.rs mut data refs as slice (#15782) 2021-03-10 15:28:03 -06:00
feature_set.rs Drop write lock on sysvars (#15497) 2021-03-30 10:05:09 -07:00
genesis_config.rs Remove old feature: simple_capitalization (#15763) 2021-03-12 11:12:40 +09:00
hard_forks.rs Sdk: start to appease clippy's integer arithmetic check (#15736) 2021-03-08 18:37:57 -07:00
hash.rs
inflation.rs
keyed_account.rs Simplify account.rent_epoch handling for sysvar rent (#16049) 2021-03-25 15:23:20 +09:00
lib.rs Allow incomplete features in frozen-abi 2021-03-30 02:32:53 +00:00
log.rs Deprecate Instruction::new (#15695) 2021-03-04 05:46:48 +00:00
native_loader.rs Simplify account.rent_epoch handling for sysvar rent (#16049) 2021-03-25 15:23:20 +09:00
nonce_account.rs Account->AccountSharedData (#15691) 2021-03-09 15:06:07 -06:00
nonce_keyed_account.rs Sdk: start to appease clippy's integer arithmetic check (#15736) 2021-03-08 18:37:57 -07:00
packet.rs Add tracer key for tracing transaction path through the network (#15732) 2021-03-08 19:31:00 -08:00
poh_config.rs Add trait for saturating arithmetic (#15812) 2021-03-12 06:22:40 +00:00
process_instruction.rs Charge compute budget for bytes passed via cpi (#15874) 2021-03-15 22:41:44 -07:00
program_utils.rs
pubkey.rs Add secondary indexes (#14212) 2020-12-31 18:06:03 -08:00
recent_blockhashes_account.rs Simplify account.rent_epoch handling for sysvar rent (#16049) 2021-03-25 15:23:20 +09:00
rpc_port.rs Improve solana catchup (#14313) 2021-01-05 10:10:27 +09:00
secp256k1_instruction.rs Sdk: remove integer arithmetic (#15962) 2021-03-18 01:33:50 +00:00
shred_version.rs Sdk: start to appease clippy's integer arithmetic check (#15736) 2021-03-08 18:37:57 -07:00
signature.rs Upgrade to Rust v1.49.0 2021-01-23 19:16:36 -08:00
signers.rs
stake_weighted_timestamp.rs Add trait for saturating arithmetic (#15812) 2021-03-12 06:22:40 +00:00
system_transaction.rs
timing.rs Sdk: remove integer arithmetic (#15962) 2021-03-18 01:33:50 +00:00
transaction.rs Deprecate Instruction::new (#15695) 2021-03-04 05:46:48 +00:00
transport.rs