SYMBOL INDEX (15643 symbols across 945 files) FILE: chain/chain-primitives/src/error.rs type QueryError (line 15) | pub enum QueryError { type Error (line 69) | pub enum Error { method is_bad_data (line 259) | pub fn is_bad_data(&self) -> bool { method is_error (line 321) | pub fn is_error(&self) -> bool { method prometheus_label_value (line 333) | pub fn prometheus_label_value(&self) -> &'static str { method from (line 397) | fn from(error: EpochError) -> Self { method from (line 408) | fn from(error: BlockError) -> Self { method from (line 426) | fn from(error: ShardLayoutError) -> Self { method from (line 434) | fn from(error: BlockValidityError) -> Self { type LogTransientStorageError (line 245) | pub trait LogTransientStorageError { method log_storage_error (line 246) | fn log_storage_error(self, message: &str) -> Self; method log_storage_error (line 250) | fn log_storage_error(self, message: &str) -> Self { type EpochErrorResultToChainError (line 415) | pub trait EpochErrorResultToChainError { method into_chain_error (line 416) | fn into_chain_error(self) -> Result; function into_chain_error (line 420) | fn into_chain_error(self: Result) -> Result { type BlockKnownError (line 447) | pub enum BlockKnownError { type EpochSyncInfoError (line 467) | pub enum EpochSyncInfoError { FILE: chain/chain/src/block_processing_utils.rs constant MAX_PROCESSING_BLOCKS (line 17) | pub(crate) const MAX_PROCESSING_BLOCKS: usize = 5; type BlockPreprocessInfo (line 20) | pub(crate) struct BlockPreprocessInfo { type BlocksInProcessing (line 36) | pub(crate) struct BlocksInProcessing { method new (line 82) | pub(crate) fn new() -> Self { method len (line 86) | pub(crate) fn len(&self) -> usize { method add (line 92) | pub(crate) fn add( method contains (line 103) | pub(crate) fn contains(&self, block_hash: &CryptoHash) -> bool { method remove (line 107) | pub(crate) fn remove( method add_dry_run (line 115) | pub(crate) fn add_dry_run(&self, block_hash: &CryptoHash) -> Result<()... method has_blocks_to_catch_up (line 129) | pub(crate) fn has_blocks_to_catch_up(&self, prev_hash: &CryptoHash) ->... method wait_for_all_blocks (line 137) | pub(crate) fn wait_for_all_blocks(&self) -> bool { method wait_for_block (line 145) | pub(crate) fn wait_for_block( type AddError (line 42) | pub(crate) enum AddError { function from (line 48) | fn from(err: AddError) -> Self { type BlockProcessingArtifact (line 64) | pub struct BlockProcessingArtifact { type DoneApplyChunkCallback (line 76) | pub type DoneApplyChunkCallback = Arc () + Send + ... type BlockNotInPoolError (line 79) | pub struct BlockNotInPoolError; FILE: chain/chain/src/blocks_delay_tracker.rs constant BLOCK_DELAY_TRACKING_COUNT (line 19) | const BLOCK_DELAY_TRACKING_COUNT: u64 = 50; type BlocksDelayTracker (line 29) | pub struct BlocksDelayTracker { method mark_block_received (line 135) | pub fn mark_block_received( method mark_block_dropped (line 177) | pub fn mark_block_dropped(&mut self, block_hash: &CryptoHash, reason: ... method mark_block_errored (line 185) | pub fn mark_block_errored(&mut self, block_hash: &CryptoHash, err: Str... method mark_block_orphaned (line 193) | pub fn mark_block_orphaned(&mut self, block_hash: &CryptoHash, timesta... method mark_block_unorphaned (line 201) | pub fn mark_block_unorphaned(&mut self, block_hash: &CryptoHash, times... method mark_block_has_missing_chunks (line 209) | pub fn mark_block_has_missing_chunks(&mut self, block_hash: &CryptoHas... method mark_block_completed_missing_chunks (line 217) | pub fn mark_block_completed_missing_chunks( method mark_chunk_completed (line 229) | pub fn mark_chunk_completed( method mark_chunk_requested (line 245) | pub fn mark_chunk_requested( method update_head (line 261) | fn update_head(&mut self, head_height: BlockHeight) { method finish_block_processing (line 299) | pub fn finish_block_processing(&mut self, block_hash: &CryptoHash, new... method update_block_metrics (line 320) | fn update_block_metrics(&self, block: &BlockTrackingStats) { method update_chunk_metrics (line 339) | fn update_chunk_metrics(&self, chunk: &ChunkTrackingStats, shard_id: S... method get_block_processing_info (line 351) | fn get_block_processing_info( type BlockTrackingStats (line 45) | pub struct BlockTrackingStats { type ChunkTrackingStats (line 71) | pub struct ChunkTrackingStats { method new (line 82) | fn new(chunk_header: &ShardChunkHeader) -> Self { method to_chunk_processing_info (line 92) | fn to_chunk_processing_info( method get_block_status (line 414) | fn get_block_status( method get_chain_processing_info (line 440) | pub fn get_chain_processing_info(&self) -> ChainProcessingInfo { FILE: chain/chain/src/chain.rs constant INVALID_CHUNKS_POOL_SIZE (line 105) | pub const INVALID_CHUNKS_POOL_SIZE: usize = 5000; constant ACCEPTABLE_TIME_DIFFERENCE (line 109) | const ACCEPTABLE_TIME_DIFFERENCE: i64 = 60 * 60 * 24 * 365 * 10000; constant NUM_PARENTS_TO_CHECK_FINALITY (line 112) | const NUM_PARENTS_TO_CHECK_FINALITY: usize = 20; constant ACCEPTABLE_TIME_DIFFERENCE (line 116) | const ACCEPTABLE_TIME_DIFFERENCE: i64 = 12 * 10; constant UNC_BASE (line 119) | const UNC_BASE: Balance = 1_000_000_000_000_000_000_000_000; type ApplyChunksMode (line 127) | enum ApplyChunksMode { type BlockMissingChunks (line 134) | pub struct BlockMissingChunks { method fmt (line 141) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function check_header_known (line 153) | pub fn check_header_known( function check_known_store (line 171) | fn check_known_store( function check_known (line 188) | pub fn check_known( type BlockApplyChunksResult (line 214) | type BlockApplyChunksResult = (CryptoHash, Vec<(ShardId, Result Instant { method create_light_client_block (line 586) | pub fn create_light_client_block( method save_block (line 617) | pub fn save_block(&mut self, block: MaybeValidated) -> Result<(... method save_block_height_processed (line 631) | fn save_block_height_processed(&mut self, block_height: BlockHeight) -... method maybe_mark_block_invalid (line 640) | fn maybe_mark_block_invalid(&mut self, block_hash: CryptoHash, error: ... method get_state_sync_info (line 654) | fn get_state_sync_info( method validate_block (line 707) | pub fn validate_block(&self, block: &MaybeValidated) -> Result<... method validate_block_impl (line 716) | fn validate_block_impl( method partial_verify_orphan_header_signature (line 756) | fn partial_verify_orphan_header_signature(&self, header: &BlockHeader)... method check_if_finalizable (line 775) | fn check_if_finalizable(&self, header: &BlockHeader) -> Result<(), Err... method validate_header (line 806) | fn validate_header( method process_block_header (line 983) | pub fn process_block_header( method verify_block_hash_and_signature (line 1000) | pub fn verify_block_hash_and_signature( method verify_challenges (line 1048) | pub fn verify_challenges( method validate_chunk_headers (line 1094) | fn validate_chunk_headers(&self, block: &Block, prev_block: &Block) ->... method check_if_challenged_block_on_chain (line 1162) | fn check_if_challenged_block_on_chain(&self, block_header: &BlockHeade... method ping_missing_chunks (line 1185) | pub fn ping_missing_chunks( method care_about_any_shard_or_part (line 1240) | fn care_about_any_shard_or_part( method collect_incoming_receipts_from_block (line 1273) | pub fn collect_incoming_receipts_from_block( method start_process_block_async (line 1320) | pub fn start_process_block_async( method postprocess_ready_blocks (line 1364) | pub fn postprocess_ready_blocks( method process_challenge (line 1394) | pub fn process_challenge(&mut self, challenge: &Challenge) { method sync_block_headers (line 1416) | pub fn sync_block_headers( method is_on_current_chain (line 1492) | fn is_on_current_chain(&self, header: &BlockHeader) -> Result Option, prev_head: Tip) -> Block... method reset_heads_post_state_sync (line 1535) | pub fn reset_heads_post_state_sync( method start_process_block_impl (line 1571) | fn start_process_block_impl( method schedule_apply_chunks (line 1710) | fn schedule_apply_chunks( method postprocess_block_only (line 1740) | fn postprocess_block_only( method postprocess_block (line 1757) | fn postprocess_block( method garbage_collect_memtrie_roots (line 1889) | fn garbage_collect_memtrie_roots(&self, block: &Block, shard_uid: Shar... method preprocess_block (line 1903) | pub(crate) fn preprocess_block( method get_catchup_and_state_sync_infos (line 2077) | fn get_catchup_and_state_sync_infos( method prev_block_is_caught_up (line 2104) | pub fn prev_block_is_caught_up( method get_shards_to_state_sync (line 2124) | fn get_shards_to_state_sync( method should_catch_up_shard (line 2145) | fn should_catch_up_shard( method check_blocks_with_missing_chunks (line 2176) | pub fn check_blocks_with_missing_chunks( method get_outgoing_receipts_for_shard (line 2210) | pub fn get_outgoing_receipts_for_shard( method compute_state_response_header (line 2225) | pub fn compute_state_response_header( method get_state_response_header (line 2393) | pub fn get_state_response_header( method get_state_response_part (line 2414) | pub fn get_state_response_part( method set_state_header (line 2483) | pub fn set_state_header( method get_state_header (line 2642) | pub fn get_state_header( method set_state_part (line 2650) | pub fn set_state_part( method schedule_apply_state_parts (line 2676) | pub fn schedule_apply_state_parts( method set_state_finalize (line 2701) | pub fn set_state_finalize( method clear_downloaded_parts (line 2774) | pub fn clear_downloaded_parts( method catchup_blocks_step (line 2785) | pub fn catchup_blocks_step( method validate_chunk_transactions (line 2864) | fn validate_chunk_transactions( method get_apply_chunk_block_context (line 2900) | fn get_apply_chunk_block_context( method block_catch_up_postprocess (line 2921) | fn block_catch_up_postprocess( method finish_catchup_blocks (line 2959) | pub fn finish_catchup_blocks( method get_transaction_execution_result (line 3003) | pub fn get_transaction_execution_result( method get_recursive_transaction_results (line 3010) | fn get_recursive_transaction_results( method get_final_transaction_result (line 3024) | pub fn get_final_transaction_result( method get_final_transaction_result_with_receipt (line 3066) | pub fn get_final_transaction_result_with_receipt( method check_blocks_final_and_canonical (line 3094) | pub fn check_blocks_final_and_canonical( method create_chunk_state_challenge (line 3108) | pub fn create_chunk_state_challenge( method get_resharding_state_roots (line 3178) | fn get_resharding_state_roots( method get_blocks_until_height (line 3207) | fn get_blocks_until_height( method apply_chunks_preprocessing (line 3235) | fn apply_chunks_preprocessing( method get_shard_context (line 3304) | fn get_shard_context( method get_update_shard_job (line 3335) | fn get_update_shard_job( method get_blocks_range_with_missing_chunks (line 3504) | fn get_blocks_range_with_missing_chunks( method get_stateless_validation_job (line 3567) | fn get_stateless_validation_job( method process_snapshot (line 3776) | fn process_snapshot(&mut self) -> Result<(), Error> { method should_make_or_delete_snapshot (line 3804) | fn should_make_or_delete_snapshot(&mut self) -> Result<(bool, bool), E... method get_cached_state_parts (line 3833) | pub fn get_cached_state_parts( method combine_maybe_hashes (line 3903) | fn combine_maybe_hashes( method chain_update (line 3918) | fn chain_update(&mut self) -> ChainUpdate { method get_merkle_tree_node (line 3930) | fn get_merkle_tree_node( method reconstruct_merkle_tree_node (line 3988) | fn reconstruct_merkle_tree_node( method get_block_proof (line 4031) | pub fn get_block_proof( method head (line 4089) | pub fn head(&self) -> Result { method tail (line 4095) | pub fn tail(&self) -> Result { method header_head (line 4101) | pub fn header_head(&self) -> Result { method head_header (line 4107) | pub fn head_header(&self) -> Result { method final_head (line 4113) | pub fn final_head(&self) -> Result { method get_block (line 4119) | pub fn get_block(&self, hash: &CryptoHash) -> Result { method get_head_block (line 4124) | pub fn get_head_block(&self) -> Result { method get_chunk (line 4131) | pub fn get_chunk(&self, chunk_hash: &ChunkHash) -> Result Result Result<... method get_block_header (line 4159) | pub fn get_block_header(&self, hash: &CryptoHash) -> Result Resul... method get_block_header_on_chain_by_height (line 4171) | pub fn get_block_header_on_chain_by_height( method get_previous_header (line 4181) | pub fn get_previous_header(&self, header: &BlockHeader) -> Result Result, Er... method block_exists (line 4195) | pub fn block_exists(&self, hash: &CryptoHash) -> Result { method get_block_extra (line 4201) | pub fn get_block_extra(&self, block_hash: &CryptoHash) -> Result ... method get_next_block_hash_with_new_chunk (line 4225) | pub fn get_next_block_hash_with_new_chunk( method chain_store (line 4270) | pub fn chain_store(&self) -> &ChainStore { method mut_chain_store (line 4276) | pub fn mut_chain_store(&mut self) -> &mut ChainStore { method genesis_block (line 4282) | pub fn genesis_block(&self) -> &Block { method genesis (line 4288) | pub fn genesis(&self) -> &BlockHeader { method blocks_with_missing_chunks_len (line 4294) | pub fn blocks_with_missing_chunks_len(&self) -> usize { method blocks_in_processing_len (line 4299) | pub fn blocks_in_processing_len(&self) -> usize { method is_chunk_orphan (line 4305) | pub fn is_chunk_orphan(&self, hash: &CryptoHash) -> bool { method is_in_processing (line 4311) | pub fn is_in_processing(&self, hash: &CryptoHash) -> bool { method is_height_processed (line 4316) | pub fn is_height_processed(&self, height: BlockHeight) -> Result bool { method check_sync_hash_validity (line 4326) | pub fn check_sync_hash_validity(&self, sync_hash: &CryptoHash) -> Resu... method get_execution_outcome (line 4346) | pub fn get_execution_outcome( method retrieve_headers (line 4365) | pub fn retrieve_headers( method get_prev_chunk_headers (line 4402) | pub fn get_prev_chunk_headers( method get_prev_chunk_header (line 4416) | pub fn get_prev_chunk_header( method group_receipts_by_shard (line 4425) | pub fn group_receipts_by_shard( method build_receipts_hashes (line 4438) | pub fn build_receipts_hashes( method patch_state (line 4472) | pub fn patch_state(&mut self, patch: SandboxStatePatch) { method patch_state_in_progress (line 4476) | pub fn patch_state_in_progress(&self) -> bool { method validate_and_record_epoch_sync_info (line 4485) | pub fn validate_and_record_epoch_sync_info( method get_block_catchup_status (line 4718) | pub fn get_block_catchup_status( method drop (line 277) | fn drop(&mut self) { type UpdateShardJob (line 284) | type UpdateShardJob = type PreprocessBlockResult (line 289) | type PreprocessBlockResult = (Vec, BlockPreprocessInfo); type VerifyBlockHashAndSignatureResult (line 293) | pub enum VerifyBlockHashAndSignatureResult { function shard_id_out_of_bounds (line 3868) | fn shard_id_out_of_bounds(shard_id: ShardId) -> Error { function sync_hash_not_first_hash (line 3872) | fn sync_hash_not_first_hash(sync_hash: CryptoHash) -> Error { function get_should_apply_chunk (line 3883) | fn get_should_apply_chunk( function do_apply_chunks (line 4575) | pub fn do_apply_chunks( function collect_receipts (line 4592) | pub fn collect_receipts<'a, T>(receipt_proofs: T) -> Vec function collect_receipts_from_response (line 4599) | pub fn collect_receipts_from_response( type ApplyStatePartsRequest (line 4609) | pub struct ApplyStatePartsRequest { method fmt (line 4621) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type ApplyStatePartsResponse (line 4635) | pub struct ApplyStatePartsResponse { type BlockCatchUpRequest (line 4643) | pub struct BlockCatchUpRequest { method fmt (line 4652) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type BlockCatchUpResponse (line 4664) | pub struct BlockCatchUpResponse { type BlocksCatchUpState (line 4681) | pub struct BlocksCatchUpState { method new (line 4698) | pub fn new(first_block_hash: CryptoHash, epoch_id: EpochId) -> Self { method is_finished (line 4709) | pub fn is_finished(&self) -> bool { FILE: chain/chain/src/chain_update.rs type ChainUpdate (line 42) | pub struct ChainUpdate<'a> { function new (line 53) | pub fn new( function new_impl (line 72) | fn new_impl( function commit (line 91) | pub fn commit(self) -> Result<(), Error> { function save_receipt_id_to_shard_id_for_block (line 103) | fn save_receipt_id_to_shard_id_for_block( function get_receipt_id_to_shard_id (line 125) | fn get_receipt_id_to_shard_id( function apply_chunk_postprocessing (line 146) | pub(crate) fn apply_chunk_postprocessing( function process_resharding_results (line 179) | fn process_resharding_results( function process_apply_chunk_result (line 334) | fn process_apply_chunk_result( function postprocess_block (line 437) | pub(crate) fn postprocess_block( function create_light_client_block (line 548) | pub fn create_light_client_block( function verify_orphan_header_approvals (line 563) | fn verify_orphan_header_approvals(&mut self, header: &BlockHeader) -> Re... function update_header_head_if_not_challenged (line 593) | pub(crate) fn update_header_head_if_not_challenged( function update_final_head_from_block (line 610) | fn update_final_head_from_block(&mut self, header: &BlockHeader) -> Resu... function update_head (line 629) | fn update_head(&mut self, header: &BlockHeader) -> Result, E... function mark_block_as_challenged (line 648) | pub(crate) fn mark_block_as_challenged( function set_state_finalize (line 707) | pub fn set_state_finalize( function set_state_finalize_on_height (line 827) | pub fn set_state_finalize_on_height( function save_epoch_sync_info_if_finalised (line 890) | pub(crate) fn save_epoch_sync_info_if_finalised( function save_epoch_sync_info_impl (line 943) | fn save_epoch_sync_info_impl( function get_header_pair (line 963) | fn get_header_pair( function get_epoch_sync_info_headers (line 995) | fn get_epoch_sync_info_headers( function create_epoch_sync_info (line 1048) | pub fn create_epoch_sync_info( FILE: chain/chain/src/chunks_store.rs constant CHUNK_CACHE_SIZE (line 10) | const CHUNK_CACHE_SIZE: usize = 1024; constant CHUNK_CACHE_SIZE (line 12) | const CHUNK_CACHE_SIZE: usize = 1; type ReadOnlyChunksStore (line 14) | pub struct ReadOnlyChunksStore { method new (line 21) | pub fn new(store: Store) -> Self { method read_with_cache (line 29) | fn read_with_cache<'a, T: BorshDeserialize + Clone + 'a>( method get_partial_chunk (line 44) | pub fn get_partial_chunk( method get_chunk (line 54) | pub fn get_chunk(&self, chunk_hash: &ChunkHash) -> Result Self { method new_with_start (line 36) | pub fn new_with_start(key: CryptoHash, start: Instant) -> Self { method get_timer_value (line 39) | pub fn get_timer_value(key: CryptoHash) -> Option { method drop (line 45) | fn drop(&mut self) { function test_crypto_hash_timer (line 54) | fn test_crypto_hash_timer() { FILE: chain/chain/src/doomslug.rs constant MAX_TIMER_ITERS (line 18) | const MAX_TIMER_ITERS: usize = 20; constant MAX_HEIGHTS_AHEAD_TO_STORE_APPROVALS (line 25) | const MAX_HEIGHTS_AHEAD_TO_STORE_APPROVALS: BlockHeight = 10_000; constant MAX_HEIGHTS_BEFORE_TO_STORE_APPROVALS (line 28) | const MAX_HEIGHTS_BEFORE_TO_STORE_APPROVALS: u64 = 20; constant MAX_HISTORY_SIZE (line 31) | const MAX_HISTORY_SIZE: usize = 1000; type DoomslugThresholdMode (line 39) | pub enum DoomslugThresholdMode { type DoomslugBlockProductionReadiness (line 46) | pub enum DoomslugBlockProductionReadiness { type DoomslugTimer (line 51) | struct DoomslugTimer { method get_delay (line 158) | pub fn get_delay(&self, n: BlockHeightDelta) -> Duration { type DoomslugTip (line 61) | struct DoomslugTip { type DoomslugApprovalsTracker (line 66) | struct DoomslugApprovalsTracker { method new (line 165) | fn new( method process_approval (line 196) | fn process_approval( method withdraw_approval (line 222) | fn withdraw_approval(&mut self, account_id: &AccountId) { method get_block_production_readiness (line 242) | fn get_block_production_readiness(&mut self, now: Instant) -> Doomslug... method get_witnesses (line 258) | fn get_witnesses(&self) -> Vec<(AccountId, chrono::DateTime); method new (line 85) | pub fn new(value: BlockHeight, gauge: &'static Lazy) -> Self { method get (line 90) | pub fn get(&self) -> BlockHeight { method set (line 94) | pub fn set(&mut self, new: BlockHeight) { type DoomslugApprovalsTrackersAtHeight (line 115) | struct DoomslugApprovalsTrackersAtHeight { method new (line 267) | fn new() -> Self { method process_approval (line 286) | fn process_approval( method status (line 334) | pub fn status(&self) -> ApprovalAtHeightStatus { type Doomslug (line 123) | pub struct Doomslug { method new (line 360) | pub fn new( method adv_disable (line 402) | pub fn adv_disable(&mut self) { method get_tip (line 407) | pub fn get_tip(&self) -> (CryptoHash, BlockHeight) { method get_largest_height_crossing_threshold (line 414) | pub fn get_largest_height_crossing_threshold(&self) -> BlockHeight { method get_largest_approval_height (line 419) | pub fn get_largest_approval_height(&self) -> BlockHeight { method get_largest_final_height (line 423) | pub fn get_largest_final_height(&self) -> BlockHeight { method get_largest_target_height (line 427) | pub fn get_largest_target_height(&self) -> BlockHeight { method get_timer_height (line 431) | pub fn get_timer_height(&self) -> BlockHeight { method get_timer_start (line 435) | pub fn get_timer_start(&self) -> Instant { method get_approval_history (line 440) | pub fn get_approval_history(&self) -> Vec { method update_history (line 445) | fn update_history(&mut self, entry: ApprovalHistoryEntry) { method process_timer (line 468) | pub fn process_timer(&mut self, cur_time: Instant) -> Vec { method create_approval (line 536) | fn create_approval(&self, target_height: BlockHeight) -> Option Appro... method ready_to_produce_block (line 698) | pub fn ready_to_produce_block( function test_endorsements_and_skips_basic (line 793) | fn test_endorsements_and_skips_basic() { function test_doomslug_approvals (line 921) | fn test_doomslug_approvals() { function test_doomslug_one_approval_per_target_height (line 1050) | fn test_doomslug_one_approval_per_target_height() { FILE: chain/chain/src/flat_storage_creator.rs type FlatStorageShardCreator (line 38) | pub struct FlatStorageShardCreator { constant CATCH_UP_BLOCKS (line 56) | const CATCH_UP_BLOCKS: usize = 50; method new (line 58) | pub fn new( method nibbles_to_hex (line 78) | fn nibbles_to_hex(key_nibbles: &[u8]) -> String { method fetch_state_part (line 90) | fn fetch_state_part( method update_status (line 147) | pub fn update_status( type FlatStorageCreator (line 422) | pub struct FlatStorageCreator { method new (line 431) | pub fn new( method update_status (line 482) | pub fn update_status(&mut self, chain_store: &ChainStore) -> Result fmt::Result { method clear_data (line 113) | pub fn clear_data(&mut self, tries: ShardTries, gc_config: &GCConfig) ->... method clear_archive_data (line 208) | pub fn clear_archive_data(&mut self, gc_height_limit: BlockHeightDelta) ... method clear_forks_data (line 224) | fn clear_forks_data( method reset_data_pre_state_sync (line 273) | pub fn reset_data_pre_state_sync(&mut self, sync_hash: CryptoHash) -> Re... function clear_header_data_for_heights (line 341) | fn clear_header_data_for_heights( function clear_chunk_data_and_headers (line 362) | fn clear_chunk_data_and_headers(&mut self, min_chunk_height: BlockHeight... function clear_redundant_chunk_data (line 415) | fn clear_redundant_chunk_data( function get_shard_uids_to_gc (line 441) | fn get_shard_uids_to_gc( function clear_resharding_data (line 470) | fn clear_resharding_data( function clear_block_data (line 520) | pub fn clear_block_data( function clear_head_block_data (line 663) | pub fn clear_head_block_data( function clear_chunk_data_at_height (line 743) | fn clear_chunk_data_at_height(&mut self, height: BlockHeight) -> Result<... function gc_col_block_per_height (line 770) | fn gc_col_block_per_height( function gc_col_state_parts (line 801) | pub fn gc_col_state_parts( function gc_outgoing_receipts (line 814) | fn gc_outgoing_receipts(&mut self, block_hash: &CryptoHash, shard_id: Sh... function gc_outcomes (line 846) | fn gc_outcomes(&mut self, block: &Block) -> Result<(), Error> { function gc_col (line 867) | fn gc_col(&mut self, col: DBCol, key: &[u8]) { FILE: chain/chain/src/lightclient.rs function get_epoch_block_producers_view (line 11) | pub fn get_epoch_block_producers_view( function create_light_client_block_view (line 36) | pub fn create_light_client_block_view( FILE: chain/chain/src/metrics.rs type ReshardingStatus (line 144) | pub(crate) enum ReshardingStatus { function from (line 158) | fn from(value: ReshardingStatus) -> Self { FILE: chain/chain/src/migrations.rs function is_first_epoch_with_protocol_version (line 8) | fn is_first_epoch_with_protocol_version( function check_if_block_is_first_with_chunk_of_version (line 21) | pub fn check_if_block_is_first_with_chunk_of_version( FILE: chain/chain/src/missing_chunks.rs type BlockHash (line 12) | type BlockHash = CryptoHash; constant MAX_BLOCKS_MISSING_CHUNKS (line 14) | const MAX_BLOCKS_MISSING_CHUNKS: usize = 1024; type BlockLike (line 16) | pub trait BlockLike { method hash (line 17) | fn hash(&self) -> BlockHash; method height (line 18) | fn height(&self) -> BlockHeight; method hash (line 217) | fn hash(&self) -> BlockHash { method height (line 221) | fn height(&self) -> u64 { type HeightOrdered (line 22) | struct HeightOrdered(T); method eq (line 25) | fn eq(&self, other: &Self) -> bool { method partial_cmp (line 31) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 36) | fn cmp(&self, other: &Self) -> Ordering { type MissingChunksPool (line 46) | pub struct MissingChunksPool { function new (line 55) | pub fn new() -> Self { function contains (line 65) | pub fn contains(&self, block_hash: &BlockHash) -> bool { function get (line 69) | pub fn get(&self, block_hash: &BlockHash) -> Option<&Block> { function len (line 73) | pub fn len(&self) -> usize { function ready_blocks (line 77) | pub fn ready_blocks(&mut self) -> Vec { function add_block_with_missing_chunks (line 85) | pub fn add_block_with_missing_chunks(&mut self, block: Block, missing_ch... function accept_chunk (line 126) | pub fn accept_chunk(&mut self, chunk_hash: &ChunkHash) { function mark_block_as_ready (line 151) | fn mark_block_as_ready(&mut self, block_hash: &BlockHash) { function prune_blocks_below_height (line 165) | pub fn prune_blocks_below_height(&mut self, height: BlockHeight) { function get_hash (line 198) | fn get_hash(idx: u64) -> CryptoHash { function get_chunk_hash (line 202) | fn get_chunk_hash(idx: u64) -> ChunkHash { type MockBlock (line 207) | struct MockBlock { method new (line 212) | fn new(height: BlockHeight) -> Self { function should_mark_blocks_as_ready_after_all_chunks_accepted (line 227) | fn should_mark_blocks_as_ready_after_all_chunks_accepted() { function should_not_add_new_blocks_after_size_limit (line 249) | fn should_not_add_new_blocks_after_size_limit() { function should_remove_old_blocks_when_prune_called (line 273) | fn should_remove_old_blocks_when_prune_called() { FILE: chain/chain/src/orphan.rs constant MAX_ORPHAN_SIZE (line 18) | const MAX_ORPHAN_SIZE: usize = 1024; constant MAX_ORPHAN_AGE_SECS (line 21) | const MAX_ORPHAN_AGE_SECS: u64 = 300; constant NUM_ORPHAN_ANCESTORS_CHECK (line 26) | pub const NUM_ORPHAN_ANCESTORS_CHECK: u64 = 1; constant MAX_ORPHAN_MISSING_CHUNKS (line 33) | const MAX_ORPHAN_MISSING_CHUNKS: usize = 5; type Orphan (line 39) | pub struct Orphan { method prev_hash (line 56) | fn prev_hash(&self) -> &CryptoHash { method hash (line 46) | fn hash(&self) -> CryptoHash { method height (line 50) | fn height(&self) -> u64 { type OrphanBlockPool (line 68) | pub struct OrphanBlockPool { method new (line 87) | pub fn new() -> OrphanBlockPool { method len (line 97) | pub fn len(&self) -> usize { method len_evicted (line 101) | fn len_evicted(&self) -> usize { method add (line 107) | fn add(&mut self, orphan: Orphan, requested_missing_chunks: bool) { method contains (line 153) | pub fn contains(&self, hash: &CryptoHash) -> bool { method get (line 157) | pub fn get(&self, hash: &CryptoHash) -> Option<&Orphan> { method remove_by_prev_hash (line 173) | pub fn remove_by_prev_hash(&mut self, prev_hash: CryptoHash) -> Option... method get_orphans_within_depth (line 193) | pub fn get_orphans_within_depth( method can_request_missing_chunks_for_orphan (line 227) | fn can_request_missing_chunks_for_orphan(&self, block_hash: &CryptoHas... method mark_missing_chunks_requested_for_orphan (line 232) | fn mark_missing_chunks_requested_for_orphan(&mut self, block_hash: Cry... type OrphanMissingChunks (line 239) | pub struct OrphanMissingChunks { method fmt (line 250) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method save_orphan (line 260) | pub fn save_orphan( method should_request_chunks_for_orphan (line 299) | pub fn should_request_chunks_for_orphan( method check_orphan_partial_chunks_requested (line 351) | pub fn check_orphan_partial_chunks_requested(&self, block_hash: &CryptoH... method check_orphans (line 363) | pub fn check_orphans( method orphans_len (line 416) | pub fn orphans_len(&self) -> usize { method orphans_evicted_len (line 422) | pub fn orphans_evicted_len(&self) -> usize { method is_orphan (line 428) | pub fn is_orphan(&self, hash: &CryptoHash) -> bool { FILE: chain/chain/src/resharding.rs type ReshardingRequest (line 39) | pub struct ReshardingRequest { method fmt (line 65) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type ReshardingResponse (line 82) | pub struct ReshardingResponse { function get_checked_account_id_to_shard_uid_fn (line 88) | fn get_checked_account_id_to_shard_uid_fn( type TrieEntry (line 110) | type TrieEntry = (Vec, Option>); type TrieUpdateBatch (line 112) | struct TrieUpdateBatch { function get_trie_update_batch (line 119) | fn get_trie_update_batch( function apply_delayed_receipts (line 140) | fn apply_delayed_receipts<'a>( function set_flat_storage_state (line 170) | fn set_flat_storage_state( function read_flat_state_value (line 189) | fn read_flat_state_value( method build_state_for_resharding_preprocessing (line 200) | pub fn build_state_for_resharding_preprocessing( method retry_build_state_for_split_shards (line 240) | pub fn retry_build_state_for_split_shards(resharding_request: &Reshardin... method build_state_for_split_shards (line 267) | pub fn build_state_for_split_shards( method build_state_for_split_shards_impl (line 286) | fn build_state_for_split_shards_impl( method build_state_for_split_shards_postprocessing (line 423) | pub fn build_state_for_split_shards_postprocessing( method initialize_flat_storage (line 455) | fn initialize_flat_storage( FILE: chain/chain/src/sharding.rs function shuffle_receipt_proofs (line 6) | pub fn shuffle_receipt_proofs( function receipt_randomness_reproducibility (line 22) | pub fn receipt_randomness_reproducibility() { FILE: chain/chain/src/state_request_tracker.rs constant REQUESTED_STATE_PARTS_CACHE_SIZE (line 11) | const REQUESTED_STATE_PARTS_CACHE_SIZE: usize = 4; type StateRequestTracker (line 18) | pub(crate) struct StateRequestTracker { method new (line 23) | pub(crate) fn new() -> Self { method save_state_part_elapsed (line 29) | pub(crate) fn save_state_part_elapsed( method get_requested_state_parts (line 47) | pub fn get_requested_state_parts(&self) -> Vec { FILE: chain/chain/src/state_snapshot_actor.rs type StateSnapshotActor (line 19) | pub struct StateSnapshotActor { method new (line 26) | pub fn new( type Context (line 36) | type Context = Context; type Result (line 64) | type Result = (); method handle (line 67) | fn handle( type Result (line 87) | type Result = (); method handle (line 90) | fn handle(&mut self, msg: WithSpanContext, cont... type Result (line 132) | type Result = (); method handle (line 135) | fn handle(&mut self, msg: WithSpanContext, _: ... type DeleteAndMaybeCreateSnapshotRequest (line 41) | struct DeleteAndMaybeCreateSnapshotRequest { type CreateSnapshotRequest (line 48) | struct CreateSnapshotRequest { type CompactSnapshotRequest (line 61) | struct CompactSnapshotRequest {} type MakeSnapshotCallback (line 147) | type MakeSnapshotCallback = type DeleteSnapshotCallback (line 150) | type DeleteSnapshotCallback = Arc () + Send + Sync + 'static>; type SnapshotCallbacks (line 152) | pub struct SnapshotCallbacks { function get_make_snapshot_callback (line 158) | pub fn get_make_snapshot_callback( function get_delete_snapshot_callback (line 186) | pub fn get_delete_snapshot_callback( FILE: chain/chain/src/store.rs constant CACHE_SIZE (line 58) | const CACHE_SIZE: usize = 100; constant CHUNK_CACHE_SIZE (line 60) | const CHUNK_CACHE_SIZE: usize = 1024; constant CACHE_SIZE (line 63) | const CACHE_SIZE: usize = 1; constant CHUNK_CACHE_SIZE (line 65) | const CHUNK_CACHE_SIZE: usize = 1; type ChainStoreAccess (line 68) | pub trait ChainStoreAccess { method chain_store (line 70) | fn chain_store(&self) -> &ChainStore; method store (line 72) | fn store(&self) -> &Store; method head (line 74) | fn head(&self) -> Result; method tail (line 76) | fn tail(&self) -> Result; method chunk_tail (line 78) | fn chunk_tail(&self) -> Result; method fork_tail (line 80) | fn fork_tail(&self) -> Result; method header_head (line 82) | fn header_head(&self) -> Result; method head_header (line 84) | fn head_header(&self) -> Result; method final_head (line 86) | fn final_head(&self) -> Result; method largest_target_height (line 88) | fn largest_target_height(&self) -> Result; method get_block (line 90) | fn get_block(&self, h: &CryptoHash) -> Result; method get_chunk (line 92) | fn get_chunk(&self, chunk_hash: &ChunkHash) -> Result,... method get_partial_chunk (line 94) | fn get_partial_chunk(&self, chunk_hash: &ChunkHash) -> Result Re... method block_exists (line 117) | fn block_exists(&self, h: &CryptoHash) -> Result; method chunk_exists (line 119) | fn chunk_exists(&self, h: &ChunkHash) -> Result; method get_previous_header (line 121) | fn get_previous_header(&self, header: &BlockHeader) -> Result Result Result; method get_block_hash_by_height (line 133) | fn get_block_hash_by_height(&self, height: BlockHeight) -> Result Result, Error> { method get_block_header_by_height (line 162) | fn get_block_header_by_height(&self, height: BlockHeight) -> Result Result Result Result; method get_blocks_to_catchup (line 295) | fn get_blocks_to_catchup(&self, prev_hash: &CryptoHash) -> Result Resu... method get_transaction (line 306) | fn get_transaction( method get_receipt (line 316) | fn get_receipt(&self, receipt_id: &CryptoHash) -> Result BlockHeight; method get_block_merkle_tree (line 320) | fn get_block_merkle_tree( method get_block_hash_from_ordinal (line 325) | fn get_block_hash_from_ordinal(&self, block_ordinal: NumBlocks) -> Res... method get_block_merkle_tree_from_ordinal (line 327) | fn get_block_merkle_tree_from_ordinal( method is_height_processed (line 335) | fn is_height_processed(&self, height: BlockHeight) -> Result Result &ChainStore { method store (line 1104) | fn store(&self) -> &Store { method head (line 1108) | fn head(&self) -> Result { method tail (line 1117) | fn tail(&self) -> Result { method chunk_tail (line 1129) | fn chunk_tail(&self) -> Result { method fork_tail (line 1136) | fn fork_tail(&self) -> Result { method head_header (line 1144) | fn head_header(&self) -> Result { method largest_target_height (line 1149) | fn largest_target_height(&self) -> Result { method header_head (line 1158) | fn header_head(&self) -> Result { method final_head (line 1163) | fn final_head(&self) -> Result { method get_block (line 1168) | fn get_block(&self, h: &CryptoHash) -> Result { method get_chunk (line 1176) | fn get_chunk(&self, chunk_hash: &ChunkHash) -> Result,... method get_partial_chunk (line 1184) | fn get_partial_chunk(&self, chunk_hash: &ChunkHash) -> Result Result { method chunk_exists (line 1197) | fn chunk_exists(&self, h: &ChunkHash) -> Result { method get_previous_header (line 1206) | fn get_previous_header(&self, header: &BlockHeader) -> Result Result Result Result Result Result Result Result { method is_invalid_chunk (line 1327) | fn is_invalid_chunk( method get_shard_id_for_receipt_id (line 1335) | fn get_shard_id_for_receipt_id(&self, receipt_id: &CryptoHash) -> Resu... method get_transaction (line 1346) | fn get_transaction( method get_receipt (line 1354) | fn get_receipt(&self, receipt_id: &CryptoHash) -> Result BlockHeight { method get_block_merkle_tree (line 1363) | fn get_block_merkle_tree( method get_block_hash_from_ordinal (line 1377) | fn get_block_hash_from_ordinal(&self, block_ordinal: NumBlocks) -> Res... method is_height_processed (line 1388) | fn is_height_processed(&self, height: BlockHeight) -> Result &ChainStore { method store (line 1487) | fn store(&self) -> &Store { method head (line 1492) | fn head(&self) -> Result { method tail (line 1501) | fn tail(&self) -> Result { method chunk_tail (line 1510) | fn chunk_tail(&self) -> Result { method fork_tail (line 1519) | fn fork_tail(&self) -> Result { method header_head (line 1528) | fn header_head(&self) -> Result { method final_head (line 1536) | fn final_head(&self) -> Result { method largest_target_height (line 1544) | fn largest_target_height(&self) -> Result { method head_header (line 1553) | fn head_header(&self) -> Result { method get_block (line 1558) | fn get_block(&self, h: &CryptoHash) -> Result { method block_exists (line 1567) | fn block_exists(&self, h: &CryptoHash) -> Result { method chunk_exists (line 1572) | fn chunk_exists(&self, h: &ChunkHash) -> Result { method get_previous_header (line 1578) | fn get_previous_header(&self, header: &BlockHeader) -> Result Result Result Result Result Result Result,... method get_partial_chunk (line 1697) | fn get_partial_chunk(&self, chunk_hash: &ChunkHash) -> Result Re... method get_blocks_to_catchup (line 1713) | fn get_blocks_to_catchup(&self, prev_hash: &CryptoHash) -> Result Result { method is_invalid_chunk (line 1729) | fn is_invalid_chunk( method get_shard_id_for_receipt_id (line 1740) | fn get_shard_id_for_receipt_id(&self, receipt_id: &CryptoHash) -> Resu... method get_transaction (line 1749) | fn get_transaction( method get_receipt (line 1760) | fn get_receipt(&self, receipt_id: &CryptoHash) -> Result BlockHeight { method get_block_merkle_tree (line 1772) | fn get_block_merkle_tree( method get_block_hash_from_ordinal (line 1783) | fn get_block_hash_from_ordinal(&self, block_ordinal: NumBlocks) -> Res... method is_height_processed (line 1793) | fn is_height_processed(&self, height: BlockHeight) -> Result ReadOnlyChunksStore { method store_update (line 501) | pub fn store_update(&mut self) -> ChainStoreUpdate<'_> { method iterate_state_sync_infos (line 505) | pub fn iterate_state_sync_infos(&self) -> Result Result { method save_latest_known (line 894) | pub fn save_latest_known(&mut self, latest_known: LatestKnown) -> Resu... method get_epoch_sync_info (line 903) | pub fn get_epoch_sync_info(&self, epoch_id: &EpochId) -> Result Option { method read_with_cache (line 1045) | fn read_with_cache<'a, T: BorshDeserialize + Clone + 'a>( method state_sync_dump_progress_key (line 1064) | fn state_sync_dump_progress_key(shard_id: ShardId) -> Vec { method get_state_sync_dump_progress (line 1072) | pub fn get_state_sync_dump_progress( method set_state_sync_dump_progress (line 1084) | pub fn set_state_sync_dump_progress( function option_to_not_found (line 454) | fn option_to_not_found(res: io::Result>, field_name: F) ... type ChainStoreCacheUpdate (line 1401) | pub(crate) struct ChainStoreCacheUpdate { type ChainStoreUpdate (line 1428) | pub struct ChainStoreUpdate<'a> { function new (line 1457) | pub fn new(chain_store: &'a mut ChainStore) -> Self { function save_head (line 1804) | pub fn save_head(&mut self, t: &Tip) -> Result<(), Error> { function save_body_head (line 1810) | pub fn save_body_head(&mut self, t: &Tip) -> Result<(), Error> { function save_final_head (line 1816) | pub fn save_final_head(&mut self, t: &Tip) -> Result<(), Error> { function update_height_if_not_challenged (line 1823) | fn update_height_if_not_challenged( function force_save_header_head (line 1869) | pub fn force_save_header_head(&mut self, t: &Tip) -> Result<(), Error> { function save_header_head_if_not_challenged (line 1884) | pub fn save_header_head_if_not_challenged(&mut self, t: &Tip) -> Result<... function save_largest_target_height (line 1917) | pub fn save_largest_target_height(&mut self, height: BlockHeight) { function try_save_latest_known (line 1922) | pub fn try_save_latest_known(&mut self, height: BlockHeight) -> Result<(... function adv_save_latest_known (line 1932) | pub fn adv_save_latest_known(&mut self, height: BlockHeight) -> Result<(... function save_block (line 1942) | pub fn save_block(&mut self, block: Block) { function save_block_extra (line 1947) | pub fn save_block_extra(&mut self, block_hash: &CryptoHash, block_extra:... function save_chunk_extra (line 1952) | pub fn save_chunk_extra( function save_chunk (line 1963) | pub fn save_chunk(&mut self, chunk: ShardChunk) { function save_partial_chunk (line 1977) | pub fn save_partial_chunk(&mut self, partial_chunk: PartialEncodedChunk) { function save_block_merkle_tree (line 1983) | pub fn save_block_merkle_tree( function update_and_save_block_merkle_tree (line 1993) | fn update_and_save_block_merkle_tree(&mut self, header: &BlockHeader) ->... function save_block_header_no_update_tree (line 2008) | pub fn save_block_header_no_update_tree(&mut self, header: BlockHeader) ... function save_block_header (line 2013) | pub fn save_block_header(&mut self, header: BlockHeader) -> Result<(), E... function save_next_block_hash (line 2019) | pub fn save_next_block_hash(&mut self, hash: &CryptoHash, next_hash: Cry... function save_epoch_light_client_block (line 2023) | pub fn save_epoch_light_client_block( function save_outgoing_receipt (line 2034) | pub fn save_outgoing_receipt( function save_receipt_id_to_shard_id (line 2045) | pub fn save_receipt_id_to_shard_id(&mut self, receipt_id: CryptoHash, sh... function save_incoming_receipt (line 2049) | pub fn save_incoming_receipt( function save_outcomes_with_proofs (line 2058) | pub fn save_outcomes_with_proofs( function save_trie_changes (line 2076) | pub fn save_trie_changes(&mut self, trie_changes: WrappedTrieChanges) { function add_state_changes_for_resharding (line 2080) | pub fn add_state_changes_for_resharding( function remove_state_changes_for_resharding (line 2092) | pub fn remove_state_changes_for_resharding( function add_block_to_catchup (line 2103) | pub fn add_block_to_catchup(&mut self, prev_hash: CryptoHash, block_hash... function remove_block_to_catchup (line 2107) | pub fn remove_block_to_catchup(&mut self, prev_hash: CryptoHash, hash: C... function remove_prev_block_to_catchup (line 2111) | pub fn remove_prev_block_to_catchup(&mut self, hash: CryptoHash) { function add_state_sync_info (line 2115) | pub fn add_state_sync_info(&mut self, info: StateSyncInfo) { function remove_state_sync_info (line 2119) | pub fn remove_state_sync_info(&mut self, hash: CryptoHash) { function save_challenged_block (line 2123) | pub fn save_challenged_block(&mut self, hash: CryptoHash) { function save_invalid_chunk (line 2127) | pub fn save_invalid_chunk(&mut self, chunk: EncodedShardChunk) { function save_block_height_processed (line 2131) | pub fn save_block_height_processed(&mut self, height: BlockHeight) { function inc_block_refcount (line 2135) | pub fn inc_block_refcount(&mut self, block_hash: &CryptoHash) -> Result<... function dec_block_refcount (line 2147) | pub fn dec_block_refcount(&mut self, block_hash: &CryptoHash) -> Result<... function reset_tail (line 2158) | pub fn reset_tail(&mut self) { function update_tail (line 2164) | pub fn update_tail(&mut self, height: BlockHeight) -> Result<(), Error> { function update_fork_tail (line 2180) | pub fn update_fork_tail(&mut self, height: BlockHeight) { function update_chunk_tail (line 2184) | pub fn update_chunk_tail(&mut self, height: BlockHeight) { function merge (line 2189) | pub fn merge(&mut self, store_update: StoreUpdate) { function write_col_misc (line 2193) | fn write_col_misc( function copy_chain_state_as_of_block (line 2207) | pub fn copy_chain_state_as_of_block( function finalize (line 2319) | fn finalize(&mut self) -> Result { function commit (line 2627) | pub fn commit(mut self) -> Result<(), Error> { function test_tx_validity_long_fork (line 2747) | fn test_tx_validity_long_fork() { function test_tx_validity_normal_case (line 2801) | fn test_tx_validity_normal_case() { function test_tx_validity_off_by_one (line 2850) | fn test_tx_validity_off_by_one() { function test_cache_invalidation (line 2898) | fn test_cache_invalidation() { FILE: chain/chain/src/store_validator.rs type StoreValidatorCache (line 35) | pub struct StoreValidatorCache { method new (line 49) | fn new() -> Self { type ErrorMessage (line 65) | pub struct ErrorMessage { type StoreValidator (line 71) | pub struct StoreValidator { method new (line 88) | pub fn new( method set_timeout (line 112) | pub fn set_timeout(&mut self, timeout: u64) { method is_failed (line 115) | pub fn is_failed(&self) -> bool { method num_failed (line 118) | pub fn num_failed(&self) -> u64 { method tests_done (line 121) | pub fn tests_done(&self) -> u64 { method process_error (line 124) | fn process_error(&mut self, err: StoreValidatorErr... method validate_col (line 127) | fn validate_col(&mut self, col: DBCol) -> Result<(), StoreValidatorErr... method validate (line 325) | pub fn validate(&mut self) { method check (line 372) | fn check( function init (line 396) | fn init() -> (Chain, StoreValidator) { function test_io_error (line 421) | fn test_io_error() { function test_db_corruption (line 440) | fn test_db_corruption() { function test_db_not_found (line 453) | fn test_db_not_found() { function test_discrepancy (line 464) | fn test_discrepancy() { function test_validation_failed (line 476) | fn test_validation_failed() { FILE: chain/chain/src/store_validator/validate.rs type StoreValidatorError (line 20) | pub enum StoreValidatorError { function head_tail_validity (line 104) | pub(crate) fn head_tail_validity(sv: &mut StoreValidator) -> Result<(), ... function block_header_hash_validity (line 164) | pub(crate) fn block_header_hash_validity( function block_header_height_validity (line 173) | pub(crate) fn block_header_height_validity( function block_hash_validity (line 186) | pub(crate) fn block_hash_validity( function block_height_validity (line 195) | pub(crate) fn block_height_validity( function block_indexed_by_height (line 212) | pub(crate) fn block_indexed_by_height( function block_header_exists (line 236) | pub(crate) fn block_header_exists( function chunk_hash_validity (line 248) | pub(crate) fn chunk_hash_validity( function chunk_tail_validity (line 262) | pub(crate) fn chunk_tail_validity( function chunk_indexed_by_height_created (line 279) | pub(crate) fn chunk_indexed_by_height_created( function header_hash_indexed_by_height (line 297) | pub(crate) fn header_hash_indexed_by_height( function chunk_tx_exists (line 333) | pub(crate) fn chunk_tx_exists( function block_chunks_exist (line 356) | pub(crate) fn block_chunks_exist( function block_chunks_height_validity (line 408) | pub(crate) fn block_chunks_height_validity( function block_info_exists (line 425) | pub(crate) fn block_info_exists( function block_epoch_exists (line 437) | pub(crate) fn block_epoch_exists( function block_increment_refcount (line 452) | pub(crate) fn block_increment_refcount( function canonical_header_validity (line 464) | pub(crate) fn canonical_header_validity( function canonical_prev_block_validity (line 480) | pub(crate) fn canonical_prev_block_validity( function trie_changes_chunk_extra_exists (line 525) | pub(crate) fn trie_changes_chunk_extra_exists( function chunk_of_height_exists (line 611) | pub(crate) fn chunk_of_height_exists( function header_hash_of_height_exists (line 632) | pub(crate) fn header_hash_of_height_exists( function outcome_by_outcome_id_exists (line 648) | pub(crate) fn outcome_by_outcome_id_exists( function outcome_id_block_exists (line 667) | pub(crate) fn outcome_id_block_exists( function outcome_indexed_by_block_hash (line 679) | pub(crate) fn outcome_indexed_by_block_hash( function state_sync_info_valid (line 718) | pub(crate) fn state_sync_info_valid( function state_sync_info_block_exists (line 731) | pub(crate) fn state_sync_info_block_exists( function chunk_extra_block_exists (line 743) | pub(crate) fn chunk_extra_block_exists( function block_info_block_header_exists (line 755) | pub(crate) fn block_info_block_header_exists( function epoch_validity (line 771) | pub(crate) fn epoch_validity( function tx_refcount (line 780) | pub(crate) fn tx_refcount( function receipt_refcount (line 794) | pub(crate) fn receipt_refcount( function block_refcount (line 808) | pub(crate) fn block_refcount( function state_header_block_exists (line 836) | pub(crate) fn state_header_block_exists( function state_part_header_exists (line 848) | pub(crate) fn state_part_header_exists( function block_height_cmp_tail_final (line 871) | pub(crate) fn block_height_cmp_tail_final(sv: &StoreValidator) -> Result... function tx_refcount_final (line 880) | pub(crate) fn tx_refcount_final(sv: &StoreValidator) -> Result<(), Store... function receipt_refcount_final (line 891) | pub(crate) fn receipt_refcount_final(sv: &StoreValidator) -> Result<(), ... function block_refcount_final (line 902) | pub(crate) fn block_refcount_final(sv: &StoreValidator) -> Result<(), St... FILE: chain/chain/src/test_utils.rs function get_chain (line 33) | pub fn get_chain() -> Chain { function get_chain_with_num_shards (line 37) | pub fn get_chain_with_num_shards(num_shards: NumShards) -> Chain { function get_chain_with_epoch_length (line 41) | pub fn get_chain_with_epoch_length(epoch_length: NumBlocks) -> Chain { function get_chain_with_epoch_length_and_num_shards (line 45) | pub fn get_chain_with_epoch_length_and_num_shards( function wait_for_all_blocks_in_processing (line 71) | pub fn wait_for_all_blocks_in_processing(chain: &Chain) -> bool { function is_block_in_processing (line 75) | pub fn is_block_in_processing(chain: &Chain, block_hash: &CryptoHash) ->... function wait_for_block_in_processing (line 79) | pub fn wait_for_block_in_processing( function process_block_sync (line 88) | pub fn process_block_sync( function setup (line 112) | pub fn setup() -> (Chain, Arc, Arc, A... function setup_with_tx_validity_period (line 117) | fn setup_with_tx_validity_period( function setup_with_validators (line 151) | pub fn setup_with_validators( function setup_with_validators_and_start_time (line 186) | pub fn setup_with_validators_and_start_time( function format_hash (line 222) | pub fn format_hash(hash: CryptoHash) -> String { function display_chain (line 229) | pub fn display_chain(me: &Option, chain: &mut Chain, tail: bo... method test (line 323) | pub fn test() -> Self { function naive_build_receipt_hashes (line 355) | fn naive_build_receipt_hashes( function test_build_receipt_hashes_with_num_shard (line 373) | fn test_build_receipt_hashes_with_num_shard(num_shards: NumShards) { function test_build_receipt_hashes (line 405) | fn test_build_receipt_hashes() { FILE: chain/chain/src/test_utils/kv_runtime.rs type KeyValueRuntime (line 70) | pub struct KeyValueRuntime { method new (line 330) | pub fn new(store: Store, epoch_manager: &MockEpochManager) -> Arc { method new_with_no_gc (line 333) | pub fn new_with_no_gc( method get_block_header (line 385) | fn get_block_header(&self, hash: &CryptoHash) -> Result Arc { method new_with_validators (line 137) | pub fn new_with_validators( method get_epoch_and_valset (line 221) | fn get_epoch_and_valset( method get_block_producers (line 292) | fn get_block_producers(&self, valset: usize) -> &[ValidatorPowerAndPle... method get_chunk_producers (line 296) | fn get_chunk_producers( method get_valset_for_epoch (line 304) | fn get_valset_for_epoch(&self, epoch_id: &EpochId) -> Result Result bool { method shard_ids (line 425) | fn shard_ids(&self, _epoch_id: &EpochId) -> Result, EpochEr... method num_total_parts (line 429) | fn num_total_parts(&self) -> usize { method num_data_parts (line 433) | fn num_data_parts(&self) -> usize { method get_part_owner (line 443) | fn get_part_owner(&self, epoch_id: &EpochId, part_id: u64) -> Result Result, E... method get_epoch_config (line 472) | fn get_epoch_config(&self, _epoch_id: &EpochId) -> Result Result, ... method get_shard_layout (line 539) | fn get_shard_layout(&self, _epoch_id: &EpochId) -> Result Result Result<... method is_last_block_in_finished_epoch (line 559) | fn is_last_block_in_finished_epoch(&self, hash: &CryptoHash) -> Result Result Result Result Result Result Result Result &Store { method get_tries (line 1007) | fn get_tries(&self) -> ShardTries { method get_trie_for_shard (line 1011) | fn get_trie_for_shard( method get_flat_storage_manager (line 1023) | fn get_flat_storage_manager(&self) -> unc_store::flat::FlatStorageManager { method get_view_trie_for_shard (line 1027) | fn get_view_trie_for_shard( method validate_tx (line 1039) | fn validate_tx( method prepare_transactions (line 1051) | fn prepare_transactions( method apply_chunk (line 1071) | fn apply_chunk( method query (line 1233) | fn query( method obtain_state_part (line 1319) | fn obtain_state_part( method validate_state_part (line 1334) | fn validate_state_part(&self, _state_root: &StateRoot, _part_id: PartId,... method apply_state_part (line 1339) | fn apply_state_part( method get_state_root_node (line 1358) | fn get_state_root_node( method validate_state_root_node (line 1371) | fn validate_state_root_node( method get_gc_stop_height (line 1380) | fn get_gc_stop_height(&self, block_hash: &CryptoHash) -> BlockHeight { method get_protocol_config (line 1414) | fn get_protocol_config(&self, _epoch_id: &EpochId) -> Result Result<... FILE: chain/chain/src/test_utils/validator_schedule.rs type ValidatorSchedule (line 13) | pub struct ValidatorSchedule { method new (line 21) | pub fn new() -> Self { method new_with_shards (line 25) | pub fn new_with_shards(num_shards: NumShards) -> Self { method block_producers_per_epoch (line 37) | pub fn block_producers_per_epoch(mut self, block_producers: Vec Self { method num_shards (line 74) | pub fn num_shards(mut self, num_shards: NumShards) -> Self { method all_block_producers (line 79) | pub fn all_block_producers(&self) -> impl Iterator { method all_validators (line 83) | pub fn all_validators(&self) -> impl Iterator { method sanity_check (line 87) | fn sanity_check(&self) { FILE: chain/chain/src/tests/challenges.rs function test_no_challenge_on_same_header (line 7) | fn test_no_challenge_on_same_header() { FILE: chain/chain/src/tests/doomslug.rs function block_hash (line 14) | fn block_hash(height: BlockHeight, ord: usize) -> CryptoHash { function get_msg_delivery_time (line 18) | fn get_msg_delivery_time(now: Instant, gst: Instant, delta: Duration) ->... function one_iter (line 33) | fn one_iter( function test_fuzzy_doomslug_liveness_and_safety (line 300) | fn test_fuzzy_doomslug_liveness_and_safety() { FILE: chain/chain/src/tests/garbage_collection.rs function do_fork (line 26) | fn do_fork( function gc_fork_common (line 137) | fn gc_fork_common(simple_chains: Vec, max_changes: usize) { type SimpleChain (line 296) | pub struct SimpleChain { function test_gc_remove_simple_chain_sanity (line 304) | fn test_gc_remove_simple_chain_sanity() { function test_gc_remove_fork_common (line 313) | fn test_gc_remove_fork_common(max_changes_limit: usize) { function test_gc_remove_fork_small (line 333) | fn test_gc_remove_fork_small() { function test_gc_remove_fork_large (line 339) | fn test_gc_remove_fork_large() { function test_gc_remove_fork_fail_often (line 344) | fn test_gc_remove_fork_fail_often() { function test_gc_not_remove_fork_common (line 360) | fn test_gc_not_remove_fork_common(max_changes_limit: usize) { function test_gc_not_remove_fork_small (line 380) | fn test_gc_not_remove_fork_small() { function test_gc_not_remove_fork_large (line 386) | fn test_gc_not_remove_fork_large() { function test_gc_not_remove_longer_fork (line 392) | fn test_gc_not_remove_longer_fork() { function test_gc_forks_from_genesis (line 404) | fn test_gc_forks_from_genesis() { function test_gc_overlap (line 438) | fn test_gc_overlap() { function test_gc_boundaries_common (line 451) | fn test_gc_boundaries_common(max_changes_limit: usize) { function test_gc_boundaries_small (line 466) | fn test_gc_boundaries_small() { function test_gc_boundaries_large (line 472) | fn test_gc_boundaries_large() { function test_gc_random_common (line 476) | fn test_gc_random_common(runs: u64) { function test_gc_random_small (line 495) | fn test_gc_random_small() { function test_gc_random_large (line 501) | fn test_gc_random_large() { function test_gc_pine_small (line 506) | fn test_gc_pine_small() { function test_gc_pine (line 546) | fn test_gc_pine() { function test_gc_star_common (line 568) | fn test_gc_star_common(max_changes_limit: usize) { function test_gc_star_small (line 582) | fn test_gc_star_small() { function test_gc_star_large (line 588) | fn test_gc_star_large() { function test_fork_far_away_from_epoch_end (line 599) | fn test_fork_far_away_from_epoch_end() { function test_clear_old_data (line 703) | fn test_clear_old_data() { function add_block (line 746) | fn add_block( function test_clear_old_data_fixed_height (line 793) | fn test_clear_old_data_fixed_height() { function test_clear_old_data_too_many_heights (line 852) | fn test_clear_old_data_too_many_heights() { function test_clear_old_data_too_many_heights_common (line 862) | fn test_clear_old_data_too_many_heights_common(gc_blocks_limit: NumBlock... function test_fork_chunk_tail_updates (line 943) | fn test_fork_chunk_tail_updates() { FILE: chain/chain/src/tests/mod.rs method process_block_test (line 16) | pub(crate) fn process_block_test( FILE: chain/chain/src/tests/simple_chain.rs function timestamp (line 16) | fn timestamp(hour: u32, min: u32, sec: u32, millis: u32) -> chrono::Date... function build_chain (line 22) | fn build_chain() { function build_chain_with_orphans (line 92) | fn build_chain_with_orphans() { function build_chain_with_skips_and_forks (line 150) | fn build_chain_with_skips_and_forks() { function blocks_at_height (line 190) | fn blocks_at_height() { function next_blocks (line 263) | fn next_blocks() { FILE: chain/chain/src/tests/sync_chain.rs function chain_sync_headers (line 7) | fn chain_sync_headers() { FILE: chain/chain/src/types.rs type BlockStatus (line 43) | pub enum BlockStatus { method is_new_head (line 54) | pub fn is_new_head(&self) -> bool { type Provenance (line 65) | pub enum Provenance { type AcceptedBlock (line 76) | pub struct AcceptedBlock { type ApplyResultForResharding (line 83) | pub struct ApplyResultForResharding { type ReshardingResults (line 94) | pub enum ReshardingResults { type ApplyChunkResult (line 104) | pub struct ApplyChunkResult { method compute_outcomes_proof (line 119) | pub fn compute_outcomes_proof( type BlockEconomicsConfig (line 131) | pub struct BlockEconomicsConfig { constant MAX_GAS_MULTIPLIER (line 140) | const MAX_GAS_MULTIPLIER: u128 = 20; method min_gas_price (line 148) | pub fn min_gas_price(&self, protocol_version: ProtocolVersion) -> Bala... method max_gas_price (line 168) | pub fn max_gas_price(&self, protocol_version: ProtocolVersion) -> Bala... method gas_price_adjustment_rate (line 179) | pub fn gas_price_adjustment_rate(&self, _protocol_version: ProtocolVer... method from (line 185) | fn from(chain_genesis: &ChainGenesis) -> Self { type ChainGenesis (line 197) | pub struct ChainGenesis { method new (line 235) | pub fn new(genesis: &Genesis) -> Self { type ChainConfig (line 211) | pub struct ChainConfig { method test (line 222) | pub fn test() -> Self { type StorageDataSource (line 251) | pub enum StorageDataSource { type RuntimeStorageConfig (line 263) | pub struct RuntimeStorageConfig { method new (line 272) | pub fn new(state_root: StateRoot, use_flat_storage: bool) -> Self { type ApplyChunkBlockContext (line 284) | pub struct ApplyChunkBlockContext { method from_header (line 295) | pub fn from_header(header: &BlockHeader, gas_price: Balance) -> Self { type ApplyChunkShardContext (line 308) | pub struct ApplyChunkShardContext<'a> { type RuntimeAdapter (line 322) | pub trait RuntimeAdapter: Send + Sync { method get_tries (line 323) | fn get_tries(&self) -> ShardTries; method store (line 325) | fn store(&self) -> &Store; method get_trie_for_shard (line 330) | fn get_trie_for_shard( method get_view_trie_for_shard (line 339) | fn get_view_trie_for_shard( method get_flat_storage_manager (line 346) | fn get_flat_storage_manager(&self) -> FlatStorageManager; method validate_tx (line 355) | fn validate_tx( method prepare_transactions (line 372) | fn prepare_transactions( method will_shard_layout_change_next_epoch (line 388) | fn will_shard_layout_change_next_epoch(&self, parent_hash: &CryptoHash... method get_gc_stop_height (line 391) | fn get_gc_stop_height(&self, block_hash: &CryptoHash) -> BlockHeight; method apply_chunk (line 396) | fn apply_chunk( method query (line 406) | fn query( method obtain_state_part (line 421) | fn obtain_state_part( method validate_state_part (line 431) | fn validate_state_part(&self, state_root: &StateRoot, part_id: PartId,... method apply_update_to_children_states (line 433) | fn apply_update_to_children_states( method apply_state_part (line 443) | fn apply_state_part( method get_state_root_node (line 456) | fn get_state_root_node( method validate_state_root_node (line 464) | fn validate_state_root_node( method get_protocol_config (line 470) | fn get_protocol_config(&self, epoch_id: &EpochId) -> Result Result... type LatestKnown (line 481) | pub struct LatestKnown { function test_block_produce (line 502) | fn test_block_produce() { function test_execution_outcome_merklization (line 527) | fn test_execution_outcome_merklization() { FILE: chain/chain/src/update_shard.rs type NewChunkResult (line 20) | pub struct NewChunkResult { type OldChunkResult (line 30) | pub struct OldChunkResult { type ReshardingResult (line 41) | pub struct ReshardingResult { type ShardUpdateResult (line 49) | pub enum ShardUpdateResult { type ShardBlockUpdateResult (line 60) | pub enum ShardBlockUpdateResult { type ReshardingStateRoots (line 67) | type ReshardingStateRoots = HashMap; type NewChunkData (line 69) | pub(crate) struct NewChunkData { type OldChunkData (line 78) | pub(crate) struct OldChunkData { type ReshardingData (line 85) | pub(crate) struct ReshardingData { type ShardUpdateReason (line 95) | pub(crate) enum ShardUpdateReason { type ShardContext (line 109) | pub(crate) struct ShardContext { type StorageContext (line 122) | pub(crate) struct StorageContext { function process_shard_update (line 130) | pub(crate) fn process_shard_update( function process_missing_chunks_range (line 163) | pub(crate) fn process_missing_chunks_range( function apply_new_chunk (line 194) | pub(crate) fn apply_new_chunk( function apply_old_chunk (line 267) | fn apply_old_chunk( function apply_resharding (line 327) | fn apply_resharding( function apply_resharding_state_changes (line 364) | fn apply_resharding_state_changes( FILE: chain/chain/src/validate.rs constant GAS_LIMIT_ADJUSTMENT_FACTOR (line 23) | const GAS_LIMIT_ADJUSTMENT_FACTOR: u64 = 1000; function validate_chunk_proofs (line 26) | pub fn validate_chunk_proofs( function validate_transactions_order (line 75) | pub fn validate_transactions_order(transactions: &[SignedTransaction]) -... function validate_chunk_with_chunk_extra (line 107) | pub fn validate_chunk_with_chunk_extra( function validate_chunk_with_chunk_extra_and_receipts_root (line 135) | pub fn validate_chunk_with_chunk_extra_and_receipts_root( function validate_double_sign (line 190) | fn validate_double_sign( function validate_header_authorship (line 226) | fn validate_header_authorship( function validate_chunk_authorship (line 237) | fn validate_chunk_authorship( function validate_chunk_proofs_challenge (line 258) | fn validate_chunk_proofs_challenge( function validate_chunk_state_challenge (line 310) | fn validate_chunk_state_challenge( function validate_challenge (line 390) | pub fn validate_challenge( function make_tx (line 426) | fn make_tx(account_id: &str, seed: &str, nonce: Nonce) -> SignedTransact... function test_transaction_order_empty (line 440) | pub fn test_transaction_order_empty() { function test_transaction_order_one_tx (line 446) | pub fn test_transaction_order_one_tx() { function test_transaction_order_simple (line 452) | pub fn test_transaction_order_simple() { function test_transaction_order_bad_nonce (line 466) | pub fn test_transaction_order_bad_nonce() { function test_transaction_order_same_tx (line 478) | pub fn test_transaction_order_same_tx() { function test_transaction_order_skipped_in_first_batch (line 484) | pub fn test_transaction_order_skipped_in_first_batch() { function test_transaction_order_skipped_in_2nd_batch (line 495) | pub fn test_transaction_order_skipped_in_2nd_batch() { FILE: chain/chunks-primitives/src/error.rs type Error (line 6) | pub enum Error { method fmt (line 24) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { method from (line 30) | fn from(err: std::io::Error) -> Self { method from (line 36) | fn from(err: unc_chain_primitives::Error) -> Self { method from (line 42) | fn from(err: EpochError) -> Self { FILE: chain/chunks/src/adapter.rs type ShardsManagerRequestFromClient (line 13) | pub enum ShardsManagerRequestFromClient { FILE: chain/chunks/src/chunk_cache.rs constant HEIGHT_HORIZON (line 28) | const HEIGHT_HORIZON: BlockHeightDelta = 1024; constant MAX_HEIGHTS_AHEAD (line 30) | const MAX_HEIGHTS_AHEAD: BlockHeightDelta = 5; type EncodedChunksCacheEntry (line 35) | pub struct EncodedChunksCacheEntry { method from_chunk_header (line 71) | pub fn from_chunk_header(header: ShardChunkHeader) -> Self { method merge_in_partial_encoded_chunk (line 84) | pub fn merge_in_partial_encoded_chunk( type EncodedChunksCache (line 51) | pub struct EncodedChunksCache { method new (line 106) | pub fn new() -> Self { method get (line 116) | pub fn get(&self, chunk_hash: &ChunkHash) -> Option<&EncodedChunksCach... method mark_entry_complete (line 121) | pub fn mark_entry_complete(&mut self, chunk_hash: &ChunkHash) { method mark_entry_validated (line 131) | pub fn mark_entry_validated(&mut self, chunk_hash: &ChunkHash) { method get_incomplete_chunks (line 140) | pub fn get_incomplete_chunks( method remove (line 147) | pub fn remove(&mut self, chunk_hash: &ChunkHash) -> Option bool { method height_within_rear_horizon (line 199) | pub fn height_within_rear_horizon(&self, height: BlockHeight) -> bool { method height_within_horizon (line 203) | pub fn height_within_horizon(&self, height: BlockHeight) -> bool { method get_chunk_hash_by_height_and_shard (line 207) | pub fn get_chunk_hash_by_height_and_shard( method merge_in_partial_encoded_chunk (line 217) | pub fn merge_in_partial_encoded_chunk( method remove_from_cache_if_outside_horizon (line 226) | pub fn remove_from_cache_if_outside_horizon(&mut self, chunk_hash: &Ch... method update_largest_seen_height (line 236) | pub fn update_largest_seen_height( method mark_chunk_for_inclusion (line 259) | pub fn mark_chunk_for_inclusion(&mut self, chunk_hash: &ChunkHash) -> ... function create_chunk_header (line 282) | fn create_chunk_header(height: u64, shard_id: u64) -> ShardChunkHeader { function test_incomplete_chunks (line 305) | fn test_incomplete_chunks() { function test_cache_removal (line 329) | fn test_cache_removal() { FILE: chain/chunks/src/client.rs type ShardsManagerResponse (line 17) | pub enum ShardsManagerResponse { type ShardedTransactionPool (line 35) | pub struct ShardedTransactionPool { method new (line 48) | pub fn new(rng_seed: RngSeed, pool_size_limit: Option) -> Self { method get_pool_iterator (line 52) | pub fn get_pool_iterator(&mut self, shard_uid: ShardUId) -> Option RngSeed { method pool_for_shard (line 82) | fn pool_for_shard(&mut self, shard_uid: ShardUId) -> &mut TransactionP... method reintroduce_transactions (line 94) | pub fn reintroduce_transactions( method reshard (line 114) | pub fn reshard(&mut self, old_shard_layout: &ShardLayout, new_shard_la... constant TEST_SEED (line 161) | const TEST_SEED: RngSeed = [3; 32]; function test_random_seed_with_shard_id (line 164) | fn test_random_seed_with_shard_id() { function test_transaction_pool_resharding (line 183) | fn test_transaction_pool_resharding() { FILE: chain/chunks/src/lib.rs constant CHUNK_REQUEST_RETRY (line 142) | pub const CHUNK_REQUEST_RETRY: time::Duration = time::Duration::millisec... constant CHUNK_REQUEST_SWITCH_TO_OTHERS (line 143) | pub const CHUNK_REQUEST_SWITCH_TO_OTHERS: time::Duration = time::Duratio... constant CHUNK_REQUEST_SWITCH_TO_FULL_FETCH (line 144) | pub const CHUNK_REQUEST_SWITCH_TO_FULL_FETCH: time::Duration = time::Dur... constant CHUNK_REQUEST_RETRY_MAX (line 145) | const CHUNK_REQUEST_RETRY_MAX: time::Duration = time::Duration::seconds(... constant CHUNK_FORWARD_CACHE_SIZE (line 146) | const CHUNK_FORWARD_CACHE_SIZE: usize = 1000; constant CHUNK_REQUEST_PEER_HORIZON (line 148) | const CHUNK_REQUEST_PEER_HORIZON: BlockHeightDelta = 5; type ChunkStatus (line 151) | pub enum ChunkStatus { type ProcessPartialEncodedChunkResult (line 158) | pub enum ProcessPartialEncodedChunkResult { type ChunkRequestInfo (line 171) | struct ChunkRequestInfo { type RequestPool (line 183) | struct RequestPool { method new (line 192) | pub fn new( method contains_key (line 206) | pub fn contains_key(&self, chunk_hash: &ChunkHash) -> bool { method len (line 209) | pub fn len(&self) -> usize { method insert (line 213) | pub fn insert(&mut self, chunk_hash: ChunkHash, chunk_request: ChunkRe... method get_request_info (line 217) | pub fn get_request_info(&self, chunk_hash: &ChunkHash) -> Option<&Chun... method remove (line 221) | pub fn remove(&mut self, chunk_hash: &ChunkHash) { method fetch (line 225) | pub fn fetch(&mut self, current_time: time::Instant) -> Vec<(ChunkHash... type ShardsManager (line 246) | pub struct ShardsManager { method new (line 273) | pub fn new( method update_chain_heads (line 309) | pub fn update_chain_heads(&mut self, head: Tip, header_head: Tip) { method request_partial_encoded_chunk (line 318) | fn request_partial_encoded_chunk( method get_random_target_tracking_shard (line 476) | fn get_random_target_tracking_shard( method get_tracking_shards (line 507) | fn get_tracking_shards(&self, parent_hash: &CryptoHash) -> HashSet( method process_partial_encoded_chunk_request (line 785) | pub fn process_partial_encoded_chunk_request( method prepare_partial_encoded_chunk_response (line 821) | fn prepare_partial_encoded_chunk_response( method prepare_partial_encoded_chunk_response_unsorted (line 832) | fn prepare_partial_encoded_chunk_response_unsorted( method lookup_partial_encoded_chunk_from_cache (line 896) | fn lookup_partial_encoded_chunk_from_cache( method lookup_partial_encoded_chunk_from_partial_chunk_storage (line 923) | pub fn lookup_partial_encoded_chunk_from_partial_chunk_storage( method lookup_partial_encoded_chunk_from_chunk_storage (line 948) | pub fn lookup_partial_encoded_chunk_from_chunk_storage( method check_chunk_complete (line 1037) | pub fn check_chunk_complete( method validate_part (line 1074) | fn validate_part( method decode_encoded_chunk_if_complete (line 1091) | fn decode_encoded_chunk_if_complete( method validate_partial_encoded_chunk_forward (line 1121) | fn validate_partial_encoded_chunk_forward( method get_partial_encoded_chunk_header (line 1158) | fn get_partial_encoded_chunk_header( method insert_forwarded_chunk (line 1177) | fn insert_forwarded_chunk(&mut self, forward: PartialEncodedChunkForwa... method process_partial_encoded_chunk_forward (line 1208) | pub fn process_partial_encoded_chunk_forward( method validate_chunk_header (line 1266) | fn validate_chunk_header(&self, header: &ShardChunkHeader) -> Result<(... method insert_header_if_not_exists_and_process_cached_chunk_forwards (line 1342) | fn insert_header_if_not_exists_and_process_cached_chunk_forwards( method process_partial_encoded_chunk (line 1391) | pub fn process_partial_encoded_chunk( method process_partial_encoded_chunk_response (line 1528) | pub fn process_partial_encoded_chunk_response( method process_chunk_header_from_block (line 1542) | pub fn process_chunk_header_from_block( method try_process_chunk_parts_and_receipts (line 1556) | fn try_process_chunk_parts_and_receipts( method complete_chunk (line 1695) | fn complete_chunk( method check_incomplete_chunks (line 1715) | pub fn check_incomplete_chunks(&mut self, prev_block_hash: &CryptoHash) { method send_partial_encoded_chunk_to_chunk_trackers (line 1740) | fn send_partial_encoded_chunk_to_chunk_trackers( method has_all_receipts (line 1823) | fn has_all_receipts( method has_all_parts (line 1842) | fn has_all_parts( method create_encoded_shard_chunk (line 1863) | pub fn create_encoded_shard_chunk( method distribute_encoded_chunk (line 1904) | pub fn distribute_encoded_chunk( method handle_client_request (line 1982) | pub fn handle_client_request(&mut self, request: ShardsManagerRequestF... method handle_network_request (line 2027) | pub fn handle_network_request(&mut self, request: ShardsManagerRequest... type PartialEncodedChunkResponseSource (line 2076) | pub enum PartialEncodedChunkResponseSource { method name_for_metrics (line 2090) | pub fn name_for_metrics(&self) -> &'static str { function test_request_partial_encoded_chunk_from_self (line 2123) | fn test_request_partial_encoded_chunk_from_self() { function test_resend_chunk_requests (line 2183) | fn test_resend_chunk_requests() { function test_invalid_chunk (line 2256) | fn test_invalid_chunk() { function test_chunk_forwarding_dedup (line 2284) | fn test_chunk_forwarding_dedup() { type RequestChunksResult (line 2343) | struct RequestChunksResult { function run_request_chunks_with_account (line 2350) | fn run_request_chunks_with_account( function test_chunk_forward_non_validator (line 2399) | fn test_chunk_forward_non_validator() { function test_receive_forward_before_header (line 2437) | fn test_receive_forward_before_header() { function test_receive_forward_before_chunk_header_from_block (line 2509) | fn test_receive_forward_before_chunk_header_from_block() { function test_chunk_cache_hit_for_produced_chunk (line 2571) | fn test_chunk_cache_hit_for_produced_chunk() { function test_chunk_cache_hit_for_received_chunk (line 2605) | fn test_chunk_cache_hit_for_received_chunk() { function test_chunk_response_for_uncached_partial_chunk (line 2636) | fn test_chunk_response_for_uncached_partial_chunk() { function test_chunk_response_for_uncached_shard_chunk (line 2668) | fn test_chunk_response_for_uncached_shard_chunk() { function test_chunk_response_combining_cache_and_partial_chunks (line 2701) | fn test_chunk_response_combining_cache_and_partial_chunks() { function test_chunk_response_combining_cache_and_shard_chunks (line 2740) | fn test_chunk_response_combining_cache_and_shard_chunks() { function test_chunk_response_combining_cache_and_partial_chunks_with_some_missing (line 2785) | fn test_chunk_response_combining_cache_and_partial_chunks_with_some_miss... function test_chunk_response_empty_request (line 2826) | fn test_chunk_response_empty_request() { function test_chunk_response_for_nonexistent_chunk (line 2850) | fn test_chunk_response_for_nonexistent_chunk() { function test_chunk_response_for_request_including_invalid_part_ord (line 2874) | fn test_chunk_response_for_request_including_invalid_part_ord() { function test_chunk_response_for_request_with_duplicate_part_ords (line 2907) | fn test_chunk_response_for_request_with_duplicate_part_ords() { function test_report_chunk_for_inclusion_to_client (line 2940) | fn test_report_chunk_for_inclusion_to_client() { FILE: chain/chunks/src/logic.rs function need_receipt (line 17) | pub fn need_receipt( function need_part (line 27) | pub fn need_part( function cares_about_shard_this_or_next_epoch (line 37) | pub fn cares_about_shard_this_or_next_epoch( function chunk_needs_to_be_fetched_from_archival (line 49) | pub fn chunk_needs_to_be_fetched_from_archival( function make_outgoing_receipts_proofs (line 73) | pub fn make_outgoing_receipts_proofs( function make_partial_encoded_chunk_from_owned_parts_and_needed_receipts (line 98) | pub fn make_partial_encoded_chunk_from_owned_parts_and_needed_receipts<'a>( function decode_encoded_chunk (line 138) | pub fn decode_encoded_chunk( function create_partial_chunk (line 189) | fn create_partial_chunk( function persist_chunk (line 228) | pub fn persist_chunk( FILE: chain/chunks/src/shards_manager_actor.rs type ShardsManagerActor (line 20) | pub struct ShardsManagerActor { method new (line 26) | fn new(shards_mgr: ShardsManager, chunk_request_retry_period: Duration... method periodically_resend_chunk_requests (line 30) | fn periodically_resend_chunk_requests(&mut self, ctx: &mut Context; method started (line 46) | fn started(&mut self, ctx: &mut Self::Context) { function start_shards_manager (line 77) | pub fn start_shards_manager( FILE: chain/chunks/src/test/basic.rs type TestData (line 35) | struct TestData { method new (line 45) | fn new(shards_manager: ShardsManager, chain: MockChainForShardsManager... type TestEvent (line 51) | enum TestEvent { type ShardsManagerTestLoopBuilder (line 60) | type ShardsManagerTestLoopBuilder = unc_async::test_loop::TestLoopBuilde... function test_basic_receive_complete_chunk (line 65) | fn test_basic_receive_complete_chunk() { function test_chunk_forward (line 139) | fn test_chunk_forward() { FILE: chain/chunks/src/test/multi.rs type TestData (line 32) | struct TestData { type TestEvent (line 40) | enum TestEvent { type ShardsManagerTestLoop (line 48) | type ShardsManagerTestLoop = unc_async::test_loop::TestLoop ShardsManagerTestLoop { function test_distribute_chunk_basic (line 113) | fn test_distribute_chunk_basic() { function test_distribute_chunk_track_all_shards (line 174) | fn test_distribute_chunk_track_all_shards() { function test_distribute_chunk_with_chunk_only_producers (line 225) | fn test_distribute_chunk_with_chunk_only_producers() { FILE: chain/chunks/src/test_loop.rs function forward_client_request_to_shards_manager (line 39) | pub fn forward_client_request_to_shards_manager( function forward_network_request_to_shards_manager (line 46) | pub fn forward_network_request_to_shards_manager( function route_shards_manager_network_messages (line 58) | pub fn route_shards_manager_network_messages< type ShardsManagerResendChunkRequests (line 146) | pub struct ShardsManagerResendChunkRequests; function periodically_resend_chunk_requests (line 149) | pub fn periodically_resend_chunk_requests( type MockChainForShardsManager (line 159) | pub struct MockChainForShardsManager { method new (line 178) | pub fn new(store: Store, config: MockChainForShardsManagerConfig) -> S... method record_block (line 202) | pub fn record_block(&mut self, last: CryptoHash, height: BlockHeight) { method request_chunk_for_block (line 219) | pub fn request_chunk_for_block(&mut self, chunk_header: ShardChunkHead... method next_chunk_producer (line 244) | pub fn next_chunk_producer(&mut self, shard_id: ShardId) -> AccountId { method produce_chunk_signed_by_chunk_producer (line 252) | pub fn produce_chunk_signed_by_chunk_producer( method produce_chunk (line 295) | pub fn produce_chunk(&mut self, shard_id: ShardId) -> TestChunkEncoder { method distribute_chunk (line 301) | pub fn distribute_chunk(&mut self, chunk: &TestChunkEncoder) { method cares_about_shard_this_or_next_epoch (line 312) | pub fn cares_about_shard_this_or_next_epoch(&self, shard_id: ShardId) ... type MockChainForShardsManagerConfig (line 167) | pub struct MockChainForShardsManagerConfig { type TestChunkEncoder (line 324) | pub struct TestChunkEncoder { method new (line 331) | pub fn new( method part_ords (line 346) | pub fn part_ords(&self) -> Vec { method make_partial_encoded_chunk (line 350) | pub fn make_partial_encoded_chunk( method header (line 377) | pub fn header(&self) -> ShardChunkHeader { FILE: chain/chunks/src/test_utils.rs type ChunkTestFixture (line 30) | pub struct ChunkTestFixture { method new (line 57) | pub fn new( method make_partial_encoded_chunk (line 196) | pub fn make_partial_encoded_chunk(&self, part_ords: &[u64]) -> Partial... method count_chunk_completion_messages (line 210) | pub fn count_chunk_completion_messages(&self) -> usize { method count_chunk_ready_for_inclusion_messages (line 220) | pub fn count_chunk_ready_for_inclusion_messages(&self) -> usize { method default (line 51) | fn default() -> Self { function tip (line 232) | pub fn tip(epoch_manager: &dyn EpochManagerAdapter, last_block_hash: Cry... function default_tip (line 246) | pub fn default_tip() -> Tip { type MockClientAdapterForShardsManager (line 258) | pub struct MockClientAdapterForShardsManager { method send (line 263) | fn send(&self, msg: ShardsManagerResponse) { method pop (line 269) | pub fn pop(&self) -> Option { method pop_most_recent (line 272) | pub fn pop_most_recent(&self) -> Option { type SynchronousShardsManagerAdapter (line 282) | pub struct SynchronousShardsManagerAdapter { method send (line 289) | fn send(&self, msg: ShardsManagerRequestFromClient) { method send (line 296) | fn send(&self, msg: ShardsManagerRequestFromNetwork) { method new (line 303) | pub fn new(shards_manager: ShardsManager) -> Self { FILE: chain/client-primitives/src/debug.rs type TrackedShardsView (line 20) | pub struct TrackedShardsView { type EpochInfoView (line 26) | pub struct EpochInfoView { type DebugChunkStatus (line 38) | pub struct DebugChunkStatus { type DebugBlockStatus (line 48) | pub struct DebugBlockStatus { type MissedHeightInfo (line 64) | pub struct MissedHeightInfo { type DebugBlockStatusData (line 70) | pub struct DebugBlockStatusData { type ApprovalHistoryEntry (line 80) | pub struct ApprovalHistoryEntry { type ChunkProduction (line 96) | pub struct ChunkProduction { type BlockProduction (line 106) | pub struct BlockProduction { type ChunkCollection (line 119) | pub struct ChunkCollection { type ProductionAtHeight (line 133) | pub struct ProductionAtHeight { type ApprovalAtHeightStatus (line 143) | pub struct ApprovalAtHeightStatus { type ValidatorStatus (line 151) | pub struct ValidatorStatus { type DebugStatus (line 171) | pub enum DebugStatus { type Result (line 191) | type Result = Result; type DebugStatusResponse (line 195) | pub enum DebugStatusResponse { FILE: chain/client-primitives/src/types.rs type Error (line 32) | pub enum Error { method from (line 46) | fn from(err: unc_primitives::errors::EpochError) -> Self { type DownloadStatus (line 52) | pub struct DownloadStatus { method new (line 63) | pub fn new(now: DateTime) -> Self { method clone (line 79) | fn clone(&self) -> Self { type ShardSyncStatus (line 95) | pub enum ShardSyncStatus { method repr (line 107) | pub fn repr(&self) -> u8 { method eq (line 123) | fn eq(&self, other: &Self) -> bool { method to_string (line 131) | fn to_string(&self) -> String { method from (line 146) | fn from(status: &DownloadStatus) -> Self { method from (line 152) | fn from(download: ShardSyncDownload) -> Self { type ShardSyncDownload (line 162) | pub struct ShardSyncDownload { method new_download_state_header (line 174) | pub fn new_download_state_header(now: DateTime) -> Self { method new_download_state_parts (line 182) | pub fn new_download_state_parts(now: DateTime, num_parts: u64) ->... function format_shard_sync_phase_per_shard (line 193) | pub fn format_shard_sync_phase_per_shard( function paint (line 206) | fn paint(s: &str, style: Style, use_style: bool) -> String { function format_shard_sync_phase (line 215) | pub fn format_shard_sync_phase( type StateSyncStatus (line 243) | pub struct StateSyncStatus { method fmt (line 250) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { type SyncStatus (line 270) | pub enum SyncStatus { method as_variant_name (line 307) | pub fn as_variant_name(&self) -> &str { method is_syncing (line 312) | pub fn is_syncing(&self) -> bool { method repr (line 319) | pub fn repr(&self) -> u8 { method start_height (line 332) | pub fn start_height(&self) -> Option { method update (line 340) | pub fn update(&mut self, new_value: Self) { method from (line 349) | fn from(status: SyncStatus) -> Self { type GetProvider (line 375) | pub struct GetProvider(pub EpochId, pub BlockHeight); type GetProviderError (line 378) | pub enum GetProviderError { method from (line 408) | fn from(error: EpochError) -> Self { function from (line 394) | fn from(error: unc_chain_primitives::Error) -> Self { type Result (line 414) | type Result = Result; type GetAllMiners (line 419) | pub struct GetAllMiners(pub CryptoHash); type GetAllMinersError (line 422) | pub enum GetAllMinersError { function from (line 436) | fn from(error: unc_chain_primitives::Error) -> Self { function from (line 450) | fn from(error: EpochError) -> Self { type Result (line 456) | type Result = Result; type GetBlock (line 461) | pub struct GetBlock(pub BlockReference); method latest (line 494) | pub fn latest() -> Self { type GetBlockError (line 464) | pub enum GetBlockError { method from (line 480) | fn from(error: unc_chain_primitives::Error) -> Self { type Result (line 500) | type Result = Result; type GetBlockWithMerkleTree (line 505) | pub struct GetBlockWithMerkleTree(pub BlockReference); method latest (line 508) | pub fn latest() -> Self { type Result (line 514) | type Result = Result<(BlockView, Arc), GetBlockError>; type GetChunk (line 519) | pub enum GetChunk { type Result (line 526) | type Result = Result; type GetChunkError (line 530) | pub enum GetChunkError { method from (line 548) | fn from(error: unc_chain_primitives::Error) -> Self { type Query (line 569) | pub struct Query { method new (line 575) | pub fn new(block_reference: BlockReference, request: QueryRequest) -> ... type Result (line 581) | type Result = Result; type QueryError (line 585) | pub enum QueryError { type Status (line 656) | pub struct Status { type StatusError (line 663) | pub enum StatusError { method from (line 681) | fn from(error: unc_chain_primitives::error::Error) -> Self { type Result (line 699) | type Result = Result; type GetNextLightClientBlock (line 703) | pub struct GetNextLightClientBlock { type GetNextLightClientBlockError (line 708) | pub enum GetNextLightClientBlockError { method from (line 724) | fn from(error: unc_chain_primitives::error::Error) -> Self { type Result (line 741) | type Result = Result>, GetNextLightClie... type GetNetworkInfo (line 745) | pub struct GetNetworkInfo {} type Result (line 748) | type Result = Result; type GetGasPrice (line 752) | pub struct GetGasPrice { type Result (line 757) | type Result = Result; type GetGasPriceError (line 761) | pub enum GetGasPriceError { method from (line 775) | fn from(error: unc_chain_primitives::Error) -> Self { type PeerInfo (line 789) | pub struct PeerInfo { type KnownProducer (line 796) | pub struct KnownProducer { type NetworkInfoResponse (line 804) | pub struct NetworkInfoResponse { type TxStatus (line 816) | pub struct TxStatus { type TxStatusError (line 823) | pub enum TxStatusError { method from (line 831) | fn from(error: unc_chain_primitives::Error) -> Self { type Result (line 837) | type Result = Result; type GetValidatorInfo (line 841) | pub struct GetValidatorInfo { type Result (line 846) | type Result = Result; type GetProviderInfoError (line 850) | pub enum GetProviderInfoError { function from (line 866) | fn from(error: unc_chain_primitives::Error) -> Self { type GetValidatorInfoError (line 876) | pub enum GetValidatorInfoError { method from (line 892) | fn from(error: unc_chain_primitives::Error) -> Self { type GetValidatorOrdered (line 903) | pub struct GetValidatorOrdered { type Result (line 908) | type Result = Result, GetValidatorInfoE... type GetStateChanges (line 912) | pub struct GetStateChanges { type GetStateChangesError (line 918) | pub enum GetStateChangesError { method from (line 934) | fn from(error: unc_chain_primitives::Error) -> Self { type Result (line 948) | type Result = Result; type GetStateChangesInBlock (line 952) | pub struct GetStateChangesInBlock { type Result (line 957) | type Result = Result; type GetStateChangesWithCauseInBlock (line 961) | pub struct GetStateChangesWithCauseInBlock { type Result (line 966) | type Result = Result; type GetStateChangesWithCauseInBlockForTrackedShards (line 970) | pub struct GetStateChangesWithCauseInBlockForTrackedShards { type Result (line 976) | type Result = Result, GetStateChanges... type GetExecutionOutcome (line 980) | pub struct GetExecutionOutcome { type GetExecutionOutcomeError (line 985) | pub enum GetExecutionOutcomeError { method from (line 1013) | fn from(error: TxStatusError) -> Self { method from (line 1024) | fn from(error: unc_chain_primitives::error::Error) -> Self { type GetExecutionOutcomeResponse (line 1037) | pub struct GetExecutionOutcomeResponse { type Result (line 1043) | type Result = Result>, ... type GetBlockProof (line 1056) | pub struct GetBlockProof { type GetBlockProofResponse (line 1061) | pub struct GetBlockProofResponse { type GetBlockProofError (line 1067) | pub enum GetBlockProofError { method from (line 1081) | fn from(error: unc_chain_primitives::error::Error) -> Self { type Result (line 1095) | type Result = Result; type GetReceipt (line 1099) | pub struct GetReceipt { type GetReceiptError (line 1104) | pub enum GetReceiptError { method from (line 1118) | fn from(error: unc_chain_primitives::Error) -> Self { type Result (line 1127) | type Result = Result, GetReceiptError>; type GetProtocolConfig (line 1131) | pub struct GetProtocolConfig(pub BlockReference); type Result (line 1134) | type Result = Result; type GetProtocolConfigError (line 1138) | pub enum GetProtocolConfigError { method from (line 1152) | fn from(error: unc_chain_primitives::Error) -> Self { type GetMaintenanceWindows (line 1162) | pub struct GetMaintenanceWindows { type Result (line 1167) | type Result = Result; type GetMaintenanceWindowsError (line 1171) | pub enum GetMaintenanceWindowsError { method from (line 1179) | fn from(error: unc_chain_primitives::Error) -> Self { type GetClientConfig (line 1188) | pub struct GetClientConfig {} type Result (line 1191) | type Result = Result; type GetClientConfigError (line 1195) | pub enum GetClientConfigError { method from (line 1207) | fn from(error: unc_chain_primitives::Error) -> Self { type GetSplitStorageInfo (line 1216) | pub struct GetSplitStorageInfo {} type Result (line 1219) | type Result = Result; type GetSplitStorageInfoError (line 1223) | pub enum GetSplitStorageInfoError { method from (line 1235) | fn from(error: unc_chain_primitives::Error) -> Self { method from (line 1244) | fn from(error: std::io::Error) -> Self { type SandboxMessage (line 1251) | pub enum SandboxMessage { type SandboxResponse (line 1260) | pub enum SandboxResponse { type Result (line 1268) | type Result = SandboxResponse; FILE: chain/client/src/adapter.rs type TxStatusRequest (line 20) | pub(crate) struct TxStatusRequest { type TxStatusResponse (line 28) | pub(crate) struct TxStatusResponse(pub Box); type ProviderRequest (line 33) | pub(crate) struct ProviderRequest(pub EpochId, pub BlockHeight); type ProviderResponse (line 38) | pub struct ProviderResponse { type AllMinersRequest (line 45) | pub(crate) struct AllMinersRequest(pub CryptoHash); type AllMinersResponse (line 50) | pub struct AllMinersResponse { type BlockRequest (line 58) | pub(crate) struct BlockRequest(pub CryptoHash); type BlockResponse (line 63) | pub struct BlockResponse { type BlockApproval (line 71) | pub struct BlockApproval(pub Approval, pub PeerId); type BlockHeadersRequest (line 76) | pub(crate) struct BlockHeadersRequest(pub Vec); type BlockHeadersResponse (line 81) | pub(crate) struct BlockHeadersResponse(pub Vec, pub PeerId); type StateRequestHeader (line 86) | pub struct StateRequestHeader { type StateRequestPart (line 94) | pub struct StateRequestPart { type StateResponse (line 103) | pub struct StateResponse(pub Box); type AnnounceAccountRequest (line 110) | pub(crate) struct AnnounceAccountRequest(pub Vec<(AnnounceAccount, Optio... type SetNetworkInfo (line 114) | pub struct SetNetworkInfo(pub NetworkInfo); type RecvChallenge (line 118) | pub(crate) struct RecvChallenge(pub Challenge); type ProcessTxRequest (line 122) | pub struct ProcessTxRequest { type ProcessTxResponse (line 129) | pub enum ProcessTxResponse { type ChunkStateWitnessMessage (line 145) | pub struct ChunkStateWitnessMessage(pub ChunkStateWitness); type ChunkEndorsementMessage (line 149) | pub struct ChunkEndorsementMessage(pub ChunkEndorsement); type Adapter (line 151) | pub struct Adapter { method new (line 159) | pub fn new( method tx_status_request (line 169) | async fn tx_status_request( method tx_status_response (line 187) | async fn tx_status_response(&self, tx_result: FinalExecutionOutcomeVie... method state_request_header (line 200) | async fn state_request_header( method state_request_part (line 219) | async fn state_request_part( method state_response (line 239) | async fn state_response(&self, info: StateResponseInfo) { method block_approval (line 246) | async fn block_approval(&self, approval: Approval, peer_id: PeerId) { method transaction (line 253) | async fn transaction(&self, transaction: SignedTransaction, is_forward... method block_request (line 273) | async fn block_request(&self, hash: CryptoHash) -> Option> { method block_headers_request (line 283) | async fn block_headers_request(&self, hashes: Vec) -> Opti... method block (line 293) | async fn block(&self, block: Block, peer_id: PeerId, was_requested: bo... method block_headers (line 304) | async fn block_headers( method challenge (line 322) | async fn challenge(&self, challenge: Challenge) { method network_info (line 329) | async fn network_info(&self, info: NetworkInfo) { method announce_account (line 336) | async fn announce_account( method chunk_state_witness (line 350) | async fn chunk_state_witness(&self, witness: ChunkStateWitness) { method chunk_endorsement (line 357) | async fn chunk_endorsement(&self, endorsement: ChunkEndorsement) { FILE: chain/client/src/adversarial.rs type Inner (line 6) | struct Inner { type Controls (line 13) | pub struct Controls(std::sync::Arc); method new (line 16) | pub fn new(is_archival: bool) -> Self { method disable_header_sync (line 20) | pub fn disable_header_sync(&self) -> bool { method set_disable_header_sync (line 24) | pub fn set_disable_header_sync(&mut self, value: bool) { method disable_doomslug (line 28) | pub fn disable_doomslug(&self) -> bool { method set_disable_doomslug (line 32) | pub fn set_disable_doomslug(&self, value: bool) { method is_archival (line 36) | pub fn is_archival(&self) -> bool { method new (line 48) | pub const fn new(_is_archival: bool) -> Self { method disable_header_sync (line 52) | pub const fn disable_header_sync(&self) -> bool { method disable_doomslug (line 56) | pub const fn disable_doomslug(&self) -> bool { type Controls (line 45) | pub struct Controls; method new (line 16) | pub fn new(is_archival: bool) -> Self { method disable_header_sync (line 20) | pub fn disable_header_sync(&self) -> bool { method set_disable_header_sync (line 24) | pub fn set_disable_header_sync(&mut self, value: bool) { method disable_doomslug (line 28) | pub fn disable_doomslug(&self) -> bool { method set_disable_doomslug (line 32) | pub fn set_disable_doomslug(&self, value: bool) { method is_archival (line 36) | pub fn is_archival(&self) -> bool { method new (line 48) | pub const fn new(_is_archival: bool) -> Self { method disable_header_sync (line 52) | pub const fn disable_header_sync(&self) -> bool { method disable_doomslug (line 56) | pub const fn disable_doomslug(&self) -> bool { FILE: chain/client/src/chunk_validation.rs type ChunkValidator (line 36) | pub struct ChunkValidator { method new (line 45) | pub fn new( method start_validating_chunk (line 57) | pub fn start_validating_chunk( function pre_validate_chunk_state_witness (line 129) | fn pre_validate_chunk_state_witness( function get_state_transition_validation_params (line 246) | fn get_state_transition_validation_params( type ChunkStateTransitionValidationParams (line 275) | struct ChunkStateTransitionValidationParams { type PreValidationOutput (line 282) | struct PreValidationOutput { function validate_chunk_state_witness (line 288) | fn validate_chunk_state_witness( function apply_result_to_chunk_extra (line 400) | fn apply_result_to_chunk_extra( method process_chunk_state_witness (line 419) | pub fn process_chunk_state_witness(&mut self, witness: ChunkStateWitness... method send_chunk_state_witness_to_chunk_validators (line 427) | pub fn send_chunk_state_witness_to_chunk_validators( method process_chunk_endorsement (line 482) | pub fn process_chunk_endorsement( FILE: chain/client/src/client.rs constant NUM_REBROADCAST_BLOCKS (line 91) | const NUM_REBROADCAST_BLOCKS: usize = 30; constant CHUNK_HEADERS_FOR_INCLUSION_CACHE_SIZE (line 92) | const CHUNK_HEADERS_FOR_INCLUSION_CACHE_SIZE: usize = 2048; constant NUM_EPOCH_CHUNK_PRODUCERS_TO_KEEP_IN_BLOCKLIST (line 93) | const NUM_EPOCH_CHUNK_PRODUCERS_TO_KEEP_IN_BLOCKLIST: usize = 1000; constant EPOCH_SYNC_REQUEST_TIMEOUT (line 97) | pub const EPOCH_SYNC_REQUEST_TIMEOUT: Duration = Duration::from_millis(1... constant EPOCH_SYNC_PEER_TIMEOUT (line 100) | pub const EPOCH_SYNC_PEER_TIMEOUT: Duration = Duration::from_millis(10); constant BLOCK_HORIZON (line 102) | const BLOCK_HORIZON: u64 = 500; constant EPOCH_START_INFO_BLOCKS (line 105) | pub const EPOCH_START_INFO_BLOCKS: u64 = 500; type AdvProduceBlocksMode (line 111) | pub enum AdvProduceBlocksMode { type Client (line 116) | pub struct Client { method update_client_config (line 195) | pub(crate) fn update_client_config(&self, update_client_config: Update... method new (line 229) | pub fn new( method check_head_progress_stalled (line 390) | pub fn check_head_progress_stalled(&mut self, stall_timeout: Duration)... method remove_transactions_for_block (line 403) | pub fn remove_transactions_for_block( method reintroduce_transactions_for_block (line 433) | pub fn reintroduce_transactions_for_block( method can_produce_block (line 476) | fn can_produce_block( method get_chunk_headers_ready_for_inclusion (line 524) | pub fn get_chunk_headers_ready_for_inclusion( method num_chunk_headers_ready_for_inclusion (line 551) | pub fn num_chunk_headers_ready_for_inclusion( method produce_block (line 573) | pub fn produce_block(&mut self, height: BlockHeight) -> Result) { method receive_block (line 1035) | pub fn receive_block( method receive_block_impl (line 1085) | pub(crate) fn receive_block_impl( method check_block_height (line 1141) | fn check_block_height( method verify_and_rebroadcast_block (line 1178) | fn verify_and_rebroadcast_block( method start_process_block (line 1223) | pub fn start_process_block( method postprocess_ready_blocks (line 1283) | pub fn postprocess_ready_blocks( method process_block_processing_artifact (line 1326) | pub(crate) fn process_block_processing_artifact( method ban_chunk_producer_for_producing_invalid_chunk (line 1359) | fn ban_chunk_producer_for_producing_invalid_chunk( method rebroadcast_block (line 1381) | fn rebroadcast_block(&mut self, block: &Block) { method on_chunk_completed (line 1391) | pub fn on_chunk_completed( method on_invalid_chunk (line 1411) | pub fn on_invalid_chunk(&mut self, encoded_chunk: EncodedShardChunk) { method on_chunk_header_ready_for_inclusion (line 1419) | pub fn on_chunk_header_ready_for_inclusion( method sync_block_headers (line 1433) | pub fn sync_block_headers( method check_and_update_doomslug_tip (line 1448) | pub fn check_and_update_doomslug_tip(&mut self) -> Result<(), Error> { method sandbox_update_tip (line 1472) | pub fn sandbox_update_tip(&mut self, height: BlockHeight) -> Result<()... method sandbox_delta_time (line 1494) | pub fn sandbox_delta_time(&self) -> chrono::Duration { method send_approval (line 1511) | pub fn send_approval( method on_block_accepted_with_optional_chunk_produce (line 1540) | pub fn on_block_accepted_with_optional_chunk_produce( method reconcile_transaction_pool (line 1659) | fn reconcile_transaction_pool( method produce_chunks (line 1725) | fn produce_chunks(&mut self, block: &Block, validator_id: AccountId) { method persist_and_distribute_encoded_chunk (line 1780) | pub fn persist_and_distribute_encoded_chunk( method request_missing_chunks (line 1809) | pub fn request_missing_chunks( method process_blocks_with_missing_chunks (line 1848) | pub fn process_blocks_with_missing_chunks( method is_validator (line 1864) | pub fn is_validator(&self, epoch_id: &EpochId, block_hash: &CryptoHash... method handle_process_approval_error (line 1882) | fn handle_process_approval_error( method collect_block_approval (line 1932) | pub fn collect_block_approval(&mut self, approval: &Approval, approval... method forward_tx (line 2052) | fn forward_tx(&self, epoch_id: &EpochId, tx: &SignedTransaction) -> Re... method process_tx (line 2101) | pub fn process_tx( method get_next_epoch_id_if_at_boundary (line 2115) | fn get_next_epoch_id_if_at_boundary(&self, head: &Tip) -> Result Result { method run_catchup (line 2294) | pub fn run_catchup( method get_shards_to_split (line 2415) | fn get_shards_to_split( method should_split_shard (line 2440) | fn should_split_shard( method process_challenge (line 2459) | pub fn process_challenge(&mut self, _challenge: Challenge) -> Result<(... method run_flat_storage_creation_step (line 2488) | pub fn run_flat_storage_creation_step(&mut self) -> Result { method clear_data (line 2498) | fn clear_data(&mut self) -> Result<(), unc_chain::Error> { method request_block (line 2524) | pub fn request_block(&self, hash: CryptoHash, peer_id: PeerId) { method ban_peer (line 2541) | pub fn ban_peer(&self, peer_id: PeerId, ban_reason: ReasonForBan) { method get_tier1_accounts (line 2563) | fn get_tier1_accounts(&mut self, tip: &Tip) -> Result... method send_network_chain_info (line 2631) | pub(crate) fn send_network_chain_info(&mut self) -> Result<(), Error> { method get_catchup_status (line 2647) | pub fn get_catchup_status(&self) -> Result, unc... type BlockDebugStatus (line 206) | pub struct BlockDebugStatus { method drop (line 2669) | fn drop(&mut self) { FILE: chain/client/src/client_actor.rs constant STATUS_WAIT_TIME_MULTIPLIER (line 86) | const STATUS_WAIT_TIME_MULTIPLIER: u64 = 10; constant HEAD_STALL_MULTIPLIER (line 89) | const HEAD_STALL_MULTIPLIER: u32 = 4; type ClientActor (line 91) | pub struct ClientActor { method new (line 155) | pub fn new( method wrap (line 263) | fn wrap( type Result (line 296) | type Result = Option; method handle (line 298) | fn handle( type Result (line 404) | type Result = ProcessTxResponse; method handle (line 407) | fn handle( type Result (line 420) | type Result = (); method handle (line 423) | fn handle(&mut self, msg: WithSpanContext, ctx: &mut Co... type Result (line 466) | type Result = Result<(), ReasonForBan>; method handle (line 469) | fn handle( type Result (line 487) | type Result = (); method handle (line 490) | fn handle(&mut self, msg: WithSpanContext, ctx: &mut Co... type Result (line 502) | type Result = (); method handle (line 505) | fn handle(&mut self, msg: WithSpanContext, ctx: &mut Co... type Result (line 547) | type Result = (); method handle (line 550) | fn handle(&mut self, msg: WithSpanContext, ctx: &mut Co... type Result (line 562) | type Result = (); method handle (line 565) | fn handle(&mut self, msg: WithSpanContext, ctx: &mut C... type Result (line 576) | type Result = unc_client_primitives::types::SandboxResponse; method handle (line 578) | fn handle( type Result (line 615) | type Result = Result; method handle (line 618) | fn handle(&mut self, msg: WithSpanContext, ctx: &mut Context; method handle (line 767) | fn handle( type Result (line 801) | type Result = (); method handle (line 804) | fn handle( method check_send_announce_account (line 868) | fn check_send_announce_account(&mut self, prev_block_hash: CryptoHash) { method sandbox_process_fast_forward (line 924) | fn sandbox_process_fast_forward( method pre_block_production (line 973) | fn pre_block_production(&mut self) -> Result<(), Error> { method post_block_production (line 987) | fn post_block_production(&mut self) { method handle_block_production (line 1000) | fn handle_block_production(&mut self) -> Result<(), Error> { method schedule_triggers (line 1091) | fn schedule_triggers(&mut self, ctx: &mut Context) { method check_triggers (line 1111) | fn check_triggers(&mut self, ctx: &mut Context) -> Durati... method try_process_unfinished_blocks (line 1219) | fn try_process_unfinished_blocks(&mut self) { method try_handle_block_production (line 1229) | fn try_handle_block_production(&mut self) { method try_doomslug_timer (line 1236) | fn try_doomslug_timer(&mut self, _: &mut Context) { method produce_block (line 1268) | fn produce_block(&mut self, next_height: BlockHeight) -> Result<(), Er... method send_chunks_metrics (line 1301) | fn send_chunks_metrics(&mut self, block: &Block) { method send_block_metrics (line 1316) | fn send_block_metrics(&mut self, block: &Block) { method process_accepted_blocks (line 1356) | fn process_accepted_blocks(&mut self, accepted_blocks: Vec) { method get_apply_chunks_done_callback (line 1373) | fn get_apply_chunks_done_callback(&self) -> DoneApplyChunkCallback { method receive_headers (line 1380) | fn receive_headers(&mut self, headers: Vec, peer_id: Peer... method syncing_info (line 1404) | fn syncing_info(&self) -> Result { method start_flat_storage_creation (line 1445) | fn start_flat_storage_creation(&mut self, ctx: &mut Context) { method find_sync_hash (line 1493) | fn find_sync_hash(&mut self) -> Result { method catchup (line 1513) | fn catchup(&mut self, ctx: &mut Context) { method run_timer (line 1540) | fn run_timer( method sync_wait_period (line 1564) | fn sync_wait_period(&self) -> Duration { method run_sync_step (line 1581) | fn run_sync_step(&mut self) { method sync_block_status (line 1794) | fn sync_block_status( method log_summary (line 1824) | fn log_summary(&mut self) { method maybe_receive_state_sync_blocks (line 1839) | fn maybe_receive_state_sync_blocks(&mut self, block: &Block) -> bool { type Result (line 1876) | type Result = (); method handle (line 1879) | fn handle( type Result (line 1896) | type Result = (); method handle (line 1899) | fn handle( type Result (line 1920) | type Result = (); method handle (line 1923) | fn handle( type Result (line 1940) | type Result = (); method handle (line 1943) | fn handle( type Result (line 1971) | type Result = Result; method handle (line 1974) | fn handle( type Result (line 1987) | type Result = (); method handle (line 1990) | fn handle(&mut self, msg: WithSpanContext, _: &mut Contex... type Result (line 1999) | type Result = (); method handle (line 2002) | fn handle( type Result (line 2015) | type Result = (); method handle (line 2018) | fn handle( function wait_until_genesis (line 135) | fn wait_until_genesis(genesis_time: &DateTime) { type Context (line 230) | type Context = Context; method started (line 232) | fn started(&mut self, ctx: &mut Self::Context) { type NetworkAdversarialMessage (line 285) | pub enum NetworkAdversarialMessage { function make_peer_info (line 743) | fn make_peer_info(from: unc_network::types::PeerInfo) -> unc_client_prim... function make_known_producer (line 752) | fn make_known_producer( type ApplyChunksDoneMessage (line 798) | pub struct ApplyChunksDoneMessage; type SyncRequirement (line 815) | enum SyncRequirement { method sync_needed (line 823) | fn sync_needed(&self) -> bool { method to_metrics_string (line 827) | fn to_metrics_string(&self) -> String { method fmt (line 839) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method drop (line 1869) | fn drop(&mut self) { function random_seed_from_thread (line 2031) | pub fn random_seed_from_thread() -> RngSeed { function start_client (line 2038) | pub fn start_client( FILE: chain/client/src/config_updater.rs type ConfigUpdater (line 7) | pub struct ConfigUpdater { method new (line 16) | pub fn new( method try_update (line 24) | pub fn try_update(&mut self, update_client_config_fn: &dyn Fn(Updateab... method report_status (line 42) | pub fn report_status(&self) { FILE: chain/client/src/debug.rs constant DEBUG_BLOCKS_TO_FETCH (line 42) | const DEBUG_BLOCKS_TO_FETCH: u32 = 50; constant DEBUG_EPOCHS_TO_FETCH (line 43) | const DEBUG_EPOCHS_TO_FETCH: u32 = 5; constant DEBUG_PRODUCTION_OLD_BLOCKS_TO_SHOW (line 46) | const DEBUG_PRODUCTION_OLD_BLOCKS_TO_SHOW: u64 = 50; constant DEBUG_MAX_PRODUCTION_BLOCKS_TO_SHOW (line 49) | const DEBUG_MAX_PRODUCTION_BLOCKS_TO_SHOW: u64 = 1000; constant PRODUCTION_TIMES_CACHE_SIZE (line 52) | pub const PRODUCTION_TIMES_CACHE_SIZE: usize = 1000; type BlockProductionTracker (line 54) | pub struct BlockProductionTracker(lru::LruCache Self { method get (line 61) | pub(crate) fn get(&mut self, height: BlockHeight) -> BlockProduction { method record_approvals (line 66) | pub(crate) fn record_approvals( method record_block_production (line 91) | pub(crate) fn record_block_production( method record_chunk_collected (line 104) | pub(crate) fn record_chunk_collected(&mut self, height: BlockHeight, s... method construct_chunk_collection_info (line 118) | pub(crate) fn construct_chunk_collection_info( type Result (line 148) | type Result = Result; method handle (line 151) | fn handle( method get_producers_for_epoch (line 188) | fn get_producers_for_epoch( method get_epoch_info_view (line 222) | fn get_epoch_info_view( method get_next_epoch_view (line 310) | fn get_next_epoch_view(&self) -> Result { method get_tracked_shards_view (line 333) | fn get_tracked_shards_view(&self) -> Result Result, unc_ch... method get_last_blocks_info (line 380) | fn get_last_blocks_info( method get_validator_status (line 516) | fn get_validator_status(&mut self) -> Result serde_json::Val... function display_catchup_status (line 598) | pub fn display_catchup_status(catchup_status: Vec) ->... function display_sync_status (line 628) | pub fn display_sync_status( type FormatMillis (line 693) | struct FormatMillis(&'static str, Option); method fmt (line 696) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type BlocksInfo (line 704) | struct BlocksInfo { method fmt (line 710) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type PrettyNumber (line 759) | struct PrettyNumber(u64, &'static str); method bytes_per_sec (line 762) | fn bytes_per_sec(bps: u64) -> Self { method bytes (line 766) | fn bytes(bytes: u64) -> Self { method gas_per_sec (line 770) | fn gas_per_sec(gps: u64) -> Self { method fmt (line 776) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ValidatorProductionStats (line 806) | pub struct ValidatorProductionStats { method kickout (line 818) | pub fn kickout(kickout: ValidatorKickoutView) -> Self { method validator (line 830) | pub fn validator(info: CurrentEpochValidatorInfo) -> Self { function get_validator_epoch_stats (line 845) | fn get_validator_epoch_stats( function test_pretty_number (line 872) | fn test_pretty_number() { function telemetry_info (line 892) | fn telemetry_info() { FILE: chain/client/src/metrics.rs function export_version (line 384) | pub(crate) fn export_version(uncd_version: &unc_primitives::version::Ver... FILE: chain/client/src/sync/adapter.rs type SyncShardInfo (line 19) | pub struct SyncShardInfo { type SyncMessage (line 27) | pub enum SyncMessage { type ActorHandler (line 34) | struct ActorHandler { type SyncAdapter (line 43) | pub struct SyncAdapter { method new (line 53) | pub fn new( method start (line 61) | pub fn start(&mut self, shard_uid: ShardUId) { method stop (line 74) | pub fn stop(&mut self, shard_uid: ShardUId) { method stop_all (line 78) | pub fn stop_all(&mut self) { method send (line 85) | pub fn send(&self, shard_uid: ShardUId, msg: M) method send (line 113) | async fn send(&self, shard_uid: ShardUId, msg: StateSyncResponse) { FILE: chain/client/src/sync/block.rs constant MAX_BLOCK_REQUESTS (line 17) | const MAX_BLOCK_REQUESTS: usize = 5; constant BLOCK_REQUEST_TIMEOUT_MS (line 20) | const BLOCK_REQUEST_TIMEOUT_MS: i64 = 2_000; type BlockSyncRequest (line 23) | pub struct BlockSyncRequest { type BlockSync (line 31) | pub struct BlockSync { method new (line 48) | pub fn new( method run (line 65) | pub fn run( method check_state_needed (line 102) | fn check_state_needed(&self, head: &Tip, header_head: &Tip) -> bool { method get_last_processed_block (line 129) | fn get_last_processed_block(&self, chain: &Chain) -> Result BlockSy... type BlockSyncDue (line 292) | enum BlockSyncDue { function collect_hashes_from_network_adapter (line 321) | fn collect_hashes_from_network_adapter( function check_hashes_from_network_adapter (line 337) | fn check_hashes_from_network_adapter( function create_highest_height_peer_infos (line 345) | fn create_highest_height_peer_infos(num_peers: usize) -> Vec String { method extract_file_name_from_path_buf (line 141) | fn extract_file_name_from_path_buf(path_buf: PathBuf) -> String { method list_state_parts (line 148) | pub async fn list_state_parts( constant GCS_ENCODE_SET (line 29) | const GCS_ENCODE_SET: &percent_encoding::AsciiSet = function external_storage_location (line 209) | pub fn external_storage_location( function external_storage_location_directory (line 224) | pub fn external_storage_location_directory( function location_prefix (line 233) | pub fn location_prefix( function part_filename (line 245) | pub fn part_filename(part_id: u64, num_parts: u64) -> String { function match_filename (line 249) | pub fn match_filename(s: &str) -> Option { function is_part_filename (line 254) | pub fn is_part_filename(s: &str) -> bool { function get_num_parts_from_filename (line 258) | pub fn get_num_parts_from_filename(s: &str) -> Option { function get_part_id_from_filename (line 269) | pub fn get_part_id_from_filename(s: &str) -> Option { function create_bucket_readonly (line 280) | pub fn create_bucket_readonly( type S3CredentialsConfig (line 290) | struct S3CredentialsConfig { function create_bucket_readwrite (line 295) | pub fn create_bucket_readwrite( function create_bucket (line 320) | fn create_bucket( function random_string (line 341) | fn random_string(rand_len: usize) -> String { function test_match_filename (line 346) | fn test_match_filename() { function test_gcs_upload_list_download (line 362) | fn test_gcs_upload_list_download() { FILE: chain/client/src/sync/header.rs constant MAX_BLOCK_HEADERS (line 18) | pub const MAX_BLOCK_HEADERS: u64 = 512; constant MAX_BLOCK_HEADER_HASHES (line 21) | pub const MAX_BLOCK_HEADER_HASHES: usize = 20; constant NS_PER_SECOND (line 23) | pub const NS_PER_SECOND: u128 = 1_000_000_000; type BatchProgress (line 26) | struct BatchProgress { type HeaderSync (line 38) | pub struct HeaderSync { method new (line 65) | pub fn new( method run (line 92) | pub fn run( method compute_expected_height (line 156) | fn compute_expected_height( method header_sync_due (line 173) | pub(crate) fn header_sync_due( method made_enough_progress (line 292) | fn made_enough_progress( method request_headers (line 307) | fn request_headers( method get_locator (line 335) | fn get_locator(&mut self, chain: &Chain) -> Result, un... function get_locator_ordinals (line 355) | fn get_locator_ordinals(lowest_ordinal: u64, highest_ordinal: u64) -> Ve... function test_get_locator_ordinals (line 396) | fn test_get_locator_ordinals() { function test_sync_headers_fork (line 436) | fn test_sync_headers_fork() { function test_sync_headers_fork_from_final_block (line 522) | fn test_sync_headers_fork_from_final_block() { function test_slow_header_sync (line 629) | fn test_slow_header_sync() { function test_sync_from_very_behind (line 726) | fn test_sync_from_very_behind() { FILE: chain/client/src/sync/state.rs constant MAX_STATE_PART_REQUEST (line 65) | pub const MAX_STATE_PART_REQUEST: u64 = 16; constant MAX_PENDING_PART (line 68) | pub const MAX_PENDING_PART: u64 = MAX_STATE_PART_REQUEST * 10000; constant STATE_DUMP_ITERATION_TIME_LIMIT_SECS (line 71) | pub const STATE_DUMP_ITERATION_TIME_LIMIT_SECS: u64 = 300; type StateSyncResult (line 73) | pub enum StateSyncResult { type PendingRequestStatus (line 80) | struct PendingRequestStatus { method new (line 87) | fn new(timeout: Duration) -> Self { method expired (line 90) | fn expired(&self) -> bool { type StateSyncGetPartResult (line 97) | pub struct StateSyncGetPartResult { type StateSyncInner (line 107) | enum StateSyncInner { type StateSync (line 128) | pub struct StateSync { method new (line 152) | pub fn new( method sync_shards_status (line 213) | fn sync_shards_status( method process_downloaded_parts (line 361) | fn process_downloaded_parts( method set_apply_result (line 400) | pub fn set_apply_result( method set_resharding_result (line 409) | pub fn set_resharding_result( method get_epoch_start_sync_hash (line 418) | pub fn get_epoch_start_sync_hash( method received_requested_part (line 441) | pub fn received_requested_part( method select_peers (line 470) | fn select_peers( method request_shard (line 494) | fn request_shard( method request_shard_header (line 540) | fn request_shard_header( method request_shard_parts (line 573) | fn request_shard_parts( method run (line 658) | pub fn run( method update_download_on_state_response_message (line 711) | pub fn update_download_on_state_response_message( method sync_shards_download_header_status (line 782) | fn sync_shards_download_header_status( method sync_shards_download_parts_status (line 828) | fn sync_shards_download_parts_status( method sync_shards_download_scheduling_status (line 885) | fn sync_shards_download_scheduling_status( method sync_shards_download_applying_status (line 923) | fn sync_shards_download_applying_status( method sync_shards_download_complete_status (line 958) | fn sync_shards_download_complete_status( method sync_shards_resharding_scheduling_status (line 978) | fn sync_shards_resharding_scheduling_status( method sync_shards_resharding_applying_status (line 999) | fn sync_shards_resharding_applying_status( function parts_to_fetch (line 1023) | fn parts_to_fetch( function request_part_from_external_storage (line 1035) | fn request_part_from_external_storage( function request_part_from_peers (line 1112) | fn request_part_from_peers( function sent_request_part (line 1145) | fn sent_request_part( function process_part_response (line 1167) | fn process_part_response( type SamplerLimited (line 1216) | struct SamplerLimited { function new (line 1222) | fn new(data: Vec, limit: u64) -> Self { type Item (line 1233) | type Item = T; method next (line 1235) | fn next(&mut self) -> Option { function test_ask_for_header (line 1277) | fn test_ask_for_header() { FILE: chain/client/src/sync/sync_actor.rs type MessageSenders (line 12) | struct MessageSenders { type SyncActor (line 21) | pub struct SyncActor { method new (line 31) | pub fn new( method handle_client_sync_message (line 43) | fn handle_client_sync_message(&mut self, msg: ClientSyncMessage) { method handle_network_sync_message (line 62) | fn handle_network_sync_message(&mut self, msg: StateSyncResponse) { type Context (line 76) | type Context = actix::Context; method started (line 78) | fn started(&mut self, _ctx: &mut Self::Context) { method stopped (line 82) | fn stopped(&mut self, _ctx: &mut Self::Context) { type Result (line 89) | type Result = (); method handle (line 91) | fn handle( type Result (line 103) | type Result = (); method handle (line 105) | fn handle( FILE: chain/client/src/sync_jobs_actor.rs type SyncJobsActor (line 18) | pub(crate) struct SyncJobsActor { constant MAILBOX_CAPACITY (line 43) | pub(crate) const MAILBOX_CAPACITY: usize = 100; method apply_parts (line 45) | fn apply_parts( method clear_flat_state (line 71) | fn clear_flat_state( type Context (line 87) | type Context = actix::Context; type Result (line 91) | type Result = (); method handle (line 94) | fn handle( type Result (line 131) | type Result = (); method handle (line 134) | fn handle( type Result (line 151) | type Result = (); method handle (line 154) | fn handle( function create_sync_job_scheduler (line 22) | pub(crate) fn create_sync_job_scheduler(address: actix::Addr BlockStats { method calculate_distance (line 33) | fn calculate_distance(&mut self, mut lhs: CryptoHash, mut rhs: CryptoH... method add_block (line 56) | pub(crate) fn add_block(&mut self, block: &Block) { method check_stats (line 74) | pub fn check_stats(&mut self, force: bool) { method check_block_ratio (line 88) | pub fn check_block_ratio(&mut self, min_ratio: Option, max_ratio:... FILE: chain/client/src/test_utils/client.rs method process_block_sync_with_produce_chunk_options (line 36) | fn process_block_sync_with_produce_chunk_options( method process_block_test (line 50) | pub fn process_block_test( method process_block_test_no_produce_chunk (line 58) | pub fn process_block_test_no_produce_chunk( method finish_blocks_in_processing (line 67) | pub fn finish_blocks_in_processing(&mut self) -> Vec { method finish_block_in_processing (line 77) | pub fn finish_block_in_processing(&mut self, hash: &CryptoHash) -> Vec; type Result (line 30) | type Result = PeerManagerMessageResponse; method handle (line 31) | fn handle(&mut self, msg: PeerManagerMessageRequest, ctx: &mut Self::C... type Result (line 37) | type Result = (); method handle (line 38) | fn handle(&mut self, _msg: SetChainInfo, _ctx: &mut Self::Context) {} FILE: chain/client/src/test_utils/setup.rs constant TEST_SEED (line 62) | pub const TEST_SEED: RngSeed = [3; 32]; constant MIN_BLOCK_PROD_TIME (line 65) | pub const MIN_BLOCK_PROD_TIME: Duration = Duration::from_millis(100); constant MAX_BLOCK_PROD_TIME (line 67) | pub const MAX_BLOCK_PROD_TIME: Duration = Duration::from_millis(200); function setup (line 70) | pub fn setup( function setup_only_view (line 196) | pub fn setup_only_view( function setup_mock (line 278) | pub fn setup_mock( function setup_mock_with_validity_period_and_no_epoch_sync (line 301) | pub fn setup_mock_with_validity_period_and_no_epoch_sync( type ActorHandlesForTesting (line 355) | pub struct ActorHandlesForTesting { function send_chunks (line 361) | fn send_chunks( function setup_mock_all_validators (line 421) | pub fn setup_mock_all_validators( function setup_no_network (line 878) | pub fn setup_no_network( function setup_no_network_with_validity_period_and_no_epoch_sync (line 893) | pub fn setup_no_network_with_validity_period_and_no_epoch_sync( function setup_client_with_runtime (line 912) | pub fn setup_client_with_runtime( function setup_client (line 953) | pub fn setup_client( function setup_synchronous_shards_manager (line 987) | pub fn setup_synchronous_shards_manager( function setup_client_with_synchronous_shards_manager (line 1034) | pub fn setup_client_with_synchronous_shards_manager( type ShardsManagerAdapterForTest (line 1082) | pub struct ShardsManagerAdapterForTest { method from (line 1090) | fn from(arc: Arc) -> Self { FILE: chain/client/src/test_utils/test_env.rs type TestEnv (line 43) | pub struct TestEnv { method builder (line 60) | pub fn builder(chain_genesis: ChainGenesis) -> TestEnvBuilder { method process_block (line 66) | pub fn process_block(&mut self, id: usize, block: Block, provenance: P... method produce_block (line 72) | pub fn produce_block(&mut self, id: usize, height: BlockHeight) { method pause_block_processing (line 87) | pub fn pause_block_processing(&mut self, capture: &mut TracingCapture,... method resume_block_processing (line 107) | pub fn resume_block_processing(&mut self, block: &CryptoHash) { method client (line 113) | pub fn client(&mut self, account_id: &AccountId) -> &mut Client { method shards_manager (line 117) | pub fn shards_manager(&self, account: &AccountId) -> &ShardsManagerAda... method process_partial_encoded_chunks (line 121) | pub fn process_partial_encoded_chunks(&mut self) { method process_partial_encoded_chunks_requests (line 166) | pub fn process_partial_encoded_chunks_requests(&mut self, id: usize) { method process_partial_encoded_chunk_request (line 173) | pub fn process_partial_encoded_chunk_request( method get_partial_encoded_chunk_response (line 197) | pub fn get_partial_encoded_chunk_response( method process_shards_manager_responses (line 225) | pub fn process_shards_manager_responses(&mut self, id: usize) -> bool { method process_shards_manager_responses_and_finish_processing_blocks (line 252) | pub fn process_shards_manager_responses_and_finish_processing_blocks(&... method propagate_chunk_state_witnesses (line 264) | pub fn propagate_chunk_state_witnesses(&mut self) { method get_all_chunk_endorsements (line 289) | pub fn get_all_chunk_endorsements(&mut self) -> Vec { method send_money (line 311) | pub fn send_money(&mut self, id: usize) -> ProcessTxResponse { method upgrade_protocol (line 328) | pub fn upgrade_protocol(&mut self, protocol_version: ProtocolVersion) { method query_account (line 353) | pub fn query_account(&mut self, account_id: AccountId) -> AccountView { method query_state (line 380) | pub fn query_state(&mut self, account_id: AccountId) -> Vec { method query_balance (line 411) | pub fn query_balance(&mut self, account_id: AccountId) -> Balance { method restart (line 421) | pub fn restart(&mut self, idx: usize) { method get_client_id (line 448) | pub fn get_client_id(&self, idx: usize) -> &AccountId { method get_runtime_config (line 452) | pub fn get_runtime_config(&self, idx: usize, epoch_id: EpochId) -> Run... method tx_from_actions (line 457) | pub fn tx_from_actions( method meta_tx_from_actions (line 475) | pub fn meta_tx_from_actions( method execute_tx (line 513) | pub fn execute_tx( method call_main (line 544) | pub fn call_main(&mut self, account: &AccountId) -> FinalExecutionOutc... method drop (line 558) | fn drop(&mut self) { type AccountIndices (line 569) | pub(crate) struct AccountIndices(pub(crate) HashMap); method index (line 572) | pub fn index(&self, account_id: &AccountId) -> usize { method lookup (line 576) | pub fn lookup<'a, T>(&self, container: &'a [T], account_id: &AccountId... method lookup_mut (line 580) | pub fn lookup_mut<'a, T>(&self, container: &'a mut [T], account_id: &A... FILE: chain/client/src/test_utils/test_env_builder.rs type EpochManagerKind (line 27) | enum EpochManagerKind { method into_adapter (line 33) | pub fn into_adapter(self) -> Arc { type TestEnvBuilder (line 42) | pub struct TestEnvBuilder { method new (line 64) | pub(crate) fn new(chain_genesis: ChainGenesis) -> Self { method clients (line 91) | pub fn clients(mut self, clients: Vec) -> Self { method clients_random_seeds (line 103) | pub fn clients_random_seeds(mut self, seeds: HashMap Self { method num_clients (line 116) | pub fn num_clients(&self) -> usize { method validators (line 122) | pub fn validators(mut self, validators: Vec) -> Self { method validator_seats (line 133) | pub fn validator_seats(self, num: usize) -> Self { method ensure_home_dirs (line 137) | fn ensure_home_dirs(mut self) -> Self { method stores (line 151) | pub fn stores(mut self, stores: Vec) -> Self { method real_stores (line 160) | pub fn real_stores(self) -> Self { method ensure_stores (line 184) | fn ensure_stores(self) -> Self { method mock_epoch_managers (line 199) | pub fn mock_epoch_managers(mut self, epoch_managers: Vec Se... method real_epoch_managers_with_test_overrides (line 244) | pub fn real_epoch_managers_with_test_overrides( method ensure_epoch_managers (line 267) | fn ensure_epoch_managers(self) -> Self { method internal_initialize_nightshade_runtimes (line 297) | pub fn internal_initialize_nightshade_runtimes( method shard_trackers (line 332) | pub fn shard_trackers(mut self, shard_trackers: Vec) -> ... method track_all_shards (line 342) | pub fn track_all_shards(self) -> Self { method ensure_shard_trackers (line 355) | fn ensure_shard_trackers(self) -> Self { method runtimes (line 372) | pub fn runtimes(mut self, runtimes: Vec>) -> S... method ensure_runtimes (line 380) | fn ensure_runtimes(self) -> Self { method network_adapters (line 410) | pub fn network_adapters(mut self, adapters: Vec Self { method num_shards (line 425) | pub fn num_shards(mut self, num_shards: NumShards) -> Self { method archive (line 434) | pub fn archive(mut self, archive: bool) -> Self { method save_trie_changes (line 439) | pub fn save_trie_changes(mut self, save_trie_changes: bool) -> Self { method build (line 453) | pub fn build(self) -> TestEnv { method build_impl (line 457) | fn build_impl(self) -> TestEnv { method make_accounts (line 555) | fn make_accounts(count: usize) -> Vec { method use_state_snapshots (line 559) | pub fn use_state_snapshots(mut self) -> Self { method state_snapshot_type (line 565) | pub fn state_snapshot_type(&self) -> StateSnapshotType { FILE: chain/client/src/tests/bug_repros.rs function repro_1183 (line 30) | fn repro_1183() { function test_sync_from_archival_node (line 165) | fn test_sync_from_archival_node() { function test_long_gap_between_blocks (line 274) | fn test_long_gap_between_blocks() { FILE: chain/client/src/tests/catching_up.rs function get_validators_and_key_pairs (line 29) | fn get_validators_and_key_pairs() -> (ValidatorSchedule, Vec) { function send_tx (line 65) | fn send_tx( type ReceiptsSyncPhases (line 86) | enum ReceiptsSyncPhases { type StateRequestStruct (line 95) | pub struct StateRequestStruct { function test_catchup_receipts_sync_third_epoch (line 105) | fn test_catchup_receipts_sync_third_epoch() { function test_catchup_receipts_sync_hold (line 118) | fn test_catchup_receipts_sync_hold() { function test_catchup_receipts_sync_last_block (line 124) | fn test_catchup_receipts_sync_last_block() { function test_catchup_receipts_sync_distant_epoch (line 130) | fn test_catchup_receipts_sync_distant_epoch() { function test_catchup_receipts_sync_common (line 134) | fn test_catchup_receipts_sync_common(wait_till: u64, send: u64, sync_hol... type RandomSinglePartPhases (line 364) | enum RandomSinglePartPhases { function test_catchup_random_single_part_sync (line 377) | fn test_catchup_random_single_part_sync() { function test_catchup_random_single_part_sync_skip_15 (line 386) | fn test_catchup_random_single_part_sync_skip_15() { function test_catchup_random_single_part_sync_send_15 (line 392) | fn test_catchup_random_single_part_sync_send_15() { function test_catchup_random_single_part_sync_non_zero_amounts (line 399) | fn test_catchup_random_single_part_sync_non_zero_amounts() { function test_catchup_random_single_part_sync_height_6 (line 406) | fn test_catchup_random_single_part_sync_height_6() { function test_catchup_random_single_part_sync_common (line 410) | fn test_catchup_random_single_part_sync_common(skip_15: bool, non_zero: ... function test_catchup_sanity_blocks_produced (line 608) | fn test_catchup_sanity_blocks_produced() { function test_all_chunks_accepted_1000 (line 673) | fn test_all_chunks_accepted_1000() { function test_all_chunks_accepted_1000_slow (line 679) | fn test_all_chunks_accepted_1000_slow() { function test_all_chunks_accepted_1000_rare_epoch_changing (line 685) | fn test_all_chunks_accepted_1000_rare_epoch_changing() { function test_all_chunks_accepted_common (line 689) | fn test_all_chunks_accepted_common( FILE: chain/client/src/tests/chunks_management.rs function test_request_chunk_restart (line 15) | fn test_request_chunk_restart() { FILE: chain/client/src/tests/consensus.rs function test_consensus_with_epoch_switches (line 26) | fn test_consensus_with_epoch_switches() { FILE: chain/client/src/tests/cross_shard_tx.rs function test_keyvalue_runtime_balances (line 29) | fn test_keyvalue_runtime_balances() { function send_tx (line 95) | fn send_tx( function test_cross_shard_tx_callback (line 156) | fn test_cross_shard_tx_callback( function test_cross_shard_tx_common (line 392) | fn test_cross_shard_tx_common( function test_cross_shard_tx (line 532) | fn test_cross_shard_tx() { function test_cross_shard_tx_doomslug (line 539) | fn test_cross_shard_tx_doomslug() { function test_cross_shard_tx_drop_chunks (line 546) | fn test_cross_shard_tx_drop_chunks() { function test_cross_shard_tx_8_iterations (line 552) | fn test_cross_shard_tx_8_iterations() { function test_cross_shard_tx_8_iterations_drop_chunks (line 558) | fn test_cross_shard_tx_8_iterations_drop_chunks() { function test_cross_shard_tx_with_validator_rotation_1 (line 569) | fn test_cross_shard_tx_with_validator_rotation_1() { function test_cross_shard_tx_with_validator_rotation_2 (line 575) | fn test_cross_shard_tx_with_validator_rotation_2() { FILE: chain/client/src/tests/doomslug.rs function test_processing_skips_on_forks (line 19) | fn test_processing_skips_on_forks() { FILE: chain/client/src/tests/maintenance_windows.rs function test_get_maintenance_windows_for_validator (line 12) | fn test_get_maintenance_windows_for_validator() { function test_get_maintenance_windows_for_not_validator (line 45) | fn test_get_maintenance_windows_for_not_validator() { FILE: chain/client/src/tests/process_blocks.rs function test_not_process_height_twice (line 20) | fn test_not_process_height_twice() { function test_bad_shard_id (line 55) | fn test_bad_shard_id() { function test_bad_block_content_vrf (line 101) | fn test_bad_block_content_vrf() { function test_bad_block_signature (line 125) | fn test_bad_block_signature() { FILE: chain/client/src/tests/query_client.rs function query_client (line 37) | fn query_client() { function query_status_not_crash (line 64) | fn query_status_not_crash() { function test_execution_outcome_for_chunk (line 139) | fn test_execution_outcome_for_chunk() { function test_state_request (line 210) | fn test_state_request() { function test_garbage_collection (line 270) | fn test_garbage_collection() { FILE: chain/client/src/view_client.rs constant QUERY_REQUEST_LIMIT (line 74) | const QUERY_REQUEST_LIMIT: usize = 500; constant REQUEST_WAIT_TIME (line 76) | const REQUEST_WAIT_TIME: u64 = 1000; constant POISONED_LOCK_ERR (line 78) | const POISONED_LOCK_ERR: &str = "The lock was poisoned."; type ViewClientRequestManager (line 81) | pub struct ViewClientRequestManager { method new (line 111) | pub fn new() -> Self { type ViewClientActor (line 95) | pub struct ViewClientActor { constant MAX_NUM_STATE_REQUESTS (line 124) | const MAX_NUM_STATE_REQUESTS: usize = 30; method new (line 126) | pub fn new( method maybe_block_id_to_block_header (line 160) | fn maybe_block_id_to_block_header( method need_request (line 174) | fn need_request(key: K, cache: &mut lru::LruCach... method get_block_hash_by_finality (line 186) | fn get_block_hash_by_finality( method get_block_header_by_reference (line 202) | fn get_block_header_by_reference( method get_block_by_reference (line 235) | fn get_block_by_reference( method get_maintenance_windows (line 264) | fn get_maintenance_windows( method handle_query (line 312) | fn handle_query(&mut self, msg: Query) -> Result bool { method has_state_snapshot (line 627) | fn has_state_snapshot(&self, sync_hash: &CryptoHash, shard_id: ShardId... type Result (line 654) | type Result = Result; method handle (line 657) | fn handle(&mut self, msg: WithSpanContext, _: &mut Self::Contex... type Result (line 667) | type Result = Result; method handle (line 669) | fn handle(&mut self, msg: WithSpanContext, _: &mut Self::... type Result (line 682) | type Result = Result; method handle (line 684) | fn handle( type Result (line 699) | type Result = Result; method handle (line 702) | fn handle(&mut self, msg: WithSpanContext, _: &mut Self::Con... type Result (line 717) | type Result = Result<(BlockView, Arc), GetBlockError>; method handle (line 720) | fn handle( type Result (line 740) | type Result = Result; method handle (line 743) | fn handle(&mut self, msg: WithSpanContext, _: &mut Self::Con... type Result (line 798) | type Result = Result; method handle (line 801) | fn handle(&mut self, msg: WithSpanContext, _: &mut Self::Con... type Result (line 811) | type Result = Result; method handle (line 814) | fn handle( type Result (line 862) | type Result = Result, GetValidatorInf... method handle (line 865) | fn handle( type Result (line 886) | type Result = Result; method handle (line 889) | fn handle( type Result (line 911) | type Result = Result; method handle (line 914) | fn handle( type Result (line 935) | type Result = Result; method handle (line 938) | fn handle( type Result (line 961) | type Result = Result, GetStateChang... method handle (line 964) | fn handle( type Result (line 1009) | type Result = Result>, GetNextLightCl... method handle (line 1012) | fn handle( type Result (line 1057) | type Result = Result>... method handle (line 1150) | fn handle( type Result (line 1172) | type Result = Result, GetReceiptError>; method handle (line 1175) | fn handle(&mut self, msg: WithSpanContext, _: &mut Self::C... type Result (line 1189) | type Result = Result; method handle (line 1192) | fn handle( type Result (line 1211) | type Result = Result; method handle (line 1214) | fn handle( type Result (line 1240) | type Result = Option; method handle (line 1243) | fn handle( type Result (line 1278) | type Result = Option>; method handle (line 1281) | fn handle( type Result (line 1302) | type Result = (); method handle (line 1305) | fn handle( type Result (line 1325) | type Result = Option>; method handle (line 1328) | fn handle( type Result (line 1347) | type Result = Option; method handle (line 1350) | fn handle( type Result (line 1369) | type Result = Option; method handle (line 1371) | fn handle( type Result (line 1391) | type Result = Option>; method handle (line 1394) | fn handle( type Result (line 1417) | type Result = Option; method handle (line 1420) | fn handle( type Result (line 1502) | type Result = Option; method handle (line 1505) | fn handle( type Result (line 1583) | type Result = Result, ReasonForBan>; method handle (line 1586) | fn handle( type Result (line 1642) | type Result = Result; method handle (line 1645) | fn handle( type Result (line 1660) | type Result = Result; method handle (line 1663) | fn handle( type Result (line 1675) | type Result = Result; method handle (line 1677) | fn handle( type Context (line 650) | type Context = SyncContext; function start_view_client (line 1702) | pub fn start_view_client( FILE: chain/epoch-manager/src/adapter.rs type EpochManagerAdapter (line 33) | pub trait EpochManagerAdapter: Send + Sync { method epoch_exists (line 35) | fn epoch_exists(&self, epoch_id: &EpochId) -> bool; method shard_ids (line 38) | fn shard_ids(&self, epoch_id: &EpochId) -> Result, EpochE... method num_total_parts (line 44) | fn num_total_parts(&self) -> usize; method num_data_parts (line 50) | fn num_data_parts(&self) -> usize; method get_part_owner (line 53) | fn get_part_owner(&self, epoch_id: &EpochId, part_id: u64) -> Result Result, ... method get_epoch_config (line 72) | fn get_epoch_config(&self, epoch_id: &EpochId) -> Result Result,... method get_shard_layout (line 76) | fn get_shard_layout(&self, epoch_id: &EpochId) -> Result Result Resul... method is_last_block_in_finished_epoch (line 87) | fn is_last_block_in_finished_epoch(&self, hash: &CryptoHash) -> Result... method get_epoch_id_from_prev_block (line 90) | fn get_epoch_id_from_prev_block(&self, parent_hash: &CryptoHash) method get_epoch_height_from_prev_block (line 94) | fn get_epoch_height_from_prev_block( method get_next_epoch_id (line 100) | fn get_next_epoch_id(&self, block_hash: &CryptoHash) -> Result Result Result Resul... method get_all_miners (line 186) | fn get_all_miners(&self, block_hash: &CryptoHash) -> Result Result Result Result... method get_all_epoch_hashes (line 413) | fn get_all_epoch_hashes( method force_update_aggregator (line 420) | fn force_update_aggregator(&self, epoch_id: &EpochId, hash: &CryptoHash); method epoch_exists (line 430) | fn epoch_exists(&self, epoch_id: &EpochId) -> bool { method shard_ids (line 435) | fn shard_ids(&self, epoch_id: &EpochId) -> Result, EpochE... method num_total_parts (line 440) | fn num_total_parts(&self) -> usize { method num_data_parts (line 449) | fn num_data_parts(&self) -> usize { method get_part_owner (line 458) | fn get_part_owner(&self, epoch_id: &EpochId, part_id: u64) -> Result Result, ... method get_epoch_config (line 491) | fn get_epoch_config(&self, epoch_id: &EpochId) -> Result Result,... method get_shard_layout (line 501) | fn get_shard_layout(&self, epoch_id: &EpochId) -> Result Result Resul... method is_last_block_in_finished_epoch (line 517) | fn is_last_block_in_finished_epoch(&self, hash: &CryptoHash) -> Result... method get_epoch_id_from_prev_block (line 522) | fn get_epoch_id_from_prev_block( method get_epoch_height_from_prev_block (line 530) | fn get_epoch_height_from_prev_block( method get_next_epoch_id (line 539) | fn get_next_epoch_id(&self, block_hash: &CryptoHash) -> Result Result Result Resul... method get_all_miners (line 666) | fn get_all_miners(&self, block_hash: &CryptoHash) -> Result Result Result Result... method get_all_epoch_hashes (line 1024) | fn get_all_epoch_hashes( method force_update_aggregator (line 1039) | fn force_update_aggregator(&self, epoch_id: &EpochId, hash: &CryptoHas... FILE: chain/epoch-manager/src/lib.rs constant EPOCH_CACHE_SIZE (line 60) | const EPOCH_CACHE_SIZE: usize = if cfg!(feature = "no_cache") { 1 } else... constant BLOCK_CACHE_SIZE (line 61) | const BLOCK_CACHE_SIZE: usize = if cfg!(feature = "no_cache") { 5 } else... constant _HASH_CACHE_SIZE (line 63) | const _HASH_CACHE_SIZE: usize = if cfg!(feature = "no_cache") { 1 } else... constant AGGREGATOR_SAVE_PERIOD (line 64) | const AGGREGATOR_SAVE_PERIOD: u64 = 1000; type EpochManagerHandle (line 75) | pub struct EpochManagerHandle { method write (line 80) | pub fn write(&self) -> RwLockWriteGuard { method read (line 84) | pub fn read(&self) -> RwLockReadGuard { method validator_power (line 90) | fn validator_power( method validator_total_power (line 105) | fn validator_total_power( method minimum_power (line 120) | fn minimum_power(&self, prev_block_hash: &CryptoHash) -> Result Result... method new_arc_handle_with_test_overrides (line 247) | pub fn new_arc_handle_with_test_overrides( method new_all_epoch_config_with_test_overrides (line 263) | fn new_all_epoch_config_with_test_overrides( method new (line 277) | pub fn new( method into_handle (line 376) | pub fn into_handle(self) -> EpochManagerHandle { method copy_epoch_info_as_of_block (line 387) | pub fn copy_epoch_info_as_of_block( method init_after_epoch_sync (line 438) | pub fn init_after_epoch_sync( method compute_exempted_kickout (line 468) | fn compute_exempted_kickout( method compute_kickout_info (line 549) | fn compute_kickout_info( method collect_blocks_info (line 649) | fn collect_blocks_info( method finalize_block_summary_for_block (line 770) | fn finalize_block_summary_for_block( method finalize_epoch (line 862) | fn finalize_epoch( method record_block_info (line 970) | pub fn record_block_info( method get_all_miners (line 1087) | pub fn get_all_miners( method get_block_producer_info (line 1100) | pub fn get_block_producer_info( method get_block_producer_info_by_hash (line 1111) | pub fn get_block_producer_info_by_hash( method hash_to_bigint (line 1126) | fn hash_to_bigint(hash: &CryptoHash) -> BigInt { method choose_validator_vrf (line 1130) | fn choose_validator_vrf( method get_all_block_producers_settlement (line 1167) | pub fn get_all_block_producers_settlement( method get_all_block_producers_ordered (line 1191) | pub fn get_all_block_producers_ordered( method get_all_chunk_producers (line 1213) | pub fn get_all_chunk_producers( method get_chunk_validators (line 1231) | pub fn get_chunk_validators( method get_heuristic_block_approvers_ordered (line 1257) | pub fn get_heuristic_block_approvers_ordered( method get_all_block_approvers_ordered (line 1275) | pub fn get_all_block_approvers_ordered( method get_chunk_producer_info (line 1319) | pub fn get_chunk_producer_info( method get_validator_by_account_id (line 1332) | pub fn get_validator_by_account_id( method get_fisherman_by_account_id (line 1344) | pub fn get_fisherman_by_account_id( method get_epoch_id (line 1355) | pub fn get_epoch_id(&self, block_hash: &CryptoHash) -> Result Result Result R... method is_last_block_in_finished_epoch (line 1426) | fn is_last_block_in_finished_epoch(&self, hash: &CryptoHash) -> Result... method get_epoch_id_from_prev_block (line 1438) | pub fn get_epoch_id_from_prev_block( method get_next_epoch_id_from_prev_block (line 1449) | pub fn get_next_epoch_id_from_prev_block( method get_epoch_start_height (line 1461) | pub fn get_epoch_start_height( method compute_power_return_info_for_block (line 1476) | pub fn compute_power_return_info_for_block( method compute_power_return_info (line 1529) | pub fn compute_power_return_info( method compute_double_sign_slashing_info (line 1614) | fn compute_double_sign_slashing_info( method get_validator_info (line 1659) | pub fn get_validator_info( method add_validator_proposals (line 1852) | pub fn add_validator_proposals( method add_validator_proposals_for_blocks (line 1904) | pub fn add_validator_proposals_for_blocks( method compare_epoch_id (line 2062) | pub fn compare_epoch_id( method minimum_pledge (line 2083) | pub fn minimum_pledge(&self, prev_block_hash: &CryptoHash) -> Result Result Resul... method next_block_need_approvals_from_next_epoch (line 2192) | fn next_block_need_approvals_from_next_epoch( method get_next_epoch_id_from_info (line 2212) | fn get_next_epoch_id_from_info(&self, block_info: &BlockInfo) -> Resul... method get_shard_config (line 2217) | pub fn get_shard_config(&self, epoch_id: &EpochId) -> Result Result Result Re... method get_epoch_info (line 2242) | pub fn get_epoch_info(&self, epoch_id: &EpochId) -> Result Result Result Result { method get_block_info (line 2301) | pub fn get_block_info(&self, hash: &CryptoHash) -> Result Result<... method update_epoch_info_aggregator_upto_final (line 2357) | pub fn update_epoch_info_aggregator_upto_final( method get_epoch_info_aggregator_upto_last (line 2392) | pub fn get_epoch_info_aggregator_upto_last( method aggregate_epoch_info_upto (line 2426) | fn aggregate_epoch_info_upto( method get_protocol_upgrade_block_height (line 2491) | pub fn get_protocol_upgrade_block_height( method get_all_epoch_hashes_from_db (line 2512) | pub fn get_all_epoch_hashes_from_db( method get_all_epoch_hashes_from_cache (line 2546) | fn get_all_epoch_hashes_from_cache( function remove_duplicate_power_proposals (line 2102) | fn remove_duplicate_power_proposals(power_proposals: Vec... function remove_duplicate_pledge_proposals (line 2116) | fn remove_duplicate_pledge_proposals( FILE: chain/epoch-manager/src/proposals.rs function find_threshold (line 16) | pub(crate) fn find_threshold( function proposals_to_block_summary (line 42) | pub fn proposals_to_block_summary( function proposals_to_epoch_info (line 70) | pub fn proposals_to_epoch_info( function proposals_to_epoch_info (line 119) | pub fn proposals_to_epoch_info( function shuffle_duplicate_proposals (line 335) | fn shuffle_duplicate_proposals(dup_proposals: &mut Vec, rng_seed: R... function gen_index_old (line 342) | fn gen_index_old(rng: &mut Hc128Rng, bound: u64) -> u64 { function proposal_shuffling_sanity_checks (line 362) | pub fn proposal_shuffling_sanity_checks() { function proposal_randomness_reproducibility (line 377) | pub fn proposal_randomness_reproducibility() { FILE: chain/epoch-manager/src/reward_calculator.rs constant NUM_NS_IN_SECOND (line 11) | pub(crate) const NUM_NS_IN_SECOND: u64 = 1_000_000_000; constant NUM_SECONDS_IN_A_YEAR (line 12) | pub const NUM_SECONDS_IN_A_YEAR: u64 = 24 * 60 * 2 * 365; type RewardCalculator (line 15) | pub struct RewardCalculator { method new (line 27) | pub fn new(config: &GenesisConfig) -> Self { method calculate_reward (line 41) | pub fn calculate_reward( function test_zero_produced_and_expected (line 161) | fn test_zero_produced_and_expected() { function test_reward_validator_different_online (line 212) | fn test_reward_validator_different_online() { function test_reward_chunk_only_producer (line 277) | fn test_reward_chunk_only_producer() { function test_reward_no_overflow (line 358) | fn test_reward_no_overflow() { FILE: chain/epoch-manager/src/shard_assignment.rs function assign_shards (line 21) | pub fn assign_shards + Eq + Clone + PartialOrd>( function assign_with_possible_repeats (line 81) | fn assign_with_possible_repeats + Eq, I: Iterator { method get_value (line 147) | fn get_value(&self) -> T; method get_value (line 151) | fn get_value(&self) -> Power { method get_value (line 157) | fn get_value(&self) -> Balance { method get_value (line 163) | fn get_value(&self) -> Balance { constant EXPONENTIAL_STAKES (line 173) | const EXPONENTIAL_STAKES: [Balance; 12] = [100, 90, 81, 73, 66, 59, 53, ... function test_exponential_distribution_few_shards (line 176) | fn test_exponential_distribution_few_shards() { function test_exponential_distribution_several_shards (line 182) | fn test_exponential_distribution_several_shards() { function test_exponential_distribution_many_shards (line 188) | fn test_exponential_distribution_many_shards() { function test_duplicate_validator (line 206) | fn test_duplicate_validator() { function test_not_enough_validators (line 213) | fn test_not_enough_validators() { function test_step_distribution_shards (line 219) | fn test_step_distribution_shards() { function assign_shards (line 240) | fn assign_shards( function test_distribution_common (line 288) | fn test_distribution_common(pledges: &[Balance], num_shards: NumShards, ... function get_value (line 319) | fn get_value(&self) -> Balance { FILE: chain/epoch-manager/src/shard_tracker.rs type ShardTracker (line 9) | pub struct ShardTracker { method new (line 14) | pub fn new(epoch_manager: Arc) -> Self { method new_empty (line 18) | pub fn new_empty(epoch_manager: Arc) -> Self { method care_about_shard (line 28) | pub fn care_about_shard( method will_care_about_shard (line 66) | pub fn will_care_about_shard( constant DEFAULT_TOTAL_SUPPLY (line 114) | const DEFAULT_TOTAL_SUPPLY: u128 = 1_000_000_000_000; function get_epoch_manager (line 116) | fn get_epoch_manager( function record_block (line 168) | pub fn record_block( function get_all_shards_care_about (line 201) | fn get_all_shards_care_about( function get_all_shards_will_care_about (line 213) | fn get_all_shards_will_care_about( function test_track_all_shards (line 226) | fn test_track_all_shards() { FILE: chain/epoch-manager/src/test_utils.rs constant DEFAULT_GAS_PRICE (line 32) | pub const DEFAULT_GAS_PRICE: u128 = 100; constant DEFAULT_TOTAL_SUPPLY (line 33) | pub const DEFAULT_TOTAL_SUPPLY: u128 = 1_000_000_000_000; constant TEST_SEED (line 34) | pub const TEST_SEED: RngSeed = [3; 32]; function hash_range (line 36) | pub fn hash_range(num: usize) -> Vec { function epoch_info (line 44) | pub fn epoch_info( function epoch_info_with_num_seats (line 74) | pub fn epoch_info_with_num_seats( function epoch_config_with_production_config (line 142) | pub fn epoch_config_with_production_config( function epoch_config (line 176) | pub fn epoch_config( function power (line 197) | pub fn power(account_id: AccountId, w: Power) -> ValidatorPower { function pledge (line 202) | pub fn pledge(account_id: AccountId, pledge: Balance) -> ValidatorPledge { function default_reward_calculator (line 208) | pub fn default_reward_calculator() -> RewardCalculator { function reward (line 221) | pub fn reward(info: Vec<(AccountId, Balance)>) -> HashMap) { function check_kickout (line 2273) | fn check_kickout(epoch_info: &EpochInfo, reasons: &[(&str, ValidatorKick... function test_fisherman_kickout (line 2282) | fn test_fisherman_kickout() { function set_block_info_protocol_version (line 2342) | fn set_block_info_protocol_version(info: &mut BlockInfo, protocol_versio... function test_protocol_version_switch (line 2350) | fn test_protocol_version_switch() { function test_protocol_version_switch_with_shard_layout_change (line 2400) | fn test_protocol_version_switch_with_shard_layout_change() { function test_protocol_version_switch_with_many_seats (line 2466) | fn test_protocol_version_switch_with_many_seats() { function test_protocol_version_switch_after_switch (line 2522) | fn test_protocol_version_switch_after_switch() { function test_final_block_consistency (line 2608) | fn test_final_block_consistency() { function test_epoch_validators_cache (line 2663) | fn test_epoch_validators_cache() { function test_chunk_producers (line 2701) | fn test_chunk_producers() { function test_validator_kickout_sanity (line 2758) | fn test_validator_kickout_sanity() { function test_max_kickout_pledge_ratio (line 2843) | fn test_max_kickout_pledge_ratio() { FILE: chain/epoch-manager/src/tests/random_epochs.rs constant DEBUG_PRINT (line 18) | const DEBUG_PRINT: bool = false; function test_random_epochs (line 21) | fn test_random_epochs() { function run_with_seed_range (line 25) | fn run_with_seed_range(epoch_length: u64, num_heights: u64, max_seed: u6... function run_with_seed (line 36) | fn run_with_seed(epoch_length: u64, num_heights: u64, test: u64) { function do_random_test (line 46) | fn do_random_test( function random_proposals (line 115) | fn random_proposals(rng: &mut RngImpl) -> Vec(rng: &mut RngImpl) -> Vec]) { function verify_proposals (line 253) | fn verify_proposals(epoch_manager: &EpochManager, block_infos: &[Arc bo... function get_pledges_map (line 399) | fn get_pledges_map(epoch_info: &EpochInfo) -> HashMap { FILE: chain/epoch-manager/src/types.rs type RngSeed (line 18) | pub type RngSeed = [u8; 32]; type BlockHeaderInfo (line 23) | pub struct BlockHeaderInfo { method new (line 40) | pub fn new(header: &BlockHeader, last_finalized_height: u64) -> Self { type EpochInfoAggregator (line 61) | pub struct EpochInfoAggregator { method new (line 79) | pub fn new(epoch_id: EpochId, last_block_hash: CryptoHash) -> Self { method update_tail (line 108) | pub fn update_tail( method merge (line 202) | pub fn merge(&mut self, other: EpochInfoAggregator) { method merge_prefix (line 236) | pub fn merge_prefix(&mut self, other: &EpochInfoAggregator) { method merge_common (line 261) | fn merge_common(&mut self, other: &EpochInfoAggregator) { FILE: chain/epoch-manager/src/validator_selection.rs function remove_duplicate_power_proposals (line 22) | fn remove_duplicate_power_proposals(power_proposals: Vec... function remove_duplicate_pledge_proposals (line 36) | fn remove_duplicate_pledge_proposals( function proposals_to_block_summary (line 52) | pub fn proposals_to_block_summary( function proposals_to_epoch_info (line 285) | pub fn proposals_to_epoch_info( function proposals_with_rollover_block (line 516) | fn proposals_with_rollover_block( function proposals_with_rollover (line 601) | fn proposals_with_rollover( function order_power_proposals (line 676) | fn order_power_proposals>( function order_pledge_proposals (line 682) | fn order_pledge_proposals>( function select_block_producers (line 687) | fn select_block_producers( function select_chunk_producers (line 703) | fn select_chunk_producers( function create_power_map (line 721) | fn create_power_map(heap: &BinaryHeap) -> HashMap... function select_validators (line 745) | fn select_validators( type OrderedValidatorPledge (line 806) | struct OrderedValidatorPledge(ValidatorPledge); method key (line 808) | fn key(&self) -> impl Ord + '_ { method partial_cmp (line 813) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 818) | fn cmp(&self, other: &Self) -> Ordering { type OrderedValidatorPower (line 823) | struct OrderedValidatorPower(ValidatorPower); method key (line 825) | fn key(&self) -> impl Ord + '_ { method partial_cmp (line 830) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 835) | fn cmp(&self, other: &Self) -> Ordering { function test_validator_assignment_all_block_producers (line 855) | fn test_validator_assignment_all_block_producers() { function test_validator_assignment_with_chunk_only_producers (line 898) | fn test_validator_assignment_with_chunk_only_producers() { function test_block_producer_sampling (line 1009) | fn test_block_producer_sampling() { function test_chunk_producer_sampling (line 1051) | fn test_chunk_producer_sampling() { function test_chunk_validators_sampling (line 1146) | fn test_chunk_validators_sampling() { function test_validator_assignment_ratio_condition (line 1230) | fn test_validator_assignment_ratio_condition() { function test_validator_assignment_with_kickout (line 1371) | fn test_validator_assignment_with_kickout() { function test_validator_assignment_with_rewards (line 1402) | fn test_validator_assignment_with_rewards() { function pledge_sum (line 1435) | fn pledge_sum<'a, I: IntoIterator>( function create_epoch_config (line 1443) | fn create_epoch_config( function create_prev_epoch_info (line 1467) | fn create_prev_epoch_info( function to_map (line 1484) | fn to_map(vs: &[ValidatorPowerAndPledge]) -> HashMap(ps: I) -> Vec function create_power_proposals (line 1495) | fn create_power_proposals(ps: I) -> Vec function create_pledge_proposals (line 1503) | fn create_pledge_proposals(ps: I) -> Vec type Proposal (line 1512) | enum Proposal { type IntoValidatorPledge (line 1517) | trait IntoValidatorPledge { method into_validator_pledge (line 1518) | fn into_validator_pledge(self) -> ValidatorPledge; method into_validator_pledge (line 1522) | fn into_validator_pledge(self) -> ValidatorPledge { method into_validator_pledge (line 1528) | fn into_validator_pledge(self) -> ValidatorPledge { method into_validator_pledge (line 1538) | fn into_validator_pledge(self) -> ValidatorPledge { method into_validator_pledge (line 1548) | fn into_validator_pledge(self) -> ValidatorPledge { method into_validator_pledge (line 1558) | fn into_validator_pledge(self) -> ValidatorPledge { method into_validator_pledge (line 1568) | fn into_validator_pledge(self) -> ValidatorPledge { FILE: chain/indexer-primitives/src/lib.rs type StreamerMessage (line 6) | pub struct StreamerMessage { type IndexerChunkView (line 12) | pub struct IndexerChunkView { type IndexerTransactionWithOutcome (line 20) | pub struct IndexerTransactionWithOutcome { type IndexerExecutionOutcomeWithOptionalReceipt (line 26) | pub struct IndexerExecutionOutcomeWithOptionalReceipt { type IndexerExecutionOutcomeWithReceipt (line 32) | pub struct IndexerExecutionOutcomeWithReceipt { type IndexerShard (line 38) | pub struct IndexerShard { FILE: chain/indexer/src/lib.rs constant INDEXER (line 19) | pub const INDEXER: &str = "indexer"; type InitConfigArgs (line 24) | pub struct InitConfigArgs { type SyncModeEnum (line 55) | pub enum SyncModeEnum { type AwaitForNodeSyncedEnum (line 66) | pub enum AwaitForNodeSyncedEnum { type IndexerConfig (line 75) | pub struct IndexerConfig { type Indexer (line 87) | pub struct Indexer { method new (line 96) | pub fn new(indexer_config: IndexerConfig) -> Result mpsc::Receiver { method unc_config (line 132) | pub fn unc_config(&self) -> &unc_infra::UncConfig { method client_actors (line 137) | pub fn client_actors( function indexer_init_configs (line 146) | pub fn indexer_init_configs( FILE: chain/indexer/src/streamer/errors.rs type FailedToFetchData (line 5) | pub enum FailedToFetchData { method from (line 11) | fn from(actix_error: MailboxError) -> Self { FILE: chain/indexer/src/streamer/fetchers.rs function fetch_status (line 17) | pub(crate) async fn fetch_status( function fetch_latest_block (line 28) | pub(crate) async fn fetch_latest_block( function fetch_block_by_height (line 43) | pub(crate) async fn fetch_block_by_height( function fetch_block (line 57) | pub(crate) async fn fetch_block( function fetch_state_changes (line 70) | pub(crate) async fn fetch_state_changes( function fetch_outcomes (line 86) | pub(crate) async fn fetch_outcomes( function fetch_receipt_by_id (line 128) | async fn fetch_receipt_by_id( function fetch_single_chunk (line 140) | async fn fetch_single_chunk( function fetch_block_chunks (line 152) | pub(crate) async fn fetch_block_chunks( function fetch_protocol_config (line 169) | pub(crate) async fn fetch_protocol_config( FILE: chain/indexer/src/streamer/mod.rs constant INTERVAL (line 31) | const INTERVAL: Duration = Duration::from_millis(500); constant PROBLEMATIC_BLOCKS (line 34) | const PROBLEMATIC_BLOCKS: [CryptoHash; 2] = [ function test_problematic_blocks_hash (line 51) | fn test_problematic_blocks_hash() { function build_streamer_message (line 67) | async fn build_streamer_message( function find_local_receipt_by_id_in_block (line 236) | async fn find_local_receipt_by_id_in_block( function start (line 283) | pub(crate) async fn start( FILE: chain/indexer/src/streamer/utils.rs function convert_transactions_sir_into_local_receipts (line 11) | pub(crate) async fn convert_transactions_sir_into_local_receipts( FILE: chain/jsonrpc-adversarial-primitives/src/lib.rs type StartRoutingTableSyncRequest (line 4) | pub struct StartRoutingTableSyncRequest { FILE: chain/jsonrpc-primitives/src/errors.rs type RpcParseError (line 6) | pub struct RpcParseError(pub String); type RpcError (line 13) | pub struct RpcError { method new (line 54) | pub fn new(code: i64, message: String, data: Option) -> Self { method invalid_params (line 60) | pub fn invalid_params(data: impl serde::Serialize) -> Self { method server_error (line 75) | pub fn server_error(e: Option) -> Self { method parse_error (line 84) | pub fn parse_error(e: String) -> Self { method serialization_error (line 95) | pub fn serialization_error(e: String) -> Self { method new_internal_or_handler_error (line 101) | pub fn new_internal_or_handler_error(error_data: Option, error_... method new_internal_error (line 113) | pub fn new_internal_error(error_data: Option, info: String) -> ... method new_handler_error (line 125) | fn new_handler_error(error_data: Option, error_struct: Value) -... method method_not_found (line 135) | pub fn method_not_found(method: String) -> Self { method fmt (line 148) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 154) | fn from(parse_error: RpcParseError) -> Self { method from (line 160) | fn from(_: std::convert::Infallible) -> Self { method from (line 176) | fn from(e: ServerError) -> RpcError { type RpcErrorKind (line 27) | pub enum RpcErrorKind { type RpcRequestValidationErrorKind (line 35) | pub enum RpcRequestValidationErrorKind { type ServerError (line 44) | pub enum ServerError { method fmt (line 166) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: chain/jsonrpc-primitives/src/message.rs type Version (line 19) | struct Version; method serialize (line 22) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result Message { method error (line 67) | pub fn error(&self, error: RpcError) -> Message { type Response (line 76) | pub struct Response { method serialize (line 83) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result>(deserializer: D) -> Result Self { method error (line 192) | pub fn error(error: RpcError) -> Self { method notification (line 196) | pub fn notification(method: String, params: Value) -> Self { method response (line 200) | pub fn response(id: Value, result: Result) -> Self { method id (line 204) | pub fn id(&self) -> Value { method into (line 274) | fn into(self) -> String { method into (line 280) | fn into(self) -> Vec { type Broken (line 217) | pub enum Broken { method reply (line 230) | pub fn reply(&self) -> Message { type WireMessage (line 243) | pub enum WireMessage { function decoded_to_parsed (line 248) | pub fn decoded_to_parsed(res: JsonResult) -> Parsed { type Parsed (line 257) | pub type Parsed = Result; function from_slice (line 262) | pub fn from_slice(s: &[u8]) -> Parsed { function from_str (line 269) | pub fn from_str(s: &str) -> Parsed { function message_serde (line 300) | fn message_serde() { function broken (line 419) | fn broken() { function constructors (line 453) | fn constructors() { FILE: chain/jsonrpc-primitives/src/types/all_miners.rs type RpcAllMinersError (line 7) | pub enum RpcAllMinersError { type RpcAllMinersRequest (line 15) | pub struct RpcAllMinersRequest { type RpcAllMinersResponse (line 20) | pub struct RpcAllMinersResponse { function from (line 26) | fn from(error: RpcAllMinersError) -> Self { FILE: chain/jsonrpc-primitives/src/types/blocks.rs type RpcBlockError (line 5) | pub enum RpcBlockError { type RpcBlockRequest (line 21) | pub struct RpcBlockRequest { type RpcBlockResponse (line 27) | pub struct RpcBlockResponse { function from (line 33) | fn from(error: RpcBlockError) -> Self { FILE: chain/jsonrpc-primitives/src/types/changes.rs type RpcStateChangesInBlockRequest (line 2) | pub struct RpcStateChangesInBlockRequest { type RpcStateChangesInBlockResponse (line 8) | pub struct RpcStateChangesInBlockResponse { type RpcStateChangesInBlockByTypeRequest (line 14) | pub struct RpcStateChangesInBlockByTypeRequest { type RpcStateChangesInBlockByTypeResponse (line 22) | pub struct RpcStateChangesInBlockByTypeResponse { type RpcStateChangesError (line 29) | pub enum RpcStateChangesError { function from (line 42) | fn from(error: RpcStateChangesError) -> Self { FILE: chain/jsonrpc-primitives/src/types/chunks.rs type ChunkReference (line 5) | pub enum ChunkReference { type RpcChunkRequest (line 16) | pub struct RpcChunkRequest { type RpcChunkResponse (line 22) | pub struct RpcChunkResponse { type RpcChunkError (line 29) | pub enum RpcChunkError { function from (line 44) | fn from(error: RpcChunkError) -> Self { FILE: chain/jsonrpc-primitives/src/types/client_config.rs type RpcClientConfigResponse (line 5) | pub struct RpcClientConfigResponse { type RpcClientConfigError (line 12) | pub enum RpcClientConfigError { function from (line 18) | fn from(error: RpcClientConfigError) -> Self { FILE: chain/jsonrpc-primitives/src/types/config.rs type RpcProtocolConfigRequest (line 4) | pub struct RpcProtocolConfigRequest { type RpcProtocolConfigResponse (line 10) | pub struct RpcProtocolConfigResponse { type RpcProtocolConfigError (line 17) | pub enum RpcProtocolConfigError { function from (line 28) | fn from(error: RpcProtocolConfigError) -> Self { FILE: chain/jsonrpc-primitives/src/types/entity_debug.rs type EntityDataEntry (line 10) | pub struct EntityDataEntry { type EntityDataValue (line 21) | pub enum EntityDataValue { type EntityDataStruct (line 28) | pub struct EntityDataStruct { method new (line 33) | pub fn new() -> EntityDataStruct { type EntityQuery (line 51) | pub enum EntityQuery { type EntityDebugHandler (line 81) | pub trait EntityDebugHandler: Sync + Send { method query (line 82) | fn query(&self, query: EntityQuery) -> Result; method query (line 89) | fn query(&self, _query: EntityQuery) -> Result Self { FILE: chain/jsonrpc-primitives/src/types/light_client.rs type RpcLightClientExecutionProofRequest (line 5) | pub struct RpcLightClientExecutionProofRequest { type RpcLightClientNextBlockRequest (line 12) | pub struct RpcLightClientNextBlockRequest { type RpcLightClientExecutionProofResponse (line 17) | pub struct RpcLightClientExecutionProofResponse { type RpcLightClientNextBlockResponse (line 25) | pub struct RpcLightClientNextBlockResponse { type RpcLightClientProofError (line 32) | pub enum RpcLightClientProofError { type RpcLightClientNextBlockError (line 58) | pub enum RpcLightClientNextBlockError { function from (line 71) | fn from(error: RpcLightClientProofError) -> Self { function from (line 94) | fn from(error: RpcLightClientNextBlockError) -> Self { FILE: chain/jsonrpc-primitives/src/types/maintenance.rs type RpcMaintenanceWindowsResponse (line 3) | pub type RpcMaintenanceWindowsResponse = type RpcMaintenanceWindowsError (line 8) | pub enum RpcMaintenanceWindowsError { type RpcMaintenanceWindowsRequest (line 14) | pub struct RpcMaintenanceWindowsRequest { function from (line 19) | fn from(error: RpcMaintenanceWindowsError) -> Self { FILE: chain/jsonrpc-primitives/src/types/network_info.rs type RpcPeerInfo (line 6) | pub struct RpcPeerInfo { type RpcKnownProducer (line 13) | pub struct RpcKnownProducer { type RpcNetworkInfoResponse (line 20) | pub struct RpcNetworkInfoResponse { type RpcNetworkInfoError (line 32) | pub enum RpcNetworkInfoError { function from (line 38) | fn from(error: RpcNetworkInfoError) -> Self { FILE: chain/jsonrpc-primitives/src/types/provider.rs type RpcProviderError (line 6) | pub enum RpcProviderError { type RpcProviderRequest (line 16) | pub struct RpcProviderRequest { type RpcProviderResponse (line 22) | pub struct RpcProviderResponse { function from (line 27) | fn from(error: RpcProviderError) -> Self { FILE: chain/jsonrpc-primitives/src/types/query.rs type RpcQueryRequest (line 2) | pub struct RpcQueryRequest { type RpcQueryError (line 11) | pub enum RpcQueryError { type RpcQueryResponse (line 74) | pub struct RpcQueryResponse { type QueryResponseKind (line 83) | pub enum QueryResponseKind { function from (line 94) | fn from(error: RpcQueryError) -> Self { FILE: chain/jsonrpc-primitives/src/types/receipts.rs type ReceiptReference (line 2) | pub struct ReceiptReference { type RpcReceiptRequest (line 7) | pub struct RpcReceiptRequest { type RpcReceiptResponse (line 13) | pub struct RpcReceiptResponse { type RpcReceiptError (line 20) | pub enum RpcReceiptError { function from (line 28) | fn from(error: RpcReceiptError) -> Self { FILE: chain/jsonrpc-primitives/src/types/sandbox.rs type RpcSandboxPatchStateRequest (line 5) | pub struct RpcSandboxPatchStateRequest { type RpcSandboxPatchStateResponse (line 10) | pub struct RpcSandboxPatchStateResponse {} type RpcSandboxPatchStateError (line 14) | pub enum RpcSandboxPatchStateError { function from (line 20) | fn from(error: RpcSandboxPatchStateError) -> Self { type RpcSandboxFastForwardRequest (line 35) | pub struct RpcSandboxFastForwardRequest { type RpcSandboxFastForwardResponse (line 40) | pub struct RpcSandboxFastForwardResponse {} type RpcSandboxFastForwardError (line 44) | pub enum RpcSandboxFastForwardError { function from (line 50) | fn from(error: RpcSandboxFastForwardError) -> Self { FILE: chain/jsonrpc-primitives/src/types/split_storage.rs type RpcSplitStorageInfoRequest (line 8) | pub struct RpcSplitStorageInfoRequest {} type RpcSplitStorageInfoResponse (line 11) | pub struct RpcSplitStorageInfoResponse { type RpcSplitStorageInfoError (line 18) | pub enum RpcSplitStorageInfoError { method into_rpc_status_error (line 49) | pub fn into_rpc_status_error(self) -> RpcStatusError { function from (line 24) | fn from(error: RpcSplitStorageInfoError) -> Self { FILE: chain/jsonrpc-primitives/src/types/status.rs type RpcStatusResponse (line 13) | pub struct RpcStatusResponse { type DebugStatusResponse (line 20) | pub enum DebugStatusResponse { type RpcDebugStatusResponse (line 43) | pub struct RpcDebugStatusResponse { type RpcHealthResponse (line 48) | pub struct RpcHealthResponse; type RpcStatusError (line 52) | pub enum RpcStatusError { function from (line 64) | fn from(error: RpcStatusError) -> Self { FILE: chain/jsonrpc-primitives/src/types/transactions.rs type RpcSendTransactionRequest (line 6) | pub struct RpcSendTransactionRequest { type RpcTransactionStatusRequest (line 14) | pub struct RpcTransactionStatusRequest { type TransactionInfo (line 23) | pub enum TransactionInfo { method from_signed_tx (line 67) | pub fn from_signed_tx(tx: unc_primitives::transaction::SignedTransacti... method to_signed_tx (line 71) | pub fn to_signed_tx(&self) -> Option<&unc_primitives::transaction::Sig... method to_tx_hash_and_account (line 80) | pub fn to_tx_hash_and_account(&self) -> (CryptoHash, &AccountId) { method from (line 95) | fn from(transaction_info: unc_primitives::transaction::SignedTransacti... type SignedTransaction (line 29) | pub enum SignedTransaction { type RpcTransactionError (line 36) | pub enum RpcTransactionError { type RpcTransactionResponse (line 55) | pub struct RpcTransactionResponse { method from (line 101) | fn from(view: unc_primitives::views::TxStatusView) -> Self { type RpcBroadcastTxSyncResponse (line 62) | pub struct RpcBroadcastTxSyncResponse { function from (line 110) | fn from(error: RpcTransactionError) -> Self { FILE: chain/jsonrpc-primitives/src/types/validator.rs type RpcValidatorsOrderedResponse (line 3) | pub type RpcValidatorsOrderedResponse = type RpcValidatorError (line 8) | pub enum RpcValidatorError { type RpcValidatorRequest (line 18) | pub struct RpcValidatorRequest { type RpcValidatorsOrderedRequest (line 24) | pub struct RpcValidatorsOrderedRequest { type RpcValidatorResponse (line 29) | pub struct RpcValidatorResponse { function from (line 35) | fn from(error: RpcValidatorError) -> Self { FILE: chain/jsonrpc/client/src/lib.rs type ChunkId (line 22) | pub enum ChunkId { constant CONNECT_TIMEOUT (line 28) | const CONNECT_TIMEOUT: Duration = Duration::from_secs(30); constant PAYLOAD_LIMIT (line 32) | const PAYLOAD_LIMIT: usize = 100 * 1024 * 1024; type HttpRequest (line 34) | type HttpRequest = LocalBoxFuture<'static, Result>; type RpcRequest (line 35) | type RpcRequest = LocalBoxFuture<'static, Result>; function call_method (line 38) | fn call_method(client: &Client, server_addr: &str, method: &str, p... function call_http_get (line 73) | fn call_http_get( method query_by_path (line 196) | pub fn query_by_path( method query (line 204) | pub fn query( method block_by_id (line 211) | pub fn block_by_id(&self, block_id: BlockId) -> RpcRequest { method block (line 215) | pub fn block(&self, request: BlockReference) -> RpcRequest { method tx (line 219) | pub fn tx(&self, request: RpcTransactionStatusRequest) -> RpcRequest Client { function new_client (line 287) | pub fn new_client(server_addr: &str) -> JsonRpcClient { function new_http_client (line 296) | pub fn new_http_client(server_addr: &str) -> HttpClient { FILE: chain/jsonrpc/fuzz/fuzz_targets_disabled/fuzz_target_1.rs type JsonRpcRequest (line 17) | enum JsonRpcRequest { method method_and_params (line 79) | fn method_and_params(&self) -> (&str, serde_json::Value) { type RpcQueryRequest (line 32) | enum RpcQueryRequest { type Base64String (line 64) | struct Base64String([u8; 32]); type RpcTxStatusRequest (line 68) | enum RpcTxStatusRequest { type RpcBroadcastTx (line 74) | enum RpcBroadcastTx { method serialize (line 96) | fn serialize(&self, serializer: S) -> Result (Addr, tcp::Li... function start_all_with_validity_period_and_no_epoch_sync (line 30) | pub fn start_all_with_validity_period_and_no_epoch_sync( type RpcRequest (line 78) | type RpcRequest = LocalBoxFuture<'static, Result( FILE: chain/jsonrpc/jsonrpc-tests/tests/http_query.rs function test_status (line 12) | fn test_status() { FILE: chain/jsonrpc/jsonrpc-tests/tests/rpc_query.rs function test_block_by_id_height (line 24) | fn test_block_by_id_height() { function test_block_by_id_hash (line 43) | fn test_block_by_id_hash() { function test_block_query (line 54) | fn test_block_query() { function test_chunk_by_hash (line 89) | fn test_chunk_by_hash() { function test_chunk_invalid_shard_id (line 117) | fn test_chunk_invalid_shard_id() { function test_query_by_path_account (line 132) | fn test_query_by_path_account() { function test_query_account (line 155) | fn test_query_account() { function test_query_by_path_access_keys (line 201) | fn test_query_by_path_access_keys() { function test_query_access_keys (line 220) | fn test_query_access_keys() { function test_query_by_path_access_key (line 244) | fn test_query_by_path_access_key() { function test_query_access_key (line 266) | fn test_query_access_key() { function test_query_state (line 293) | fn test_query_state() { function test_query_call_function (line 318) | fn test_query_call_function() { function test_query_contract_code (line 347) | fn test_query_contract_code() { function test_status (line 369) | fn test_status() { function test_status_fail (line 382) | fn test_status_fail() { function test_health_fail (line 404) | fn test_health_fail() { function test_health_fail_no_blocks (line 419) | fn test_health_fail_no_blocks() { function test_health_ok (line 441) | fn test_health_ok() { function test_validators_ordered (line 449) | fn test_validators_ordered() { function test_genesis_config (line 465) | fn test_genesis_config() { function test_gas_price_by_height (line 481) | fn test_gas_price_by_height() { function test_gas_price_by_hash (line 490) | fn test_gas_price_by_hash() { function test_gas_price (line 500) | fn test_gas_price() { function test_invalid_methods (line 508) | fn test_invalid_methods() { function test_get_chunk_with_object_in_params (line 550) | fn test_get_chunk_with_object_in_params() { FILE: chain/jsonrpc/jsonrpc-tests/tests/rpc_transactions.rs function test_send_tx_async (line 23) | fn test_send_tx_async() { function test_send_tx_commit (line 91) | fn test_send_tx_commit() { function test_expired_tx (line 119) | fn test_expired_tx() { function test_replay_protection (line 189) | fn test_replay_protection() { function test_tx_status_missing_tx (line 208) | fn test_tx_status_missing_tx() { function test_check_invalid_tx (line 228) | fn test_check_invalid_tx() { FILE: chain/jsonrpc/res/last_blocks.js function ellipsify (line 1) | function ellipsify(str, maxLen) { function HashElement (line 9) | function HashElement({ hashValue, creator, expandAll, knownProducers }) { function sortBlocksAndDetermineBlockGraphLayout (line 41) | function sortBlocksAndDetermineBlockGraphLayout(blocks, missedHeights, h... function BlocksTable (line 116) | function BlocksTable({ rows, knownProducers, expandAll, hideMissingHeigh... function Page (line 220) | function Page() { FILE: chain/jsonrpc/res/network_info.js function convertTime (line 1) | function convertTime(millis) { function convertBps (line 22) | function convertBps(bytes_per_second) { function computeTraffic (line 37) | function computeTraffic(bytes_received, bytes_sent) { function add_debug_port_link (line 41) | function add_debug_port_link(peer_network_addr) { function displayHash (line 62) | function displayHash(peer) { function peerClass (line 70) | function peerClass(current_height, peer_height) { function getIntersection (line 90) | function getIntersection(setA, setB) { function getDifference (line 98) | function getDifference(setA, setB) { function to_human_time (line 104) | function to_human_time(seconds) { FILE: chain/jsonrpc/src/api/all_miners.rs method parse (line 11) | fn parse(value: Value) -> Result { method rpc_from (line 39) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 45) | fn rpc_from(error: GetAllMinersError) -> Self { FILE: chain/jsonrpc/src/api/blocks.rs method parse (line 11) | fn parse(value: Value) -> Result { method rpc_from (line 20) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 26) | fn rpc_from(error: GetBlockError) -> Self { FILE: chain/jsonrpc/src/api/changes.rs method parse (line 12) | fn parse(value: Value) -> Result { method parse (line 18) | fn parse(value: Value) -> Result { method rpc_from (line 24) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 30) | fn rpc_from(error: GetBlockError) -> Self { method rpc_from (line 47) | fn rpc_from(error: GetStateChangesError) -> Self { FILE: chain/jsonrpc/src/api/chunks.rs method parse (line 11) | fn parse(value: Value) -> Result { method rpc_from (line 32) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 38) | fn rpc_from(chunk_reference: ChunkReference) -> Self { method rpc_from (line 50) | fn rpc_from(error: GetChunkError) -> Self { FILE: chain/jsonrpc/src/api/client_config.rs method rpc_from (line 7) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 13) | fn rpc_from(error: GetClientConfigError) -> Self { FILE: chain/jsonrpc/src/api/config.rs method parse (line 10) | fn parse(value: Value) -> Result { method rpc_from (line 16) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 22) | fn rpc_from(error: GetProtocolConfigError) -> Self { FILE: chain/jsonrpc/src/api/gas_price.rs method parse (line 10) | fn parse(value: Value) -> Result { method rpc_from (line 16) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 22) | fn rpc_from(error: GetGasPriceError) -> Self { FILE: chain/jsonrpc/src/api/light_client.rs method parse (line 18) | fn parse(value: Value) -> Result { method parse (line 24) | fn parse(value: Value) -> Result { method rpc_from (line 32) | fn rpc_from(light_client_block: Option>) -> Se... method rpc_from (line 38) | fn rpc_from(error: GetExecutionOutcomeError) -> Self { method rpc_from (line 71) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 77) | fn rpc_from(error: GetBlockProofError) -> Self { method rpc_from (line 97) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 103) | fn rpc_from(error: GetNextLightClientBlockError) -> Self { FILE: chain/jsonrpc/src/api/maintenance.rs method parse (line 12) | fn parse(value: Value) -> Result { method rpc_from (line 18) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 24) | fn rpc_from(error: GetMaintenanceWindowsError) -> Self { FILE: chain/jsonrpc/src/api/mod.rs type RpcRequest (line 25) | pub(crate) trait RpcRequest: Sized { method parse (line 26) | fn parse(value: Value) -> Result; method parse (line 30) | fn parse(_: Value) -> Result { type RpcFrom (line 35) | pub trait RpcFrom { method rpc_from (line 36) | fn rpc_from(_: T) -> Self; type RpcInto (line 39) | pub trait RpcInto { method rpc_into (line 40) | fn rpc_into(self) -> T; method rpc_from (line 44) | fn rpc_from(val: T) -> Self { method rpc_into (line 53) | fn rpc_into(self) -> X { method rpc_from (line 59) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 69) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 78) | fn rpc_from(e: unc_primitives::errors::InvalidTxError) -> ServerError { type Params (line 99) | pub(crate) struct Params( function new (line 112) | pub fn new(params: Value) -> Self { function parse (line 116) | pub fn parse(value: Value) -> Result function unwrap_or_parse (line 126) | pub fn unwrap_or_parse(self) -> Result function try_singleton (line 139) | pub fn try_singleton( function try_pair (line 157) | pub fn try_pair( FILE: chain/jsonrpc/src/api/network_info.rs method rpc_from (line 9) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 15) | fn rpc_from(peer_info: PeerInfo) -> Self { method rpc_from (line 21) | fn rpc_from(known_producer: KnownProducer) -> Self { method rpc_from (line 31) | fn rpc_from(network_info_response: NetworkInfoResponse) -> Self { method rpc_from (line 52) | fn rpc_from(error_message: String) -> Self { FILE: chain/jsonrpc/src/api/provider.rs method parse (line 18) | fn parse(value: Value) -> Result { method rpc_from (line 52) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 58) | fn rpc_from(error: GetProviderInfoError) -> Self { method rpc_from (line 75) | fn rpc_from(error: GetProviderError) -> Self { FILE: chain/jsonrpc/src/api/query.rs constant QUERY_DATA_MAX_SIZE (line 12) | const QUERY_DATA_MAX_SIZE: usize = 10 * 1024; function parse_bs58_data (line 15) | fn parse_bs58_data(max_len: usize, encoded: String) -> Result, R... method parse (line 32) | fn parse(value: Value) -> Result { function parse_path_data (line 37) | fn parse_path_data(path: String, data: String) -> Result Self { method rpc_from (line 97) | fn rpc_from(error: QueryError) -> Self { method rpc_from (line 141) | fn rpc_from(query_response: QueryResponse) -> Self { function rpc_from (line 153) | fn rpc_from(query_response_kind: unc_primitives::views::QueryResponseKin... FILE: chain/jsonrpc/src/api/receipts.rs method parse (line 10) | fn parse(value: Value) -> Result { method rpc_from (line 16) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 22) | fn rpc_from(receipt_reference: ReceiptReference) -> Self { method rpc_from (line 28) | fn rpc_from(error: GetReceiptError) -> Self { FILE: chain/jsonrpc/src/api/sandbox.rs method parse (line 12) | fn parse(value: Value) -> Result { method parse (line 18) | fn parse(value: Value) -> Result { method rpc_from (line 24) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 30) | fn rpc_from(error: actix::MailboxError) -> Self { FILE: chain/jsonrpc/src/api/split_storage.rs method parse (line 11) | fn parse(value: Value) -> Result { method rpc_from (line 17) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 23) | fn rpc_from(error: GetSplitStorageInfoError) -> Self { FILE: chain/jsonrpc/src/api/status.rs method rpc_from (line 8) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 14) | fn rpc_from(status_response: StatusResponse) -> Self { function rpc_from (line 22) | fn rpc_from(response: unc_client_primitives::debug::DebugStatusResponse)... function rpc_from (line 55) | fn rpc_from(response: unc_network::debug::DebugStatus) -> Self { method rpc_from (line 77) | fn rpc_from(_status_response: StatusResponse) -> Self { method rpc_from (line 83) | fn rpc_from(error: StatusError) -> Self { FILE: chain/jsonrpc/src/api/transactions.rs method parse (line 14) | fn parse(value: Value) -> Result { method parse (line 36) | fn parse(value: Value) -> Result { method rpc_from (line 56) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 62) | fn rpc_from(error: TxStatusError) -> Self { function decode_signed_transaction (line 76) | fn decode_signed_transaction(value: String) -> Result Result { method parse (line 25) | fn parse(value: Value) -> Result { method rpc_from (line 31) | fn rpc_from(error: actix::MailboxError) -> Self { method rpc_from (line 37) | fn rpc_from(error: GetValidatorInfoError) -> Self { function test_serialize_validators_params_as_vec (line 61) | fn test_serialize_validators_params_as_vec() { function test_serialize_validators_params_as_object_input_block_hash (line 74) | fn test_serialize_validators_params_as_object_input_block_hash() { function test_serialize_validators_params_as_object_input_block_height (line 87) | fn test_serialize_validators_params_as_object_input_block_height() { function test_serialize_validators_params_as_object_input_epoch_id (line 100) | fn test_serialize_validators_params_as_object_input_epoch_id() { FILE: chain/jsonrpc/src/lib.rs type RpcPollingConfig (line 52) | pub struct RpcPollingConfig { method default (line 58) | fn default() -> Self { type RpcLimitsConfig (line 67) | pub struct RpcLimitsConfig { method default (line 73) | fn default() -> Self { function default_enable_debug_rpc (line 78) | fn default_enable_debug_rpc() -> bool { type RpcConfig (line 83) | pub struct RpcConfig { method new (line 116) | pub fn new(addr: tcp::ListenerAddr) -> Self { method default (line 102) | fn default() -> Self { function serialize_response (line 124) | fn serialize_response(value: impl serde::ser::Serialize) -> Result( function from_network_client_responses (line 149) | pub fn from_network_client_responses(resp: ProcessTxResponse) -> Self { function process_query_response (line 163) | fn process_query_response( type JsonRpcHandler (line 222) | struct JsonRpcHandler { method process (line 234) | pub async fn process(&self, message: Message) -> Result Result(&self, msg: M) -> Result method view_client_send (line 450) | async fn view_client_send(&self, msg: M) -> Result method peer_manager_send (line 465) | async fn peer_manager_send(&self, msg: M) -> Result method send_tx_async (line 478) | async fn send_tx_async( method tx_exists (line 495) | async fn tx_exists( method tx_status_fetch (line 542) | async fn tx_status_fetch( method send_tx_internal (line 608) | async fn send_tx_internal( method send_tx (line 640) | async fn send_tx( method send_tx_commit (line 673) | async fn send_tx_commit( method health (line 687) | async fn health( method status (line 697) | pub async fn status( method old_debug (line 707) | pub async fn old_debug( method debug (line 722) | pub async fn debug( method debug_block_status (line 797) | pub async fn debug_block_status( method protocol_config (line 815) | pub async fn protocol_config( method query (line 827) | async fn query( method tx_status_common (line 840) | async fn tx_status_common( method get_provider (line 854) | async fn get_provider( method get_all_miners (line 867) | async fn get_all_miners( method block (line 881) | async fn block( method chunk (line 892) | async fn chunk( method receipt (line 904) | async fn receipt( method changes_in_block (line 924) | async fn changes_in_block( method changes_in_block_by_type (line 943) | async fn changes_in_block_by_type( method next_light_client_block (line 967) | async fn next_light_client_block( method light_client_execution_outcome_proof (line 980) | async fn light_client_execution_outcome_proof( method network_info (line 1010) | async fn network_info( method gas_price (line 1020) | async fn gas_price( method validators (line 1032) | async fn validators( method validators_ordered (line 1048) | async fn validators_ordered( method read_html_file_override (line 1063) | fn read_html_file_override(&self, html_file: &'static str) -> Option Result Result Result Result Result Result Result { function client_config_handler (line 1413) | fn client_config_handler( function get_cors (line 1425) | fn get_cors(cors_allowed_origins: &[String]) -> Cors { function debug_html (line 1447) | async fn debug_html( function display_debug_html (line 1454) | async fn display_debug_html( function tx_execution_status_meets_expectations (line 1488) | fn tx_execution_status_meets_expectations( function start_http (line 1525) | pub fn start_http( FILE: chain/network/build.rs function main (line 1) | fn main() -> anyhow::Result<()> { FILE: chain/network/src/accounts_data/mod.rs type AccountDataError (line 43) | pub(crate) enum AccountDataError { type LocalAccountData (line 57) | pub struct LocalAccountData { type AccountDataCacheSnapshot (line 64) | pub struct AccountDataCacheSnapshot { method is_new (line 112) | fn is_new(&self, d: &SignedAccountData) -> bool { method try_insert (line 128) | fn try_insert( method set_local (line 166) | fn set_local( type AccountDataCache (line 194) | pub(crate) struct AccountDataCache(ArcMutex); method new (line 197) | pub fn new() -> Self { method set_keys (line 213) | pub fn set_keys(&self, keys_by_id: Arc) -> bool { method verify (line 233) | async fn verify( method set_local (line 277) | pub fn set_local( method insert (line 291) | pub async fn insert( method load (line 309) | pub fn load(&self) -> Arc { FILE: chain/network/src/accounts_data/tests.rs function make_account_data (line 12) | fn make_account_data( function unwrap (line 24) | fn unwrap<'a, T: std::hash::Hash + std::cmp::Eq, E: std::fmt::Debug>( function make_signers (line 33) | fn make_signers(rng: &mut Rng, n: usize) -> Vec { function happy_path (line 38) | async fn happy_path() { function data_too_large (line 103) | async fn data_too_large() { function invalid_signature (line 142) | async fn invalid_signature() { function single_account_multiple_data (line 180) | async fn single_account_multiple_data() { function set_local (line 212) | async fn set_local() { FILE: chain/network/src/actix.rs type Thread (line 5) | pub struct Thread(Option>>); method spawn (line 8) | pub fn spawn anyhow::Result<()>>(f: F)... method drop (line 14) | fn drop(&mut self) { type ActixSystem (line 24) | pub struct ActixSystem { function spawn (line 33) | pub async fn spawn actix::Addr>(f: F)... method drop (line 52) | fn drop(&mut self) { FILE: chain/network/src/announce_accounts/mod.rs constant ANNOUNCE_ACCOUNT_CACHE_SIZE (line 11) | const ANNOUNCE_ACCOUNT_CACHE_SIZE: usize = 10_000; type Inner (line 13) | struct Inner { method get_announce (line 27) | fn get_announce(&mut self, account_id: &AccountId) -> Option); method new (line 49) | pub fn new(store: store::Store) -> Self { method add_accounts (line 60) | pub(crate) fn add_accounts( method get_account_owner (line 90) | pub(crate) fn get_account_owner(&self, account_id: &AccountId) -> Opti... method get_accounts_keys (line 96) | pub(crate) fn get_accounts_keys(&self) -> Vec { method get_announcements (line 101) | pub(crate) fn get_announcements(&self) -> Vec { method get_broadcasted_announcements (line 106) | pub(crate) fn get_broadcasted_announcements<'a>( FILE: chain/network/src/announce_accounts/tests.rs function announcement_same_epoch (line 7) | fn announcement_same_epoch() { function dont_load_on_build (line 47) | fn dont_load_on_build() { function load_from_disk (line 83) | fn load_from_disk() { FILE: chain/network/src/blacklist.rs type Entry (line 11) | pub enum Entry { method from_ip (line 17) | pub fn from_ip(ip: net::IpAddr) -> Entry { method from_addr (line 24) | pub fn from_addr(addr: net::SocketAddr) -> Entry { type Err (line 36) | type Err = std::net::AddrParseError; method from_str (line 38) | fn from_str(s: &str) -> Result { type Blacklist (line 49) | pub struct Blacklist(HashSet); method from_iter (line 54) | fn from_iter>(i: I) -> Self { method contains (line 61) | pub fn contains(&self, addr: net::SocketAddr) -> bool { constant LO4 (line 70) | const LO4: net::IpAddr = net::IpAddr::V4(net::Ipv4Addr::LOCALHOST); constant LO6 (line 71) | const LO6: net::IpAddr = net::IpAddr::V6(net::Ipv6Addr::LOCALHOST); function test_parse_entry (line 74) | fn test_parse_entry() { function test_blacklist (line 100) | fn test_blacklist() { FILE: chain/network/src/broadcast/mod.rs function unbounded_channel (line 9) | pub fn unbounded_channel() -> (Sender, Receiver) { type Channel (line 17) | struct Channel { type Sender (line 22) | pub struct Sender(Arc>); type Receiver (line 25) | pub struct Receiver { method clone (line 31) | fn clone(&self) -> Self { function send (line 37) | pub fn send(&self, v: T) { function sink (line 43) | pub fn sink(&self) -> Sink { function from_now (line 55) | pub fn from_now(&self) -> Self { function recv (line 61) | pub async fn recv(&mut self) -> T { function recv_until (line 84) | pub async fn recv_until(&mut self, mut pred: impl FnMut(T) -> Option<... function try_recv (line 94) | pub fn try_recv(&mut self) -> Option { FILE: chain/network/src/broadcast/tests.rs function channel (line 4) | async fn channel() { FILE: chain/network/src/client.rs type Client (line 18) | pub trait Client: Send + Sync + 'static { method tx_status_request (line 19) | async fn tx_status_request( method tx_status_response (line 25) | async fn tx_status_response(&self, tx_result: FinalExecutionOutcomeView); method state_request_header (line 27) | async fn state_request_header( method state_request_part (line 33) | async fn state_request_part( method state_response (line 40) | async fn state_response(&self, info: StateResponseInfo); method block_approval (line 42) | async fn block_approval(&self, approval: Approval, peer_id: PeerId); method transaction (line 44) | async fn transaction(&self, transaction: SignedTransaction, is_forward... method block_request (line 46) | async fn block_request(&self, hash: CryptoHash) -> Option>; method block_headers_request (line 48) | async fn block_headers_request(&self, hashes: Vec) -> Opti... method block (line 50) | async fn block(&self, block: Block, peer_id: PeerId, was_requested: bo... method block_headers (line 52) | async fn block_headers( method challenge (line 58) | async fn challenge(&self, challenge: Challenge); method network_info (line 60) | async fn network_info(&self, info: NetworkInfo); method announce_account (line 62) | async fn announce_account( method chunk_state_witness (line 67) | async fn chunk_state_witness(&self, witness: ChunkStateWitness); method chunk_endorsement (line 69) | async fn chunk_endorsement(&self, endorsement: ChunkEndorsement); method tx_status_request (line 77) | async fn tx_status_request( method tx_status_response (line 85) | async fn tx_status_response(&self, _tx_result: FinalExecutionOutcomeVi... method state_request_header (line 87) | async fn state_request_header( method state_request_part (line 95) | async fn state_request_part( method state_response (line 104) | async fn state_response(&self, _info: StateResponseInfo) {} method block_approval (line 105) | async fn block_approval(&self, _approval: Approval, _peer_id: PeerId) {} method transaction (line 107) | async fn transaction(&self, _transaction: SignedTransaction, _is_forwa... method block_request (line 109) | async fn block_request(&self, _hash: CryptoHash) -> Option> { method block_headers_request (line 113) | async fn block_headers_request(&self, _hashes: Vec) -> Opt... method block (line 117) | async fn block(&self, _block: Block, _peer_id: PeerId, _was_requested:... method block_headers (line 119) | async fn block_headers( method challenge (line 127) | async fn challenge(&self, _challenge: Challenge) {} method network_info (line 129) | async fn network_info(&self, _info: NetworkInfo) {} method announce_account (line 131) | async fn announce_account( method chunk_state_witness (line 138) | async fn chunk_state_witness(&self, _witness: ChunkStateWitness) {} method chunk_endorsement (line 140) | async fn chunk_endorsement(&self, _endorsement: ChunkEndorsement) {} type Noop (line 73) | pub struct Noop; FILE: chain/network/src/concurrency/arc_mutex.rs type ArcMutex (line 6) | pub struct ArcMutex { function new (line 12) | pub fn new(v: T) -> Self { function load (line 17) | pub fn load(&self) -> Arc { function update (line 25) | pub fn update(&self, f: impl FnOnce(T) -> (R, T)) -> R { function try_update (line 35) | pub fn try_update(&self, f: impl FnOnce(T) -> Result<(R, T), E>) -... FILE: chain/network/src/concurrency/atomic_cell.rs type AtomicCell (line 4) | pub(crate) struct AtomicCell(Mutex); function new (line 7) | pub fn new(v: T) -> Self { function load (line 10) | pub fn load(&self) -> T { function store (line 13) | pub fn store(&self, v: T) { FILE: chain/network/src/concurrency/ctx/mod.rs type SetLocalCtx (line 17) | struct SetLocalCtx<'a>(&'a mut Ctx); function new (line 20) | fn new(ctx: &'a mut Ctx) -> Self { method drop (line 27) | fn drop(&mut self) { type Inner (line 33) | struct Inner { method drop (line 48) | fn drop(&mut self) { type ErrCanceled (line 59) | pub struct ErrCanceled; type OrCanceled (line 62) | pub type OrCanceled = Result; type Ctx (line 79) | pub(super) struct Ctx(Arc); method new (line 88) | pub(crate) fn new(clock: unc_async::time::Clock) -> Ctx { method cancel (line 97) | pub fn cancel(&self) { method sub (line 101) | pub fn sub(&self, deadline: unc_async::time::Deadline) -> Ctx { method wait (line 150) | async fn wait(&self, f: F) -> OrCanceled { function canceled (line 126) | pub async fn canceled() { function is_canceled (line 131) | pub fn is_canceled() -> bool { function get_deadline (line 139) | pub fn get_deadline() -> unc_async::time::Deadline { function local (line 143) | pub(super) fn local() -> Ctx { function wait (line 158) | pub async fn wait(f: F) -> OrCanceled { function run_with_timeout (line 167) | pub fn run_with_timeout( function run_with_deadline (line 180) | pub fn run_with_deadline( function run_canceled (line 190) | pub fn run_canceled(f: F) -> impl Future { function run_test (line 198) | pub fn run_test(clock: unc_async::time::Clock, f: F) -> impl ... type CtxFuture (line 203) | pub(super) struct CtxFuture { type Output (line 210) | type Output = F::Output; method poll (line 212) | fn poll( FILE: chain/network/src/concurrency/ctx/tests.rs function test_run_canceled (line 7) | async fn test_run_canceled() { function test_run_test (line 16) | async fn test_run_test() { type R (line 28) | type R = Result<(), E>; function test_run_with_timeout (line 31) | async fn test_run_with_timeout() { function test_sleep_until (line 50) | async fn test_sleep_until() { FILE: chain/network/src/concurrency/ctx/time.rs function now (line 4) | pub fn now() -> time::Instant { function now_utc (line 8) | pub fn now_utc() -> time::Utc { function sleep (line 12) | pub async fn sleep(d: time::Duration) -> ctx::OrCanceled<()> { function sleep_until (line 17) | pub async fn sleep_until(t: time::Instant) -> ctx::OrCanceled<()> { FILE: chain/network/src/concurrency/demux.rs type BoxAsyncFn (line 31) | pub type BoxAsyncFn = Box ... type AsyncFn (line 37) | pub trait AsyncFn { method wrap (line 38) | fn wrap(self) -> BoxAsyncFn; method wrap (line 48) | fn wrap(self) -> BoxAsyncFn { type Handler (line 56) | type Handler = BoxAsyncFn, Vec>; type Call (line 58) | struct Call { type Stream (line 63) | type Stream = mpsc::UnboundedSender>; type Demux (line 81) | pub struct Demux(Stream); type ServiceStoppedError (line 85) | pub struct ServiceStoppedError; function call (line 88) | pub fn call( function new (line 106) | pub fn new(rl: rate::Limit) -> Demux { FILE: chain/network/src/concurrency/rate.rs type Limit (line 10) | pub struct Limit { method validate (line 18) | pub fn validate(&self) -> anyhow::Result<()> { FILE: chain/network/src/concurrency/rayon.rs function run (line 9) | pub async fn run(f: impl 'static + Send + FnOnce() ->... function run_blocking (line 19) | pub fn run_blocking(f: impl 'static + Send + FnOnce()... function try_map (line 31) | pub fn try_map( function try_map_result (line 54) | pub fn try_map_result( type TestError (line 96) | struct TestError; function try_map_result_empty_iter (line 100) | fn try_map_result_empty_iter() { function try_map_result_success (line 115) | fn try_map_result_success() { function try_map_result_stops_on_error (line 129) | fn try_map_result_stops_on_error() { function try_map_result_panic (line 164) | fn try_map_result_panic() { FILE: chain/network/src/concurrency/runtime.rs type Runtime (line 5) | pub(crate) struct Runtime { method new (line 12) | pub fn new() -> Self { method drop (line 25) | fn drop(&mut self) { FILE: chain/network/src/concurrency/scope/mod.rs type Output (line 67) | struct Output { method clone (line 73) | fn clone(&self) -> Self { function new (line 79) | pub fn new(ctx: ctx::Ctx) -> (Self, crossbeam_channel::Receiver) { function send (line 84) | pub fn send(&self, err: E) { type Inner (line 92) | struct Inner { method drop (line 118) | fn drop(&mut self) { function new (line 125) | pub fn new(ctx: &ctx::Ctx) -> (Arc, crossbeam_channel::Receiver) { function new_subscope (line 131) | pub fn new_subscope(self: Arc) -> Arc> { type JoinHandle (line 148) | pub struct JoinHandle<'env, T>( type ErrTaskCanceled (line 155) | pub struct ErrTaskCanceled; function join (line 161) | pub async fn join(self) -> ctx::OrCanceled> { function spawn (line 173) | fn spawn, T: 'static + Send>( function new_service (line 194) | pub fn new_service(self: Arc) -> Service { type ErrTerminated (line 209) | pub struct ErrTerminated; type Service (line 222) | pub struct Service(Weak>); method drop (line 225) | fn drop(&mut self) { function is_terminated (line 232) | pub fn is_terminated(&self) -> bool { function terminated (line 239) | pub fn terminated<'a>( function terminate (line 256) | pub fn terminate<'a>(&'a self) -> impl Future( function new_service (line 288) | pub fn new_service(&self) -> Result, ErrTerminated> { type StrongService (line 297) | struct StrongService(Arc>); function borrow (line 300) | fn borrow(&self) -> &Inner { method drop (line 306) | fn drop(&mut self) { type Scope (line 318) | pub struct Scope<'env, E: 'static>( function to_static (line 326) | unsafe fn to_static<'env, T>(f: BoxFuture<'env, T>) -> BoxFuture<'static... function spawn (line 333) | pub fn spawn( function spawn_bg (line 355) | pub fn spawn_bg( function new_service (line 368) | pub fn new_service(&self) -> Service { function must_complete (line 380) | fn must_complete(fut: Fut) -> impl Future() -> Scope<'env, E> { function run (line 409) | pub async fn run<'env, E, T, F, Fut>(scope: &'env mut Scope<'env, E>, f:... FILE: chain/network/src/concurrency/scope/tests.rs function must_complete_ok (line 9) | async fn must_complete_ok() { type R (line 13) | type R = Result<(), E>; function test_drop_service (line 16) | async fn test_drop_service() { function test_spawn_after_cancelling_scope (line 39) | async fn test_spawn_after_cancelling_scope() { function test_spawn_after_dropping_service (line 51) | async fn test_spawn_after_dropping_service() { function test_service_termination (line 77) | async fn test_service_termination() { function test_nested_service (line 92) | async fn test_nested_service() { function test_nested_scopes (line 120) | async fn test_nested_scopes() { function test_already_canceled (line 135) | async fn test_already_canceled() { function test_service_cancel (line 153) | async fn test_service_cancel() { function test_service_error_before_cancel (line 173) | async fn test_service_error_before_cancel() { function test_service_error_after_cancel (line 194) | async fn test_service_error_after_cancel() { function test_scope_error (line 215) | async fn test_scope_error() { function test_scope_error_nonoverridable (line 236) | async fn test_scope_error_nonoverridable() { function test_spawn_from_spawn_bg (line 260) | async fn test_spawn_from_spawn_bg() { function test_access_to_vars_outside_of_scope (line 277) | async fn test_access_to_vars_outside_of_scope() { FILE: chain/network/src/concurrency/signal.rs type Once (line 4) | pub(super) struct Once(Arc); method new (line 7) | pub fn new() -> Self { method send (line 15) | pub fn send(&self) { method recv (line 22) | pub async fn recv(&self) { method try_recv (line 31) | pub fn try_recv(&self) -> bool { FILE: chain/network/src/concurrency/tests.rs function test_demux (line 6) | async fn test_demux() { function demux_runtime_dropped_before_call (line 27) | fn demux_runtime_dropped_before_call() { function demux_runtime_dropped_during_call (line 37) | fn demux_runtime_dropped_during_call() { function arc_mutex_update (line 56) | fn arc_mutex_update() { FILE: chain/network/src/config.rs constant HIGHEST_PEER_HORIZON (line 23) | pub const HIGHEST_PEER_HORIZON: u64 = 5; constant MAX_ROUTES_TO_STORE (line 26) | pub const MAX_ROUTES_TO_STORE: usize = 5; constant MAX_PEER_ADDRS (line 29) | pub const MAX_PEER_ADDRS: usize = 10; constant PEERS_RESPONSE_MAX_PEERS (line 32) | pub const PEERS_RESPONSE_MAX_PEERS: u32 = 512; type ValidatorProxies (line 54) | pub enum ValidatorProxies { type ValidatorConfig (line 60) | pub struct ValidatorConfig { method account_id (line 66) | pub fn account_id(&self) -> AccountId { type Tier1 (line 72) | pub struct Tier1 { type NetworkConfig (line 94) | pub struct NetworkConfig { method override_config (line 178) | fn override_config(&mut self, overrides: crate::config_json::NetworkCo... method new (line 216) | pub fn new( method node_id (line 349) | pub fn node_id(&self) -> PeerId { method from_seed (line 354) | pub fn from_seed(seed: &str, node_addr: tcp::ListenerAddr) -> Self { method verify (line 414) | pub fn verify(self) -> anyhow::Result { constant UPDATE_INTERVAL_LAST_TIME_RECEIVED_MESSAGE (line 466) | pub const UPDATE_INTERVAL_LAST_TIME_RECEIVED_MESSAGE: time::Duration = t... type VerifiedConfig (line 469) | pub struct VerifiedConfig { method node_id (line 477) | pub fn node_id(&self) -> PeerId { type Target (line 483) | type Target = NetworkConfig; method deref (line 484) | fn deref(&self) -> &Self::Target { function test_network_config (line 502) | fn test_network_config() { function test_network_config_override (line 524) | fn test_network_config_override() { function accounts_data_size_limit (line 612) | fn accounts_data_size_limit() { FILE: chain/network/src/config_json.rs constant TTL_ACCOUNT_ID_ROUTER (line 6) | pub const TTL_ACCOUNT_ID_ROUTER: u64 = 60 * 60; function default_max_num_peers (line 9) | fn default_max_num_peers() -> u32 { function default_minimum_outbound_connections (line 13) | fn default_minimum_outbound_connections() -> u32 { function default_ideal_connections_lo (line 17) | fn default_ideal_connections_lo() -> u32 { function default_ideal_connections_hi (line 21) | fn default_ideal_connections_hi() -> u32 { function default_peer_recent_time_window (line 25) | fn default_peer_recent_time_window() -> Duration { function default_safe_set_size (line 30) | fn default_safe_set_size() -> u32 { function default_archival_peer_connections_lower_bound (line 35) | fn default_archival_peer_connections_lower_bound() -> u32 { function default_ttl_account_id_router (line 39) | fn default_ttl_account_id_router() -> Duration { function default_peer_stats_period (line 43) | fn default_peer_stats_period() -> Duration { function default_monitor_peers_max_period (line 47) | fn default_monitor_peers_max_period() -> Duration { function default_peer_states_cache_size (line 51) | fn default_peer_states_cache_size() -> u32 { function default_snapshot_hosts_cache_size (line 55) | fn default_snapshot_hosts_cache_size() -> u32 { function default_peer_expiration_duration (line 59) | fn default_peer_expiration_duration() -> Duration { function default_trusted_stun_servers (line 68) | fn default_trusted_stun_servers() -> Vec { type Config (line 79) | pub struct Config { type ExperimentalConfig (line 200) | pub struct ExperimentalConfig { type NetworkConfigOverrides (line 233) | pub struct NetworkConfigOverrides { method default (line 248) | fn default() -> Self { method default (line 263) | fn default() -> Self { FILE: chain/network/src/debug.rs type GetDebugStatus (line 8) | pub enum GetDebugStatus { type DebugStatus (line 17) | pub enum DebugStatus { type Result (line 26) | type Result = DebugStatus; FILE: chain/network/src/network_protocol/borsh.rs type Handshake (line 22) | pub struct Handshake { method from (line 68) | fn from(handshake: HandshakeAutoDes) -> Self { type HandshakeAutoDes (line 42) | struct HandshakeAutoDes { method deserialize_reader (line 62) | fn deserialize_reader(rd: &mut R) -> std::io::Result) -> fmt::Result { constant _ (line 106) | const _: () = assert!( type PeerMessage (line 124) | pub(super) enum PeerMessage { FILE: chain/network/src/network_protocol/borsh_conv.rs function from (line 7) | fn from(x: &net::Handshake) -> Self { function from (line 22) | fn from(x: &mem::Handshake) -> Self { function from (line 38) | fn from(x: &net::HandshakeFailureReason) -> Self { function from (line 58) | fn from(x: &mem::HandshakeFailureReason) -> Self { function from (line 80) | fn from(x: net::RoutingTableUpdate) -> Self { function from (line 86) | fn from(x: mem::RoutingTableUpdate) -> Self { function from (line 94) | fn from(x: net::AdvertisedPeerDistance) -> Self { function from (line 100) | fn from(x: mem::AdvertisedPeerDistance) -> Self { function from (line 108) | fn from(x: net::DistanceVector) -> Self { function from (line 118) | fn from(x: mem::DistanceVector) -> Self { type ParsePeerMessageError (line 130) | pub enum ParsePeerMessageError { type Error (line 142) | type Error = ParsePeerMessageError; function try_from (line 143) | fn try_from(x: &net::PeerMessage) -> Result { function from (line 213) | fn from(x: &mem::PeerMessage) -> Self { FILE: chain/network/src/network_protocol/edge.rs constant EDGE_MIN_TIMESTAMP_NONCE (line 13) | pub const EDGE_MIN_TIMESTAMP_NONCE: Lazy = type PartialEdgeInfo (line 19) | pub struct PartialEdgeInfo { method new (line 25) | pub fn new(peer0: &PeerId, peer1: &PeerId, nonce: u64, secret_key: &Se... type InvalidNonceError (line 33) | pub enum InvalidNonceError { type Edge (line 40) | pub struct Edge(pub Arc); method new (line 44) | pub fn new( method with_removal_info (line 54) | pub fn with_removal_info(mut self, ri: Option<(bool, Signature)>) -> E... method key (line 59) | pub fn key(&self) -> &(PeerId, PeerId) { method nonce (line 63) | pub fn nonce(&self) -> u64 { method signature0 (line 67) | pub fn signature0(&self) -> &Signature { method signature1 (line 71) | pub fn signature1(&self) -> &Signature { method removal_info (line 75) | pub fn removal_info(&self) -> Option<&(bool, Signature)> { method make_fake_edge (line 79) | pub fn make_fake_edge(peer0: PeerId, peer1: PeerId, nonce: u64) -> Self { method build_with_secret_key (line 90) | pub fn build_with_secret_key( method build_hash (line 108) | pub fn build_hash(peer0: &PeerId, peer1: &PeerId, nonce: u64) -> Crypt... method make_key (line 113) | pub fn make_key(peer0: PeerId, peer1: PeerId) -> (PeerId, PeerId) { method partial_verify (line 123) | pub fn partial_verify(peer0: &PeerId, peer1: &PeerId, edge_info: &Part... method next_nonce (line 130) | pub fn next_nonce(nonce: u64) -> u64 { method create_fresh_nonce (line 139) | pub fn create_fresh_nonce(clock: &time::Clock) -> u64 { method remove_edge (line 149) | pub fn remove_edge(&self, my_peer_id: PeerId, sk: &SecretKey) -> Edge { method hash (line 160) | pub(crate) fn hash(&self) -> CryptoHash { method prev_hash (line 164) | fn prev_hash(&self) -> CryptoHash { method verify (line 168) | pub fn verify(&self) -> bool { method edge_type (line 208) | pub fn edge_type(&self) -> EdgeState { method next (line 216) | pub fn next(&self) -> u64 { method contains_peer (line 220) | pub fn contains_peer(&self, peer_id: &PeerId) -> bool { method other (line 225) | pub fn other(&self, me: &PeerId) -> Option<&PeerId> { method is_edge_older_than (line 236) | pub fn is_edge_older_than(&self, utc_timestamp: time::Utc) -> bool { method nonce_to_utc (line 243) | pub fn nonce_to_utc(nonce: u64) -> Result, InvalidNo... method deduplicate (line 262) | pub fn deduplicate<'a>(mut edges: Vec) -> Vec { type EdgeInner (line 276) | pub struct EdgeInner { method new (line 306) | fn new( method hash (line 322) | fn hash(&self) -> CryptoHash { type EdgeState (line 331) | pub enum EdgeState { FILE: chain/network/src/network_protocol/mod.rs type PeerAddr (line 56) | pub struct PeerAddr { method serialize (line 62) | fn serialize(&self, s: S) -> Result>(d: D) -> Result Result { type ParsePeerAddrError (line 74) | pub enum ParsePeerAddrError { type AccountData (line 107) | pub struct AccountData { type VersionedAccountData (line 121) | pub struct VersionedAccountData { method sign (line 168) | pub fn sign(self, signer: &dyn ValidatorSigner) -> anyhow::Result &Self::Target { constant MAX_ACCOUNT_DATA_SIZE_BYTES (line 143) | pub const MAX_ACCOUNT_DATA_SIZE_BYTES: usize = 10000; constant MAX_SHARDS_PER_SNAPSHOT_HOST_INFO (line 156) | pub const MAX_SHARDS_PER_SNAPSHOT_HOST_INFO: usize = 512; type AccountKeySignedPayload (line 198) | pub struct AccountKeySignedPayload { method len (line 204) | pub fn len(&self) -> usize { method signature (line 207) | pub fn signature(&self) -> &unc_crypto::Signature { method verify (line 210) | pub fn verify(&self, key: &PublicKey) -> Result<(), ()> { type SignedAccountData (line 222) | pub struct SignedAccountData { type Target (line 229) | type Target = VersionedAccountData; method deref (line 230) | fn deref(&self) -> &Self::Target { method payload (line 236) | pub fn payload(&self) -> &AccountKeySignedPayload { type OwnedAccount (line 244) | pub struct OwnedAccount { method sign (line 254) | pub fn sign(self, signer: &dyn ValidatorSigner) -> SignedOwnedAccount { type SignedOwnedAccount (line 270) | pub struct SignedOwnedAccount { type Target (line 277) | type Target = OwnedAccount; method deref (line 278) | fn deref(&self) -> &Self::Target { method payload (line 284) | pub fn payload(&self) -> &AccountKeySignedPayload { type RoutingTableUpdate (line 290) | pub struct RoutingTableUpdate { method from_edges (line 296) | pub(crate) fn from_edges(edges: Vec) -> Self { method from_accounts (line 300) | pub fn from_accounts(accounts: Vec) -> Self { method new (line 304) | pub(crate) fn new(edges: Vec, accounts: Vec) ->... type AdvertisedPeerDistance (line 311) | pub struct AdvertisedPeerDistance { type DistanceVector (line 325) | pub struct DistanceVector { type Handshake (line 336) | pub struct Handshake { type HandshakeFailureReason (line 356) | pub enum HandshakeFailureReason { type SyncAccountsData (line 364) | pub struct SyncAccountsData { type PeersRequest (line 372) | pub struct PeersRequest { type PeersResponse (line 381) | pub struct PeersResponse { type Disconnect (line 391) | pub struct Disconnect { type PeerMessage (line 399) | pub enum PeerMessage { method fmt (line 435) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method serialize (line 461) | pub(crate) fn serialize(&self, enc: Encoding) -> Vec { method deserialize (line 473) | pub(crate) fn deserialize( method msg_variant (line 494) | pub(crate) fn msg_variant(&self) -> &'static str { type Encoding (line 441) | pub enum Encoding { type ParsePeerMessageError (line 447) | pub enum ParsePeerMessageError { type RoutedMessageBody (line 506) | pub enum RoutedMessageBody { method is_important (line 540) | pub fn is_important(&self) -> bool { method fmt (line 554) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type RoutedMessage (line 613) | pub struct RoutedMessage { method build_hash (line 662) | pub fn build_hash( method hash (line 670) | pub fn hash(&self) -> CryptoHash { method verify (line 674) | pub fn verify(&self) -> bool { method expect_response (line 678) | pub fn expect_response(&self) -> bool { method decrease_ttl (line 688) | pub fn decrease_ttl(&mut self) -> bool { method body_variant (line 693) | pub fn body_variant(&self) -> &'static str { type RoutedMessageV2 (line 630) | pub struct RoutedMessageV2 { type Target (line 641) | type Target = RoutedMessage; method deref (line 643) | fn deref(&self) -> &Self::Target { method deref_mut (line 649) | fn deref_mut(&mut self) -> &mut Self::Target { type RoutedMessageNoSignature (line 655) | struct RoutedMessageNoSignature<'a> { type PeerIdOrHash (line 699) | pub enum PeerIdOrHash { type PartialEncodedChunkForwardMsg (line 708) | pub struct PartialEncodedChunkForwardMsg { method from_header_and_parts (line 734) | pub fn from_header_and_parts( method is_valid_hash (line 750) | pub fn is_valid_hash(&self) -> bool { type Ping (line 721) | pub struct Ping { type Pong (line 728) | pub struct Pong { type PartialEncodedChunkRequestMsg (line 757) | pub struct PartialEncodedChunkRequestMsg { type PartialEncodedChunkResponseMsg (line 764) | pub struct PartialEncodedChunkResponseMsg { type StateResponseInfoV1 (line 771) | pub struct StateResponseInfoV1 { type StateResponseInfoV2 (line 778) | pub struct StateResponseInfoV2 { type StateResponseInfo (line 785) | pub enum StateResponseInfo { method shard_id (line 791) | pub fn shard_id(&self) -> ShardId { method sync_hash (line 798) | pub fn sync_hash(&self) -> CryptoHash { method take_state_response (line 805) | pub fn take_state_response(self) -> ShardStateSyncResponse { type RawRoutedMessage (line 813) | pub(crate) struct RawRoutedMessage { method sign (line 821) | pub fn sign( FILE: chain/network/src/network_protocol/peer.rs type PeerInfo (line 15) | pub struct PeerInfo { method new (line 23) | pub fn new(id: PeerId, addr: SocketAddr) -> Self { method random (line 27) | pub fn random() -> Self { method addr_port (line 31) | pub fn addr_port(&self) -> Option { method fmt (line 38) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ParsePeerInfoError (line 51) | pub enum ParsePeerInfoError { type Err (line 59) | type Err = ParsePeerInfoError; method from_str (line 72) | fn from_str(s: &str) -> Result { type PeerChainInfoV2 (line 102) | pub struct PeerChainInfoV2 { function test_from_str (line 121) | fn test_from_str() { FILE: chain/network/src/network_protocol/proto_conv/account_key.rs type ParseAccountDataError (line 13) | pub enum ParseAccountDataError { function from (line 28) | fn from(x: &VersionedAccountData) -> Self { type Error (line 44) | type Error = ParseAccountDataError; method try_from (line 45) | fn try_from(x: &proto::AccountKeyPayload) -> Result { type ParseSignedAccountDataError (line 66) | pub enum ParseSignedAccountDataError { function from (line 76) | fn from(x: &SignedAccountData) -> Self { type Error (line 86) | type Error = ParseSignedAccountDataError; method try_from (line 87) | fn try_from(x: &proto::AccountKeySignedPayload) -> Result Self { type Error (line 129) | type Error = ParseOwnedAccountError; method try_from (line 130) | fn try_from(x: &proto::AccountKeyPayload) -> Result { type ParseSignedOwnedAccountError (line 147) | pub enum ParseSignedOwnedAccountError { function from (line 157) | fn from(x: &SignedOwnedAccount) -> Self { type Error (line 167) | type Error = ParseSignedOwnedAccountError; method try_from (line 168) | fn try_from(x: &proto::AccountKeySignedPayload) -> Result; function from (line 13) | fn from(x: &CryptoHash) -> Self { type Error (line 21) | type Error = ParseCryptoHashError; method try_from (line 22) | fn try_from(p: &proto::CryptoHash) -> Result { type ParsePublicKeyError (line 29) | pub type ParsePublicKeyError = std::io::Error; function from (line 32) | fn from(x: &PublicKey) -> Self { type Error (line 38) | type Error = ParsePublicKeyError; method try_from (line 39) | fn try_from(p: &proto::PublicKey) -> Result { function from (line 45) | fn from(x: &PeerId) -> Self { type Error (line 51) | type Error = ParsePublicKeyError; method try_from (line 52) | fn try_from(p: &proto::PublicKey) -> Result { type ParseSignatureError (line 59) | pub type ParseSignatureError = std::io::Error; function from (line 62) | fn from(x: &unc_crypto::Signature) -> Self { type Error (line 68) | type Error = ParseSignatureError; function try_from (line 69) | fn try_from(x: &proto::Signature) -> Result { FILE: chain/network/src/network_protocol/proto_conv/handshake.rs function from (line 11) | fn from(x: &GenesisId) -> Self { type ParseGenesisIdError (line 17) | pub enum ParseGenesisIdError { type Error (line 23) | type Error = ParseGenesisIdError; method try_from (line 24) | fn try_from(p: &proto::GenesisId) -> Result { type ParsePeerChainInfoV2Error (line 35) | pub enum ParsePeerChainInfoV2Error { function from (line 41) | fn from(x: &PeerChainInfoV2) -> Self { type Error (line 53) | type Error = ParsePeerChainInfoV2Error; method try_from (line 54) | fn try_from(p: &proto::PeerChainInfo) -> Result { type ParseHandshakeError (line 67) | pub enum ParseHandshakeError { function from (line 83) | fn from(x: &Handshake) -> Self { type Error (line 99) | type Error = ParseHandshakeError; method try_from (line 100) | fn try_from(p: &proto::Handshake) -> Result { function from (line 130) | fn from((pi, hfr): (&PeerInfo, &HandshakeFailureReason)) -> Self { type ParseHandshakeFailureError (line 158) | pub enum ParseHandshakeFailureError { type Error (line 168) | type Error = ParseHandshakeFailureError; function try_from (line 169) | fn try_from(x: &proto::HandshakeFailure) -> Result { FILE: chain/network/src/network_protocol/proto_conv/net.rs type ParseSocketAddrError (line 13) | pub enum ParseSocketAddrError { function from (line 21) | fn from(x: &SocketAddr) -> Self { type Error (line 34) | type Error = ParseSocketAddrError; method try_from (line 35) | fn try_from(x: &proto::SocketAddr) -> Result { type ParsePeerAddrError (line 49) | pub enum ParsePeerAddrError { function from (line 57) | fn from(x: &PeerAddr) -> Self { type Error (line 67) | type Error = ParsePeerAddrError; method try_from (line 68) | fn try_from(x: &proto::PeerAddr) -> Result { function from (line 79) | fn from(x: &PeerInfo) -> Self { type ParsePeerInfoError (line 84) | pub type ParsePeerInfoError = std::io::Error; type Error (line 87) | type Error = ParsePeerInfoError; method try_from (line 88) | fn try_from(x: &proto::PeerInfo) -> Result { type ParsePartialEdgeInfoError (line 95) | pub type ParsePartialEdgeInfoError = std::io::Error; function from (line 98) | fn from(x: &PartialEdgeInfo) -> Self { type Error (line 104) | type Error = ParsePartialEdgeInfoError; method try_from (line 105) | fn try_from(p: &proto::PartialEdgeInfo) -> Result { type ParseEdgeError (line 112) | pub type ParseEdgeError = std::io::Error; function from (line 115) | fn from(x: &Edge) -> Self { type Error (line 121) | type Error = ParseEdgeError; method try_from (line 122) | fn try_from(x: &proto::Edge) -> Result { type ParseAnnounceAccountError (line 129) | pub type ParseAnnounceAccountError = std::io::Error; function from (line 132) | fn from(x: &AnnounceAccount) -> Self { type Error (line 138) | type Error = ParseAnnounceAccountError; method try_from (line 139) | fn try_from(x: &proto::AnnounceAccount) -> Result { FILE: chain/network/src/network_protocol/proto_conv/peer_message.rs type ParseRoutingTableUpdateError (line 22) | pub enum ParseRoutingTableUpdateError { function from (line 30) | fn from(x: &RoutingTableUpdate) -> Self { type Error (line 40) | type Error = ParseRoutingTableUpdateError; method try_from (line 41) | fn try_from(x: &proto::RoutingTableUpdate) -> Result { type ParseAdvertisedPeerDistanceError (line 52) | pub enum ParseAdvertisedPeerDistanceError { function from (line 58) | fn from(x: &AdvertisedPeerDistance) -> Self { type Error (line 68) | type Error = ParseAdvertisedPeerDistanceError; method try_from (line 69) | fn try_from(x: &proto::AdvertisedPeerDistance) -> Result Self { type Error (line 103) | type Error = ParseDistanceVectorError; method try_from (line 104) | fn try_from(x: &proto::DistanceVector) -> Result { function from (line 116) | fn from(x: &BlockHeader) -> Self { type ParseBlockHeaderError (line 121) | pub type ParseBlockHeaderError = std::io::Error; type Error (line 124) | type Error = ParseBlockHeaderError; method try_from (line 125) | fn try_from(x: &proto::BlockHeader) -> Result { function from (line 133) | fn from(x: &Block) -> Self { type ParseBlockError (line 138) | pub type ParseBlockError = std::io::Error; type Error (line 141) | type Error = ParseBlockError; method try_from (line 142) | fn try_from(x: &proto::Block) -> Result { function from (line 150) | fn from(x: &StateResponseInfo) -> Self { type ParseStateInfoError (line 155) | pub type ParseStateInfoError = std::io::Error; type Error (line 158) | type Error = ParseStateInfoError; method try_from (line 159) | fn try_from(x: &proto::StateResponseInfo) -> Result { type ParseSnapshotHostInfoError (line 167) | pub enum ParseSnapshotHostInfoError { function from (line 177) | fn from(x: &SnapshotHostInfo) -> Self { type Error (line 190) | type Error = ParseSnapshotHostInfoError; method try_from (line 191) | fn try_from(x: &proto::SnapshotHostInfo) -> Result { type ParseSyncSnapshotHostsError (line 205) | pub enum ParseSyncSnapshotHostsError { function from (line 211) | fn from(x: &SyncSnapshotHosts) -> Self { type Error (line 217) | type Error = ParseSyncSnapshotHostsError; method try_from (line 218) | fn try_from(x: &proto::SyncSnapshotHosts) -> Result { function from (line 232) | fn from(x: &PeerMessage) -> Self { type ParsePeersRequestError (line 340) | pub type ParsePeersRequestError = std::io::Error; type ParseTransactionError (line 341) | pub type ParseTransactionError = std::io::Error; type ParseRoutedError (line 342) | pub type ParseRoutedError = std::io::Error; type ParseChallengeError (line 343) | pub type ParseChallengeError = std::io::Error; type ParsePeerMessageError (line 346) | pub enum ParsePeerMessageError { type Error (line 392) | type Error = ParsePeerMessageError; method try_from (line 393) | fn try_from(x: &proto::PeerMessage) -> Result { FILE: chain/network/src/network_protocol/proto_conv/time.rs type ParseTimestampError (line 5) | pub type ParseTimestampError = time::error::ComponentRange; function utc_to_proto (line 7) | pub fn utc_to_proto(x: &time::Utc) -> ProtoTimestamp { function utc_from_proto (line 16) | pub fn utc_from_proto(x: &ProtoTimestamp) -> Result MessageField Result { function extract_span_id (line 75) | fn extract_span_id(span_id: &[u8]) -> Result { FILE: chain/network/src/network_protocol/proto_conv/util.rs type ParseVecError (line 6) | pub struct ParseVecError { function try_from_slice (line 12) | pub fn try_from_slice<'a, X, Y: TryFrom<&'a X>>( type ParseRequiredError (line 23) | pub enum ParseRequiredError { function try_from_optional (line 30) | pub fn try_from_optional<'a, X, Y: TryFrom<&'a X>>(x: &'a MF) -> Resu... function try_from_required (line 34) | pub fn try_from_required<'a, X, Y: TryFrom<&'a X>>( function map_from_required (line 40) | pub fn map_from_required<'a, X, Y, E>( FILE: chain/network/src/network_protocol/state_sync.rs type SnapshotHostInfo (line 18) | pub struct SnapshotHostInfo { method build_hash (line 32) | fn build_hash( method new (line 40) | pub(crate) fn new( method hash (line 54) | pub(crate) fn hash(&self) -> CryptoHash { method verify (line 58) | pub(crate) fn verify(&self) -> Result<(), SnapshotHostInfoVerification... type SyncSnapshotHosts (line 78) | pub struct SyncSnapshotHosts { type SnapshotHostInfoVerificationError (line 83) | pub enum SnapshotHostInfoVerificationError { FILE: chain/network/src/network_protocol/testonly.rs function make_genesis_block (line 30) | pub fn make_genesis_block(_clock: &time::Clock, chunks: Vec)... function make_block (line 44) | pub fn make_block( function make_account_id (line 75) | pub fn make_account_id(rng: &mut R) -> AccountId { function make_secret_key (line 79) | pub fn make_secret_key(rng: &mut R) -> SecretKey { function make_peer_id (line 83) | pub fn make_peer_id(rng: &mut R) -> PeerId { function make_signer (line 87) | pub fn make_signer(rng: &mut R) -> InMemorySigner { function make_validator_signer (line 91) | pub fn make_validator_signer(rng: &mut R) -> InMemoryValidatorSi... function make_peer_info (line 97) | pub fn make_peer_info(rng: &mut R) -> PeerInfo { function make_announce_account (line 106) | pub fn make_announce_account(rng: &mut R) -> AnnounceAccount { function make_partial_edge (line 122) | pub fn make_partial_edge(rng: &mut R) -> PartialEdgeInfo { function make_edge (line 133) | pub fn make_edge(a: &SecretKey, b: &SecretKey, nonce: u64) -> Edge { function make_edge_tombstone (line 141) | pub fn make_edge_tombstone(a: &SecretKey, b: &SecretKey) -> Edge { function make_routing_table (line 145) | pub fn make_routing_table(rng: &mut R) -> RoutingTableUpdate { function make_signed_transaction (line 161) | pub fn make_signed_transaction(rng: &mut R) -> SignedTransaction { function make_challenge (line 174) | pub fn make_challenge(rng: &mut R) -> Challenge { function make_chunk_parts (line 188) | pub fn make_chunk_parts(chunk: ShardChunk) -> Vec Self { method make (line 218) | pub fn make(&mut self) -> Vec { function make_hash (line 229) | pub fn make_hash(rng: &mut R) -> CryptoHash { function make_account_keys (line 233) | pub fn make_account_keys(signers: &[InMemoryValidatorSigner]) -> Account... type Chain (line 241) | pub struct Chain { method make (line 249) | pub fn make(clock: &time::FakeClock, rng: &mut R, block_count:... method height (line 269) | pub fn height(&self) -> BlockHeight { method tip (line 273) | pub fn tip(&self) -> &BlockHeader { method get_tier1_accounts (line 277) | pub fn get_tier1_accounts(&self) -> AccountKeys { method get_chain_info (line 281) | pub fn get_chain_info(&self) -> ChainInfo { method get_peer_chain_info (line 289) | pub fn get_peer_chain_info(&self) -> PeerChainInfoV2 { method get_block_headers (line 298) | pub fn get_block_headers(&self) -> Vec { method make_config (line 302) | pub fn make_config(&self, rng: &mut R) -> config::NetworkConfig { method make_tier1_data (line 312) | pub fn make_tier1_data( function make_handshake (line 331) | pub fn make_handshake(rng: &mut R, chain: &Chain) -> Handshake { function make_routed_message (line 348) | pub fn make_routed_message(rng: &mut R, body: RoutedMessageBody)... function make_ipv4 (line 357) | pub fn make_ipv4(rng: &mut impl Rng) -> net::IpAddr { function make_ipv6 (line 361) | pub fn make_ipv6(rng: &mut impl Rng) -> net::IpAddr { function make_addr (line 365) | pub fn make_addr(rng: &mut R) -> net::SocketAddr { function make_peer_addr (line 369) | pub fn make_peer_addr(rng: &mut impl Rng, ip: net::IpAddr) -> PeerAddr { function make_account_data (line 373) | pub fn make_account_data( function make_signed_account_data (line 406) | pub fn make_signed_account_data(rng: &mut impl Rng, clock: &time::Clock)... method payload_mut (line 414) | pub(crate) fn payload_mut(&mut self) -> &mut Vec { method signature_mut (line 417) | pub(crate) fn signature_mut(&mut self) -> &mut unc_crypto::Signature { FILE: chain/network/src/network_protocol/tests.rs function deduplicate_edges (line 13) | fn deduplicate_edges() { function bad_account_data_size (line 36) | fn bad_account_data_size() { function serialize_deserialize_protobuf_only (line 60) | fn serialize_deserialize_protobuf_only() { function serialize_deserialize (line 83) | fn serialize_deserialize() -> anyhow::Result<()> { FILE: chain/network/src/peer/peer_actor.rs constant REQUEST_PEERS_INTERVAL (line 54) | const REQUEST_PEERS_INTERVAL: time::Duration = time::Duration::seconds(60); constant MAX_CLOCK_SKEW (line 57) | const MAX_CLOCK_SKEW: time::Duration = time::Duration::minutes(30); constant MAX_TRANSACTIONS_PER_BLOCK_MESSAGE (line 62) | const MAX_TRANSACTIONS_PER_BLOCK_MESSAGE: usize = 1000; constant ROUTED_MESSAGE_CACHE_SIZE (line 64) | const ROUTED_MESSAGE_CACHE_SIZE: usize = 1000; constant DROP_DUPLICATED_MESSAGES_PERIOD (line 66) | pub(crate) const DROP_DUPLICATED_MESSAGES_PERIOD: time::Duration = time:... constant SYNC_LATEST_BLOCK_INTERVAL (line 68) | const SYNC_LATEST_BLOCK_INTERVAL: time::Duration = time::Duration::secon... constant ACCOUNTS_DATA_FULL_SYNC_INTERVAL (line 70) | const ACCOUNTS_DATA_FULL_SYNC_INTERVAL: time::Duration = time::Duration:... type ConnectionClosedEvent (line 73) | pub struct ConnectionClosedEvent { type HandshakeStartedEvent (line 79) | pub struct HandshakeStartedEvent { type HandshakeCompletedEvent (line 84) | pub struct HandshakeCompletedEvent { type ClosingReason (line 91) | pub(crate) enum ClosingReason { method remove_from_connection_store (line 125) | pub(crate) fn remove_from_connection_store(&self) -> bool { type PeerActor (line 143) | pub(crate) struct PeerActor { method spawn_and_handshake (line 205) | pub(crate) async fn spawn_and_handshake( method spawn (line 222) | pub(crate) fn spawn( method spawn_inner (line 240) | fn spawn_inner( method encoding (line 344) | fn encoding(&self) -> Option { method parse_message (line 357) | fn parse_message(&mut self, msg: &[u8]) -> Result, reason: Closin... method my_node_id (line 469) | fn my_node_id(&self) -> &PeerId { method other_peer_id (line 474) | fn other_peer_id(&self) -> Option<&PeerId> { method process_handshake (line 478) | fn process_handshake( method sync_routing_table (line 810) | fn sync_routing_table(&self) { method sync_snapshot_hosts (line 825) | fn sync_snapshot_hosts(&self) { method handle_msg_connecting (line 830) | fn handle_msg_connecting(&mut self, ctx: &mut actix::Context, ms... method receive_routed_message (line 919) | async fn receive_routed_message( method receive_message (line 999) | fn receive_message( method handle_msg_ready (line 1101) | fn handle_msg_ready( method handle_sync_routing_table (line 1392) | async fn handle_sync_routing_table( method handle_distance_vector (line 1432) | async fn handle_distance_vector( type Context (line 1455) | type Context = actix::Context; method started (line 1457) | fn started(&mut self, ctx: &mut Self::Context) { method stopping (line 1486) | fn stopping(&mut self, _: &mut Self::Context) -> actix::Running { method stopped (line 1490) | fn stopped(&mut self, _ctx: &mut Self::Context) { type Result (line 1547) | type Result = (); method handle (line 1549) | fn handle(&mut self, err: stream::Error, ctx: &mut Self::Context) { type Result (line 1581) | type Result = (); method handle (line 1583) | fn handle(&mut self, stream::Frame(msg): stream::Frame, ctx: &mut Self... type Result (line 1662) | type Result = (); method handle (line 1665) | fn handle(&mut self, msg: WithSpanContext, _: &mut Self::... type Result (line 1679) | type Result = (); method handle (line 1682) | fn handle(&mut self, msg: WithSpanContext, ctx: &mut Self::Conte... method fmt (line 184) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... type HandshakeSpec (line 190) | struct HandshakeSpec { type HandshakeSignalSender (line 198) | type HandshakeSignalSender = tokio::sync::oneshot::Sender; type WriteHalf (line 21) | type WriteHalf = tokio::io::WriteHalf; type SendError (line 24) | pub(crate) enum SendError { type RecvError (line 32) | pub(crate) enum RecvError { type Frame (line 41) | pub(crate) struct Frame(pub Vec); type Error (line 52) | pub(crate) enum Error { type FramedStream (line 59) | pub(crate) struct FramedStream { function spawn (line 72) | pub fn spawn( function send (line 111) | pub fn send(&self, frame: Frame) { function run_recv_loop (line 139) | async fn run_recv_loop( function run_send_loop (line 178) | async fn run_send_loop( FILE: chain/network/src/peer/testonly.rs type PeerConfig (line 23) | pub struct PeerConfig { method id (line 30) | pub fn id(&self) -> PeerId { method partial_edge_info (line 34) | pub fn partial_edge_info(&self, other: &PeerId, nonce: u64) -> Partial... type Event (line 40) | pub(crate) enum Event { type PeerHandle (line 45) | pub(crate) struct PeerHandle { method send (line 53) | pub async fn send(&self, message: PeerMessage) { method complete_handshake (line 61) | pub async fn complete_handshake(&mut self) { method routed_message (line 77) | pub fn routed_message( method start_endpoint (line 91) | pub async fn start_endpoint( FILE: chain/network/src/peer/tests/communication.rs function test_peer_communication (line 19) | async fn test_peer_communication( function peer_communication (line 164) | async fn peer_communication() -> anyhow::Result<()> { function test_handshake (line 182) | async fn test_handshake(outbound_encoding: Option, inbound_enc... function handshake (line 253) | async fn handshake() -> anyhow::Result<()> { FILE: chain/network/src/peer/tests/stream.rs type Actor (line 12) | struct Actor { type Context (line 18) | type Context = actix::Context; type Result (line 26) | type Result = (); method handle (line 27) | fn handle(&mut self, SendFrame(frame): SendFrame, _ctx: &mut Self::Con... type Result (line 33) | type Result = (); method handle (line 34) | fn handle(&mut self, frame: stream::Frame, _ctx: &mut Self::Context) { type Result (line 40) | type Result = (); method handle (line 41) | fn handle(&mut self, _err: stream::Error, ctx: &mut Self::Context) { method spawn (line 52) | async fn spawn(s: tcp::Stream) -> Handler { type SendFrame (line 23) | struct SendFrame(stream::Frame); type Handler (line 46) | struct Handler { function send_recv (line 68) | async fn send_recv() { FILE: chain/network/src/peer/tracker.rs constant MAX_TRACK_SIZE (line 6) | const MAX_TRACK_SIZE: usize = 30; type CircularUniqueQueue (line 9) | struct CircularUniqueQueue { method new (line 16) | fn new(limit: usize) -> Self { method contains (line 21) | fn contains(&self, hash: &CryptoHash) -> bool { method push (line 26) | fn push(&mut self, hash: CryptoHash) { type Tracker (line 43) | pub(crate) struct Tracker { method increment_received (line 66) | pub(crate) fn increment_received(&mut self, clock: &time::Clock, size:... method increment_sent (line 70) | pub(crate) fn increment_sent(&mut self, clock: &time::Clock, size: u64) { method push_received (line 81) | pub(crate) fn push_received(&mut self, hash: CryptoHash) { method has_request (line 85) | pub(crate) fn has_request(&self, hash: &CryptoHash) -> bool { method push_request (line 89) | pub(crate) fn push_request(&mut self, hash: CryptoHash) { method default (line 55) | fn default() -> Self { function test_circular_queue_zero_capacity (line 102) | fn test_circular_queue_zero_capacity() { function test_circular_queue_empty_queue (line 107) | fn test_circular_queue_empty_queue() { function test_circular_queue_partially_full_queue (line 114) | fn test_circular_queue_partially_full_queue() { function test_circular_queue_full_queue (line 126) | fn test_circular_queue_full_queue() { function test_circular_queue_over_full_queue (line 138) | fn test_circular_queue_over_full_queue() { function test_circular_queue_similar_inputs (line 153) | fn test_circular_queue_similar_inputs() { FILE: chain/network/src/peer/transfer_stats.rs constant TRANSFER_STATS_INTERVAL (line 20) | const TRANSFER_STATS_INTERVAL: time::Duration = time::Duration::seconds(... type Event (line 23) | struct Event { type TransferStats (line 32) | pub(crate) struct TransferStats { method record (line 52) | pub(crate) fn record(&mut self, clock: &time::Clock, bytes: u64) { method minute_stats (line 60) | pub(crate) fn minute_stats(&mut self, clock: &time::Clock) -> MinuteSt... method remove_old_entries (line 66) | fn remove_old_entries(&mut self, now: time::Instant) { type MinuteStats (line 42) | pub(crate) struct MinuteStats { function test_transfer_stats (line 83) | fn test_transfer_stats() { FILE: chain/network/src/peer_manager/connection/mod.rs function is_allowed (line 35) | pub(crate) fn is_allowed(self, msg: &PeerMessage) -> bool { function is_allowed_routed (line 46) | pub(crate) fn is_allowed_routed(self, body: &RoutedMessageBody) -> bool { type Stats (line 56) | pub(crate) struct Stats { type Connection (line 73) | pub(crate) struct Connection { method fmt (line 112) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method full_peer_info (line 122) | pub fn full_peer_info(&self) -> FullPeerInfo { method stop (line 132) | pub fn stop(&self, ban_reason: Option) { method send_message (line 138) | pub fn send_message(&self, msg: Arc) { method send_accounts_data (line 144) | pub fn send_accounts_data( method send_snapshot_hosts (line 191) | pub fn send_snapshot_hosts( type PoolSnapshot (line 242) | pub(crate) struct PoolSnapshot { type OutboundHandshakePermit (line 286) | pub(crate) struct OutboundHandshakePermit(PeerId, Weak &PeerId { method fmt (line 295) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method drop (line 301) | fn drop(&mut self) { type Pool (line 312) | pub(crate) struct Pool(Arc>); method new (line 329) | pub fn new(me: PeerId) -> Pool { method load (line 339) | pub fn load(&self) -> Arc { method insert_ready (line 343) | pub fn insert_ready(&self, peer: Arc) -> Result<(), PoolEr... method start_outbound (line 441) | pub fn start_outbound(&self, peer_id: PeerId) -> Result) { method send_message (line 476) | pub fn send_message(&self, peer_id: PeerId, msg: Arc) -> ... method broadcast_message (line 492) | pub fn broadcast_message(&self, msg: Arc) { type PoolError (line 315) | pub(crate) enum PoolError { FILE: chain/network/src/peer_manager/connection/tests.rs function connection_tie_break (line 13) | async fn connection_tie_break() { function duplicate_connections (line 58) | async fn duplicate_connections() { FILE: chain/network/src/peer_manager/connection_store/mod.rs constant OUTBOUND_CONNECTIONS_CACHE_SIZE (line 16) | pub const OUTBOUND_CONNECTIONS_CACHE_SIZE: usize = 40; constant STORED_CONNECTIONS_MIN_DURATION (line 18) | pub(crate) const STORED_CONNECTIONS_MIN_DURATION: time::Duration = time:... type Inner (line 21) | struct Inner { method contains_outbound (line 28) | fn contains_outbound(&self, peer_id: &PeerId) -> bool { method remove_outbound (line 38) | fn remove_outbound(&mut self, peer_id: &PeerId) { method push_front_outbound (line 49) | fn push_front_outbound(&mut self, mut conns: Vec) { type ConnectionStore (line 72) | pub(crate) struct ConnectionStore(ArcMutex); method new (line 75) | pub fn new(store: store::Store) -> anyhow::Result { method get_recent_outbound_connections (line 82) | pub fn get_recent_outbound_connections(&self) -> Vec { method remove_from_connection_store (line 87) | pub fn remove_from_connection_store(&self, peer_id: &PeerId) { method connection_closed (line 97) | pub fn connection_closed( method update (line 120) | pub fn update(&self, clock: &time::Clock, tier2: &connection::PoolSnap... FILE: chain/network/src/peer_manager/connection_store/testonly.rs function insert_outbound_connections (line 4) | pub(crate) fn insert_outbound_connections(&self, outbound: Vec(rng: &mut R, time_connected_until: time:... function make_connection_infos (line 23) | fn make_connection_infos( function test_reload_from_storage (line 32) | fn test_reload_from_storage() { function test_overwrite_stored_connection (line 52) | fn test_overwrite_stored_connection() { function test_evict_longest_disconnected (line 76) | fn test_evict_longest_disconnected() { function test_recovery_from_clock_rewind (line 107) | fn test_recovery_from_clock_rewind() { FILE: chain/network/src/peer_manager/network_state/mod.rs constant LIMIT_PENDING_PEERS (line 44) | pub(crate) const LIMIT_PENDING_PEERS: usize = 60; constant IMPORTANT_MESSAGE_RESENT_COUNT (line 48) | const IMPORTANT_MESSAGE_RESENT_COUNT: usize = 3; constant RECENT_ROUTED_MESSAGES_CACHE_SIZE (line 53) | const RECENT_ROUTED_MESSAGES_CACHE_SIZE: usize = 10000; constant PRUNE_UNREACHABLE_PEERS_AFTER (line 56) | const PRUNE_UNREACHABLE_PEERS_AFTER: time::Duration = time::Duration::ho... constant PRUNE_EDGES_AFTER (line 59) | pub const PRUNE_EDGES_AFTER: time::Duration = time::Duration::minutes(30); constant RECONNECT_ATTEMPT_INTERVAL (line 62) | pub(crate) const RECONNECT_ATTEMPT_INTERVAL: time::Duration = time::Dura... type WhitelistNode (line 79) | pub(crate) struct WhitelistNode { method from_peer_info (line 65) | pub fn from_peer_info(pi: &PeerInfo) -> anyhow::Result { type NetworkState (line 85) | pub(crate) struct NetworkState { method new (line 163) | pub fn new( method spawn (line 224) | fn spawn( method disconnect_and_ban (line 233) | pub fn disconnect_and_ban( method is_peer_whitelisted (line 252) | pub fn is_peer_whitelisted(&self, peer_info: &PeerInfo) -> bool { method is_inbound_allowed (line 261) | fn is_inbound_allowed(&self, peer_info: &PeerInfo) -> bool { method register (line 283) | pub async fn register( method unregister (line 357) | pub fn unregister( method reconnect (line 416) | pub async fn reconnect( method message_for_me (line 454) | pub fn message_for_me(&self, target: &PeerIdOrHash) -> bool { method send_ping (line 463) | pub fn send_ping(&self, clock: &time::Clock, tier: tcp::Tier, nonce: u... method send_pong (line 472) | pub fn send_pong(&self, clock: &time::Clock, tier: tcp::Tier, nonce: u... method sign_message (line 481) | pub fn sign_message(&self, clock: &time::Clock, msg: RawRoutedMessage)... method send_message_to_peer (line 491) | pub fn send_message_to_peer( method send_message_to_account (line 556) | pub fn send_message_to_account( method add_accounts_data (line 634) | pub async fn add_accounts_data( method add_snapshot_hosts (line 664) | pub async fn add_snapshot_hosts( method fix_local_edges (line 695) | pub async fn fix_local_edges(self: &Arc, clock: &time::Clock, ti... method update_connection_store (line 785) | pub fn update_connection_store(self: &Arc, clock: &time::Clock) { method poll_pending_reconnect (line 790) | pub fn poll_pending_reconnect(&self) -> Vec { method get_direct_peers (line 798) | pub fn get_direct_peers(self: &Arc) -> Vec { method set_chain_info (line 804) | pub fn set_chain_info(self: &Arc, info: ChainInfo) -> bool { FILE: chain/network/src/peer_manager/network_state/routing.rs method broadcast_routing_table_update (line 23) | fn broadcast_routing_table_update(&self, mut rtu: RoutingTableUpdate) { method broadcast_distance_vector (line 36) | fn broadcast_distance_vector(&self, distance_vector: DistanceVector) { method add_accounts (line 45) | pub async fn add_accounts(self: &Arc, accounts: Vec) { FILE: chain/network/src/peer_manager/network_state/tier1.rs function tier1_validator_config (line 22) | pub fn tier1_validator_config( function tier1_connect_to_my_proxies (line 35) | async fn tier1_connect_to_my_proxies( function tier1_request_full_sync (line 72) | pub fn tier1_request_full_sync(&self) { function tier1_advertise_proxies (line 83) | pub async fn tier1_advertise_proxies( function tier1_connect (line 208) | pub async fn tier1_connect(self: &Arc, clock: &time::Clock) { function get_tier1_proxy (line 351) | pub fn get_tier1_proxy(&self, data: &SignedAccountData) -> Option; method started (line 137) | fn started(&mut self, ctx: &mut Self::Context) { method stopping (line 188) | fn stopping(&mut self, _ctx: &mut Self::Context) -> actix::Running { method stopped (line 196) | fn stopped(&mut self, _ctx: &mut Self::Context) { method spawn (line 202) | pub fn spawn( method report_bandwidth_stats_trigger (line 343) | fn report_bandwidth_stats_trigger( method is_outbound_bootstrap_needed (line 389) | fn is_outbound_bootstrap_needed(&self) -> bool { method highest_height_peers (line 404) | fn highest_height_peers(&self) -> Vec { method unreliable_peers (line 431) | fn unreliable_peers(&self) -> HashSet { method maybe_stop_active_connection (line 471) | fn maybe_stop_active_connection(&self) { method monitor_peers_trigger (line 559) | fn monitor_peers_trigger( method bootstrap_outbound_from_recent_connections (line 632) | fn bootstrap_outbound_from_recent_connections(&self, ctx: &mut actix::... method get_network_info (line 650) | pub(crate) fn get_network_info(&self) -> NetworkInfo { method push_network_info_trigger (line 702) | fn push_network_info_trigger(&self, ctx: &mut actix::Context, in... method handle_msg_network_requests (line 726) | fn handle_msg_network_requests( method handle_peer_manager_message (line 983) | fn handle_peer_manager_message( type Result (line 1012) | type Result = (); method handle (line 1014) | fn handle(&mut self, msg: WithSpanContext, ctx: &mut Sel... type Result (line 1046) | type Result = PeerManagerMessageResponse; method handle (line 1048) | fn handle( type Result (line 1062) | type Result = DebugStatus; method handle (line 1064) | fn handle(&mut self, msg: GetDebugStatus, _ctx: &mut actix::Context Self { type Config (line 54) | pub struct Config { type Inner (line 77) | struct Inner { method add_signed_peer (line 96) | fn add_signed_peer(&mut self, clock: &time::Clock, peer_info: PeerInfo) { method add_peer (line 101) | fn add_peer(&mut self, clock: &time::Clock, peer_info: PeerInfo, trust... method peer_unban (line 150) | fn peer_unban(&mut self, peer_id: &PeerId) -> anyhow::Result<()> { method delete_peers (line 160) | fn delete_peers(&mut self, peer_ids: &[PeerId]) { method find_peers (line 171) | fn find_peers(&self, filter: F, count: usize) -> Vec method update_peer_info (line 185) | fn update_peer_info( method remove_expired (line 227) | fn remove_expired(&mut self, now: time::Utc) { method unban (line 240) | fn unban(&mut self, now: time::Utc) { method update_last_seen (line 259) | fn update_last_seen(&mut self, now: time::Utc) { method update (line 279) | pub fn update(&mut self, clock: &time::Clock) { type PeerStore (line 287) | pub(crate) struct PeerStore(Mutex); method new (line 290) | pub fn new(clock: &time::Clock, config: Config) -> anyhow::Result { method is_blacklisted (line 342) | pub fn is_blacklisted(&self, addr: &SocketAddr) -> bool { method len (line 346) | pub fn len(&self) -> usize { method is_banned (line 350) | pub fn is_banned(&self, peer_id: &PeerId) -> bool { method count_banned (line 354) | pub fn count_banned(&self) -> usize { method update (line 358) | pub fn update(&self, clock: &time::Clock) { method get_peer_state (line 364) | pub fn get_peer_state(&self, peer_id: &PeerId) -> Option Vec { method add_indirect_peers (line 484) | pub fn add_indirect_peers(&self, clock: &time::Clock, peers: impl Iter... method add_direct_peer (line 511) | pub fn add_direct_peer(&self, clock: &time::Clock, peer_info: PeerInfo) { method load (line 515) | pub fn load(&self) -> HashMap { FILE: chain/network/src/peer_manager/peer_store/testonly.rs function dump (line 4) | pub fn dump(&self) -> Vec { FILE: chain/network/src/peer_manager/peer_store/tests.rs function get_peer_id (line 8) | fn get_peer_id(seed: String) -> PeerId { function get_addr (line 12) | fn get_addr(port: u16) -> SocketAddr { function get_peer_info (line 16) | fn get_peer_info(peer_id: PeerId, addr: Option) -> PeerInfo { function gen_peer_info (line 20) | fn gen_peer_info(port: u16) -> PeerInfo { function make_config (line 28) | fn make_config( function ban_store (line 44) | fn ban_store() { function test_unconnected_peer (line 59) | fn test_unconnected_peer() { function test_unknown_vs_not_connected (line 74) | fn test_unknown_vs_not_connected() { function test_unconnected_peer_only_boot_nodes (line 152) | fn test_unconnected_peer_only_boot_nodes() { function check_exist (line 195) | fn check_exist( function check_integrity (line 217) | fn check_integrity(peer_store: &PeerStore) -> bool { function handle_peer_id_change (line 237) | fn handle_peer_id_change() { function dont_handle_address_change (line 261) | fn dont_handle_address_change() { function check_add_peers_overriding (line 280) | fn check_add_peers_overriding() { function check_ignore_blacklisted_peers (line 359) | fn check_ignore_blacklisted_peers() { function assert_peers_in_cache (line 392) | fn assert_peers_in_cache( function test_delete_peers (line 408) | fn test_delete_peers() { function test_lru_eviction (line 430) | fn test_lru_eviction() { function test_lru_ignore_duplicate_peers (line 461) | fn test_lru_ignore_duplicate_peers() { FILE: chain/network/src/peer_manager/testonly.rs constant FDS_PER_PEER (line 40) | pub(crate) const FDS_PER_PEER: usize = 5; type WithNetworkState (line 44) | struct WithNetworkState( type Result (line 49) | type Result = (); method handle (line 50) | fn handle( type Event (line 60) | pub enum Event { type ActorHandler (line 65) | pub(crate) struct ActorHandler { method peer_info (line 159) | pub fn peer_info(&self) -> PeerInfo { method send_outbound_connect (line 167) | pub async fn send_outbound_connect(&self, peer_info: &PeerInfo, tier: ... method connect_to (line 174) | pub fn connect_to( method with_state (line 203) | pub async fn with_state bool { method tier1_advertise_proxies (line 343) | pub async fn tier1_advertise_proxies( method disconnect (line 351) | pub async fn disconnect(&self, peer_id: &PeerId) { method disconnect_and_ban (line 370) | pub async fn disconnect_and_ban( method peer_store_update (line 384) | pub async fn peer_store_update(&self, clock: &time::Clock) { method send_ping (line 389) | pub async fn send_ping(&self, clock: &time::Clock, nonce: u64, target:... method announce_account (line 397) | pub async fn announce_account(&self, aa: AnnounceAccount) { method wait_for_accounts_data_pred (line 409) | pub async fn wait_for_accounts_data_pred( method wait_for_accounts_data (line 426) | pub async fn wait_for_accounts_data(&self, want: &HashSet Pee... method wait_for_num_connected_peers (line 514) | pub async fn wait_for_num_connected_peers(&self, wanted: usize) { method tier1_connect (line 531) | pub async fn tier1_connect(&self, clock: &time::Clock) { method update_connection_store (line 540) | pub async fn update_connection_store(&self, clock: &time::Clock) { function unwrap_sync_accounts_data_processed (line 71) | pub(crate) fn unwrap_sync_accounts_data_processed(ev: Event) -> Option Op... function make_chain_info (line 91) | pub(crate) fn make_chain_info( type RawConnection (line 106) | pub(crate) struct RawConnection { method handshake (line 113) | pub async fn handshake(mut self, clock: &time::Clock) -> peer::testonl... method manager_fail_handshake (line 137) | pub async fn manager_fail_handshake(mut self, clock: &time::Clock) -> ... function start (line 549) | pub(crate) async fn start( FILE: chain/network/src/peer_manager/tests/accounts_data.rs function broadcast (line 23) | async fn broadcast() { function gradual_epoch_change (line 108) | async fn gradual_epoch_change() { function rate_limiting (line 168) | async fn rate_limiting() { function validator_node_restart (line 265) | async fn validator_node_restart() { FILE: chain/network/src/peer_manager/tests/connection_pool.rs function connection_spam_security_test (line 20) | async fn connection_spam_security_test() { function loop_connection (line 61) | async fn loop_connection() { function owned_account_mismatch (line 128) | async fn owned_account_mismatch() { function owned_account_conflict (line 191) | async fn owned_account_conflict() { function invalid_edge (line 229) | async fn invalid_edge() { FILE: chain/network/src/peer_manager/tests/nonce.rs function to_active_nonce (line 18) | fn to_active_nonce(timestamp: time::Utc) -> u64 { function test_nonces (line 29) | async fn test_nonces() { function wait_for_edge (line 94) | async fn wait_for_edge(actor_handler: &mut ActorHandler) -> Edge { function test_nonce_refresh (line 108) | async fn test_nonce_refresh() { FILE: chain/network/src/peer_manager/tests/routing.rs function simple (line 32) | async fn simple() { function three_nodes_path (line 62) | async fn three_nodes_path() { function three_nodes_star (line 103) | async fn three_nodes_star() { function join_components (line 167) | async fn join_components() { function simple_remove (line 238) | async fn simple_remove() { function wait_for_ping (line 286) | pub async fn wait_for_ping(events: &mut broadcast::Receiver, want... function wait_for_pong (line 302) | pub async fn wait_for_pong(events: &mut broadcast::Receiver, want... function wait_for_message_dropped (line 318) | pub async fn wait_for_message_dropped(events: &mut broadcast::Receiver Option... function wait_for_host_info (line 56) | async fn wait_for_host_info( function broadcast (line 75) | async fn broadcast() { function invalid_signature_not_broadcast (line 153) | async fn invalid_signature_not_broadcast() { function too_many_shards_not_broadcast (line 217) | async fn too_many_shards_not_broadcast() { function propagate (line 293) | async fn propagate() { function large_shard_id_in_cache (line 349) | async fn large_shard_id_in_cache() { function too_many_shards_truncate (line 395) | async fn too_many_shards_truncate() { FILE: chain/network/src/peer_manager/tests/tier1.rs function make_block_approval (line 21) | fn make_block_approval(rng: &mut Rng, signer: &dyn ValidatorSigner) -> A... function establish_connections (line 32) | async fn establish_connections(clock: &time::Clock, pms: &[&peer_manager... function send_tier1_message (line 52) | async fn send_tier1_message( function send_and_recv_tier1_message (line 75) | async fn send_and_recv_tier1_message( function test_clique (line 99) | async fn test_clique( function first_proxy_advertisement (line 117) | async fn first_proxy_advertisement() { function direct_connections (line 144) | async fn direct_connections() { function proxy_connections (line 188) | async fn proxy_connections() { function account_keys_change (line 256) | async fn account_keys_change() { function proxy_change (line 298) | async fn proxy_change() { function tier2_routing_using_accounts_data (line 361) | async fn tier2_routing_using_accounts_data() { function stun_self_discovery (line 393) | async fn stun_self_discovery() { FILE: chain/network/src/peer_manager/tests/tier2.rs function check_recent_outbound_connections (line 19) | async fn check_recent_outbound_connections(pm: &ActorHandler, want: Vec<... function wait_for_connection_closed (line 33) | async fn wait_for_connection_closed(events: &mut broadcast::Receiver) -> Result<(), std::fmt:... method connect (line 223) | pub async fn connect( method on_accept (line 264) | async fn on_accept( method do_handshake (line 322) | async fn do_handshake( method send_message (line 365) | pub async fn send_message(&mut self, msg: DirectMessage) -> io::Result... method send_routed_message (line 389) | pub async fn send_routed_message( method target_is_for_me (line 418) | fn target_is_for_me(&mut self, target: &PeerIdOrHash) -> bool { method recv_routed_msg (line 425) | fn recv_routed_msg( method recv (line 453) | pub async fn recv(&mut self) -> io::Result<(Message, Instant)> { method peer_id (line 509) | pub fn peer_id(&self) -> &PeerId { type RoutedMessage (line 45) | pub enum RoutedMessage { method fmt (line 53) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 59) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type DirectMessage (line 79) | pub enum DirectMessage { method fmt (line 91) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 97) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Message (line 129) | pub enum Message { method fmt (line 135) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 144) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ConnectError (line 166) | pub enum ConnectError { method from (line 180) | fn from(err: RecvError) -> Self { function new_handshake (line 188) | fn new_handshake( type RecvError (line 515) | enum RecvError { type PeerStream (line 522) | struct PeerStream { method fmt (line 529) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... method new (line 535) | fn new(stream: tcp::Stream, recv_timeout: Duration) -> Self { method write_message (line 539) | async fn write_message(&mut self, msg: &PeerMessage) -> io::Result<()> { method do_read (line 546) | async fn do_read(&mut self) -> io::Result<()> { method read_msg_length (line 563) | async fn read_msg_length(&mut self) -> io::Result<(usize, Instant)> { method recv_message (line 580) | async fn recv_message(&mut self) -> Result<(PeerMessage, Instant), Rec... type Listener (line 604) | pub struct Listener { method bind (line 616) | pub async fn bind( method accept (line 638) | pub async fn accept(&mut self) -> Result { FILE: chain/network/src/raw/tests.rs function test_raw_conn_pings (line 14) | async fn test_raw_conn_pings() { function test_raw_conn_state_parts (line 74) | async fn test_raw_conn_state_parts() { function test_listener (line 147) | async fn test_listener() { FILE: chain/network/src/routing/bfs.rs type Graph (line 11) | pub struct Graph { method new (line 32) | pub fn new(source: PeerId) -> Self { method total_active_edges (line 50) | pub fn total_active_edges(&self) -> u64 { method compute_total_active_edges (line 56) | pub fn compute_total_active_edges(&self) -> u64 { method contains_edge (line 62) | fn contains_edge(&self, peer0: &PeerId, peer1: &PeerId) -> bool { method remove_if_unused (line 71) | fn remove_if_unused(&mut self, id: u32) { method get_id (line 81) | fn get_id(&mut self, peer: &PeerId) -> u32 { method add_edge (line 105) | pub fn add_edge(&mut self, peer0: &PeerId, peer1: &PeerId) { method remove_edge (line 118) | pub fn remove_edge(&mut self, peer0: &PeerId, peer1: &PeerId) { method calculate_next_hops_and_distance (line 137) | pub fn calculate_next_hops_and_distance( method compute_result (line 192) | fn compute_result( method calculate_distance (line 235) | pub fn calculate_distance( function graph_contains_edge (line 252) | fn graph_contains_edge() { function graph_distance0 (line 282) | fn graph_distance0() { function graph_distance1 (line 301) | fn graph_distance1() { function graph_distance2 (line 318) | fn graph_distance2() { function graph_distance3 (line 342) | fn graph_distance3() { function graph_distance4 (line 378) | fn graph_distance4() { function graph_distance4_with_unreliable_nodes (line 416) | fn graph_distance4_with_unreliable_nodes() { function graph_longer_distance_with_unreliable_nodes (line 457) | fn graph_longer_distance_with_unreliable_nodes() { FILE: chain/network/src/routing/edge.rs constant EDGE_NONCE_MAX_TIME_DELTA (line 7) | pub(crate) const EDGE_NONCE_MAX_TIME_DELTA: time::Duration = time::Durat... type VerifyNonceError (line 10) | pub(crate) enum VerifyNonceError { function verify_nonce (line 19) | pub(crate) fn verify_nonce(clock: &time::Clock, nonce: u64) -> Result<()... FILE: chain/network/src/routing/edge_cache/mod.rs type EdgeKey (line 15) | pub(crate) struct EdgeKey { method from (line 21) | fn from(peers: &(PeerId, PeerId)) -> EdgeKey { type ActiveEdge (line 37) | struct ActiveEdge { type EdgeCache (line 74) | pub struct EdgeCache { method new (line 92) | pub fn new(local_node_id: PeerId) -> Self { method write_verified_nonce (line 105) | pub fn write_verified_nonce(&mut self, edge: &Edge) { method has_edge_nonce_or_newer (line 111) | pub fn has_edge_nonce_or_newer(&self, edge: &Edge) -> bool { method get_id (line 119) | pub(crate) fn get_id(&self, peer: &PeerId) -> u32 { method get_local_node_id (line 124) | pub(crate) fn get_local_node_id(&self) -> u32 { method get_or_create_id (line 129) | pub(crate) fn get_or_create_id(&mut self, peer: &PeerId) -> u32 { method create_ids_for_tree (line 152) | pub(crate) fn create_ids_for_tree(&mut self, root: &PeerId, edges: &Ve... method free_unused_ids (line 164) | pub(crate) fn free_unused_ids(&mut self) { method increment_degrees_for_key (line 188) | fn increment_degrees_for_key(&mut self, key: &EdgeKey) { method decrement_degrees_for_key (line 197) | fn decrement_degrees_for_key(&mut self, key: &EdgeKey) { method decrement_degree (line 204) | fn decrement_degree(&mut self, peer_id: &PeerId) { method insert_active_edge (line 219) | fn insert_active_edge(&mut self, edge: &Edge) { method remove_active_edge (line 241) | fn remove_active_edge(&mut self, key: &EdgeKey) { method update_tree (line 266) | pub fn update_tree(&mut self, peer_id: &PeerId, tree: &Vec) { method get_min_nonce (line 290) | pub fn get_min_nonce(&mut self, peer_id: &PeerId) -> Option { method remove_tree (line 304) | pub fn remove_tree(&mut self, peer_id: &PeerId) { method max_id (line 313) | pub fn max_id(&self) -> usize { method iter_peers (line 318) | pub fn iter_peers(&self) -> Iter<'_, PeerId, u32> { method known_edges_ct (line 323) | pub fn known_edges_ct(&self) -> usize { method prune_old_edges (line 329) | pub fn prune_old_edges(&mut self, prune_nonces_older_than: u64) { method construct_spanning_tree (line 342) | pub fn construct_spanning_tree(&self, distance: &HashMap)... method get_debug_view (line 380) | pub(crate) fn get_debug_view(&self) -> EdgeCacheView { FILE: chain/network/src/routing/edge_cache/testonly.rs method is_active (line 6) | pub(crate) fn is_active(&self, edge: &Edge) -> bool { method get_nonce_for_active_edge (line 10) | pub(crate) fn get_nonce_for_active_edge(&self, key: &EdgeKey) -> Option<... method check_mapping_external (line 14) | pub(crate) fn check_mapping_external(&self, mapped_nodes: &Vec) { method check_mapping_internal (line 26) | pub(crate) fn check_mapping_internal(&self, mapped_nodes: &Vec) { method check_mapping (line 57) | pub(crate) fn check_mapping(&self, mapped_nodes: Vec) { FILE: chain/network/src/routing/edge_cache/tests.rs function has_edge_nonce_or_newer (line 8) | fn has_edge_nonce_or_newer() { function update_active_edge_nonce (line 33) | fn update_active_edge_nonce() { function test_p2id_mapping (line 71) | fn test_p2id_mapping() { function reuse_ids (line 120) | fn reuse_ids() { function free_unused_after_create_for_tree (line 176) | fn free_unused_after_create_for_tree() { function overwrite_shortest_path_tree (line 197) | fn overwrite_shortest_path_tree() { function assert_eq_unordered (line 222) | fn assert_eq_unordered(a: Vec, b: Vec) { function test_construct_shortest_path_tree (line 232) | fn test_construct_shortest_path_tree() { FILE: chain/network/src/routing/graph/mod.rs type EdgeKey (line 20) | type EdgeKey = (PeerId, PeerId); type NextHopTable (line 21) | pub type NextHopTable = HashMap>; type DistanceTable (line 22) | pub type DistanceTable = HashMap; type GraphConfig (line 25) | pub struct GraphConfig { type GraphSnapshot (line 32) | pub struct GraphSnapshot { type Inner (line 39) | struct Inner { method update_edge (line 60) | fn update_edge(&mut self, now: time::Utc, edge: Edge) -> bool { method remove_edge (line 81) | fn remove_edge(&mut self, key: &EdgeKey) { method remove_adjacent_edges (line 89) | fn remove_adjacent_edges(&mut self, peers: &HashSet) -> Vec) -> ... method update (line 241) | pub fn update( function has (line 53) | fn has(set: &im::HashMap, edge: &Edge) -> bool { type Graph (line 280) | pub(crate) struct Graph { method new (line 290) | pub fn new(config: GraphConfig, store: store::Store) -> Self { method load (line 306) | pub fn load(&self) -> Arc { method set_unreliable_peers (line 310) | pub fn set_unreliable_peers(&self, unreliable_peers: HashSet) { method update (line 329) | pub async fn update( FILE: chain/network/src/routing/graph/tests.rs method simple_update (line 16) | async fn simple_update(self: &Arc, clock: &time::Clock, edges: Vec... method check (line 20) | async fn check(&self, want_mem: &[Edge], want_db: &[Component]) { function store (line 38) | fn store() -> store::Store { function peer_id (line 42) | fn peer_id(key: &SecretKey) -> PeerId { function empty (line 47) | async fn empty() { constant SEC (line 61) | const SEC: time::Duration = time::Duration::seconds(1); function one_edge (line 64) | async fn one_edge() { function load_component (line 104) | async fn load_component() { function components_nonces_are_tracked_in_storage (line 142) | async fn components_nonces_are_tracked_in_storage() { function to_active_nonce (line 211) | fn to_active_nonce(t: time::Utc) -> u64 { function expired_edges (line 220) | async fn expired_edges() { FILE: chain/network/src/routing/graph_v2/mod.rs type NextHopTable (line 26) | pub type NextHopTable = HashMap>; type GraphConfigV2 (line 29) | pub struct GraphConfigV2 { type NetworkTopologyChange (line 35) | pub enum NetworkTopologyChange { type PeerDistances (line 44) | struct PeerDistances { type Inner (line 51) | struct Inner { method verify_and_cache_edge_nonces (line 85) | fn verify_and_cache_edge_nonces(&mut self, edges: &Vec) -> bool { method calculate_tree_distances (line 135) | pub(crate) fn calculate_tree_distances( method validate_routing_distances (line 199) | pub(crate) fn validate_routing_distances( method store_validated_peer_distances (line 253) | fn store_validated_peer_distances( method handle_distance_vector (line 324) | fn handle_distance_vector( method handle_edge_nonce_refresh (line 352) | fn handle_edge_nonce_refresh(&mut self, edges: &Vec) -> bool { method remove_direct_peer (line 373) | pub(crate) fn remove_direct_peer(&mut self, peer_id: &PeerId) { method add_or_update_direct_peer (line 392) | pub(crate) fn add_or_update_direct_peer(&mut self, peer_id: PeerId, ed... method handle_network_change (line 429) | pub(crate) fn handle_network_change( method compute_next_hops (line 455) | pub(crate) fn compute_next_hops( method prune_expired_peer_distances (line 523) | fn prune_expired_peer_distances(&mut self, clock: &time::Clock) { method construct_distance_vector_message (line 560) | fn construct_distance_vector_message( method update_distances (line 581) | fn update_distances( method compute_routes (line 603) | pub(crate) fn compute_routes( method log_state (line 628) | pub(crate) fn log_state(&self) { type GraphV2 (line 635) | pub(crate) struct GraphV2 { method new (line 644) | pub fn new(config: GraphConfigV2) -> Self { method set_unreliable_peers (line 672) | pub fn set_unreliable_peers(&self, unreliable_peers: HashSet) { method write_event_logs (line 677) | fn write_event_logs(updates: &Vec, oks: &Vec NetworkRoutesView { FILE: chain/network/src/routing/graph_v2/testonly.rs method verify_and_cache_edge_nonces (line 12) | pub(crate) fn verify_and_cache_edge_nonces(&mut self, edges: &Vec)... method compute_next_hops (line 22) | pub(crate) fn compute_next_hops(&self) -> (NextHopTable, HashMap bool { FILE: chain/network/src/routing/graph_v2/tests.rs function verify_calculate_tree_distances (line 15) | fn verify_calculate_tree_distances( function calculate_tree_distances (line 59) | fn calculate_tree_distances() { function compute_next_hops (line 114) | fn compute_next_hops() { function compute_next_hops_discard_loop (line 225) | fn compute_next_hops_discard_loop() { function test_process_network_event (line 251) | async fn test_process_network_event() { function test_process_network_event_idempotent (line 315) | async fn test_process_network_event_idempotent() { function test_receive_distance_vector_before_processing_local_connection (line 354) | async fn test_receive_distance_vector_before_processing_local_connection... function test_receive_invalid_distance_vector (line 389) | async fn test_receive_invalid_distance_vector() { function receive_distance_vector_without_route_to_local_node (line 446) | async fn receive_distance_vector_without_route_to_local_node() { function inconsistent_peers (line 545) | async fn inconsistent_peers() { function test_distance_vector_nonce_expiration (line 618) | async fn test_distance_vector_nonce_expiration() { function test_distance_vector_nonce_refresh (line 657) | async fn test_distance_vector_nonce_refresh() { FILE: chain/network/src/routing/route_back_cache.rs constant DEFAULT_CAPACITY (line 7) | const DEFAULT_CAPACITY: usize = 100_000; constant DEFAULT_CACHE_EVICT_TIMEOUT (line 9) | const DEFAULT_CACHE_EVICT_TIMEOUT: time::Duration = time::Duration::mill... constant DEFAULT_REMOVE_BATCH_SIZE (line 11) | const DEFAULT_REMOVE_BATCH_SIZE: usize = 100; type RouteBackCache (line 48) | pub struct RouteBackCache { method new (line 76) | pub fn new( method is_full (line 93) | fn is_full(&self) -> bool { method remove_frequent (line 97) | fn remove_frequent(&mut self) { method remove_evicted (line 140) | fn remove_evicted(&mut self, clock: &time::Clock) { method get (line 181) | pub fn get(&self, hash: &CryptoHash) -> Option<&PeerId> { method remove (line 185) | pub fn remove(&mut self, clock: &time::Clock, hash: &CryptoHash) -> Op... method insert (line 217) | pub fn insert(&mut self, clock: &time::Clock, hash: CryptoHash, target... method default (line 70) | fn default() -> Self { function check_consistency (line 247) | fn check_consistency(cache: &RouteBackCache) { function create_message (line 270) | fn create_message(ix: u8) -> (PeerId, CryptoHash) { function simple (line 275) | fn simple() { function evicted (line 292) | fn evicted() { function insert_evicted (line 308) | fn insert_evicted() { function insert_override (line 326) | fn insert_override() { function prefer_evict (line 345) | fn prefer_evict() { function prefer_full (line 369) | fn prefer_full() { function remove_all_frequent (line 393) | fn remove_all_frequent() { function poison_attack (line 420) | fn poison_attack() { FILE: chain/network/src/routing/routing_table_view/mod.rs constant LAST_ROUTED_CACHE_SIZE (line 10) | const LAST_ROUTED_CACHE_SIZE: usize = 10_000; type RoutingTableView (line 12) | pub(crate) struct RoutingTableView(Mutex); method new (line 62) | pub fn new() -> Self { method update (line 71) | pub(crate) fn update( method reachable_peers (line 79) | pub(crate) fn reachable_peers(&self) -> usize { method find_next_hop_for_target (line 88) | pub(crate) fn find_next_hop_for_target( method get_distance (line 95) | pub(crate) fn get_distance(&self, peer_id: &PeerId) -> Option { method view_route (line 99) | pub(crate) fn view_route(&self, peer_id: &PeerId) -> Option RoutingTableInfo { type Inner (line 14) | struct Inner { method find_next_hop (line 34) | fn find_next_hop(&mut self, peer_id: &PeerId) -> Result(Option>>); method clone (line 13) | fn clone(&self) -> Self { function null (line 19) | pub fn null() -> Self { function push (line 23) | pub fn push(&self, t: T) { function new (line 29) | pub fn new(f: impl Fn(T) + Sync + Send + 'static) -> Self { function delayed_push (line 40) | pub fn delayed_push(&self, make: impl FnOnce() -> T) -> Box(&self, f: impl Send + Sync + 'static + Fn(U) -> T) -> ... FILE: chain/network/src/snapshot_hosts/mod.rs type SnapshotHostInfoError (line 21) | pub(crate) enum SnapshotHostInfoError { type Config (line 29) | pub struct Config { type Inner (line 37) | struct Inner { method is_new (line 43) | fn is_new(&self, h: &SnapshotHostInfo) -> bool { method try_insert (line 53) | fn try_insert(&mut self, d: Arc) -> Option); method new (line 65) | pub fn new(config: Config) -> Self { method verify (line 73) | async fn verify( method insert (line 115) | pub async fn insert( method get_hosts (line 133) | pub fn get_hosts(&self) -> Vec> { FILE: chain/network/src/snapshot_hosts/tests.rs function make_snapshot_host_info (line 17) | fn make_snapshot_host_info( function unwrap (line 27) | fn unwrap<'a, T: std::hash::Hash + std::cmp::Eq, E: std::fmt::Debug>( function happy_path (line 37) | async fn happy_path() { function invalid_signature (line 74) | async fn invalid_signature() { function too_many_shards (line 107) | async fn too_many_shards() { function duplicate_peer_id (line 146) | async fn duplicate_peer_id() { function test_lru_eviction (line 168) | async fn test_lru_eviction() { FILE: chain/network/src/state_sync.rs type StateSyncResponse (line 6) | pub enum StateSyncResponse { type StateSync (line 15) | pub trait StateSync: Send + Sync + 'static { method send (line 16) | async fn send(&self, shard_uid: ShardUId, msg: StateSyncResponse); FILE: chain/network/src/stats/metrics.rs type Labels (line 16) | pub trait Labels: 'static { constant NAMES (line 20) | const NAMES: Self::Array; method values (line 23) | fn values(&self) -> Self::Array; type Array (line 65) | type Array = [&'static str; 2]; constant NAMES (line 66) | const NAMES: Self::Array = ["peer_type", "encoding"]; method values (line 67) | fn values(&self) -> Self::Array { type Gauge (line 27) | pub struct Gauge { type GaugePoint (line 32) | pub struct GaugePoint(IntGauge); function new (line 36) | pub fn new(name: &str, help: &str) -> Result GaugePoint { method drop (line 54) | fn drop(&mut self) { type Connection (line 59) | pub struct Connection { type MetricGuard (line 72) | pub(crate) struct MetricGuard { function new (line 78) | pub fn new>( method drop (line 96) | fn drop(&mut self) { type Target (line 102) | type Target = M; function deref (line 103) | fn deref(&self) -> &Self::Target { type IntGaugeGuard (line 108) | pub(crate) type IntGaugeGuard = MetricGuard; function record_routed_msg_metrics (line 391) | pub(crate) fn record_routed_msg_metrics( function bool_to_str (line 401) | pub(crate) fn bool_to_str(b: bool) -> &'static str { function record_routed_msg_latency (line 410) | fn record_routed_msg_latency( function record_routed_msg_hops (line 427) | fn record_routed_msg_hops(msg: &RoutedMessageV2) { type MessageDropped (line 442) | pub(crate) enum MessageDropped { method inc (line 452) | pub fn inc(self, msg: &RoutedMessageBody) { method inc_unknown_msg (line 456) | pub fn inc_unknown_msg(self) { method inc_msg_type (line 460) | fn inc_msg_type(self, msg_type: &str) { FILE: chain/network/src/store/mod.rs type Error (line 25) | pub(crate) struct Error(schema::Error); type Store (line 31) | pub(crate) struct Store(schema::Store); method set_account_announcement (line 46) | pub fn set_account_announcement( method get_account_announcement (line 57) | pub fn get_account_announcement( method push_component (line 70) | pub fn push_component( method pop_component (line 89) | pub fn pop_component(&mut self, peer_id: &PeerId) -> Result,... method set_recent_outbound_connections (line 123) | pub fn set_recent_outbound_connections( method get_recent_outbound_connections (line 132) | pub fn get_recent_outbound_connections(&self) -> Vec { method from (line 141) | fn from(store: Arc) -> Self { method from (line 148) | fn from(store: Arc) -> Self { FILE: chain/network/src/store/schema/mod.rs type AccountIdFormat (line 19) | pub struct AccountIdFormat; type ConnectionInfoRepr (line 32) | pub(super) struct ConnectionInfoRepr { type EdgeRepr (line 63) | pub(super) struct EdgeRepr { type AccountAnnouncements (line 92) | pub(super) struct AccountAnnouncements; type RecentOutboundConnections (line 99) | pub(super) struct RecentOutboundConnections; type PeerComponent (line 106) | pub(super) struct PeerComponent; type ComponentEdges (line 113) | pub(super) struct ComponentEdges; type LastComponentNonce (line 120) | pub(super) struct LastComponentNonce; type Error (line 130) | pub type Error = io::Error; function invalid_data (line 131) | fn invalid_data(e: impl std::error::Error + Send + Sync + 'static) -> Er... type Format (line 135) | pub trait Format { type T (line 21) | type T = AccountId; method encode (line 22) | fn encode(a: &AccountId, w: &mut W) -> io::Result<()> { method decode (line 25) | fn decode(a: &[u8]) -> Result { method encode (line 139) | fn encode(a: &Self::T, w: &mut W) -> io::Result<()>; method decode (line 140) | fn decode(a: &[u8]) -> io::Result; type T (line 161) | type T = R::T; method encode (line 162) | fn encode(a: &Self::T, w: &mut W) -> io::Result<()> { method decode (line 165) | fn decode(a: &[u8]) -> io::Result { type T (line 202) | type T = u64; method encode (line 203) | fn encode(a: &u64, w: &mut W) -> io::Result<()> { method decode (line 206) | fn decode(a: &[u8]) -> Result { function to_vec (line 143) | fn to_vec(a: &F::T) -> Vec { type BorshRepr (line 154) | pub trait BorshRepr: BorshSerialize + BorshDeserialize { type T (line 40) | type T = primitives::ConnectionInfo; method to_repr (line 41) | fn to_repr(s: &primitives::ConnectionInfo) -> Self { method from_repr (line 49) | fn from_repr(s: Self) -> Result { type T (line 72) | type T = primitives::Edge; method to_repr (line 74) | fn to_repr(e: &Self::T) -> Self { method from_repr (line 83) | fn from_repr(e: Self) -> Result { method to_repr (line 156) | fn to_repr(a: &Self::T) -> Self; method from_repr (line 157) | fn from_repr(s: Self) -> Result; type T (line 178) | type T = T; method to_repr (line 179) | fn to_repr(a: &T) -> Self { method from_repr (line 182) | fn from_repr(a: Self) -> Result { type T (line 190) | type T = Vec; method to_repr (line 191) | fn to_repr(a: &Self::T) -> Vec { method from_repr (line 194) | fn from_repr(a: Vec) -> Result { type Borsh (line 175) | pub struct Borsh(T); type U64LE (line 200) | pub struct U64LE; type Column (line 213) | pub trait Column { constant COL (line 94) | const COL: DBCol = DBCol::AccountAnnouncements; type Key (line 95) | type Key = AccountIdFormat; type Value (line 96) | type Value = Borsh; constant COL (line 101) | const COL: DBCol = DBCol::RecentOutboundConnections; type Key (line 102) | type Key = Borsh<()>; type Value (line 103) | type Value = Vec; constant COL (line 108) | const COL: DBCol = DBCol::PeerComponent; type Key (line 109) | type Key = Borsh; type Value (line 110) | type Value = Borsh; constant COL (line 115) | const COL: DBCol = DBCol::ComponentEdges; type Key (line 116) | type Key = U64LE; type Value (line 117) | type Value = Vec; constant COL (line 122) | const COL: DBCol = DBCol::LastComponentNonce; type Key (line 123) | type Key = Borsh<()>; type Value (line 124) | type Value = Borsh; constant COL (line 214) | const COL: DBCol; type Store (line 221) | pub struct Store(std::sync::Arc); method new_update (line 228) | pub fn new_update(&mut self) -> StoreUpdate { method commit (line 231) | pub fn commit(&mut self, update: StoreUpdate) -> Result<(), Error> { method get (line 235) | pub fn get( method from (line 249) | fn from(db: Arc) -> Self { type StoreUpdate (line 225) | pub struct StoreUpdate(unc_store::db::DBTransaction); method set (line 255) | pub fn set(&mut self, k: &::T, v: &(&mut self, k: &::T) { FILE: chain/network/src/store/schema/testonly.rs function iter (line 4) | pub fn iter( FILE: chain/network/src/store/schema/tests.rs function borsh_wrapper_is_transparent (line 6) | fn borsh_wrapper_is_transparent() { FILE: chain/network/src/store/testonly.rs type Component (line 5) | pub struct Component { method normal (line 11) | pub fn normal(mut self) -> Self { method list_components (line 21) | pub fn list_components(&self) -> Vec { FILE: chain/network/src/stun/mod.rs type ServerAddr (line 13) | pub type ServerAddr = String; type Error (line 15) | pub(crate) type Error = stun::Error; constant QUERY_TIMEOUT (line 17) | const QUERY_TIMEOUT: time::Duration = time::Duration::seconds(5); function query (line 22) | pub(crate) async fn query( FILE: chain/network/src/stun/testonly.rs type TestAuthHandler (line 3) | struct TestAuthHandler; method auth_handle (line 6) | fn auth_handle( type Server (line 19) | pub(crate) struct Server { method new (line 28) | pub async fn new() -> Self { method addr (line 53) | pub fn addr(&self) -> super::ServerAddr { method close (line 58) | pub async fn close(self) { FILE: chain/network/src/stun/tests.rs function test_query (line 6) | async fn test_query() { FILE: chain/network/src/tcp.rs constant LISTENER_BACKLOG (line 9) | const LISTENER_BACKLOG: u32 = 128; type Tier (line 20) | pub enum Tier { type StreamType (line 31) | pub(crate) enum StreamType { type Stream (line 37) | pub struct Stream { method new (line 81) | fn new(stream: tokio::net::TcpStream, type_: StreamType) -> std::io::R... method connect (line 85) | pub async fn connect(peer_info: &PeerInfo, tier: Tier) -> anyhow::Resu... method loopback (line 108) | pub async fn loopback(peer_id: PeerId, tier: Tier) -> (Stream, Stream) { method id (line 118) | pub(crate) fn id(&self) -> StreamId { type StreamId (line 54) | pub(crate) struct StreamId { type Socket (line 60) | pub(crate) struct Socket(tokio::net::TcpSocket); method bind (line 64) | pub fn bind() -> Self { method connect (line 70) | pub async fn connect(self, peer_info: &PeerInfo, tier: Tier) -> Stream { type ListenerAddr (line 150) | pub struct ListenerAddr(std::net::SocketAddr); method fmt (line 153) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 159) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Target (line 165) | type Target = std::net::SocketAddr; method deref (line 166) | fn deref(&self) -> &Self::Target { method new (line 172) | pub fn new(addr: std::net::SocketAddr) -> Self { method reserve_for_test (line 182) | pub fn reserve_for_test() -> Self { method std_listener (line 193) | pub fn std_listener(&self) -> std::io::Result { method listener (line 198) | pub(crate) fn listener(&self) -> std::io::Result { type Listener (line 212) | pub(crate) struct Listener(tokio::net::TcpListener); method accept (line 215) | pub async fn accept(&mut self) -> std::io::Result { FILE: chain/network/src/test_loop.rs type SupportsRoutingLookup (line 6) | pub trait SupportsRoutingLookup { method index_for_account (line 7) | fn index_for_account(&self, account: &AccountId) -> usize; method index_for_account (line 11) | fn index_for_account(&self, account: &AccountId) -> usize { FILE: chain/network/src/test_utils.rs function peer_id_from_seed (line 25) | pub fn peer_id_from_seed(seed: &str) -> PeerId { function convert_boot_nodes (line 30) | pub fn convert_boot_nodes(boot_nodes: Vec<(&str, std::net::SocketAddr)>)... function wait_or_panic (line 42) | pub fn wait_or_panic(max_wait_ms: u64) { type WaitOrTimeoutActor (line 74) | pub struct WaitOrTimeoutActor { method new (line 82) | pub fn new( method wait_or_timeout (line 90) | fn wait_or_timeout(&mut self, ctx: &mut Context) { type Context (line 109) | type Context = Context; method started (line 111) | fn started(&mut self, ctx: &mut Context) { function wait_or_timeout (line 120) | pub async fn wait_or_timeout( function random_peer_id (line 146) | pub fn random_peer_id() -> PeerId { function random_epoch_id (line 152) | pub fn random_epoch_id() -> EpochId { function expected_routing_tables (line 157) | pub fn expected_routing_tables( type GetInfo (line 187) | pub struct GetInfo {} type Result (line 190) | type Result = crate::types::NetworkInfo; method handle (line 192) | fn handle(&mut self, msg: WithSpanContext, _ctx: &mut Context Self { type Result (line 212) | type Result = (); method handle (line 214) | fn handle( type MockPeerManagerAdapter (line 232) | pub struct MockPeerManagerAdapter { method send_async (line 240) | fn send_async( method send (line 252) | fn send(&self, msg: PeerManagerMessageRequest) { method send (line 259) | fn send(&self, _msg: SetChainInfo) {} method pop (line 263) | pub fn pop(&self) -> Option { method pop_most_recent (line 266) | pub fn pop_most_recent(&self) -> Option { method put_back_most_recent (line 269) | pub fn put_back_most_recent(&self, request: PeerManagerMessageRequest) { method handle_filtered (line 275) | pub fn handle_filtered( type SetAdvOptions (line 299) | pub struct SetAdvOptions { FILE: chain/network/src/testonly/fake_client.rs type Event (line 20) | pub enum Event { type Fake (line 35) | pub(crate) struct Fake { method tx_status_request (line 41) | async fn tx_status_request( method tx_status_response (line 49) | async fn tx_status_response(&self, _tx_result: FinalExecutionOutcomeVi... method state_request_header (line 51) | async fn state_request_header( method state_request_part (line 59) | async fn state_request_part( method state_response (line 76) | async fn state_response(&self, _info: StateResponseInfo) { method block_approval (line 80) | async fn block_approval(&self, approval: Approval, peer_id: PeerId) { method transaction (line 84) | async fn transaction(&self, transaction: SignedTransaction, _is_forwar... method block_request (line 88) | async fn block_request(&self, hash: CryptoHash) -> Option> { method block_headers_request (line 93) | async fn block_headers_request(&self, hashes: Vec) -> Opti... method block (line 98) | async fn block(&self, block: Block, _peer_id: PeerId, _was_requested: ... method block_headers (line 102) | async fn block_headers( method challenge (line 111) | async fn challenge(&self, challenge: Challenge) { method network_info (line 115) | async fn network_info(&self, _info: NetworkInfo) {} method announce_account (line 117) | async fn announce_account( method chunk_state_witness (line 125) | async fn chunk_state_witness(&self, witness: ChunkStateWitness) { method chunk_endorsement (line 129) | async fn chunk_endorsement(&self, endorsement: ChunkEndorsement) { method send (line 135) | fn send(&self, message: ShardsManagerRequestFromNetwork) { FILE: chain/network/src/testonly/mod.rs type Rng (line 12) | pub type Rng = rand_xorshift::XorShiftRng; function make_rng (line 14) | pub fn make_rng(seed: u64) -> Rng { type AsSet (line 18) | pub trait AsSet<'a, T> { method as_set (line 19) | fn as_set(&'a self) -> HashSet<&'a T>; function as_set (line 23) | fn as_set(&'a self) -> HashSet<&'a T> { function as_set (line 29) | fn as_set(&'a self) -> HashSet<&'a T> { function assert_is_superset (line 35) | pub fn assert_is_superset<'a, T: Debug + Hash + Eq>(sup: &HashSet<&'a T>... function abort_on_panic (line 48) | pub(crate) fn abort_on_panic() { FILE: chain/network/src/testonly/stream.rs type Stream (line 9) | pub struct Stream { method new (line 16) | pub fn new(force_encoding: Option, stream: tcp::Stream) -> S... method encoding (line 20) | fn encoding(&self) -> Option { method read (line 30) | pub async fn read(&mut self) -> Result { method write (line 54) | pub async fn write(&mut self, msg: &PeerMessage) { method write_encoded (line 63) | async fn write_encoded(&mut self, msg: &[u8]) { FILE: chain/network/src/types.rs constant ROUTED_MESSAGE_TTL (line 35) | pub const ROUTED_MESSAGE_TTL: u8 = 100; type PeerType (line 39) | pub enum PeerType { type KnownProducer (line 47) | pub struct KnownProducer { type ReasonForBan (line 57) | pub enum ReasonForBan { type Ban (line 78) | pub struct Ban { type KnownPeerStatus (line 85) | pub enum KnownPeerStatus { method is_banned (line 130) | pub fn is_banned(&self) -> bool { type KnownPeerState (line 100) | pub struct KnownPeerState { method new (line 111) | pub fn new(peer_info: PeerInfo, now: time::Utc) -> Self { type ConnectionInfo (line 123) | pub struct ConnectionInfo { type AccountKeys (line 138) | pub type AccountKeys = HashMap>; type ChainInfo (line 143) | pub struct ChainInfo { type SetChainInfo (line 157) | pub struct SetChainInfo(pub ChainInfo); type PeerManagerMessageRequest (line 162) | pub enum PeerManagerMessageRequest { method as_network_requests (line 174) | pub fn as_network_requests(self) -> NetworkRequests { method as_network_requests_ref (line 182) | pub fn as_network_requests_ref(&self) -> &NetworkRequests { type PeerManagerMessageResponse (line 193) | pub enum PeerManagerMessageResponse { method as_network_response (line 201) | pub fn as_network_response(self) -> NetworkResponses { method from (line 211) | fn from(msg: NetworkResponses) -> Self { type NetworkRequests (line 219) | pub enum NetworkRequests { type FullPeerInfo (line 268) | pub struct FullPeerInfo { type HighestHeightPeerInfo (line 276) | pub struct HighestHeightPeerInfo { function from (line 291) | fn from(p: FullPeerInfo) -> Self { type BlockInfo (line 308) | pub struct BlockInfo { type PeerChainInfo (line 317) | pub struct PeerChainInfo { type ConnectedPeerInfo (line 330) | pub struct ConnectedPeerInfo { type NetworkInfo (line 349) | pub struct NetworkInfo { type NetworkResponses (line 367) | pub enum NetworkResponses { type PeerManagerAdapter (line 373) | pub struct PeerManagerAdapter { method from (line 386) | fn from(arc: Arc) -> Self { constant ALLOWED_SIZE (line 400) | const ALLOWED_SIZE: usize = 1 << 20; constant NOTIFY_SIZE (line 401) | const NOTIFY_SIZE: usize = 1024; function test_size (line 414) | fn test_size() { function test_enum_size (line 435) | fn test_enum_size() { function test_struct_size (line 443) | fn test_struct_size() { function routed_message_body_compatibility_smoke_test (line 455) | fn routed_message_body_compatibility_smoke_test() { type AccountIdOrPeerTrackingShard (line 480) | pub struct AccountIdOrPeerTrackingShard { FILE: chain/pool/src/lib.rs type InsertTransactionResult (line 18) | pub enum InsertTransactionResult { type TransactionPool (line 28) | pub struct TransactionPool { method new (line 49) | pub fn new( method key (line 74) | fn key(&self, account_id: &AccountId, public_key: &PublicKey) -> PoolK... method insert_transaction (line 83) | pub fn insert_transaction( method pool_iterator (line 121) | pub fn pool_iterator(&mut self) -> PoolIteratorWrapper<'_> { method remove_transactions (line 129) | pub fn remove_transactions(&mut self, transactions: &[SignedTransactio... method len (line 170) | pub fn len(&self) -> usize { method transaction_size (line 175) | pub fn transaction_size(&self) -> u64 { type PoolIteratorWrapper (line 183) | pub struct PoolIteratorWrapper<'a> { function new (line 192) | pub fn new(pool: &'a mut TransactionPool) -> Self { method next (line 215) | fn next(&mut self) -> Option<&mut TransactionGroup> { method drop (line 273) | fn drop(&mut self) { constant TEST_SEED (line 309) | const TEST_SEED: RngSeed = [3; 32]; function generate_transactions (line 311) | fn generate_transactions( function process_txs_to_nonces (line 334) | fn process_txs_to_nonces( function sort_pairs (line 353) | fn sort_pairs(a: &mut [u64]) { function prepare_transactions (line 361) | fn prepare_transactions( function test_order_nonce (line 382) | fn test_order_nonce() { function test_order_nonce_two_signers (line 391) | fn test_order_nonce_two_signers() { function test_order_nonce_same_account_two_access_keys_variable_nonces (line 402) | fn test_order_nonce_same_account_two_access_keys_variable_nonces() { function test_retain (line 414) | fn test_retain() { function test_remove_transactions (line 427) | fn test_remove_transactions() { function test_pool_iterator (line 475) | fn test_pool_iterator() { function test_pool_iterator_removes_unique (line 501) | fn test_pool_iterator_removes_unique() { function test_pool_iterator_remembers_the_last_key (line 523) | fn test_pool_iterator_remembers_the_last_key() { function test_transaction_pool_size (line 563) | fn test_transaction_pool_size() { function test_transaction_pool_size_limit (line 583) | fn test_transaction_pool_size_limit() { FILE: chain/pool/src/types.rs type PoolIterator (line 8) | pub trait PoolIterator { method next (line 9) | fn next(&mut self) -> Option<&mut TransactionGroup>; type PoolKey (line 14) | pub(crate) type PoolKey = CryptoHash; type TransactionGroup (line 17) | pub struct TransactionGroup { method next (line 31) | pub fn next(&mut self) -> Option { FILE: chain/telemetry/src/lib.rs constant CONNECT_TIMEOUT (line 13) | const CONNECT_TIMEOUT: Duration = Duration::from_secs(10); type TelemetryConfig (line 16) | pub struct TelemetryConfig { function default_reporting_interval (line 23) | fn default_reporting_interval() -> std::time::Duration { method default (line 28) | fn default() -> Self { type TelemetryEvent (line 36) | pub struct TelemetryEvent { type TelemetryActor (line 40) | pub struct TelemetryActor { method new (line 53) | pub fn new(config: TelemetryConfig) -> Self { type Result (line 82) | type Result = (); method handle (line 85) | fn handle(&mut self, msg: WithSpanContext, _ctx: &mut ... method default (line 47) | fn default() -> Self { type Context (line 78) | type Context = Context; function telemetry (line 122) | pub fn telemetry(telemetry: &Addr, content: serde_json::... FILE: core/async/src/actix.rs function send (line 14) | fn send(&self, message: M) { function send_async (line 30) | fn send_async(&self, message: M) -> BoxFuture<'static, Result { type AddrWithAutoSpanContextExt (line 55) | pub trait AddrWithAutoSpanContextExt { method with_auto_span_context (line 56) | fn with_auto_span_context(self) -> AddrWithAutoSpanContext; function with_auto_span_context (line 60) | fn with_auto_span_context(self) -> AddrWithAutoSpanContext { function send (line 71) | fn send(&self, message: M) { function send_async (line 83) | fn send_async(&self, message: M) -> BoxFuture<'static, Result InnerRespo... type OuterComponent (line 32) | pub(crate) struct OuterComponent { method new (line 38) | pub fn new( method process_request (line 45) | pub fn process_request(&mut self, request: OuterRequest, future_spawne... FILE: core/async/src/examples/async_component_test.rs type TestData (line 18) | struct TestData { type TestEvent (line 26) | enum TestEvent { function outer_request_handler (line 35) | fn outer_request_handler( function inner_request_handler (line 43) | fn inner_request_handler( function test_async_component (line 54) | fn test_async_component() { FILE: core/async/src/examples/multi_instance_test.rs type TestData (line 16) | struct TestData { type TestEvent (line 22) | enum TestEvent { function forward_remote_request_to_other_instances (line 30) | fn forward_remote_request_to_other_instances() -> LoopEventHandler) -> Self { method handle (line 26) | pub fn handle(&mut self, msg: SumRequest) { FILE: core/async/src/examples/sum_numbers_test.rs type TestData (line 16) | struct TestData { type TestEvent (line 22) | enum TestEvent { function forward_sum_request (line 30) | pub fn forward_sum_request() -> LoopEventHandler>) -> Self { method send_message (line 15) | pub fn send_message(&mut self, msg: String) { method flush (line 21) | pub fn flush(&mut self) { FILE: core/async/src/examples/timed_component_test.rs type Flush (line 12) | struct Flush; type TestEvent (line 15) | enum TestEvent { type TestData (line 22) | struct TestData { function forward_send_message (line 27) | fn forward_send_message() -> LoopEventHandler { function test_timed_component (line 34) | fn test_timed_component() { FILE: core/async/src/futures.rs type FutureSpawner (line 12) | pub trait FutureSpawner { method spawn_boxed (line 13) | fn spawn_boxed(&self, description: &'static str, f: BoxFuture<'static,... method spawn_boxed (line 30) | fn spawn_boxed(&self, description: &'static str, f: BoxFuture<'static,... function spawn (line 18) | pub fn spawn(&self, description: &'static str, f: F) type ActixFutureSpawner (line 27) | pub struct ActixFutureSpawner; FILE: core/async/src/messaging.rs type CanSend (line 6) | pub trait CanSend: Send + Sync + 'static { method send (line 7) | fn send(&self, message: M); type Sender (line 13) | pub struct Sender { method clone (line 18) | fn clone(&self) -> Self { type IntoSender (line 24) | pub trait IntoSender { method into_sender (line 26) | fn into_sender(self) -> Sender; method as_sender (line 28) | fn as_sender(self: &Arc) -> Sender; method into_sender (line 32) | fn into_sender(self) -> Sender { method as_sender (line 35) | fn as_sender(self: &Arc) -> Sender { function send (line 41) | pub fn send(&self, message: M) { function from_impl (line 45) | fn from_impl(sender: impl CanSend + 'static) -> Self { function from_arc (line 49) | fn from_arc + 'static>(arc: Arc) -> Self { function noop (line 54) | pub fn noop() -> Self { type CanSendAsync (line 60) | pub trait CanSendAsync: Send + Sync + 'static { method send_async (line 61) | fn send_async(&self, message: M) -> BoxFuture<'static, R>; type AsyncSender (line 64) | pub struct AsyncSender { method clone (line 69) | fn clone(&self) -> Self { type IntoAsyncSender (line 75) | pub trait IntoAsyncSender { method into_async_sender (line 77) | fn into_async_sender(self) -> AsyncSender; method as_async_sender (line 79) | fn as_async_sender(self: &Arc) -> AsyncSender; method into_async_sender (line 83) | fn into_async_sender(self) -> AsyncSender { method as_async_sender (line 86) | fn as_async_sender(self: &Arc) -> AsyncSender { function send_async (line 92) | pub fn send_async(&self, message: M) -> BoxFuture<'static, R> { function from_impl (line 96) | fn from_impl(sender: impl CanSendAsync + 'static) -> Self { function from_arc (line 100) | fn from_arc + 'static>(arc: Arc) -> Self { type LateBoundSender (line 115) | pub struct LateBoundSender { method default (line 120) | fn default() -> Self { function bind (line 126) | pub fn bind(&self, sender: S) { function send (line 133) | fn send(&self, message: M) { function send_async (line 141) | fn send_async(&self, message: M) -> BoxFuture<'static, R> { type Noop (line 146) | struct Noop; method send (line 149) | fn send(&self, _message: M) {} method send (line 170) | fn send(&self, message: M) { method send_async (line 177) | fn send_async(&self, message: M) -> BoxFuture<'static, R> { FILE: core/async/src/test_loop.rs type TestLoop (line 96) | pub struct TestLoop { type EventInHeap (line 125) | struct EventInHeap { method eq (line 132) | fn eq(&self, other: &Self) -> bool { method partial_cmp (line 140) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 146) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { type EventInFlight (line 155) | struct EventInFlight { type TestLoopBuilder (line 164) | pub struct TestLoopBuilder { function new (line 171) | pub fn new() -> Self { function sender (line 185) | pub fn sender(&self) -> DelaySender { function clock (line 190) | pub fn clock(&self) -> time::Clock { function future_spawner (line 195) | pub fn future_spawner(&self) -> TestLoopFutureSpawner function build (line 202) | pub fn build(self, data: Data) -> TestLoop { type EventStartLogOutput (line 211) | struct EventStartLogOutput { function new (line 225) | fn new( function sender (line 244) | pub fn sender(&self) -> DelaySender { function register_handler (line 249) | pub fn register_handler(&mut self, handler: LoopEventHandler { method fmt (line 21) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type AdhocEventSender (line 27) | pub trait AdhocEventSender { method send_adhoc_event (line 28) | fn send_adhoc_event(&self, description: &str, f: impl FnOnce(&mut Data... method schedule_adhoc_event (line 29) | fn schedule_adhoc_event( function send_adhoc_event (line 40) | fn send_adhoc_event(&self, description: &str, f: impl FnOnce(&mut Data) ... function schedule_adhoc_event (line 43) | fn schedule_adhoc_event( function handle_adhoc_events (line 57) | pub fn handle_adhoc_events(Arc(self) -> DelaySender function for_index (line 38) | pub fn for_index(self, index: usize) -> DelaySender { method clone (line 47) | fn clone(&self) -> Self { FILE: core/async/src/test_loop/event_handler.rs type LoopHandlerContext (line 5) | pub struct LoopHandlerContext { type LoopEventHandler (line 16) | pub struct LoopEventHandler { function new (line 25) | pub fn new( function new_simple (line 40) | pub fn new_simple(mut handler: impl FnMut(Event, &mut Data) + 'static) -... function new_with_initial_event (line 49) | pub fn new_with_initial_event( function widen (line 70) | pub fn widen< function for_index (line 82) | pub fn for_index(self, index: usize) -> LoopEventHandler, (usi... function init (line 86) | pub(crate) fn init(&mut self, context: LoopHandlerContext) { function handle (line 90) | pub(crate) fn handle(&mut self, event: Event, data: &mut Data) -> Result... function try_drop (line 94) | pub(crate) fn try_drop(&self, event: Event) -> Result<(), Event> { type LoopEventHandlerImpl (line 100) | pub(crate) trait LoopEventHandlerImpl { method init (line 102) | fn init(&mut self, context: LoopHandlerContext); method handle (line 104) | fn handle(&mut self, event: Event, data: &mut Data) -> Result<(), Event>; method try_drop (line 112) | fn try_drop(&self, event: Event) -> Result<(), Event>; type LoopEventHandlerImplByFunction (line 118) | struct LoopEventHandlerImplByFunction { function init (line 128) | fn init(&mut self, context: LoopHandlerContext) { function handle (line 135) | fn handle(&mut self, event: Event, data: &mut Data) -> Result<(), Event> { function try_drop (line 140) | fn try_drop(&self, event: Event) -> Result<(), Event> { type TryIntoOrSelf (line 151) | pub trait TryIntoOrSelf: Sized { method try_into_or_self (line 152) | fn try_into_or_self(self) -> Result; method try_into_or_self (line 156) | fn try_into_or_self(self) -> Result { type WideningEventHandler (line 162) | struct WideningEventHandler(LoopEventHand... function init (line 171) | fn init(&mut self, context: LoopHandlerContext) { function handle (line 175) | fn handle(&mut self, event: OuterEvent, data: &mut OuterData) -> Result<... function try_drop (line 182) | fn try_drop(&self, event: OuterEvent) -> Result<(), OuterEvent> { function capture_events (line 194) | pub fn capture_events() -> LoopEventHandler, Event> { function interval (line 201) | pub fn interval( FILE: core/async/src/test_loop/futures.rs type MessageExpectingResponse (line 52) | pub struct MessageExpectingResponse { method fmt (line 58) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function send_async (line 69) | fn send_async(&self, message: Message) -> BoxFuture<'static, Response> { type TestLoopTask (line 81) | pub struct TestLoopTask { method wake_by_ref (line 88) | fn wake_by_ref(arc_self: &Arc) { method fmt (line 95) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function drive_futures (line 102) | pub fn drive_futures() -> LoopEventHandler<(), Arc> { type TestLoopFutureSpawner (line 122) | pub type TestLoopFutureSpawner = DelaySender>; method spawn_boxed (line 125) | fn spawn_boxed(&self, description: &str, f: BoxFuture<'static, ()>) { FILE: core/async/src/test_loop/multi_instance.rs type IndexedLoopEventHandler (line 8) | pub(crate) struct IndexedLoopEventHandler { function init (line 16) | fn init(&mut self, context: LoopHandlerContext<(usize, Event)>) { function handle (line 23) | fn handle( function try_drop (line 35) | fn try_drop(&self, event: (usize, Event)) -> Result<(), (usize, Event)> { FILE: core/async/src/time.rs type Instant (line 32) | pub type Instant = time::Instant; type Utc (line 37) | pub type Utc = time::OffsetDateTime; type Duration (line 38) | pub type Duration = time::Duration; constant FAKE_CLOCK_UTC_START (line 47) | const FAKE_CLOCK_UTC_START: Lazy = Lazy::new(|| Utc::from_unix_time... type Deadline (line 51) | pub enum Deadline { method from (line 57) | fn from(t: Instant) -> Deadline { type ClockInner (line 63) | enum ClockInner { type Clock (line 76) | pub struct Clock(ClockInner); method real (line 82) | pub fn real() -> Clock { method now (line 87) | pub fn now(&self) -> Instant { method now_utc (line 95) | pub fn now_utc(&self) -> Utc { method sleep_until_deadline (line 103) | pub async fn sleep_until_deadline(&self, t: Deadline) { method sleep_until (line 111) | pub async fn sleep_until(&self, t: Instant) { method sleep (line 119) | pub async fn sleep(&self, d: Duration) { type FakeClockInner (line 127) | struct FakeClockInner { method new (line 138) | pub fn new(utc: Utc) -> Self { method now (line 143) | pub fn now(&mut self) -> Instant { method now_utc (line 146) | pub fn now_utc(&mut self) -> Utc { method advance (line 149) | pub fn advance(&mut self, d: Duration) { method advance_until (line 158) | pub fn advance_until(&mut self, t: Instant) { type FakeClock (line 170) | pub struct FakeClock(Arc>); method new (line 177) | pub fn new(utc: Utc) -> Self { method now (line 180) | pub fn now(&self) -> Instant { method now_utc (line 184) | pub fn now_utc(&self) -> Utc { method advance (line 187) | pub fn advance(&self, d: Duration) { method advance_until (line 190) | pub fn advance_until(&self, t: Instant) { method clock (line 193) | pub fn clock(&self) -> Clock { method set_utc (line 196) | pub fn set_utc(&self, utc: Utc) { method sleep (line 201) | pub async fn sleep(&self, d: Duration) { method sleep_until (line 210) | pub async fn sleep_until(&self, t: Instant) { method default (line 219) | fn default() -> FakeClock { type Interval (line 226) | pub struct Interval { method new (line 234) | pub fn new(next: time::Instant, period: time::Duration) -> Self { method tick (line 239) | pub async fn tick(&mut self, clock: &Clock) { FILE: core/chain-configs/src/client_config.rs constant TEST_STATE_SYNC_TIMEOUT (line 12) | pub const TEST_STATE_SYNC_TIMEOUT: u64 = 5; type LogSummaryStyle (line 15) | pub enum LogSummaryStyle { constant MIN_GC_NUM_EPOCHS_TO_KEEP (line 23) | pub const MIN_GC_NUM_EPOCHS_TO_KEEP: u64 = 3; constant DEFAULT_GC_NUM_EPOCHS_TO_KEEP (line 26) | pub const DEFAULT_GC_NUM_EPOCHS_TO_KEEP: u64 = 5; constant DEFAULT_STATE_SYNC_NUM_CONCURRENT_REQUESTS_EXTERNAL (line 29) | pub const DEFAULT_STATE_SYNC_NUM_CONCURRENT_REQUESTS_EXTERNAL: u32 = 25; constant DEFAULT_STATE_SYNC_NUM_CONCURRENT_REQUESTS_ON_CATCHUP_EXTERNAL (line 30) | pub const DEFAULT_STATE_SYNC_NUM_CONCURRENT_REQUESTS_ON_CATCHUP_EXTERNAL... type GCConfig (line 35) | pub struct GCConfig { method gc_num_epochs_to_keep (line 59) | pub fn gc_num_epochs_to_keep(&self) -> u64 { method default (line 49) | fn default() -> Self { function default_num_concurrent_requests (line 64) | fn default_num_concurrent_requests() -> u32 { function default_num_concurrent_requests_during_catchup (line 68) | fn default_num_concurrent_requests_during_catchup() -> u32 { type ExternalStorageConfig (line 73) | pub struct ExternalStorageConfig { type ExternalStorageLocation (line 87) | pub enum ExternalStorageLocation { type DumpConfig (line 104) | pub struct DumpConfig { type SyncConfig (line 122) | pub enum SyncConfig { method is_default (line 147) | fn is_default(&self) -> bool { method default (line 130) | fn default() -> Self { type StateSyncConfig (line 137) | pub struct StateSyncConfig { type ReshardingHandle (line 155) | pub struct ReshardingHandle { method new (line 160) | pub fn new() -> Self { method get (line 164) | pub fn get(&self) -> bool { method stop (line 168) | pub fn stop(&self) -> () { type ReshardingConfig (line 176) | pub struct ReshardingConfig { method default (line 202) | fn default() -> Self { function default_header_sync_initial_timeout (line 218) | pub fn default_header_sync_initial_timeout() -> Duration { function default_header_sync_progress_timeout (line 222) | pub fn default_header_sync_progress_timeout() -> Duration { function default_header_sync_stall_ban_timeout (line 226) | pub fn default_header_sync_stall_ban_timeout() -> Duration { function default_state_sync_timeout (line 230) | pub fn default_state_sync_timeout() -> Duration { function default_header_sync_expected_height_per_second (line 234) | pub fn default_header_sync_expected_height_per_second() -> u64 { function default_sync_check_period (line 238) | pub fn default_sync_check_period() -> Duration { function default_sync_step_period (line 242) | pub fn default_sync_step_period() -> Duration { function default_sync_height_threshold (line 246) | pub fn default_sync_height_threshold() -> u64 { function default_state_sync (line 250) | pub fn default_state_sync() -> Option { function default_state_sync_enabled (line 262) | pub fn default_state_sync_enabled() -> bool { function default_view_client_threads (line 266) | pub fn default_view_client_threads() -> usize { function default_log_summary_period (line 270) | pub fn default_log_summary_period() -> Duration { function default_view_client_throttle_period (line 274) | pub fn default_view_client_throttle_period() -> Duration { function default_trie_viewer_state_size_limit (line 278) | pub fn default_trie_viewer_state_size_limit() -> Option { function default_transaction_pool_size_limit (line 282) | pub fn default_transaction_pool_size_limit() -> Option { function default_tx_routing_height_horizon (line 286) | pub fn default_tx_routing_height_horizon() -> BlockHeightDelta { function default_enable_multiline_logging (line 290) | pub fn default_enable_multiline_logging() -> Option { function default_produce_chunk_add_transactions_time_limit (line 294) | pub fn default_produce_chunk_add_transactions_time_limit() -> Option Rational32 { function default_online_max_threshold (line 43) | fn default_online_max_threshold() -> Rational32 { function default_minimum_pledge_divisor (line 47) | fn default_minimum_pledge_divisor() -> u64 { function default_protocol_upgrade_pledge_threshold (line 51) | fn default_protocol_upgrade_pledge_threshold() -> Rational32 { function default_shard_layout (line 55) | fn default_shard_layout() -> ShardLayout { function default_minimum_pledge_ratio (line 59) | fn default_minimum_pledge_ratio() -> Rational32 { function default_minimum_validators_per_shard (line 63) | fn default_minimum_validators_per_shard() -> u64 { function default_num_chunk_only_producer_seats (line 67) | fn default_num_chunk_only_producer_seats() -> u64 { function default_use_production_config (line 71) | fn default_use_production_config() -> bool { function default_max_kickout_pledge_threshold (line 75) | fn default_max_kickout_pledge_threshold() -> u8 { type GenesisConfig (line 80) | pub struct GenesisConfig { method use_production_config (line 182) | pub fn use_production_config(&self) -> bool { method from_json (line 295) | pub fn from_json(value: &str) -> Self { method from_file (line 307) | pub fn from_file>(path: P) -> anyhow::Result { method to_file (line 319) | pub fn to_file>(&self, path: P) { method validators (line 328) | pub fn validators(&self) -> Vec { method from (line 190) | fn from(config: &GenesisConfig) -> Self { type GenesisRecords (line 227) | pub struct GenesisRecords(pub Vec); method from_json (line 347) | pub fn from_json(value: &str) -> Self { method from_file (line 355) | pub fn from_file>(path: P) -> Self { method to_file (line 368) | pub fn to_file>(&self, path: P) { function no_value_and_null_as_default (line 233) | fn no_value_and_null_as_default<'de, D, T>(de: D) -> Result type GenesisContents (line 247) | pub enum GenesisContents { function contents_are_from_record_file (line 265) | fn contents_are_from_record_file(contents: &GenesisContents) -> bool { type Genesis (line 277) | pub struct Genesis { method new (line 509) | pub fn new(config: GenesisConfig, records: GenesisRecords) -> Result>( method from_file (line 522) | pub fn from_file>( method from_files (line 555) | pub fn from_files( method new_from_state_roots (line 571) | pub fn new_from_state_roots(config: GenesisConfig, state_roots: Vec>( method validate (line 600) | pub fn validate( method to_file (line 614) | pub fn to_file>(&self, path: P) { method json_hash (line 624) | pub fn json_hash(&self) -> CryptoHash { method for_each_record (line 632) | pub fn for_each_record(&self, mut callback: impl FnMut(&StateRecord)) { method force_read_records (line 663) | pub fn force_read_records(&mut self) -> &mut GenesisRecords { type RecordsProcessor (line 381) | struct RecordsProcessor { type Value (line 386) | type Value = (); function expecting (line 388) | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { function visit_seq (line 396) | fn visit_seq(self, mut seq: A) -> Result function visit_map (line 406) | fn visit_map(self, mut map: A) -> Result type Value (line 434) | type Value = (); function deserialize (line 436) | fn deserialize(self, deserializer: D) -> Result function stream_records_from_file (line 445) | pub fn stream_records_from_file( type GenesisJsonHasher (line 455) | pub struct GenesisJsonHasher { method new (line 460) | pub fn new() -> Self { method process_config (line 464) | pub fn process_config(&mut self, config: &GenesisConfig) { method process_record (line 469) | pub fn process_record(&mut self, record: &StateRecord) { method process_state_roots (line 474) | pub fn process_state_roots(&mut self, state_roots: &[StateRoot]) { method process_genesis (line 484) | pub fn process_genesis(&mut self, genesis: &Genesis) { method finalize (line 498) | pub fn finalize(self) -> CryptoHash { type GenesisValidationMode (line 503) | pub enum GenesisValidationMode { type GenesisChangeConfig (line 685) | pub struct GenesisChangeConfig { method with_select_account_ids (line 691) | pub fn with_select_account_ids(mut self, select_account_ids: Option Self { type ProtocolConfig (line 783) | pub struct ProtocolConfig { function get_initial_supply (line 828) | pub fn get_initial_supply(records: &[StateRecord]) -> Balance { function stream_records_from_json_str (line 845) | fn stream_records_from_json_str(genesis: &str) -> serde_json::Result<()> { function test_genesis_with_empty_records (line 852) | fn test_genesis_with_empty_records() { function test_genesis_with_no_records (line 863) | fn test_genesis_with_no_records() { function test_genesis_with_several_records_fields (line 873) | fn test_genesis_with_several_records_fields() { function test_genesis_with_fields_after_records (line 904) | fn test_genesis_with_fields_after_records() { function test_genesis_with_fields_before_records (line 930) | fn test_genesis_with_fields_before_records() { function test_genesis_with_several_records (line 956) | fn test_genesis_with_several_records() { function test_loading_localnet_genesis (line 993) | fn test_loading_localnet_genesis() { function test_loading_localnet_genesis_without_records (line 1111) | fn test_loading_localnet_genesis_without_records() { FILE: core/chain-configs/src/genesis_validate.rs function validate_genesis (line 10) | pub fn validate_genesis(genesis: &Genesis) -> Result<(), ValidationError> { type GenesisValidator (line 27) | struct GenesisValidator<'a> { function new (line 38) | pub fn new( function process_record (line 53) | pub fn process_record(&mut self, record: &StateRecord) { function validate_processed_records (line 82) | pub fn validate_processed_records(&mut self) { function result_with_full_error (line 188) | fn result_with_full_error(&self) -> Result<(), ValidationError> { constant VALID_ED25519_RISTRETTO_KEY (line 207) | const VALID_ED25519_RISTRETTO_KEY: &str = "ed25519:KuTCtARNzxZQ3YvXDeLjx... function create_account (line 209) | fn create_account() -> Account { function test_total_supply_not_match (line 215) | fn test_total_supply_not_match() { function test_invalid_staking_key (line 233) | fn test_invalid_staking_key() { function test_validator_not_match (line 251) | fn test_validator_not_match() { function test_empty_validator (line 270) | fn test_empty_validator() { function test_access_key_with_nonexistent_account (line 282) | fn test_access_key_with_nonexistent_account() { function test_more_than_one_contract (line 305) | fn test_more_than_one_contract() { FILE: core/chain-configs/src/updateable_config.rs type MutableConfigValue (line 13) | pub struct MutableConfigValue { method serialize (line 27) | fn serialize(&self, serializer: S) -> Result function new (line 40) | pub fn new(val: T, field_name: &str) -> Self { function get (line 51) | pub fn get(&self) -> T { function update (line 55) | pub fn update(&self, val: T) { function set_metric_value (line 68) | fn set_metric_value(&self, value: T, metric_value: i64) { function set_metric_value (line 85) | fn set_metric_value(&self, _value: T, _metric_value: i64) {} type UpdateableClientConfig (line 90) | pub struct UpdateableClientConfig { FILE: core/crypto/src/errors.rs type ParseKeyTypeError (line 4) | pub enum ParseKeyTypeError { type ParseKeyError (line 10) | pub enum ParseKeyError { method from (line 20) | fn from(err: ParseKeyTypeError) -> Self { type ParseSignatureError (line 30) | pub enum ParseSignatureError { method from (line 40) | fn from(err: ParseKeyTypeError) -> Self { type ImplicitPublicKeyError (line 50) | pub enum ImplicitPublicKeyError { FILE: core/crypto/src/hash.rs type Hash256 (line 9) | pub struct Hash256(VarBlake2b); method default (line 12) | fn default() -> Self { method update (line 18) | fn update(&mut self, data: impl AsRef<[u8]>) { type BlockSize (line 24) | type BlockSize = ::BlockSize; type OutputSize (line 28) | type OutputSize = U32; method finalize_into (line 30) | fn finalize_into(self, out: &mut GenericArray) { method finalize_into_reset (line 36) | fn finalize_into_reset(&mut self, out: &mut GenericArray(self, digest: D) -> D; method hash_into (line 58) | fn hash_into(self, digest: D) -> D { method hash_into (line 64) | fn hash_into(self, digest: D) -> D { method hash_into (line 70) | fn hash_into(self, digest: D) -> D { function _hash_new (line 75) | pub fn _hash_new() -> D { function _hash_chain (line 79) | pub fn _hash_chain(digest: D, data: T) -> D { function _hash_result (line 83) | pub fn _hash_result>(digest: D) -> [u8;... function _hash_to_scalar (line 87) | pub fn _hash_to_scalar(hash: [u8; 32]) -> Scalar { function _prs_result (line 112) | pub fn _prs_result(digest: Hash512) -> Scalar { function test_hashes (line 130) | fn test_hashes() { FILE: core/crypto/src/key_conversion.rs function is_valid_staking_key (line 6) | pub fn is_valid_staking_key(public_key: &PublicKey) -> bool { function is_valid_challenge_key (line 14) | pub fn is_valid_challenge_key(public_key: &PublicKey) -> bool { function convert_public_key (line 21) | pub fn convert_public_key(key: &signature::ED25519PublicKey) -> Option vrf::Sec... function test_conversion (line 43) | fn test_conversion() { FILE: core/crypto/src/key_file.rs type KeyFile (line 9) | pub struct KeyFile { method write_to_file (line 20) | pub fn write_to_file(&self, path: &Path) -> io::Result<()> { method create (line 27) | fn create(path: &Path) -> io::Result { method create (line 33) | fn create(path: &Path) -> io::Result { method from_file (line 37) | pub fn from_file(path: &Path) -> io::Result { constant ACCOUNT_ID (line 52) | const ACCOUNT_ID: &str = "example"; constant SECRET_KEY (line 53) | const SECRET_KEY: &str = "ed25519:3D4YudUahN1nawWogh8pAKSj92sUNMdbZGjn7k... constant KEY_FILE_CONTENTS (line 54) | const KEY_FILE_CONTENTS: &str = r#"{ function test_to_file (line 61) | fn test_to_file() { function test_from_file (line 82) | fn test_from_file() { FILE: core/crypto/src/signature.rs type KeyType (line 20) | pub enum KeyType { type Error (line 51) | type Error = crate::errors::ParseKeyTypeError; method try_from (line 53) | fn try_from(value: u8) -> Result { method fmt (line 27) | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { type Err (line 37) | type Err = crate::errors::ParseKeyTypeError; method from_str (line 39) | fn from_str(value: &str) -> Result { function split_key_type_data (line 65) | fn split_key_type_data(value: &str) -> Result<(KeyType, &str), crate::er... constant RAW_PUBLIC_KEY_RSA_2048_LENGTH (line 75) | const RAW_PUBLIC_KEY_RSA_2048_LENGTH: usize = 294; type Rsa2048PublicKey (line 79) | pub struct Rsa2048PublicKey([u8; RAW_PUBLIC_KEY_RSA_2048_LENGTH]); type Error (line 82) | type Error = crate::errors::ParseKeyError; function try_from (line 84) | fn try_from(data: &[u8]) -> Result { function fmt (line 93) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... constant PUBLIC_KEY_SECP256K1_LENGTH (line 99) | const PUBLIC_KEY_SECP256K1_LENGTH: usize = 64; type Secp256K1PublicKey (line 104) | pub struct Secp256K1PublicKey([u8; PUBLIC_KEY_SECP256K1_LENGTH]); type Error (line 107) | type Error = crate::errors::ParseKeyError; method try_from (line 109) | fn try_from(data: &[u8]) -> Result { method fmt (line 118) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... type ED25519PublicKey (line 126) | pub struct ED25519PublicKey(pub [u8; ed25519_dalek::PUBLIC_KEY_LENGTH]); type Error (line 129) | type Error = crate::errors::ParseKeyError; method try_from (line 131) | fn try_from(data: &[u8]) -> Result { method fmt (line 140) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... type PublicKey (line 148) | pub enum PublicKey { method len (line 160) | pub fn len(&self) -> usize { method empty (line 169) | pub fn empty(key_type: KeyType) -> Self { method key_type (line 183) | pub fn key_type(&self) -> KeyType { method key_data (line 191) | pub fn key_data(&self) -> &[u8] { method unwrap_as_ed25519 (line 199) | pub fn unwrap_as_ed25519(&self) -> &ED25519PublicKey { method unwrap_as_secp256k1 (line 206) | pub fn unwrap_as_secp256k1(&self) -> &Secp256K1PublicKey { method unwrap_as_rsa2048 (line 213) | pub fn unwrap_as_rsa2048(&self) -> &Rsa2048PublicKey { method serialize (line 298) | fn serialize( method deserialize (line 310) | fn deserialize(deserializer: D) -> Result Self { method from (line 340) | fn from(secp256k1: Secp256K1PublicKey) -> Self { method from (line 346) | fn from(rsa2048: Rsa2048PublicKey) -> Self { method hash (line 224) | fn hash(&self, state: &mut H) { method fmt (line 243) | fn fmt(&self, fmt: &mut Formatter) -> std::fmt::Result { method fmt (line 254) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... method serialize (line 260) | fn serialize(&self, writer: &mut W) -> Result<(), Error> { method deserialize_reader (line 280) | fn deserialize_reader(rd: &mut R) -> std::io::Result { type Err (line 321) | type Err = crate::errors::ParseKeyError; method from_str (line 323) | fn from_str(value: &str) -> Result { type ED25519SecretKey (line 355) | pub struct ED25519SecretKey(pub [u8; ed25519_dalek::KEYPAIR_LENGTH]); method fmt (line 364) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... method eq (line 358) | fn eq(&self, other: &Self) -> bool { constant PRIVTAE_KEY_DEFAULT_RSA_KEY_BITS (line 369) | pub(crate) const PRIVTAE_KEY_DEFAULT_RSA_KEY_BITS: usize = 2048; type SecretKey (line 373) | pub enum SecretKey { method key_type (line 380) | pub fn key_type(&self) -> KeyType { method from_random (line 388) | pub fn from_random(key_type: KeyType) -> SecretKey { method sign (line 401) | pub fn sign(&self, data: &[u8]) -> Signature { method public_key (line 428) | pub fn public_key(&self) -> PublicKey { method unwrap_as_ed25519 (line 449) | pub fn unwrap_as_ed25519(&self) -> &ED25519SecretKey { method fmt (line 458) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... method serialize (line 500) | fn serialize( method deserialize (line 512) | fn deserialize(deserializer: D) -> Result Result { constant SECP256K1_N (line 521) | const SECP256K1_N: U256 = constant SECP256K1_N_HALF_ONE (line 525) | const SECP256K1_N_HALF_ONE: U256 = constant SECP256K1_SIGNATURE_LENGTH (line 528) | const SECP256K1_SIGNATURE_LENGTH: usize = 65; type Secp256K1Signature (line 531) | pub struct Secp256K1Signature([u8; SECP256K1_SIGNATURE_LENGTH]); method check_signature_values (line 534) | pub fn check_signature_values(&self, reject_upper: bool) -> bool { method recover (line 553) | pub fn recover( type Error (line 581) | type Error = crate::errors::ParseSignatureError; method try_from (line 583) | fn try_from(data: &[u8]) -> Result { method fmt (line 592) | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { constant RSA2048_SIGNATURE_LENGTH (line 598) | const RSA2048_SIGNATURE_LENGTH: usize = 256; type Rsa2048Signature (line 601) | pub struct Rsa2048Signature([u8; RSA2048_SIGNATURE_LENGTH]); type Error (line 604) | type Error = crate::errors::ParseSignatureError; method try_from (line 606) | fn try_from(data: &[u8]) -> Result { method fmt (line 615) | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { type Signature (line 622) | pub enum Signature { method from_parts (line 642) | pub fn from_parts( method verify (line 673) | pub fn verify(&self, data: &[u8], public_key: &PublicKey) -> bool { method key_type (line 723) | pub fn key_type(&self) -> KeyType { method serialize (line 809) | fn serialize( method deserialize (line 838) | fn deserialize(deserializer: D) -> Result(&self, state: &mut H) { method default (line 733) | fn default() -> Self { method serialize (line 739) | fn serialize(&self, writer: &mut W) -> Result<(), Error> { method deserialize_reader (line 759) | fn deserialize_reader(rd: &mut R) -> std::io::Result { method fmt (line 788) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... method fmt (line 803) | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { type Err (line 821) | type Err = crate::errors::ParseSignatureError; method from_str (line 823) | fn from_str(value: &str) -> Result { type Bs58 (line 853) | struct Bs58<'a>(&'a [u8]); function fmt (line 856) | fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { function decode_bs58 (line 874) | fn decode_bs58(encoded: &str) -> Result<[u8; N], DecodeB... function decode_bs58_impl (line 880) | fn decode_bs58_impl(dst: &mut [u8], encoded: &str) -> Result<(), DecodeB... function parse_bs58_data (line 892) | fn parse_bs58_data(max_len: usize, encoded: &str) -> Result, Dec... type DecodeBs58Error (line 909) | enum DecodeBs58Error { function from (line 915) | fn from(err: DecodeBs58Error) -> Self { function from (line 929) | fn from(err: DecodeBs58Error) -> Self { function test_sign_verify (line 944) | fn test_sign_verify() { function signature_verify_fuzzer (line 956) | fn signature_verify_fuzzer() { function regression_signature_verification_originally_failed (line 976) | fn regression_signature_verification_originally_failed() { function test_json_serialize_ed25519 (line 982) | fn test_json_serialize_ed25519() { function test_json_serialize_secp256k1 (line 1009) | fn test_json_serialize_secp256k1() { function test_json_serialize_rsa2048 (line 1035) | fn test_json_serialize_rsa2048() { function test_borsh_serialization (line 1061) | fn test_borsh_serialization() { function test_invalid_data (line 1080) | fn test_invalid_data() { function test_invalid_rsa_data (line 1088) | fn test_invalid_rsa_data() { FILE: core/crypto/src/signer.rs type Signer (line 10) | pub trait Signer: Sync + Send { method public_key (line 11) | fn public_key(&self) -> PublicKey; method sign (line 12) | fn sign(&self, data: &[u8]) -> Signature; method verify (line 14) | fn verify(&self, data: &[u8], signature: &Signature) -> bool { method compute_vrf_with_proof (line 18) | fn compute_vrf_with_proof(&self, _data: &[u8]) -> (crate::vrf::Value, ... method write_to_file (line 21) | fn write_to_file(&self, _path: &Path) -> io::Result<()> { method public_key (line 30) | fn public_key(&self) -> PublicKey { method sign (line 34) | fn sign(&self, _data: &[u8]) -> Signature { method compute_vrf_with_proof (line 38) | fn compute_vrf_with_proof(&self, _data: &[u8]) -> (crate::vrf::Value, ... method public_key (line 67) | fn public_key(&self) -> PublicKey { method sign (line 71) | fn sign(&self, data: &[u8]) -> Signature { method compute_vrf_with_proof (line 75) | fn compute_vrf_with_proof(&self, data: &[u8]) -> (crate::vrf::Value, c... method write_to_file (line 80) | fn write_to_file(&self, path: &Path) -> io::Result<()> { type EmptySigner (line 27) | pub struct EmptySigner {} type InMemorySigner (line 45) | pub struct InMemorySigner { method from_seed (line 52) | pub fn from_seed(account_id: AccountId, key_type: KeyType, seed: &str)... method from_secret_key (line 57) | pub fn from_secret_key(account_id: AccountId, secret_key: SecretKey) -... method from_file (line 61) | pub fn from_file(path: &Path) -> io::Result { method from (line 86) | fn from(key_file: KeyFile) -> Self { method from (line 96) | fn from(signer: &InMemorySigner) -> KeyFile { method from (line 106) | fn from(signer: Arc) -> KeyFile { FILE: core/crypto/src/test_utils.rs function ed25519_key_pair_from_seed (line 10) | fn ed25519_key_pair_from_seed(seed: &str) -> ed25519_dalek::SigningKey { function secp256k1_secret_key_from_seed (line 18) | fn secp256k1_secret_key_from_seed(seed: &str) -> secp256k1::SecretKey { function rsa2048_secret_key_from_seed (line 27) | fn rsa2048_secret_key_from_seed(seed: &str) -> rsa::RsaPrivateKey { method from_seed (line 37) | pub fn from_seed(key_type: KeyType, seed: &str) -> Self { method from_seed (line 56) | pub fn from_seed(key_type: KeyType, seed: &str) -> Self { constant SIG (line 68) | const SIG: [u8; ed25519_dalek::SIGNATURE_LENGTH] = [0u8; ed25519_dalek::... method empty (line 72) | pub fn empty(key_type: KeyType) -> Self { method from_random (line 81) | pub fn from_random(account_id: AccountId, key_type: KeyType) -> Self { FILE: core/crypto/src/util.rs function vmul2 (line 12) | pub fn vmul2(s1: Scalar, p1: &Point, s2: Scalar, p2: &Point) -> Point { type Packable (line 16) | pub trait Packable: Sized { method unpack (line 18) | fn unpack(data: &Self::Packed) -> Option; method pack (line 19) | fn pack(&self) -> Self::Packed; type Packed (line 27) | type Packed = [u8; 32]; method unpack (line 29) | fn unpack(data: &[u8; 32]) -> Option { method pack (line 33) | fn pack(&self) -> [u8; 32] { type Packed (line 39) | type Packed = [u8; 32]; method unpack (line 41) | fn unpack(data: &[u8; 32]) -> Option { method pack (line 45) | fn pack(&self) -> [u8; 32] { type Packed (line 51) | type Packed = [u8; 32]; method unpack (line 53) | fn unpack(data: &[u8; 32]) -> Option { method pack (line 57) | fn pack(&self) -> [u8; 32] { type Packed (line 63) | type Packed = [u8; 64]; method unpack (line 65) | fn unpack(data: &[u8; 64]) -> Option { method pack (line 70) | fn pack(&self) -> [u8; 64] { type Packed (line 81) | type Packed = [u8; 96]; method unpack (line 83) | fn unpack(data: &[u8; 96]) -> Option { method pack (line 89) | fn pack(&self) -> [u8; 96] { function unpack (line 22) | pub fn unpack(data: &T::Packed) -> Option { method from_unc_implicit_account (line 106) | pub fn from_unc_implicit_account( FILE: core/crypto/src/vrf.rs type PublicKey (line 10) | pub struct PublicKey(pub(crate) [u8; 32], pub(crate) Point); method from_bytes (line 17) | fn from_bytes(bytes: &[u8; 32]) -> Option { method offset (line 21) | fn offset(&self, input: &[u8]) -> Scalar { method is_vrf_valid (line 25) | pub fn is_vrf_valid(&self, input: &impl Borrow<[u8]>, value: &Value, p... method is_valid (line 32) | fn is_valid(&self, input: &[u8], value: &Value, proof: &Proof) -> bool { type SecretKey (line 12) | pub struct SecretKey(Scalar, PublicKey); method from_scalar (line 57) | pub(crate) fn from_scalar(sk: Scalar) -> Self { method from_bytes (line 62) | fn from_bytes(bytes: &[u8; 32]) -> Option { method public_key (line 66) | pub fn public_key(&self) -> &PublicKey { method compute_vrf (line 70) | pub fn compute_vrf(&self, input: &impl Borrow<[u8]>) -> Value { method compute (line 78) | fn compute(&self, input: &[u8]) -> Value { method compute_vrf_with_proof (line 82) | pub fn compute_vrf_with_proof(&self, input: &impl Borrow<[u8]>) -> (Va... method compute_with_proof (line 90) | fn compute_with_proof(&self, input: &[u8]) -> (Value, Proof) { method is_vrf_valid (line 99) | pub fn is_vrf_valid(&self, input: &impl Borrow<[u8]>, value: &Value, p... function basemul (line 48) | fn basemul(s: Scalar) -> Point { function safe_invert (line 52) | fn safe_invert(s: Scalar) -> Scalar { function random_secret_key (line 129) | fn random_secret_key() -> SecretKey { function test_conversion (line 134) | fn test_conversion() { function test_verify (line 146) | fn test_verify() { function test_different_keys (line 156) | fn test_different_keys() { function round_trip (line 174) | fn round_trip Deserialize<'de>>(value: &T) -> T { function test_serialize (line 179) | fn test_serialize() { FILE: core/dyn-configs/src/lib.rs type UpdateableConfigs (line 15) | pub struct UpdateableConfigs { type UpdateableConfigLoader (line 24) | pub struct UpdateableConfigLoader { method new (line 45) | pub fn new( method reload (line 54) | pub fn reload( method update_metrics (line 70) | fn update_metrics() { type UpdateableConfigLoaderError (line 31) | pub enum UpdateableConfigLoaderError { FILE: core/o11y/benches/metrics.rs constant NUM_SHARDS (line 12) | const NUM_SHARDS: usize = 8; function inc_counter_vec_with_label_values (line 14) | fn inc_counter_vec_with_label_values(bench: &mut Bencher) { function inc_counter_vec_with_label_values_itoa (line 22) | fn inc_counter_vec_with_label_values_itoa(bench: &mut Bencher) { function inc_counter_vec_with_label_values_smartstring (line 32) | fn inc_counter_vec_with_label_values_smartstring(bench: &mut Bencher) { function inc_counter_vec_with_label_values_stack (line 43) | fn inc_counter_vec_with_label_values_stack(bench: &mut Bencher) { function inc_counter_vec_with_label_values_stack_no_format (line 57) | fn inc_counter_vec_with_label_values_stack_no_format(bench: &mut Bencher) { function inc_counter_vec_cached (line 77) | fn inc_counter_vec_cached(bench: &mut Bencher) { function inc_counter_vec_cached_str (line 89) | fn inc_counter_vec_cached_str(bench: &mut Bencher) { FILE: core/o11y/src/context.rs type WithSpanContext (line 8) | pub struct WithSpanContext { function new (line 14) | pub fn new(msg: T) -> Self { type WithSpanContextExt (line 20) | pub trait WithSpanContextExt: actix::Message { method with_span_context (line 21) | fn with_span_context(self) -> WithSpanContext FILE: core/o11y/src/delay_detector.rs type DelayDetectorLayer (line 12) | pub(crate) struct DelayDetectorLayer {} method on_new_span (line 42) | fn on_new_span(&self, _attrs: &Attributes<'_>, id: &Id, ctx: Context<'... method on_enter (line 48) | fn on_enter(&self, id: &Id, ctx: Context<'_, S>) { method on_exit (line 58) | fn on_exit(&self, id: &Id, ctx: Context<'_, S>) { method on_close (line 68) | fn on_close(&self, id: Id, ctx: Context<'_, S>) { constant MAX_BUSY_DURATION_NS (line 14) | const MAX_BUSY_DURATION_NS: u64 = 500000000; type Timings (line 26) | struct Timings { method new (line 33) | fn new() -> Self { FILE: core/o11y/src/env_filter.rs constant DEFAULT_RUST_LOG (line 6) | const DEFAULT_RUST_LOG: &str = "tokio_reactor=info,\ type BuildEnvFilterError (line 20) | pub enum BuildEnvFilterError { type EnvFilterBuilder (line 26) | pub struct EnvFilterBuilder<'a> { function from_env (line 34) | pub fn from_env() -> Self { function new (line 43) | pub fn new>>(rust_log: S) -> Self { function verbose (line 51) | pub fn verbose(mut self, target: Option<&'a str>) -> Self { function finish (line 57) | pub fn finish(self) -> Result { function make_env_filter (line 80) | pub fn make_env_filter(verbose: Option<&str>) -> Result, ctx: tracing_subscriber... method on_exit (line 121) | fn on_exit(&self, id: &span::Id, ctx: tracing_subscriber::layer::Conte... method on_record (line 156) | fn on_record( method new (line 177) | pub(crate) fn new(out: W) -> (Self, ... method record_io_event (line 187) | fn record_io_event LookupSpan<'span>>( type IoEventType (line 34) | enum IoEventType { type StorageOp (line 40) | enum StorageOp { type DbOp (line 49) | enum DbOp { type OutputBuffer (line 65) | struct OutputBuffer(Vec); type BufferedLine (line 68) | struct BufferedLine { type SpanInfo (line 75) | struct SpanInfo { method record_str (line 315) | fn record_str(&mut self, field: &tracing::field::Field, value: &str) { method record_debug (line 324) | fn record_debug(&mut self, field: &tracing::field::Field, value: &dyn ... type IoEventVisitor (line 251) | struct IoEventVisitor { method record_u64 (line 262) | fn record_u64(&mut self, field: &tracing::field::Field, value: u64) { method record_i64 (line 271) | fn record_i64(&mut self, field: &tracing::field::Field, value: i64) { method record_str (line 276) | fn record_str(&mut self, field: &tracing::field::Field, value: &str) { method record_debug (line 308) | fn record_debug(&mut self, field: &tracing::field::Field, value: &dyn ... FILE: core/o11y/src/lib.rs function print_backtrace (line 46) | pub fn print_backtrace() { FILE: core/o11y/src/log_config.rs type LogConfig (line 8) | pub struct LogConfig { method write_to_file (line 19) | pub fn write_to_file(&self, path: &Path) -> std::io::Result<()> { FILE: core/o11y/src/log_counter.rs type LogCountingLayer (line 26) | pub(crate) type LogCountingLayer = Layered; type LogCounter (line 29) | pub(crate) struct LogCounter { method count_log (line 40) | fn count_log(&self, level: &tracing::Level) { method count_log_with_loc (line 51) | fn count_log_with_loc( method on_event (line 92) | fn on_event(&self, event: &tracing::Event, _ctx: Context) { method default (line 77) | fn default() -> Self { FILE: core/o11y/src/macros.rs function last_component_of_name (line 48) | pub fn last_component_of_name(name: &str) -> &str { function type_name_of (line 54) | pub fn type_name_of(_: &T) -> &str { FILE: core/o11y/src/metrics.rs function gather (line 79) | pub fn gather() -> Vec { function try_create_int_counter (line 85) | pub fn try_create_int_counter(name: &str, help: &str) -> Result Result { function try_create_int_gauge (line 119) | pub fn try_create_int_gauge(name: &str, help: &str) -> Result { function try_create_int_gauge_vec (line 129) | pub fn try_create_int_gauge_vec(name: &str, help: &str, labels: &[&str])... function try_create_gauge (line 139) | pub fn try_create_gauge(name: &str, help: &str) -> Result { function try_create_gauge_vec (line 149) | pub fn try_create_gauge_vec(name: &str, help: &str, labels: &[&str]) -> ... function try_create_histogram (line 159) | pub fn try_create_histogram(name: &str, help: &str) -> Result { function try_create_histogram_with_buckets (line 169) | pub fn try_create_histogram_with_buckets( function try_create_histogram_vec (line 183) | pub fn try_create_histogram_vec( function processing_time_buckets (line 199) | pub fn processing_time_buckets() -> Vec { function check_metric_unc_prefix (line 225) | fn check_metric_unc_prefix(name: &str) -> Result<()> { function test_unc_prefix (line 243) | fn test_unc_prefix() { FILE: core/o11y/src/opentelemetry.rs type OpenTelemetryLevel (line 15) | pub enum OpenTelemetryLevel { function add_opentelemetry_layer (line 27) | pub(crate) async fn add_opentelemetry_layer( function get_opentelemetry_filter (line 69) | pub(crate) fn get_opentelemetry_filter(opentelemetry_level: OpenTelemetr... FILE: core/o11y/src/reload.rs type LogLayer (line 23) | pub(crate) type LogLayer = Layered< type SimpleLogLayer (line 32) | pub(crate) type SimpleLogLayer = Layered< type TracingLayer (line 41) | pub(crate) type TracingLayer = Layered< function set_log_layer_handle (line 46) | pub(crate) fn set_log_layer_handle( function set_otlp_layer_handle (line 54) | pub(crate) fn set_otlp_layer_handle( function set_default_otlp_level (line 62) | pub(crate) fn set_default_otlp_level(level: OpenTelemetryLevel) { type ReloadError (line 69) | pub enum ReloadError { function reload_log_config (line 82) | pub fn reload_log_config(config: Option<&log_config::LogConfig>) { function reload (line 116) | pub fn reload( FILE: core/o11y/src/span_duration_logger.rs type SpanDurationLogger (line 12) | pub(crate) struct SpanDurationLogger {} method on_new_span (line 62) | fn on_new_span(&self, _attrs: &Attributes<'_>, id: &Id, ctx: Context<'... method on_enter (line 71) | fn on_enter(&self, id: &Id, ctx: Context<'_, S>) { method on_exit (line 82) | fn on_exit(&self, id: &Id, ctx: Context<'_, S>) { method on_close (line 93) | fn on_close(&self, id: Id, ctx: Context<'_, S>) { type Timings (line 28) | struct Timings { method new (line 39) | fn new() -> Self { method observe_idle (line 45) | fn observe_idle(&mut self) { method observe_busy (line 52) | fn observe_busy(&mut self) { FILE: core/o11y/src/subscriber.rs type DefaultSubscriberGuard (line 19) | pub struct DefaultSubscriberGuard { type Options (line 38) | pub struct Options { function global (line 61) | pub fn global(mut self) -> Self { function local (line 74) | pub fn local(mut self) -> Self { type ColorOutput (line 88) | pub enum ColorOutput { function is_terminal (line 95) | fn is_terminal() -> bool { function add_simple_log_layer (line 100) | fn add_simple_log_layer( function get_fmt_span (line 120) | fn get_fmt_span(with_span_events: bool) -> fmt::format::FmtSpan { function add_non_blocking_log_layer (line 128) | fn add_non_blocking_log_layer( function make_io_tracing_layer (line 155) | pub fn make_io_tracing_layer( function use_color_output (line 172) | fn use_color_output(options: &Options) -> bool { function use_color_auto (line 180) | pub(crate) fn use_color_auto() -> bool { function default_subscriber (line 194) | pub fn default_subscriber( function default_subscriber_with_opentelemetry (line 239) | pub async fn default_subscriber_with_opentelemetry( FILE: core/o11y/src/testonly.rs function setup_subscriber_from_filter (line 11) | fn setup_subscriber_from_filter(mut env_filter: EnvFilter) { function init_test_logger (line 33) | pub fn init_test_logger() { function init_test_logger_allow_panic (line 38) | pub fn init_test_logger_allow_panic() { function init_test_module_logger (line 43) | pub fn init_test_module_logger(module: &str) { function init_integration_logger (line 50) | pub fn init_integration_logger() { type TestUptime (line 58) | pub struct TestUptime { method from (line 69) | fn from(epoch: Instant) -> Self { method default (line 63) | fn default() -> Self { method format_time (line 75) | fn format_time(&self, w: &mut Writer<'_>) -> Result { FILE: core/o11y/src/testonly/tracing_capture.rs type TracingCapture (line 9) | pub struct TracingCapture { method enable (line 27) | pub fn enable() -> TracingCapture { method drain (line 37) | pub fn drain(&mut self) -> Vec { method set_callback (line 46) | pub fn set_callback(&mut self, on_log: impl Fn(&str) + Send + Sync + '... type Captured (line 14) | struct Captured { type Subscriber (line 19) | struct Subscriber(Arc>); method enabled (line 52) | fn enabled(&self, _metadata: &tracing::Metadata<'_>) -> bool { method new_span (line 56) | fn new_span(&self, span: &tracing::span::Attributes<'_>) -> tracing::s... method record (line 75) | fn record(&self, _span: &tracing::span::Id, _values: &tracing::span::R... method record_follows_from (line 76) | fn record_follows_from(&self, _span: &tracing::span::Id, _follows: &tr... method event (line 77) | fn event(&self, _event: &tracing::Event<'_>) {} method enter (line 78) | fn enter(&self, _span: &tracing::span::Id) {} method exit (line 79) | fn exit(&self, _span: &tracing::span::Id) {} type AppendToString (line 82) | struct AppendToString(String); method record_debug (line 84) | fn record_debug(&mut self, field: &tracing::field::Field, value: &dyn ... FILE: core/parameters/src/config.rs type RuntimeConfig (line 13) | pub struct RuntimeConfig { method new (line 29) | pub(crate) fn new(params: &ParameterTable) -> Result RuntimeConfig { method test (line 40) | pub fn test() -> Self { method free (line 51) | pub fn free() -> Self { method storage_amount_per_byte (line 63) | pub fn storage_amount_per_byte(&self) -> Balance { type AccountCreationConfig (line 70) | pub struct AccountCreationConfig { method default (line 79) | fn default() -> Self { FILE: core/parameters/src/config_store.rs type RuntimeConfigStore (line 50) | pub struct RuntimeConfigStore { method new (line 66) | pub fn new(genesis_runtime_config: Option<&RuntimeConfig>) -> Self { method for_chain_id (line 116) | pub fn for_chain_id(chain_id: &str) -> Self { method with_one_config (line 127) | pub fn with_one_config(runtime_config: RuntimeConfig) -> Self { method test (line 132) | pub fn test() -> Self { method free (line 137) | pub fn free() -> Self { method get_config (line 142) | pub fn get_config(&self, protocol_version: ProtocolVersion) -> &Arc Gas { method exec_fee (line 32) | pub fn exec_fee(&self) -> Gas { method min_send_and_exec_fee (line 37) | pub fn min_send_and_exec_fee(&self) -> Gas { type ParameterCost (line 43) | pub struct ParameterCost { type ExtCostsConfig (line 49) | pub struct ExtCostsConfig { method gas_cost (line 58) | pub fn gas_cost(&self, param: ExtCosts) -> Gas { method compute_cost (line 62) | pub fn compute_cost(&self, param: ExtCosts) -> Compute { method test_with_undercharging_factor (line 68) | pub fn test_with_undercharging_factor(factor: u64) -> ExtCostsConfig { method test (line 141) | pub fn test() -> ExtCostsConfig { constant SAFETY_MULTIPLIER (line 55) | const SAFETY_MULTIPLIER: u64 = 3; type ExtCosts (line 164) | pub enum ExtCosts { method gas (line 267) | pub fn gas(self, config: &ExtCostsConfig) -> Gas { method compute (line 271) | pub fn compute(self, config: &ExtCostsConfig) -> Compute { method param (line 275) | pub fn param(&self) -> Parameter { type ActionCosts (line 245) | pub enum ActionCosts { type RuntimeFeesConfig (line 345) | pub struct RuntimeFeesConfig { method fee (line 373) | pub fn fee(&self, cost: ActionCosts) -> &Fee { method test (line 377) | pub fn test() -> Self { method free (line 477) | pub fn free() -> Self { method min_receipt_with_function_call_gas (line 492) | pub fn min_receipt_with_function_call_gas(&self) -> Gas { type StorageUsageConfig (line 361) | pub struct StorageUsageConfig { method test (line 499) | pub fn test() -> Self { method free (line 507) | pub(crate) fn free() -> StorageUsageConfig { function transfer_exec_fee (line 516) | pub fn transfer_exec_fee( function transfer_send_fee (line 544) | pub fn transfer_send_fee( FILE: core/parameters/src/parameter.rs type Parameter (line 18) | pub enum Parameter { method vm_limits (line 204) | pub fn vm_limits() -> slice::Iter<'static, Parameter> { type FeeParameter (line 180) | pub enum FeeParameter { method from (line 240) | fn from(other: ActionCosts) -> Self { FILE: core/parameters/src/parameter_table.rs type ParameterValue (line 16) | pub(crate) enum ParameterValue { method fmt (line 197) | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { type ValueConversionError (line 29) | pub(crate) enum ValueConversionError { type Error (line 71) | type Error = ValueConversionError; function try_from (line 73) | fn try_from(value: &ParameterValue) -> Result { type Error (line 85) | type Error = ValueConversionError; function try_from (line 87) | fn try_from(value: &ParameterValue) -> Result { type Error (line 101) | type Error = ValueConversionError; method try_from (line 103) | fn try_from(value: &ParameterValue) -> Result { type Error (line 117) | type Error = ValueConversionError; method try_from (line 119) | fn try_from(value: &ParameterValue) -> Result { type Error (line 135) | type Error = ValueConversionError; method try_from (line 137) | fn try_from(value: &ParameterValue) -> Result { type Error (line 148) | type Error = ValueConversionError; function try_from (line 150) | fn try_from(value: &'a ParameterValue) -> Result { type Error (line 161) | type Error = ValueConversionError; method try_from (line 163) | fn try_from(value: &ParameterValue) -> Result { type Error (line 170) | type Error = ValueConversionError; method try_from (line 172) | fn try_from(value: &ParameterValue) -> Result { function format_number (line 185) | fn format_number(mut n: u64) -> String { type ParameterTable (line 224) | pub(crate) struct ParameterTable { method fmt (line 231) | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { type Err (line 268) | type Err = InvalidConfigError; method from_str (line 269) | fn from_str(arg: &str) -> Result { method apply_diff (line 339) | pub(crate) fn apply_diff( method yaml_map (line 371) | fn yaml_map(&self, params: impl Iterator) -... method get (line 382) | fn get<'a, T>(&'a self, key: Parameter) -> Result method get_fee (line 391) | fn get_fee(&self, cost: ActionCosts) -> Result { type ParameterTableDiff (line 240) | pub(crate) struct ParameterTableDiff { type Err (line 405) | type Err = InvalidConfigError; method from_str (line 406) | fn from_str(arg: &str) -> Result Result { type ParameterDiffConfigValue (line 399) | struct ParameterDiffConfigValue { function parse_parameter_value (line 431) | fn parse_parameter_value(value: &serde_yaml::Value) -> Result Result I... function test_empty_parameter_table (line 596) | fn test_empty_parameter_table() { function test_basic_parameter_table (line 602) | fn test_basic_parameter_table() { function test_basic_parameter_table_weird_syntax (line 623) | fn test_basic_parameter_table_weird_syntax() { function test_parameter_table_with_diff (line 639) | fn test_parameter_table_with_diff() { function test_parameter_table_with_diffs (line 661) | fn test_parameter_table_with_diffs() { function test_parameter_table_with_empty_value (line 683) | fn test_parameter_table_with_empty_value() { function test_parameter_table_invalid_key (line 703) | fn test_parameter_table_invalid_key() { function test_parameter_table_invalid_key_in_diff (line 712) | fn test_parameter_table_invalid_key_in_diff() { function test_parameter_table_no_key (line 723) | fn test_parameter_table_no_key() { function test_parameter_table_no_key_in_diff (line 731) | fn test_parameter_table_no_key_in_diff() { function test_parameter_table_wrong_separator (line 739) | fn test_parameter_table_wrong_separator() { function test_parameter_table_wrong_separator_in_diff (line 747) | fn test_parameter_table_wrong_separator_in_diff() { function test_parameter_table_wrong_old_value (line 758) | fn test_parameter_table_wrong_old_value() { function test_parameter_table_no_old_value (line 776) | fn test_parameter_table_no_old_value() { function test_parameter_table_old_parameter_undefined (line 789) | fn test_parameter_table_old_parameter_undefined() { function test_parameter_table_yaml_map (line 802) | fn test_parameter_table_yaml_map() { FILE: core/parameters/src/view.rs type RuntimeConfigView (line 9) | pub struct RuntimeConfigView { method from (line 130) | fn from(config: crate::RuntimeConfig) -> Self { type RuntimeFeesConfigView (line 24) | pub struct RuntimeFeesConfigView { type AccountCreationConfigView (line 47) | pub struct AccountCreationConfigView { type DataReceiptCreationConfigView (line 56) | pub struct DataReceiptCreationConfigView { type ActionCreationConfigView (line 74) | pub struct ActionCreationConfigView { type AccessKeyCreationConfigView (line 111) | pub struct AccessKeyCreationConfigView { type StorageUsageConfigView (line 122) | pub struct StorageUsageConfigView { type VMConfigView (line 195) | pub struct VMConfigView { method from (line 233) | fn from(config: crate::vm::Config) -> Self { function from (line 254) | fn from(view: VMConfigView) -> Self { type ExtCostsConfigView (line 277) | pub struct ExtCostsConfigView { method from (line 446) | fn from(config: crate::ExtCostsConfig) -> Self { function from (line 523) | fn from(view: ExtCostsConfigView) -> Self { function test_runtime_config_view (line 600) | fn test_runtime_config_view() { FILE: core/parameters/src/vm.rs type VMKind (line 27) | pub enum VMKind { method replace_with_wasmtime_if_unsupported (line 39) | pub fn replace_with_wasmtime_if_unsupported(self) -> Self { type StorageGetMode (line 50) | pub enum StorageGetMode { type LimitConfig (line 58) | pub struct LimitConfig { type Config (line 145) | pub struct Config { method non_crypto_hash (line 193) | pub fn non_crypto_hash(&self) -> u64 { method make_free (line 199) | pub fn make_free(&mut self) { function wasmer2_stack_limit_default (line 211) | fn wasmer2_stack_limit_default() -> i32 { type ContractPrepareVersion (line 233) | pub enum ContractPrepareVersion { method v0 (line 247) | pub fn v0() -> ContractPrepareVersion { FILE: core/primitives-core/src/account.rs type AccountVersion (line 20) | pub enum AccountVersion { type Account (line 27) | pub struct Account { constant MAX_ACCOUNT_DELETION_STORAGE_USAGE (line 49) | pub const MAX_ACCOUNT_DELETION_STORAGE_USAGE: u64 = 10_000; method new (line 51) | pub fn new( method amount (line 62) | pub fn amount(&self) -> Balance { method pledging (line 67) | pub fn pledging(&self) -> Balance { method power (line 72) | pub fn power(&self) -> Power { method code_hash (line 77) | pub fn code_hash(&self) -> CryptoHash { method storage_usage (line 82) | pub fn storage_usage(&self) -> StorageUsage { method version (line 87) | pub fn version(&self) -> AccountVersion { method set_amount (line 92) | pub fn set_amount(&mut self, amount: Balance) { method set_power (line 97) | pub fn set_power(&mut self, power: Power) { method set_pledging (line 102) | pub fn set_pledging(&mut self, pledging: Balance) { method set_code_hash (line 107) | pub fn set_code_hash(&mut self, code_hash: CryptoHash) { method set_storage_usage (line 112) | pub fn set_storage_usage(&mut self, storage_usage: StorageUsage) { method set_version (line 116) | pub fn set_version(&mut self, version: AccountVersion) { type LegacyAccount (line 122) | struct LegacyAccount { method deserialize_reader (line 131) | fn deserialize_reader(rd: &mut R) -> io::Result { method serialize (line 147) | fn serialize(&self, writer: &mut W) -> io::Result<()> { type AccessKey (line 177) | pub struct AccessKey { constant ACCESS_KEY_NONCE_RANGE_MULTIPLIER (line 187) | pub const ACCESS_KEY_NONCE_RANGE_MULTIPLIER: u64 = 1_000_000; method full_access (line 189) | pub fn full_access() -> Self { type AccessKeyPermission (line 206) | pub enum AccessKeyPermission { type FunctionCallPermission (line 229) | pub struct FunctionCallPermission { function test_account_serialization (line 259) | fn test_account_serialization() { function test_account_deserialization (line 266) | fn test_account_deserialization() { FILE: core/primitives-core/src/chains.rs constant MAINNET (line 4) | pub const MAINNET: &str = "mainnet"; constant TESTNET (line 7) | pub const TESTNET: &str = "testnet"; FILE: core/primitives-core/src/config.rs type AccountIdValidityRulesVersion (line 15) | pub enum AccountIdValidityRulesVersion { method v0 (line 23) | pub fn v0() -> AccountIdValidityRulesVersion { type ViewConfig (line 30) | pub struct ViewConfig { FILE: core/primitives-core/src/hash.rs type CryptoHash (line 23) | pub struct CryptoHash(pub [u8; 32]); constant LENGTH (line 26) | pub const LENGTH: usize = 32; method new (line 28) | pub const fn new() -> Self { method hash_bytes (line 33) | pub fn hash_bytes(bytes: &[u8]) -> CryptoHash { method hash_borsh (line 43) | pub fn hash_borsh(value: T) -> CryptoHash { method hash_borsh_iter (line 56) | pub fn hash_borsh_iter(values: I) -> CryptoHash method as_bytes (line 72) | pub const fn as_bytes(&self) -> &[u8; Self::LENGTH] { method to_base58_impl (line 81) | fn to_base58_impl(self, visitor: impl FnOnce(&str) -> Out) -> Out { method from_base58_impl (line 96) | fn from_base58_impl(encoded: &str) -> Decode58Result { method serialize (line 124) | fn serialize(&self, serializer: S) -> Result<::Ok,... method deserialize (line 155) | fn deserialize(deserializer: D) -> Result; method from_str (line 167) | fn from_str(encoded: &str) -> Result { type Error (line 177) | type Error = Box; method try_from (line 179) | fn try_from(bytes: &[u8]) -> Result { method fmt (line 203) | fn fmt(&self, fmtr: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 209) | fn fmt(&self, fmtr: &mut fmt::Formatter<'_>) -> fmt::Result { type Decode58Result (line 107) | enum Decode58Result { method default (line 118) | fn default() -> Self { type Visitor (line 136) | struct Visitor; type Value (line 139) | type Value = CryptoHash; method expecting (line 141) | fn expecting(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Re... method visit_str (line 145) | fn visit_str(self, s: &str) -> Result Vec { function from (line 191) | fn from(hash: &CryptoHash) -> Vec { function from (line 197) | fn from(hash: CryptoHash) -> [u8; CryptoHash::LENGTH] { method hash (line 217) | fn hash(&self, state: &mut H) { function hash (line 232) | pub fn hash(data: &[u8]) -> CryptoHash { type Struct (line 242) | struct Struct { function test_hash_borsh (line 247) | fn test_hash_borsh() { function test_base58_successes (line 284) | fn test_base58_successes() { function test_from_str_failures (line 299) | fn test_from_str_failures() { function test_serde_deserialise_failures (line 325) | fn test_serde_deserialise_failures() { FILE: core/primitives-core/src/serialize.rs function to_base64 (line 6) | pub fn to_base64(input: &[u8]) -> String { function base64_display (line 10) | pub fn base64_display(input: &[u8]) -> Base64Display<'_, 'static, Genera... function from_base64 (line 14) | pub fn from_base64(encoded: &str) -> Result, base64::DecodeError> { type ParseUnitError (line 30) | pub struct ParseUnitError; type DecType (line 33) | pub trait DecType: Sized { method serialize (line 35) | fn serialize(&self) -> Option; method try_from_unit (line 39) | fn try_from_unit() -> Result { method try_from_str (line 44) | fn try_from_str(value: &str) -> Result; method from_u64 (line 47) | fn from_u64(value: u64) -> Self; method serialize (line 51) | fn serialize(&self) -> Option { method try_from_str (line 54) | fn try_from_str(value: &str) -> Result { method from_u64 (line 57) | fn from_u64(value: u64) -> Self { method serialize (line 63) | fn serialize(&self) -> Option { method try_from_str (line 66) | fn try_from_str(value: &str) -> Result { method from_u64 (line 69) | fn from_u64(value: u64) -> Self { method serialize (line 75) | fn serialize(&self) -> Option { method try_from_unit (line 78) | fn try_from_unit() -> Result { method try_from_str (line 81) | fn try_from_str(value: &str) -> Result { method from_u64 (line 84) | fn from_u64(value: u64) -> Self { type Visitor (line 89) | struct Visitor(core::marker::PhantomData); type Value (line 92) | type Value = T; function expecting (line 94) | fn expecting(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result { function visit_unit (line 98) | fn visit_unit(self) -> Result { function visit_u64 (line 102) | fn visit_u64(self, value: u64) -> Result { function visit_str (line 106) | fn visit_str(self, value: &str) -> Result { function deserialize (line 111) | pub fn deserialize<'de, D, T>(deserializer: D) -> Result function serialize (line 119) | pub fn serialize(num: &T, serializer: S) -> Result function test_u64_dec_format (line 132) | fn test_u64_dec_format() { function test_u128_dec_format (line 148) | fn test_u128_dec_format() { function test_option_u128_dec_format (line 164) | fn test_option_u128_dec_format() { function assert_round_trip (line 187) | fn assert_round_trip<'a, T>(serialised: &'a str, obj: T) function assert_deserialise (line 197) | fn assert_deserialise<'a, T>(serialised: &'a str, obj: T) function assert_de_error (line 206) | fn assert_de_error<'a, T: serde::Deserialize<'a> + std::fmt::Debug>(seri... FILE: core/primitives-core/src/types.rs type MerkleHash (line 6) | pub type MerkleHash = CryptoHash; type ValidatorId (line 8) | pub type ValidatorId = u64; type ValidatorMask (line 10) | pub type ValidatorMask = Vec; type StorageUsage (line 12) | pub type StorageUsage = u64; type StorageUsageChange (line 14) | pub type StorageUsageChange = i64; type Nonce (line 16) | pub type Nonce = u64; type BlockHeight (line 18) | pub type BlockHeight = u64; type EpochHeight (line 20) | pub type EpochHeight = u64; type ShardId (line 22) | pub type ShardId = u64; type Balance (line 24) | pub type Balance = u128; type Power (line 26) | pub type Power = u128; type Gas (line 28) | pub type Gas = u64; type Compute (line 30) | pub type Compute = u64; type GasWeight (line 35) | pub struct GasWeight(pub u64); type NumBlocks (line 38) | pub type NumBlocks = u64; type NumShards (line 40) | pub type NumShards = u64; type NumSeats (line 42) | pub type NumSeats = u64; type BlockHeightDelta (line 44) | pub type BlockHeightDelta = u64; type ReceiptIndex (line 46) | pub type ReceiptIndex = usize; type PromiseId (line 47) | pub type PromiseId = Vec; type ProtocolVersion (line 49) | pub type ProtocolVersion = u32; FILE: core/primitives-core/src/version.rs type ProtocolFeature (line 11) | pub enum ProtocolFeature { method protocol_version (line 127) | pub const fn protocol_version(self) -> ProtocolVersion { constant STABLE_PROTOCOL_VERSION (line 187) | const STABLE_PROTOCOL_VERSION: ProtocolVersion = 64; constant PROTOCOL_VERSION (line 190) | pub const PROTOCOL_VERSION: ProtocolVersion = if cfg!(feature = "nightly... constant PEER_MIN_ALLOWED_PROTOCOL_VERSION (line 200) | pub const PEER_MIN_ALLOWED_PROTOCOL_VERSION: ProtocolVersion = STABLE_PR... FILE: core/primitives/benches/serialization.rs function create_transaction (line 21) | fn create_transaction() -> SignedTransaction { function create_block (line 39) | fn create_block() -> Block { function create_account (line 75) | fn create_account() -> Account { function serialize_tx (line 79) | fn serialize_tx(bench: &mut Bencher) { function deserialize_tx (line 87) | fn deserialize_tx(bench: &mut Bencher) { function serialize_block (line 96) | fn serialize_block(bench: &mut Bencher) { function deserialize_block (line 104) | fn deserialize_block(bench: &mut Bencher) { function serialize_account (line 113) | fn serialize_account(bench: &mut Bencher) { function deserialize_account (line 121) | fn deserialize_account(bench: &mut Bencher) { function combine_hash_bench (line 130) | fn combine_hash_bench(bench: &mut Bencher) { FILE: core/primitives/src/action/delegate.rs constant ACTION_DELEGATE_NUMBER (line 17) | const ACTION_DELEGATE_NUMBER: u8 = 8; type DelegateAction (line 20) | pub struct DelegateAction { method get_actions (line 63) | pub fn get_actions(&self) -> Vec { method get_nep461_hash (line 70) | pub fn get_nep461_hash(&self) -> CryptoHash { type SignedDelegateAction (line 41) | pub struct SignedDelegateAction { method verify (line 47) | pub fn verify(&self) -> bool { method from (line 57) | fn from(delegate_action: SignedDelegateAction) -> Self { type NonDelegateAction (line 92) | pub struct NonDelegateAction(Action); type Error (line 105) | type Error = IsDelegateAction; method try_from (line 107) | fn try_from(action: Action) -> Result { method deserialize_reader (line 117) | fn deserialize_reader(rd: &mut R) -> ::core::result::Result Self { type IsDelegateAction (line 102) | pub struct IsDelegateAction; constant DELEGATE_ACTION_HEX (line 141) | const DELEGATE_ACTION_HEX: &str = concat!( function create_delegate_action (line 148) | fn create_delegate_action(actions: Vec) -> Action { function test_delegate_action_deserialization (line 166) | fn test_delegate_action_deserialization() { function test_delegate_action_deserialization_hard_coded (line 199) | fn test_delegate_action_deserialization_hard_coded() { FILE: core/primitives/src/action/mod.rs function base64 (line 14) | fn base64(s: &[u8]) -> String { type AddKeyAction (line 29) | pub struct AddKeyAction { type CreateAccountAction (line 47) | pub struct CreateAccountAction {} type DeleteAccountAction (line 59) | pub struct DeleteAccountAction { type DeleteKeyAction (line 73) | pub struct DeleteKeyAction { type DeployContractAction (line 83) | pub struct DeployContractAction { method fmt (line 90) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type FunctionCallAction (line 101) | pub struct FunctionCallAction { method fmt (line 111) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type PledgeAction (line 132) | pub struct PledgeAction { type TransferAction (line 150) | pub struct TransferAction { type RegisterRsa2048KeysAction (line 159) | pub struct RegisterRsa2048KeysAction { method fmt (line 171) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type CreateRsa2048ChallengeAction (line 184) | pub struct CreateRsa2048ChallengeAction { method fmt (line 196) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Action (line 216) | pub enum Action { method get_prepaid_gas (line 243) | pub fn get_prepaid_gas(&self) -> Gas { method get_deposit_balance (line 249) | pub fn get_deposit_balance(&self) -> Balance { method from (line 259) | fn from(create_account_action: CreateAccountAction) -> Self { method from (line 265) | fn from(deploy_contract_action: DeployContractAction) -> Self { method from (line 271) | fn from(function_call_action: FunctionCallAction) -> Self { method from (line 277) | fn from(transfer_action: TransferAction) -> Self { method from (line 283) | fn from(pledge_action: PledgeAction) -> Self { method from (line 289) | fn from(add_key_action: AddKeyAction) -> Self { method from (line 295) | fn from(delete_key_action: DeleteKeyAction) -> Self { method from (line 301) | fn from(delete_account_action: DeleteAccountAction) -> Self { method from (line 307) | fn from(rsa2048_keys_action: RegisterRsa2048KeysAction) -> Self { method from (line 313) | fn from(create_rsa2048_challenge_action: CreateRsa2048ChallengeAction)... constant _ (line 234) | const _: () = assert!( FILE: core/primitives/src/block.rs type GenesisId (line 29) | pub struct GenesisId { type BlockValidityError (line 37) | pub enum BlockValidityError { type BlockV1 (line 47) | pub struct BlockV1 { type BlockV2 (line 58) | pub struct BlockV2 { type BlockV3 (line 70) | pub struct BlockV3 { type BlockBody (line 76) | pub struct BlockBody { type Block (line 88) | pub enum Block { method block_from_protocol_version (line 141) | fn block_from_protocol_version( method genesis (line 183) | pub fn genesis( method produce (line 224) | pub fn produce( method verify_total_supply (line 345) | pub fn verify_total_supply( method verify_gas_price (line 362) | pub fn verify_gas_price( method compute_next_gas_price (line 385) | pub fn compute_next_gas_price( method compute_state_root (line 415) | pub fn compute_state_root<'a, T: IntoIterator CryptoHash { method compute_chunk_prev_outgoing_receipts_root (line 428) | pub fn compute_chunk_prev_outgoing_receipts_root< method compute_chunk_headers_root (line 443) | pub fn compute_chunk_headers_root<'a, T: IntoIterator CryptoHash { method compute_gas_used (line 473) | pub fn compute_gas_used<'a, T: IntoIterator &BlockHeader { method chunks (line 520) | pub fn chunks(&self) -> ChunksCollection { method challenges (line 531) | pub fn challenges(&self) -> &Challenges { method vrf_value (line 540) | pub fn vrf_value(&self) -> &unc_crypto::vrf::Value { method vrf_proof (line 549) | pub fn vrf_proof(&self) -> &unc_crypto::vrf::Proof { method hash (line 557) | pub fn hash(&self) -> &CryptoHash { method compute_block_body_hash (line 561) | pub fn compute_block_body_hash(&self) -> Option { method check_validity (line 570) | pub fn check_validity(&self) -> Result<(), BlockValidityError> { function genesis_chunks (line 94) | pub fn genesis_chunks( type ChunksCollection (line 621) | pub enum ChunksCollection<'a> { type VersionedChunksIter (line 626) | pub struct VersionedChunksIter<'a> { function new (line 633) | fn new(chunks: &'a [ShardChunkHeader]) -> Self { type Item (line 639) | type Item = &'a ShardChunkHeader; method next (line 641) | fn next(&mut self) -> Option { method len (line 653) | fn len(&self) -> usize { type Output (line 659) | type Output = ShardChunkHeader; function index (line 661) | fn index(&self, index: usize) -> &Self::Output { function len (line 670) | pub fn len(&self) -> usize { function iter (line 677) | pub fn iter(&'a self) -> VersionedChunksIter<'a> { function get (line 684) | pub fn get(&self, index: usize) -> Option<&ShardChunkHeader> { type Tip (line 696) | pub struct Tip { method from_header (line 711) | pub fn from_header(header: &BlockHeader) -> Tip { FILE: core/primitives/src/block_header.rs type BlockHeaderInnerLite (line 19) | pub struct BlockHeaderInnerLite { type BlockHeaderInnerRest (line 39) | pub struct BlockHeaderInnerRest { type BlockHeaderInnerRestV2 (line 79) | pub struct BlockHeaderInnerRestV2 { type BlockHeaderInnerRestV3 (line 120) | pub struct BlockHeaderInnerRestV3 { type BlockHeaderInnerRestV4 (line 165) | pub struct BlockHeaderInnerRestV4 { type ApprovalInner (line 212) | pub enum ApprovalInner { method new (line 241) | pub fn new( type Approval (line 219) | pub struct Approval { method new (line 255) | pub fn new( method get_data_for_sig (line 266) | pub fn get_data_for_sig(inner: &ApprovalInner, target_height: BlockHei... type ApprovalType (line 228) | pub enum ApprovalType { type ApprovalMessage (line 235) | pub struct ApprovalMessage { method new (line 272) | pub fn new(approval: Approval, target: AccountId) -> Self { type BlockHeaderV1 (line 279) | pub struct BlockHeaderV1 { method init (line 296) | pub fn init(&mut self) { type BlockHeaderV2 (line 308) | pub struct BlockHeaderV2 { method init (line 364) | pub fn init(&mut self) { type BlockHeaderV3 (line 328) | pub struct BlockHeaderV3 { method init (line 374) | pub fn init(&mut self) { type BlockHeaderV4 (line 347) | pub struct BlockHeaderV4 { method init (line 384) | pub fn init(&mut self) { type BlockHeader (line 396) | pub enum BlockHeader { method compute_inner_hash (line 404) | pub fn compute_inner_hash(inner_lite: &[u8], inner_rest: &[u8]) -> Cry... method compute_hash (line 410) | pub fn compute_hash(prev_hash: CryptoHash, inner_lite: &[u8], inner_re... method new (line 416) | pub fn new( method genesis (line 609) | pub fn genesis( method hash (line 769) | pub fn hash(&self) -> &CryptoHash { method prev_hash (line 779) | pub fn prev_hash(&self) -> &CryptoHash { method signature (line 789) | pub fn signature(&self) -> &Signature { method height (line 799) | pub fn height(&self) -> BlockHeight { method prev_height (line 809) | pub fn prev_height(&self) -> Option { method epoch_id (line 819) | pub fn epoch_id(&self) -> &EpochId { method next_epoch_id (line 829) | pub fn next_epoch_id(&self) -> &EpochId { method prev_state_root (line 839) | pub fn prev_state_root(&self) -> &MerkleHash { method prev_chunk_outgoing_receipts_root (line 849) | pub fn prev_chunk_outgoing_receipts_root(&self) -> &MerkleHash { method chunk_headers_root (line 867) | pub fn chunk_headers_root(&self) -> &MerkleHash { method chunk_tx_root (line 877) | pub fn chunk_tx_root(&self) -> &MerkleHash { method chunks_included (line 886) | pub fn chunks_included(&self) -> u64 { method challenges_root (line 897) | pub fn challenges_root(&self) -> &MerkleHash { method outcome_root (line 907) | pub fn outcome_root(&self) -> &MerkleHash { method block_body_hash (line 917) | pub fn block_body_hash(&self) -> Option { method raw_timestamp (line 927) | pub fn raw_timestamp(&self) -> u64 { method prev_validator_power_proposals (line 937) | pub fn prev_validator_power_proposals(&self) -> ValidatorPowerIter { method prev_validator_pledge_proposals (line 955) | pub fn prev_validator_pledge_proposals(&self) -> ValidatorPledgeIter { method chunk_mask (line 973) | pub fn chunk_mask(&self) -> &[bool] { method block_ordinal (line 983) | pub fn block_ordinal(&self) -> NumBlocks { method next_gas_price (line 993) | pub fn next_gas_price(&self) -> Balance { method total_supply (line 1003) | pub fn total_supply(&self) -> Balance { method random_value (line 1013) | pub fn random_value(&self) -> &CryptoHash { method last_final_block (line 1023) | pub fn last_final_block(&self) -> &CryptoHash { method last_ds_final_block (line 1033) | pub fn last_ds_final_block(&self) -> &CryptoHash { method challenges_result (line 1043) | pub fn challenges_result(&self) -> &ChallengesResult { method next_bp_hash (line 1053) | pub fn next_bp_hash(&self) -> &CryptoHash { method block_merkle_root (line 1063) | pub fn block_merkle_root(&self) -> &CryptoHash { method epoch_sync_data_hash (line 1073) | pub fn epoch_sync_data_hash(&self) -> Option { method approvals (line 1083) | pub fn approvals(&self) -> &[Option>] { method verify_block_producer (line 1093) | pub fn verify_block_producer(&self, public_key: &PublicKey) -> bool { method timestamp (line 1097) | pub fn timestamp(&self) -> DateTime { method num_approvals (line 1101) | pub fn num_approvals(&self) -> u64 { method verify_chunks_included (line 1105) | pub fn verify_chunks_included(&self) -> bool { method latest_protocol_version (line 1118) | pub fn latest_protocol_version(&self) -> u32 { method inner_lite_bytes (line 1127) | pub fn inner_lite_bytes(&self) -> Vec { method inner_rest_bytes (line 1144) | pub fn inner_rest_bytes(&self) -> Vec { FILE: core/primitives/src/challenge.rs type TrieValue (line 10) | pub type TrieValue = std::sync::Arc<[u8]>; type PartialState (line 15) | pub enum PartialState { method len (line 27) | pub fn len(&self) -> usize { method default (line 21) | fn default() -> Self { type BlockDoubleSign (line 35) | pub struct BlockDoubleSign { method fmt (line 41) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... type ChunkProofs (line 48) | pub struct ChunkProofs { type MaybeEncodedShardChunk (line 63) | pub enum MaybeEncodedShardChunk { type ChunkState (line 70) | pub struct ChunkState { type ChallengeBody (line 90) | pub enum ChallengeBody { type Challenge (line 98) | pub struct Challenge { method init (line 108) | pub fn init(&mut self) { method produce (line 112) | pub fn produce(body: ChallengeBody, signer: &dyn ValidatorSigner) -> S... type Challenges (line 118) | pub type Challenges = Vec; type SlashedValidator (line 130) | pub struct SlashedValidator { method new (line 136) | pub fn new(account_id: AccountId, is_double_sign: bool) -> Self { type ChallengesResult (line 143) | pub type ChallengesResult = Vec; FILE: core/primitives/src/chunk_validation.rs type ChunkStateWitness (line 14) | pub struct ChunkStateWitness { type ChunkStateTransition (line 82) | pub struct ChunkStateTransition { type ChunkEndorsement (line 100) | pub struct ChunkEndorsement { type ChunkEndorsementInner (line 108) | pub struct ChunkEndorsementInner { method new (line 119) | pub fn new(chunk_hash: ChunkHash) -> Self { type StoredChunkStateTransitionData (line 127) | pub struct StoredChunkStateTransitionData { FILE: core/primitives/src/epoch_manager.rs type RngSeed (line 23) | pub type RngSeed = [u8; 32]; constant AGGREGATOR_KEY (line 25) | pub const AGGREGATOR_KEY: &[u8] = b"AGGREGATOR"; type BlockConfig (line 31) | pub struct BlockConfig { type EpochConfig (line 62) | pub struct EpochConfig { type ShardConfig (line 94) | pub struct ShardConfig { method new (line 101) | pub fn new(epoch_config: EpochConfig) -> Self { type AllEpochConfigTestOverrides (line 117) | pub struct AllEpochConfigTestOverrides { type AllEpochConfig (line 126) | pub struct AllEpochConfig { method new (line 140) | pub fn new( method new_with_test_overrides (line 153) | pub fn new_with_test_overrides( method for_protocol_version (line 167) | pub fn for_protocol_version(&self, protocol_version: ProtocolVersion) ... method config_nightshade (line 184) | fn config_nightshade(config: &mut EpochConfig, _protocol_version: Prot... method config_nightshade_impl (line 188) | fn config_nightshade_impl(config: &mut EpochConfig, shard_layout: Shar... method config_chunk_only_producers (line 196) | fn config_chunk_only_producers( method config_max_kickout_pledge (line 229) | fn config_max_kickout_pledge(config: &mut EpochConfig, protocol_versio... method config_test_overrides (line 235) | fn config_test_overrides( type ValidatorSelectionConfig (line 256) | pub struct ValidatorSelectionConfig { type BlockSummary (line 279) | pub enum BlockSummary { method new (line 315) | pub fn new( method block_hash (line 358) | pub fn block_hash(&self) -> CryptoHash { method random_value (line 364) | pub fn random_value(&self) -> &CryptoHash { method seat_price (line 371) | pub fn seat_price(&self) -> Balance { method minted_amount (line 378) | pub fn minted_amount(&self) -> Balance { method block_producers_settlement (line 385) | pub fn block_producers_settlement(&self) -> &[ValidatorId] { method chunk_producers_settlement (line 392) | pub fn chunk_producers_settlement(&self) -> &[Vec] { method validator_kickout (line 399) | pub fn validator_kickout(&self) -> &HashMap &BTreeMap { method power_change (line 413) | pub fn power_change(&self) -> &BTreeMap { method validator_reward (line 420) | pub fn validator_reward(&self) -> &HashMap { method validators_iter (line 427) | pub fn validators_iter(&self) -> ValidatorPowerAndPledgeIter { method fishermen_iter (line 434) | pub fn fishermen_iter(&self) -> ValidatorPowerAndPledgeIter { method validator_power (line 441) | pub fn validator_power(&self, validator_id: u64) -> Power { method validator_stake (line 448) | pub fn validator_stake(&self, validator_id: u64) -> Balance { method validator_account_id (line 455) | pub fn validator_account_id(&self, validator_id: u64) -> &AccountId { method account_is_validator (line 462) | pub fn account_is_validator(&self, account_id: &AccountId) -> bool { method get_validator_id (line 468) | pub fn get_validator_id(&self, account_id: &AccountId) -> Option<&Vali... method get_validator_by_account (line 474) | pub fn get_validator_by_account( method get_validator (line 487) | pub fn get_validator(&self, validator_id: u64) -> ValidatorPowerAndPle... method account_is_fisherman (line 494) | pub fn account_is_fisherman(&self, account_id: &AccountId) -> bool { method get_fisherman_by_account (line 500) | pub fn get_fisherman_by_account( method get_fisherman (line 513) | pub fn get_fisherman(&self, fisherman_id: u64) -> ValidatorPowerAndPle... method validators_len (line 520) | pub fn validators_len(&self) -> usize { method vrf_block_producer (line 526) | pub fn vrf_block_producer(&self, _random_value: &CryptoHash) -> Valida... type BlockSummaryV1 (line 285) | pub struct BlockSummaryV1 { method default (line 310) | fn default() -> Self { type BlockInfo (line 552) | pub enum BlockInfo { method new (line 564) | pub fn new( method power_proposals_iter (line 642) | pub fn power_proposals_iter(&self) -> ValidatorPowerIter { method pledge_proposals_iter (line 650) | pub fn pledge_proposals_iter(&self) -> ValidatorPledgeIter { method hash (line 657) | pub fn hash(&self) -> &CryptoHash { method slashed (line 664) | pub fn slashed(&self) -> &HashMap { method slashed_mut (line 672) | pub fn slashed_mut(&mut self) -> &mut HashMap { method height (line 680) | pub fn height(&self) -> BlockHeight { method last_finalized_height (line 688) | pub fn last_finalized_height(&self) -> BlockHeight { method last_final_block_hash (line 696) | pub fn last_final_block_hash(&self) -> &CryptoHash { method prev_hash (line 704) | pub fn prev_hash(&self) -> &CryptoHash { method epoch_first_block (line 712) | pub fn epoch_first_block(&self) -> &CryptoHash { method epoch_first_block_mut (line 720) | pub fn epoch_first_block_mut(&mut self) -> &mut CryptoHash { method epoch_id (line 728) | pub fn epoch_id(&self) -> &EpochId { method epoch_id_mut (line 736) | pub fn epoch_id_mut(&mut self) -> &mut EpochId { method chunk_mask (line 744) | pub fn chunk_mask(&self) -> &[bool] { method latest_protocol_version (line 752) | pub fn latest_protocol_version(&self) -> &ProtocolVersion { method total_supply (line 760) | pub fn total_supply(&self) -> &Balance { method timestamp_nanosec (line 768) | pub fn timestamp_nanosec(&self) -> &u64 { method random_value (line 777) | pub fn random_value(&self) -> &CryptoHash { method seat_price (line 785) | pub fn seat_price(&self) -> Balance { method minted_amount (line 793) | pub fn minted_amount(&self) -> Balance { method block_producers_settlement (line 801) | pub fn block_producers_settlement(&self) -> &[ValidatorId] { method chunk_producers_settlement (line 809) | pub fn chunk_producers_settlement(&self) -> &[Vec] { method validator_kickout (line 817) | pub fn validator_kickout(&self) -> &HashMap &BTreeMap { method power_change (line 833) | pub fn power_change(&self) -> &BTreeMap { method validator_reward (line 841) | pub fn validator_reward(&self) -> &HashMap { method validators_iter (line 849) | pub fn validators_iter(&self) -> ValidatorPowerAndPledgeIter { method fishermen_iter (line 857) | pub fn fishermen_iter(&self) -> ValidatorPowerAndPledgeIter { method validator_power (line 865) | pub fn validator_power(&self, validator_id: u64) -> Power { method validator_stake (line 873) | pub fn validator_stake(&self, validator_id: u64) -> Balance { method validator_account_id (line 881) | pub fn validator_account_id(&self, validator_id: u64) -> &AccountId { method account_is_validator (line 889) | pub fn account_is_validator(&self, account_id: &AccountId) -> bool { method get_validator_id (line 896) | pub fn get_validator_id(&self, account_id: &AccountId) -> Option<&Vali... method get_validator_by_account (line 903) | pub fn get_validator_by_account( method get_validator (line 920) | pub fn get_validator(&self, validator_id: u64) -> ValidatorPowerAndPle... method account_is_fisherman (line 928) | pub fn account_is_fisherman(&self, account_id: &AccountId) -> bool { method get_fisherman_by_account (line 935) | pub fn get_fisherman_by_account( method get_fisherman (line 952) | pub fn get_fisherman(&self, fisherman_id: u64) -> ValidatorPowerAndPle... method validators_len (line 960) | pub fn validators_len(&self) -> usize { method vrf_block_producer (line 967) | pub fn vrf_block_producer(&self, _random_value: &CryptoHash) -> Valida... method default (line 558) | fn default() -> Self { type BlockInfoV2 (line 977) | pub struct BlockInfoV2 { type BlockInfoV1 (line 1024) | pub struct BlockInfoV1 { method new (line 1067) | pub fn new( type ValidatorWeight (line 1146) | pub struct ValidatorWeight(ValidatorId, u64); type EpochInfo (line 1181) | pub enum EpochInfo { method new (line 1312) | pub fn new( method v0_test (line 1408) | pub fn v0_test() -> Self { method epoch_height_mut (line 1446) | pub fn epoch_height_mut(&mut self) -> &mut EpochHeight { method epoch_height (line 1456) | pub fn epoch_height(&self) -> EpochHeight { method seat_price (line 1466) | pub fn seat_price(&self) -> Balance { method minted_amount (line 1476) | pub fn minted_amount(&self) -> Balance { method block_producers_settlement (line 1486) | pub fn block_producers_settlement(&self) -> &[ValidatorId] { method chunk_producers_settlement (line 1496) | pub fn chunk_producers_settlement(&self) -> &[Vec] { method validator_kickout (line 1506) | pub fn validator_kickout(&self) -> &HashMap ProtocolVersion { method pledge_change (line 1526) | pub fn pledge_change(&self) -> &BTreeMap { method power_change (line 1536) | pub fn power_change(&self) -> &BTreeMap { method validator_reward (line 1546) | pub fn validator_reward(&self) -> &HashMap { method validators_iter (line 1556) | pub fn validators_iter(&self) -> ValidatorPowerAndPledgeIter { method fishermen_iter (line 1566) | pub fn fishermen_iter(&self) -> ValidatorPowerAndPledgeIter { method validator_power (line 1576) | pub fn validator_power(&self, validator_id: u64) -> Power { method validator_stake (line 1586) | pub fn validator_stake(&self, validator_id: u64) -> Balance { method validator_account_id (line 1596) | pub fn validator_account_id(&self, validator_id: u64) -> &AccountId { method account_is_validator (line 1606) | pub fn account_is_validator(&self, account_id: &AccountId) -> bool { method get_validator_id (line 1615) | pub fn get_validator_id(&self, account_id: &AccountId) -> Option<&Vali... method get_validator_by_account (line 1624) | pub fn get_validator_by_account( method get_validator (line 1648) | pub fn get_validator(&self, validator_id: u64) -> ValidatorPowerAndPle... method account_is_fisherman (line 1660) | pub fn account_is_fisherman(&self, account_id: &AccountId) -> bool { method get_fisherman_by_account (line 1669) | pub fn get_fisherman_by_account( method get_fisherman (line 1693) | pub fn get_fisherman(&self, fisherman_id: u64) -> ValidatorPowerAndPle... method validators_len (line 1705) | pub fn validators_len(&self) -> usize { method vrf_block_producer (line 1714) | pub fn vrf_block_producer(&self, _random_value: &CryptoHash) -> Valida... method sample_block_producer (line 1718) | pub fn sample_block_producer(&self, height: BlockHeight) -> ValidatorId { method sample_chunk_producer (line 1739) | pub fn sample_chunk_producer(&self, height: BlockHeight, shard_id: Sha... method sample_chunk_validators (line 1770) | pub fn sample_chunk_validators(&self, height: BlockHeight) -> Validato... method block_produce_seed (line 1784) | fn block_produce_seed(height: BlockHeight, seed: &RngSeed) -> [u8; 32] { method chunk_produce_seed (line 1791) | fn chunk_produce_seed( method chunk_validate_rng (line 1818) | fn chunk_validate_rng(seed: &RngSeed, height: BlockHeight) -> ChaCha20... method default (line 1189) | fn default() -> Self { type EpochInfoV2 (line 1205) | pub struct EpochInfoV2 { type EpochInfoV3 (line 1252) | pub struct EpochInfoV3 { type EpochInfoV4 (line 1286) | pub struct EpochInfoV4 { type EpochSummary (line 1833) | pub struct EpochSummary { type EpochInfoV1 (line 1852) | pub struct EpochInfoV1 { type SlashState (line 1889) | pub enum SlashState { type EpochSyncInfo (line 1913) | pub struct EpochSyncInfo { method get_epoch_id (line 1934) | pub fn get_epoch_id(&self) -> Result<&EpochId, EpochSyncInfoError> { method get_next_epoch_id (line 1938) | pub fn get_next_epoch_id(&self) -> Result<&EpochId, EpochSyncInfoError> { method get_next_next_epoch_id (line 1944) | pub fn get_next_next_epoch_id(&self) -> Result Result<&CryptoHash, EpochSyncInfo... method get_epoch_last_header (line 1954) | pub fn get_epoch_last_header(&self) -> Result<&BlockHeader, EpochSyncI... method get_epoch_last_finalised_hash (line 1958) | pub fn get_epoch_last_finalised_hash(&self) -> Result<&CryptoHash, Epo... method get_epoch_last_finalised_header (line 1962) | pub fn get_epoch_last_finalised_header(&self) -> Result<&BlockHeader, ... method get_epoch_first_hash (line 1969) | pub fn get_epoch_first_hash(&self) -> Result<&CryptoHash, EpochSyncInf... method get_epoch_first_header (line 1975) | pub fn get_epoch_first_header(&self) -> Result<&BlockHeader, EpochSync... method get_block_info (line 1980) | pub fn get_block_info(&self, hash: &CryptoHash) -> Result Result Result, E... method get_header (line 2087) | pub fn get_header( FILE: core/primitives/src/epoch_sync.rs type EpochSyncFinalizationResponse (line 9) | pub struct EpochSyncFinalizationResponse { type EpochSyncResponse (line 31) | pub enum EpochSyncResponse { FILE: core/primitives/src/errors.rs type TxExecutionError (line 22) | pub enum TxExecutionError { method from (line 41) | fn from(error: ActionError) -> Self { method from (line 47) | fn from(error: InvalidTxError) -> Self { method fmt (line 32) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... type RuntimeError (line 54) | pub enum RuntimeError { method fmt (line 72) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... method from (line 736) | fn from(_: IntegerOverflowError) -> Self { method from (line 742) | fn from(e: StorageError) -> Self { method from (line 748) | fn from(e: BalanceMismatchError) -> Self { method from (line 754) | fn from(e: InvalidTxError) -> Self { method from (line 760) | fn from(e: EpochError) -> Self { type MissingTrieValueContext (line 81) | pub enum MissingTrieValueContext { type StorageError (line 95) | pub enum StorageError { method fmt (line 119) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... type InvalidTxError (line 138) | pub enum InvalidTxError { method from (line 578) | fn from(error: InvalidAccessKeyError) -> Self { method from (line 730) | fn from(_: IntegerOverflowError) -> Self { type InvalidAccessKeyError (line 194) | pub enum InvalidAccessKeyError { type ActionsValidationError (line 228) | pub enum ActionsValidationError { type ReceiptValidationError (line 279) | pub enum ReceiptValidationError { method fmt (line 297) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... method fmt (line 331) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... type ActionError (line 422) | pub struct ActionError { method from (line 515) | fn from(e: ActionErrorKind) -> ActionError { type ActionErrorKind (line 443) | pub enum ActionErrorKind { method fmt (line 521) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... method fmt (line 584) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... type BalanceMismatchError (line 635) | pub struct BalanceMismatchError { method fmt (line 665) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... type IntegerOverflowError (line 719) | pub struct IntegerOverflowError; method fmt (line 722) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... method fmt (line 766) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... method fmt (line 772) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::E... type BlockError (line 840) | pub enum BlockError { method from (line 942) | fn from(error: EpochError) -> Self { method fmt (line 872) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method fmt (line 905) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function from (line 936) | fn from(error: std::io::Error) -> Self { type EpochError (line 964) | pub enum EpochError { method from (line 1042) | fn from(error: std::io::Error) -> Self { method from (line 1048) | fn from(error: BlockError) -> Self { method fmt (line 992) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method fmt (line 1019) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type PrepareError (line 1084) | pub enum PrepareError { method from (line 1322) | fn from(outer_err: unc_vm_runner::logic::errors::PrepareError) -> Self { type WasmTrap (line 1125) | pub enum WasmTrap { type HostError (line 1158) | pub enum HostError { type MethodResolveError (line 1241) | pub enum MethodResolveError { method from (line 1311) | fn from(outer_err: unc_vm_runner::logic::errors::MethodResolveError) -... type CompilationError (line 1259) | pub enum CompilationError { method from (line 1339) | fn from(outer_err: unc_vm_runner::logic::errors::CompilationError) -> ... type FunctionCallError (line 1286) | pub enum FunctionCallError { method from (line 1352) | fn from(outer_err: unc_vm_runner::logic::errors::FunctionCallError) ->... type EpochSyncHashType (line 1374) | pub enum EpochSyncHashType { type EpochSyncInfoError (line 1384) | pub enum EpochSyncInfoError { FILE: core/primitives/src/merkle.rs type MerklePathItem (line 15) | pub struct MerklePathItem { type MerklePath (line 20) | pub type MerklePath = Vec; type Direction (line 32) | pub enum Direction { function combine_hash (line 37) | pub fn combine_hash(hash1: &MerkleHash, hash2: &MerkleHash) -> MerkleHash { function merklize (line 42) | pub fn merklize(arr: &[T]) -> (MerkleHash, Vec(root: MerkleHash, path: &MerklePat... function verify_hash (line 112) | pub fn verify_hash(root: MerkleHash, path: &MerklePath, item_hash: Merkl... function compute_root_from_path (line 116) | pub fn compute_root_from_path(path: &MerklePath, item_hash: MerkleHash) ... function compute_root_from_path_and_item (line 131) | pub fn compute_root_from_path_and_item( type PartialMerkleTree (line 146) | pub struct PartialMerkleTree { method root (line 154) | pub fn root(&self) -> MerkleHash { method insert (line 167) | pub fn insert(&mut self, elem: MerkleHash) { method size (line 179) | pub fn size(&self) -> u64 { method get_path (line 183) | pub fn get_path(&self) -> &[MerkleHash] { function test_with_len (line 195) | fn test_with_len(n: u32, rng: &mut StdRng) { function test_merkle_path (line 208) | fn test_merkle_path() { function test_incorrect_path (line 217) | fn test_incorrect_path() { function test_elements_order (line 226) | fn test_elements_order() { function compute_root (line 235) | fn compute_root(hashes: &[CryptoHash]) -> CryptoHash { function test_merkle_tree (line 250) | fn test_merkle_tree() { function test_combine_hash_stability (line 262) | fn test_combine_hash_stability() { FILE: core/primitives/src/network.rs type PeerId (line 22) | pub struct PeerId(Arc); method new (line 25) | pub fn new(key: PublicKey) -> Self { method public_key (line 29) | pub fn public_key(&self) -> &PublicKey { method random (line 35) | pub fn random() -> Self { method fmt (line 41) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 47) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type AnnounceAccount (line 54) | pub struct AnnounceAccount { method build_header_hash (line 68) | pub fn build_header_hash( method hash (line 76) | pub fn hash(&self) -> CryptoHash { FILE: core/primitives/src/rand.rs type WeightedIndex (line 8) | pub struct WeightedIndex { method new (line 15) | pub fn new(weights: Vec) -> Self { method sample (line 60) | pub fn sample(&self, seed: [u8; 32]) -> usize { method get_aliases (line 74) | pub fn get_aliases(&self) -> &[u64] { method get_no_alias_odds (line 78) | pub fn get_no_alias_odds(&self) -> &[Power] { method copy_8_bytes (line 82) | fn copy_8_bytes(arr: &[u8]) -> [u8; 8] { type Aliases (line 97) | pub struct Aliases { method new (line 104) | pub fn new(n: usize) -> Self { method push_big (line 108) | pub fn push_big(&mut self, b: usize) { method pop_big (line 112) | pub fn pop_big(&mut self) -> usize { method bigs_is_empty (line 116) | pub fn bigs_is_empty(&self) -> bool { method push_small (line 120) | pub fn push_small(&mut self, s: usize) { method pop_small (line 124) | pub fn pop_small(&mut self) -> usize { method smalls_is_empty (line 128) | pub fn smalls_is_empty(&self) -> bool { method set_alias (line 132) | pub fn set_alias(&mut self, index: usize, alias: usize) { method get_aliases (line 136) | pub fn get_aliases(self) -> Vec { function test_should_correctly_compute_odds_and_aliases (line 148) | fn test_should_correctly_compute_odds_and_aliases() { function test_sample_should_produce_correct_distribution (line 159) | fn test_sample_should_produce_correct_distribution() { function assert_relative_closeness (line 178) | fn assert_relative_closeness(x: i32, y: i32) { function hash (line 184) | fn hash(input: &[u8]) -> [u8; 32] { FILE: core/primitives/src/receipt.rs type Receipt (line 28) | pub struct Receipt { method borrow (line 41) | fn borrow(&self) -> &CryptoHash { method get_hash (line 48) | pub fn get_hash(&self) -> CryptoHash { method new_balance_refund (line 55) | pub fn new_balance_refund(receiver_id: &AccountId, refund: Balance) ->... method new_gas_refund (line 78) | pub fn new_gas_refund( type ReceiptEnum (line 111) | pub enum ReceiptEnum { type ActionReceipt (line 127) | pub struct ActionReceipt { type DataReceipt (line 160) | pub struct DataReceipt { method fmt (line 167) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ReceivedData (line 180) | pub struct ReceivedData { method fmt (line 185) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type DelayedReceiptIndices (line 194) | pub struct DelayedReceiptIndices { method len (line 202) | pub fn len(&self) -> u64 { type ReceiptResult (line 208) | pub type ReceiptResult = HashMap>; FILE: core/primitives/src/runtime/apply_state.rs type ApplyState (line 12) | pub struct ApplyState { FILE: core/primitives/src/runtime/migration_data.rs type MigrationData (line 8) | pub struct MigrationData { method fmt (line 15) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type MigrationFlags (line 21) | pub struct MigrationFlags { FILE: core/primitives/src/sandbox.rs type SandboxStatePatch (line 13) | pub struct SandboxStatePatch { method new (line 18) | pub fn new(records: Vec) -> SandboxStatePatch { method is_empty (line 22) | pub fn is_empty(&self) -> bool { method clear (line 26) | pub fn clear(&mut self) { method take (line 30) | pub fn take(&mut self) -> SandboxStatePatch { method merge (line 34) | pub fn merge(&mut self, other: SandboxStatePatch) { method is_empty (line 58) | pub fn is_empty(&self) -> bool { method clear (line 62) | pub fn clear(&self) {} method take (line 64) | pub fn take(&mut self) -> Self { method merge (line 68) | pub fn merge(&self, _other: SandboxStatePatch) {} type Item (line 40) | type Item = StateRecord; type IntoIter (line 41) | type IntoIter = std::vec::IntoIter; method into_iter (line 43) | fn into_iter(self) -> Self::IntoIter { type SandboxStatePatch (line 54) | pub struct SandboxStatePatch; method new (line 18) | pub fn new(records: Vec) -> SandboxStatePatch { method is_empty (line 22) | pub fn is_empty(&self) -> bool { method clear (line 26) | pub fn clear(&mut self) { method take (line 30) | pub fn take(&mut self) -> SandboxStatePatch { method merge (line 34) | pub fn merge(&mut self, other: SandboxStatePatch) { method is_empty (line 58) | pub fn is_empty(&self) -> bool { method clear (line 62) | pub fn clear(&self) {} method take (line 64) | pub fn take(&mut self) -> Self { method merge (line 68) | pub fn merge(&self, _other: SandboxStatePatch) {} type Item (line 72) | type Item = StateRecord; type IntoIter (line 73) | type IntoIter = std::iter::Empty; method into_iter (line 76) | fn into_iter(self) -> Self::IntoIter { FILE: core/primitives/src/shard_layout.rs type ShardVersion (line 48) | pub type ShardVersion = u32; type ShardLayout (line 51) | pub enum ShardLayout { method v0_single_shard (line 100) | pub fn v0_single_shard() -> Self { method v0 (line 105) | pub fn v0(num_shards: NumShards, version: ShardVersion) -> Self { method v1 (line 110) | pub fn v1( method v0_test (line 138) | pub fn v0_test() -> Self { method get_children_shards_uids (line 144) | pub fn get_children_shards_uids(&self, parent_shard_id: ShardId) -> Op... method get_children_shards_ids (line 152) | pub fn get_children_shards_ids(&self, parent_shard_id: ShardId) -> Opt... method get_parent_shard_id (line 166) | pub fn get_parent_shard_id(&self, shard_id: ShardId) -> Result ShardVersion { method num_shards (line 190) | fn num_shards(&self) -> NumShards { method shard_ids (line 197) | pub fn shard_ids(&self) -> impl Iterator { method shard_uids (line 203) | pub fn shard_uids(&self) -> impl Iterator + '_ { type ShardLayoutV0 (line 62) | pub struct ShardLayoutV0 { type ShardSplitMap (line 73) | type ShardSplitMap = Vec>; type ShardLayoutV1 (line 76) | pub struct ShardLayoutV1 { type ShardLayoutError (line 94) | pub enum ShardLayoutError { function account_id_to_shard_id (line 211) | pub fn account_id_to_shard_id(account_id: &AccountId, shard_layout: &Sha... function account_id_to_shard_uid (line 235) | pub fn account_id_to_shard_uid(account_id: &AccountId, shard_layout: &Sh... type ShardUId (line 244) | pub struct ShardUId { method single_shard (line 250) | pub fn single_shard() -> Self { method to_bytes (line 255) | pub fn to_bytes(&self) -> [u8; 8] { method next_shard_prefix (line 262) | pub fn next_shard_prefix(shard_uid_bytes: &[u8; 8]) -> [u8; 8] { method from_shard_id_and_layout (line 276) | pub fn from_shard_id_and_layout(shard_id: ShardId, shard_layout: &Shar... method shard_id (line 282) | pub fn shard_id(&self) -> ShardId { type Error (line 288) | type Error = Box; method try_from (line 291) | fn try_from(bytes: &[u8]) -> Result { method fmt (line 325) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 331) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 337) | type Err = String; method from_str (line 339) | fn from_str(s: &str) -> Result { method deserialize (line 362) | fn deserialize(deserializer: D) -> Result method serialize (line 371) | fn serialize(&self, serializer: S) -> Result function get_block_shard_uid (line 302) | pub fn get_block_shard_uid(block_hash: &CryptoHash, shard_uid: &ShardUId... function get_block_shard_uid_rev (line 311) | pub fn get_block_shard_uid_rev( type ShardUIdVisitor (line 379) | struct ShardUIdVisitor; type Value (line 381) | type Value = ShardUId; method expecting (line 383) | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { method visit_str (line 390) | fn visit_str(self, v: &str) -> Result method visit_map (line 397) | fn visit_map(self, mut map: A) -> Result type OldShardLayoutV1 (line 436) | pub struct OldShardLayoutV1 { function test_shard_layout_v0 (line 454) | fn test_shard_layout_v0() { function test_shard_layout_v1 (line 474) | fn test_shard_layout_v1() { function test_remove_fixed_shards (line 515) | fn test_remove_fixed_shards() { function parse_account_ids (line 534) | fn parse_account_ids(ids: &[&str]) -> Vec { function test_shard_layout_all (line 539) | fn test_shard_layout_all() { FILE: core/primitives/src/sharding.rs type ChunkHash (line 32) | pub struct ChunkHash(pub CryptoHash); method as_bytes (line 35) | pub fn as_bytes(&self) -> &[u8; 32] { method as_ref (line 41) | fn as_ref(&self) -> &[u8] { method from (line 53) | fn from(crypto_hash: CryptoHash) -> Self { function from (line 47) | fn from(chunk_hash: ChunkHash) -> Self { type ShardInfo (line 59) | pub struct ShardInfo(pub ShardId, pub ChunkHash); type StateSyncInfo (line 63) | pub struct StateSyncInfo { type ShardChunkHeaderV1 (line 78) | pub struct ShardChunkHeaderV1 { method init (line 451) | pub fn init(&mut self) { method chunk_hash (line 455) | pub fn chunk_hash(&self) -> ChunkHash { method compute_hash (line 459) | pub fn compute_hash(inner: &ShardChunkHeaderInnerV1) -> ChunkHash { method new (line 466) | pub fn new( type ShardChunkHeaderV2 (line 92) | pub struct ShardChunkHeaderV2 { method init (line 105) | pub fn init(&mut self) { method compute_hash (line 109) | pub fn compute_hash(inner: &ShardChunkHeaderInnerV1) -> ChunkHash { method new (line 116) | pub fn new( type ShardChunkHeaderV3 (line 158) | pub struct ShardChunkHeaderV3 { method init (line 171) | pub fn init(&mut self) { method compute_hash (line 175) | pub fn compute_hash(inner: &ShardChunkHeaderInner) -> ChunkHash { method new (line 182) | pub fn new( method from_inner (line 218) | pub fn from_inner(inner: ShardChunkHeaderInner, signer: &dyn Validator... type ShardChunkHeader (line 226) | pub enum ShardChunkHeader { method take_inner (line 234) | pub fn take_inner(self) -> ShardChunkHeaderInner { method inner_header_hash (line 242) | pub fn inner_header_hash(&self) -> CryptoHash { method height_created (line 252) | pub fn height_created(&self) -> BlockHeight { method signature (line 261) | pub fn signature(&self) -> &Signature { method height_included (line 270) | pub fn height_included(&self) -> BlockHeight { method height_included_mut (line 279) | pub fn height_included_mut(&mut self) -> &mut BlockHeight { method is_new_chunk (line 287) | pub fn is_new_chunk(&self) -> bool { method prev_validator_power_proposals (line 292) | pub fn prev_validator_power_proposals(&self) -> ValidatorPowerIter { method prev_validator_pledge_proposals (line 305) | pub fn prev_validator_pledge_proposals(&self) -> ValidatorPledgeIter { method prev_state_root (line 318) | pub fn prev_state_root(&self) -> StateRoot { method prev_block_hash (line 327) | pub fn prev_block_hash(&self) -> &CryptoHash { method encoded_merkle_root (line 336) | pub fn encoded_merkle_root(&self) -> CryptoHash { method shard_id (line 345) | pub fn shard_id(&self) -> ShardId { method encoded_length (line 354) | pub fn encoded_length(&self) -> u64 { method prev_gas_used (line 363) | pub fn prev_gas_used(&self) -> Gas { method gas_limit (line 372) | pub fn gas_limit(&self) -> Gas { method prev_balance_burnt (line 381) | pub fn prev_balance_burnt(&self) -> Balance { method prev_outgoing_receipts_root (line 390) | pub fn prev_outgoing_receipts_root(&self) -> CryptoHash { method prev_outcome_root (line 399) | pub fn prev_outcome_root(&self) -> CryptoHash { method tx_root (line 408) | pub fn tx_root(&self) -> CryptoHash { method chunk_hash (line 417) | pub fn chunk_hash(&self) -> ChunkHash { method valid_for (line 426) | pub fn valid_for(&self, version: ProtocolVersion) -> bool { method compute_hash (line 438) | pub fn compute_hash(&self) -> ChunkHash { type ChunkHashHeight (line 448) | pub struct ChunkHashHeight(pub ChunkHash, pub BlockHeight); type PartialEncodedChunk (line 506) | pub enum PartialEncodedChunk { method new (line 512) | pub fn new( method cloned_header (line 525) | pub fn cloned_header(&self) -> ShardChunkHeader { method chunk_hash (line 532) | pub fn chunk_hash(&self) -> ChunkHash { method height_included (line 539) | pub fn height_included(&self) -> BlockHeight { method parts (line 547) | pub fn parts(&self) -> &[PartialEncodedChunkPart] { method receipts (line 555) | pub fn receipts(&self) -> &[ReceiptProof] { method prev_block (line 563) | pub fn prev_block(&self) -> &CryptoHash { method valid_for (line 571) | pub fn valid_for(&self, version: ProtocolVersion) -> bool { method height_created (line 578) | pub fn height_created(&self) -> BlockHeight { method shard_id (line 584) | pub fn shard_id(&self) -> ShardId { method from (line 627) | fn from(pec: PartialEncodedChunkWithArcReceipts) -> Self { type PartialEncodedChunkV2 (line 593) | pub struct PartialEncodedChunkV2 { method from (line 600) | fn from(pec: PartialEncodedChunk) -> Self { type PartialEncodedChunkV1 (line 613) | pub struct PartialEncodedChunkV1 { type PartialEncodedChunkWithArcReceipts (line 620) | pub struct PartialEncodedChunkWithArcReceipts { type ShardProof (line 637) | pub struct ShardProof { type ReceiptProof (line 645) | pub struct ReceiptProof(pub Vec, pub ShardProof); method partial_cmp (line 650) | fn partial_cmp(&self, other: &Self) -> Option { method verify_against_receipt_root (line 663) | pub fn verify_against_receipt_root(&self, receipt_root: CryptoHash) ->... method cmp (line 656) | fn cmp(&self, other: &Self) -> Ordering { type PartialEncodedChunkPart (line 672) | pub struct PartialEncodedChunkPart { method fmt (line 679) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ShardChunkV1 (line 689) | pub struct ShardChunkV1 { type ShardChunkV2 (line 697) | pub struct ShardChunkV2 { type ShardChunk (line 705) | pub enum ShardChunk { method with_header (line 711) | pub fn with_header(chunk: ShardChunk, header: ShardChunkHeader) -> Opt... method set_height_included (line 732) | pub fn set_height_included(&mut self, height: BlockHeight) { method height_included (line 740) | pub fn height_included(&self) -> BlockHeight { method height_created (line 748) | pub fn height_created(&self) -> BlockHeight { method prev_block (line 756) | pub fn prev_block(&self) -> &CryptoHash { method prev_state_root (line 764) | pub fn prev_state_root(&self) -> StateRoot { method tx_root (line 772) | pub fn tx_root(&self) -> CryptoHash { method prev_outgoing_receipts_root (line 780) | pub fn prev_outgoing_receipts_root(&self) -> CryptoHash { method shard_id (line 788) | pub fn shard_id(&self) -> ShardId { method chunk_hash (line 796) | pub fn chunk_hash(&self) -> ChunkHash { method prev_outgoing_receipts (line 804) | pub fn prev_outgoing_receipts(&self) -> &[Receipt] { method transactions (line 812) | pub fn transactions(&self) -> &[SignedTransaction] { method header_hash (line 820) | pub fn header_hash(&self) -> ChunkHash { method prev_block_hash (line 828) | pub fn prev_block_hash(&self) -> CryptoHash { method take_header (line 836) | pub fn take_header(self) -> ShardChunkHeader { method cloned_header (line 843) | pub fn cloned_header(&self) -> ShardChunkHeader { method compute_header_hash (line 850) | pub fn compute_header_hash(&self) -> ChunkHash { type EncodedShardChunkBody (line 859) | pub struct EncodedShardChunkBody { method num_fetched_parts (line 864) | pub fn num_fetched_parts(&self) -> usize { method reconstruct (line 877) | pub fn reconstruct( method get_merkle_hash_and_paths (line 884) | pub fn get_merkle_hash_and_paths(&self) -> (MerkleHash, Vec(pub ShardId, pub &'a [Receipt]); type TransactionReceipt (line 895) | struct TransactionReceipt(Vec, Vec); type EncodedShardChunkV1 (line 898) | pub struct EncodedShardChunkV1 { method chunk_hash (line 904) | pub fn chunk_hash(&self) -> ChunkHash { method decode_chunk (line 908) | pub fn decode_chunk(&self, data_parts: usize) -> Result ShardChunkHeader { method content (line 944) | pub fn content(&self) -> &EncodedShardChunkBody { method content_mut (line 952) | pub fn content_mut(&mut self) -> &mut EncodedShardChunkBody { method shard_id (line 960) | pub fn shard_id(&self) -> ShardId { method encoded_merkle_root (line 968) | pub fn encoded_merkle_root(&self) -> CryptoHash { method encoded_length (line 976) | pub fn encoded_length(&self) -> u64 { method from_header (line 983) | pub fn from_header( method decode_transaction_receipts (line 1007) | fn decode_transaction_receipts( method encode_transaction_receipts (line 1021) | pub fn encode_transaction_receipts( method new (line 1052) | pub fn new( method chunk_hash (line 1153) | pub fn chunk_hash(&self) -> ChunkHash { method part_ords_to_parts (line 1160) | fn part_ords_to_parts( method create_partial_encoded_chunk (line 1179) | pub fn create_partial_encoded_chunk( method create_partial_encoded_chunk_with_arc_receipts (line 1198) | pub fn create_partial_encoded_chunk_with_arc_receipts( method decode_chunk (line 1212) | pub fn decode_chunk(&self, data_parts: usize) -> Result Self { method reconstruct (line 1270) | pub fn reconstruct>( method data_shard_count (line 1283) | pub fn data_shard_count(&self) -> usize { method total_shard_count (line 1287) | pub fn total_shard_count(&self) -> usize { FILE: core/primitives/src/sharding/shard_chunk_header_inner.rs type ShardChunkHeaderInner (line 9) | pub enum ShardChunkHeaderInner { method prev_state_root (line 16) | pub fn prev_state_root(&self) -> &StateRoot { method prev_block_hash (line 24) | pub fn prev_block_hash(&self) -> &CryptoHash { method gas_limit (line 32) | pub fn gas_limit(&self) -> Gas { method prev_gas_used (line 40) | pub fn prev_gas_used(&self) -> Gas { method prev_validator_power_proposals (line 48) | pub fn prev_validator_power_proposals(&self) -> ValidatorPowerIter { method prev_validator_pledge_proposals (line 56) | pub fn prev_validator_pledge_proposals(&self) -> ValidatorPledgeIter { method height_created (line 64) | pub fn height_created(&self) -> BlockHeight { method shard_id (line 72) | pub fn shard_id(&self) -> ShardId { method prev_outcome_root (line 80) | pub fn prev_outcome_root(&self) -> &CryptoHash { method encoded_merkle_root (line 88) | pub fn encoded_merkle_root(&self) -> &CryptoHash { method encoded_length (line 96) | pub fn encoded_length(&self) -> u64 { method prev_balance_burnt (line 104) | pub fn prev_balance_burnt(&self) -> Balance { method prev_outgoing_receipts_root (line 112) | pub fn prev_outgoing_receipts_root(&self) -> &CryptoHash { method tx_root (line 120) | pub fn tx_root(&self) -> &CryptoHash { type ShardChunkHeaderInnerV1 (line 129) | pub struct ShardChunkHeaderInnerV1 { type ShardChunkHeaderInnerV2 (line 158) | pub struct ShardChunkHeaderInnerV2 { FILE: core/primitives/src/signable_message.rs constant MIN_ON_CHAIN_DISCRIMINANT (line 16) | const MIN_ON_CHAIN_DISCRIMINANT: u32 = 1 << 30; constant MAX_ON_CHAIN_DISCRIMINANT (line 17) | const MAX_ON_CHAIN_DISCRIMINANT: u32 = (1 << 31) - 1; constant MIN_OFF_CHAIN_DISCRIMINANT (line 18) | const MIN_OFF_CHAIN_DISCRIMINANT: u32 = 1 << 31; constant MAX_OFF_CHAIN_DISCRIMINANT (line 19) | const MAX_OFF_CHAIN_DISCRIMINANT: u32 = u32::MAX; constant UIP_META_TRANSACTIONS (line 21) | const UIP_META_TRANSACTIONS: u32 = 366; type MessageDiscriminant (line 46) | pub struct MessageDiscriminant { method new_on_chain (line 108) | pub fn new_on_chain(nep: u32) -> Result { method new_off_chain (line 125) | pub fn new_off_chain(nep: u32) -> Result { method raw_discriminant (line 138) | pub fn raw_discriminant(&self) -> u32 { method is_transaction (line 143) | pub fn is_transaction(&self) -> bool { method on_chain_nep (line 155) | pub fn on_chain_nep(&self) -> Option { method off_chain_nep (line 174) | pub fn off_chain_nep(&self) -> Option { method from (line 207) | fn from(ty: SignableMessageType) -> Self { type SignableMessage (line 57) | pub struct SignableMessage<'a, T> { type SignableMessageType (line 64) | pub enum SignableMessageType { type Error (line 188) | type Error = ReadDiscriminantError; method try_from (line 190) | fn try_from(discriminant: MessageDiscriminant) -> Result Self { function sign (line 95) | pub fn sign(&self, signer: &dyn Signer) -> Signature { function create_user_test_signer (line 227) | fn create_user_test_signer(account_id: &AccountIdRef) -> InMemorySigner { function nep_366_ok (line 233) | fn nep_366_ok() { function nep_366_wrong_nep (line 247) | fn nep_366_wrong_nep() { function nep_366_wrong_msg_type (line 265) | fn nep_366_wrong_msg_type() { function delegate_action (line 280) | fn delegate_action( FILE: core/primitives/src/state.rs type ValueRef (line 7) | pub struct ValueRef { method new (line 18) | pub fn new(value: &[u8]) -> Self { method decode (line 23) | pub fn decode(bytes: &[u8; 36]) -> Self { method len (line 30) | pub fn len(&self) -> usize { method eq (line 36) | fn eq(&self, rhs: &[u8]) -> bool { method fmt (line 42) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function test_encode_decode (line 53) | fn test_encode_decode() { type FlatStateValue (line 66) | pub enum FlatStateValue { constant INLINE_DISK_VALUE_THRESHOLD (line 78) | pub const INLINE_DISK_VALUE_THRESHOLD: usize = 4000; method on_disk (line 80) | pub fn on_disk(value: &[u8]) -> Self { method value_ref (line 88) | pub fn value_ref(value: &[u8]) -> Self { method inlined (line 92) | pub fn inlined(value: &[u8]) -> Self { method to_value_ref (line 96) | pub fn to_value_ref(&self) -> ValueRef { method value_len (line 103) | pub fn value_len(&self) -> usize { FILE: core/primitives/src/state_part.rs type PartId (line 3) | pub struct PartId { method new (line 8) | pub fn new(part_id: u64, num_parts: u64) -> PartId { FILE: core/primitives/src/state_record.rs type StateRecord (line 21) | pub enum StateRecord { method from_raw_key_value (line 53) | pub fn from_raw_key_value(key: Vec, value: Vec) -> Option String { method fmt (line 128) | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { function to_printable (line 159) | fn to_printable(blob: &[u8]) -> String { function state_record_to_account_id (line 174) | pub fn state_record_to_account_id(state_record: &StateRecord) -> &Accoun... function is_contract_code_key (line 187) | pub fn is_contract_code_key(key: &[u8]) -> bool { FILE: core/primitives/src/state_sync.rs type ReceiptProofResponse (line 12) | pub struct ReceiptProofResponse(pub CryptoHash, pub Arc Self { method set_bit (line 68) | pub fn set_bit(&mut self, bit: u64) { type ShardStateSyncResponseHeader (line 75) | pub enum ShardStateSyncResponseHeader { method take_chunk (line 82) | pub fn take_chunk(self) -> ShardChunk { method cloned_chunk (line 90) | pub fn cloned_chunk(&self) -> ShardChunk { method cloned_prev_chunk_header (line 98) | pub fn cloned_prev_chunk_header(&self) -> Option { method chunk_height_included (line 106) | pub fn chunk_height_included(&self) -> BlockHeight { method chunk_prev_state_root (line 114) | pub fn chunk_prev_state_root(&self) -> StateRoot { method chunk_proof (line 122) | pub fn chunk_proof(&self) -> &MerklePath { method prev_chunk_proof (line 130) | pub fn prev_chunk_proof(&self) -> &Option { method incoming_receipts_proofs (line 138) | pub fn incoming_receipts_proofs(&self) -> &[ReceiptProofResponse] { method root_proofs (line 146) | pub fn root_proofs(&self) -> &[Vec] { method state_root_node (line 154) | pub fn state_root_node(&self) -> &StateRootNode { method num_state_parts (line 161) | pub fn num_state_parts(&self) -> u64 { type ShardStateSyncResponseV1 (line 167) | pub struct ShardStateSyncResponseV1 { method part_id (line 248) | pub fn part_id(&self) -> Option { type ShardStateSyncResponseV2 (line 173) | pub struct ShardStateSyncResponseV2 { type ShardStateSyncResponseV3 (line 179) | pub struct ShardStateSyncResponseV3 { type ShardStateSyncResponse (line 191) | pub enum ShardStateSyncResponse { method part_id (line 198) | pub fn part_id(&self) -> Option { method take_header (line 206) | pub fn take_header(self) -> Option { method part (line 214) | pub fn part(&self) -> &Option<(u64, Vec)> { method take_part (line 222) | pub fn take_part(self) -> Option<(u64, Vec)> { method can_generate (line 230) | pub fn can_generate(&self) -> bool { method cached_parts (line 238) | pub fn cached_parts(&self) -> &Option { constant STATE_PART_MEMORY_LIMIT (line 253) | pub const STATE_PART_MEMORY_LIMIT: bytesize::ByteSize = bytesize::ByteSi... function get_num_state_parts (line 255) | pub fn get_num_state_parts(memory_usage: u64) -> u64 { type StateSyncDumpProgress (line 261) | pub enum StateSyncDumpProgress { function test_get_num_state_parts (line 286) | fn test_get_num_state_parts() { FILE: core/primitives/src/static_clock.rs type MockClockPerState (line 39) | struct MockClockPerState { type MockClockPerThread (line 52) | struct MockClockPerThread { method with (line 57) | fn with(f: F) -> T type MockClockGuard (line 68) | pub struct MockClockGuard {} method add_utc (line 72) | pub fn add_utc(&self, mock_date: DateTime) { method add_instant (line 84) | pub fn add_instant(&self, mock_date: Instant) { method utc_call_count (line 96) | pub fn utc_call_count(&self) -> u64 { method instant_call_count (line 106) | pub fn instant_call_count(&self) -> u64 { method default (line 117) | fn default() -> Self { method drop (line 124) | fn drop(&mut self) { type StaticClock (line 130) | pub struct StaticClock {} method set_mock (line 134) | fn set_mock() { method reset (line 142) | fn reset() { method instant (line 148) | pub fn instant() -> Instant { method utc (line 166) | pub fn utc() -> DateTime { FILE: core/primitives/src/telemetry.rs type TelemetryAgentInfo (line 8) | pub struct TelemetryAgentInfo { type TelemetrySystemInfo (line 15) | pub struct TelemetrySystemInfo { type TelemetryChainInfo (line 24) | pub struct TelemetryChainInfo { type TelemetryInfo (line 39) | pub struct TelemetryInfo { FILE: core/primitives/src/test_utils.rs function account_new (line 27) | pub fn account_new(amount: Balance, code_hash: CryptoHash) -> Account { method new (line 32) | pub fn new( method sign (line 42) | pub fn sign(self, signer: &dyn Signer) -> SignedTransaction { method create_account (line 47) | pub fn create_account(mut self) -> Self { method deploy_contract (line 52) | pub fn deploy_contract(mut self, code: Vec) -> Self { method function_call (line 57) | pub fn function_call( method transfer (line 73) | pub fn transfer(mut self, deposit: Balance) -> Self { method pledge (line 78) | pub fn pledge(mut self, pledge: Balance, public_key: PublicKey) -> Self { method add_key (line 82) | pub fn add_key(mut self, public_key: PublicKey, access_key: AccessKey) -... method delete_key (line 87) | pub fn delete_key(mut self, public_key: PublicKey) -> Self { method delete_account (line 92) | pub fn delete_account(mut self, beneficiary_id: AccountId) -> Self { method from_actions (line 99) | pub fn from_actions( method send_money (line 118) | pub fn send_money( method pledge (line 136) | pub fn pledge( method create_account (line 154) | pub fn create_account( method create_contract (line 180) | pub fn create_contract( method call (line 208) | pub fn call( method delete_account (line 234) | pub fn delete_account( method empty (line 252) | pub fn empty(block_hash: CryptoHash) -> Self { method get_mut (line 265) | pub fn get_mut(&mut self) -> &mut BlockV3 { method get_mut (line 276) | pub fn get_mut(&mut self) -> &mut crate::block_header::BlockHeaderV4 { method set_latest_protocol_version (line 287) | pub fn set_latest_protocol_version(&mut self, latest_protocol_version: P... method resign (line 308) | pub fn resign(&mut self, signer: &dyn ValidatorSigner) { method get_mut (line 340) | pub fn get_mut(&mut self) -> &mut ShardChunkHeaderV3 { type TestBlockBuilder (line 357) | pub struct TestBlockBuilder { method new (line 369) | pub fn new(prev: &Block, signer: Arc) -> Self { method height (line 388) | pub fn height(mut self, height: u64) -> Self { method epoch_id (line 392) | pub fn epoch_id(mut self, epoch_id: EpochId) -> Self { method next_epoch_id (line 396) | pub fn next_epoch_id(mut self, next_epoch_id: EpochId) -> Self { method next_bp_hash (line 400) | pub fn next_bp_hash(mut self, next_bp_hash: CryptoHash) -> Self { method approvals (line 404) | pub fn approvals(mut self, approvals: Vec>>) -> ... method block_merkle_tree (line 410) | pub fn block_merkle_tree(mut self, block_merkle_tree: &mut PartialMerk... method build (line 416) | pub fn build(self) -> Block { method mut_header (line 444) | pub fn mut_header(&mut self) -> &mut BlockHeader { method set_chunks (line 461) | pub fn set_chunks(&mut self, chunks: Vec) { type MockEpochInfoProvider (line 492) | pub struct MockEpochInfoProvider { method new (line 497) | pub fn new(validators: impl Iterator Result Result Vec { function create_test_signer (line 563) | pub fn create_test_signer(account_name: &str) -> InMemoryValidatorSigner { function create_user_test_signer (line 576) | pub fn create_user_test_signer(account_name: &AccountIdRef) -> InMemoryS... function unc_implicit_test_account (line 586) | pub fn unc_implicit_test_account() -> AccountId { function unc_implicit_test_account_secret (line 591) | pub fn unc_implicit_test_account_secret() -> SecretKey { function eth_implicit_test_account (line 596) | pub fn eth_implicit_test_account() -> AccountId { method assert_success (line 603) | pub fn assert_success(&self) { FILE: core/primitives/src/transaction.rs type LogEntry (line 23) | pub type LogEntry = String; type Transaction (line 26) | pub struct Transaction { method get_hash_and_size (line 45) | pub fn get_hash_and_size(&self) -> (CryptoHash, u64) { type SignedTransaction (line 53) | pub struct SignedTransaction { method new (line 63) | pub fn new(signature: Signature, transaction: Transaction) -> Self { method init (line 70) | pub fn init(&mut self) { method get_hash (line 76) | pub fn get_hash(&self) -> CryptoHash { method get_size (line 80) | pub fn get_size(&self) -> u64 { method borrow (line 98) | fn borrow(&self) -> &CryptoHash { method serialize (line 104) | fn serialize(&self, serializer: S) -> Result method deserialize (line 117) | fn deserialize(deserializer: D) -> Result method hash (line 86) | fn hash(&self, state: &mut H) { method eq (line 92) | fn eq(&self, other: &SignedTransaction) -> bool { type ExecutionStatus (line 133) | pub enum ExecutionStatus { method fmt (line 147) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type PartialExecutionOutcome (line 163) | pub struct PartialExecutionOutcome { method from (line 172) | fn from(outcome: &ExecutionOutcome) -> Self { type PartialExecutionStatus (line 185) | pub enum PartialExecutionStatus { method from (line 193) | fn from(status: ExecutionStatus) -> PartialExecutionStatus { type ExecutionOutcome (line 205) | pub struct ExecutionOutcome { method fmt (line 247) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ExecutionMetadata (line 236) | pub enum ExecutionMetadata { type ExecutionOutcomeWithId (line 264) | pub struct ExecutionOutcomeWithId { method to_hashes (line 272) | pub fn to_hashes(&self) -> Vec { type ExecutionOutcomeWithIdAndProof (line 283) | pub struct ExecutionOutcomeWithIdAndProof { method id (line 291) | pub fn id(&self) -> &CryptoHash { function verify_transaction_signature (line 296) | pub fn verify_transaction_signature( type ExecutionOutcomeWithProof (line 307) | pub struct ExecutionOutcomeWithProof { function test_verify_transaction (line 319) | fn test_verify_transaction() { function test_serialize_transaction (line 345) | fn test_serialize_transaction() { function test_outcome_to_hashes (line 395) | fn test_outcome_to_hashes() { FILE: core/primitives/src/trie_key.rs constant ACCOUNT_DATA_SEPARATOR (line 10) | pub(crate) const ACCOUNT_DATA_SEPARATOR: u8 = b','; constant ACCESS_KEY_SEPARATOR (line 13) | pub(crate) const ACCESS_KEY_SEPARATOR: u8 = col::ACCESS_KEY; constant RSA2048_KEY_SEPARATOR (line 15) | pub(crate) const RSA2048_KEY_SEPARATOR: u8 = col::RSA2048_KEY; constant ACCOUNT (line 21) | pub const ACCOUNT: u8 = 0; constant CONTRACT_CODE (line 23) | pub const CONTRACT_CODE: u8 = 1; constant ACCESS_KEY (line 26) | pub const ACCESS_KEY: u8 = 2; constant RECEIVED_DATA (line 30) | pub const RECEIVED_DATA: u8 = 3; constant POSTPONED_RECEIPT_ID (line 33) | pub const POSTPONED_RECEIPT_ID: u8 = 4; constant PENDING_DATA_COUNT (line 36) | pub const PENDING_DATA_COUNT: u8 = 5; constant POSTPONED_RECEIPT (line 38) | pub const POSTPONED_RECEIPT: u8 = 6; constant DELAYED_RECEIPT_OR_INDICES (line 45) | pub const DELAYED_RECEIPT_OR_INDICES: u8 = 7; constant CONTRACT_DATA (line 47) | pub const CONTRACT_DATA: u8 = 9; constant RSA2048_KEY (line 49) | pub const RSA2048_KEY: u8 = 10; constant NON_DELAYED_RECEIPT_COLUMNS (line 51) | pub const NON_DELAYED_RECEIPT_COLUMNS: [(u8, &str); 8] = [ type TrieKey (line 65) | pub enum TrieKey { method len (line 119) | pub fn len(&self) -> usize { method append_into (line 166) | pub fn append_into(&self, buf: &mut Vec) { method to_vec (line 232) | pub fn to_vec(&self) -> Vec { method get_account_id (line 239) | pub fn get_account_id(&self) -> Option { type Byte (line 108) | trait Byte { method len (line 109) | fn len(self) -> usize; method len (line 113) | fn len(self) -> usize { function parse_public_key_from_access_key_key (line 260) | pub fn parse_public_key_from_access_key_key( function parse_data_key_from_contract_data_key (line 274) | pub fn parse_data_key_from_contract_data_key<'a>( function parse_account_id_prefix (line 288) | pub fn parse_account_id_prefix<'a>( function parse_account_id_from_slice (line 303) | fn parse_account_id_from_slice( function next_token (line 331) | fn next_token(data: &[u8], separator: u8) -> Option<&[u8]> { function parse_account_id_from_contract_data_key (line 335) | pub fn parse_account_id_from_contract_data_key( function parse_account_id_from_account_key (line 349) | pub fn parse_account_id_from_account_key(raw_key: &[u8]) -> Result Vec { function get_raw_prefix_for_access_keys (line 449) | pub fn get_raw_prefix_for_access_keys(account_id: &AccountId) -> Vec { function get_raw_prefix_for_contract_data (line 457) | pub fn get_raw_prefix_for_contract_data(account_id: &AccountId, prefix: ... function parse_public_key_from_rsa_key_key (line 471) | pub fn parse_public_key_from_rsa_key_key( function parse_account_id_from_rsa_key_key (line 485) | pub fn parse_account_id_from_rsa_key_key(raw_key: &[u8]) -> Result Result); type StoreValue (line 93) | pub struct StoreValue(#[serde_as(as = "Base64")] Vec); type FunctionArgs (line 115) | pub struct FunctionArgs(#[serde_as(as = "Base64")] Vec); type StateChangeKind (line 119) | pub enum StateChangeKind { type StateChangesKinds (line 127) | pub type StateChangesKinds = Vec; method from_changes (line 131) | pub fn from_changes( type StateChangeCause (line 165) | pub enum StateChangeCause { type RawStateChange (line 202) | pub struct RawStateChange { type RawStateChangesWithTrieKey (line 209) | pub struct RawStateChangesWithTrieKey { type ConsolidatedStateChange (line 216) | pub struct ConsolidatedStateChange { type StateChangesForResharding (line 222) | pub struct StateChangesForResharding { method from_raw_state_changes (line 231) | pub fn from_raw_state_changes( type RawStateChanges (line 247) | pub type RawStateChanges = std::collections::BTreeMap, RawStateC... type StateChangesRequest (line 250) | pub enum StateChangesRequest { type StateChangeValue (line 259) | pub enum StateChangeValue { method affected_account_id (line 304) | pub fn affected_account_id(&self) -> &AccountId { type StateChangeWithCause (line 321) | pub struct StateChangeWithCause { type StateChanges (line 326) | pub type StateChanges = Vec; method from_changes (line 330) | pub fn from_changes( method from_account_changes (line 441) | pub fn from_account_changes( method from_access_key_changes (line 458) | pub fn from_access_key_changes( method from_contract_code_changes (line 475) | pub fn from_contract_code_changes( method from_data_changes (line 492) | pub fn from_data_changes( type StateRootNode (line 510) | pub struct StateRootNode { method empty (line 523) | pub fn empty() -> Self { type EpochId (line 549) | pub struct EpochId(pub CryptoHash); type Err (line 552) | type Err = Box; method from_str (line 555) | fn from_str(epoch_id_str: &str) -> Result { type ApprovalPledge (line 566) | pub struct ApprovalPledge { type ValidatorPowerAndPledge (line 591) | pub enum ValidatorPowerAndPledge { method new_v1 (line 654) | pub fn new_v1( method new (line 663) | pub fn new( method into_v1 (line 672) | pub fn into_v1(self) -> ValidatorPowerAndPledgeV1 { method account_and_pledge (line 679) | pub fn account_and_pledge(self) -> (AccountId, Balance) { method account_and_power (line 686) | pub fn account_and_power(self) -> (AccountId, Power) { method destructure (line 693) | pub fn destructure(self) -> (AccountId, PublicKey, Power, Balance) { method take_account_id (line 700) | pub fn take_account_id(self) -> AccountId { method account_id (line 707) | pub fn account_id(&self) -> &AccountId { method take_public_key (line 714) | pub fn take_public_key(self) -> PublicKey { method public_key (line 721) | pub fn public_key(&self) -> &PublicKey { method power (line 728) | pub fn power(&self) -> Power { method power_mut (line 735) | pub fn power_mut(&mut self) -> &mut Power { method pledge (line 742) | pub fn pledge(&self) -> Balance { method get_approval_pledge (line 748) | pub fn get_approval_pledge(&self, is_next_epoch: bool) -> ApprovalPled... method num_mandates (line 777) | pub fn num_mandates(&self, pledge_per_mandate: Balance) -> u16 { method partial_mandate_weight (line 797) | pub fn partial_mandate_weight(&self, pledge_per_mandate: Balance) -> B... type ValidatorPowerAndPledgeIter (line 595) | pub struct ValidatorPowerAndPledgeIter<'a> { function empty (line 602) | pub fn empty() -> Self { function v1 (line 606) | pub fn v1(collection: &'a [ValidatorPowerAndPledgeV1]) -> Self { function new (line 614) | pub fn new(collection: &'a [ValidatorPowerAndPledge]) -> Self { function len (line 622) | pub fn len(&self) -> usize { type Item (line 628) | type Item = ValidatorPowerAndPledge; method next (line 630) | fn next(&mut self) -> Option { type ValidatorPowerAndPledgeIterSource (line 648) | enum ValidatorPowerAndPledgeIterSource<'a> { type ValidatorPledge (line 814) | pub enum ValidatorPledge { method new_v1 (line 877) | pub fn new_v1(account_id: AccountId, public_key: PublicKey, pledge: Ba... method new (line 881) | pub fn new(account_id: AccountId, public_key: PublicKey, pledge: Balan... method into_v1 (line 885) | pub fn into_v1(self) -> ValidatorPledgeV1 { method account_and_pledge (line 892) | pub fn account_and_pledge(self) -> (AccountId, Balance) { method destructure (line 899) | pub fn destructure(self) -> (AccountId, PublicKey, Balance) { method take_account_id (line 906) | pub fn take_account_id(self) -> AccountId { method account_id (line 913) | pub fn account_id(&self) -> &AccountId { method take_public_key (line 920) | pub fn take_public_key(self) -> PublicKey { method public_key (line 927) | pub fn public_key(&self) -> &PublicKey { method pledge (line 934) | pub fn pledge(&self) -> Balance { method pledge_mut (line 941) | pub fn pledge_mut(&mut self) -> &mut Balance { type ValidatorPledgeIter (line 818) | pub struct ValidatorPledgeIter<'a> { function empty (line 825) | pub fn empty() -> Self { function v1 (line 829) | pub fn v1(collection: &'a [ValidatorPledgeV1]) -> Self { function new (line 837) | pub fn new(collection: &'a [ValidatorPledge]) -> Self { function len (line 845) | pub fn len(&self) -> usize { type Item (line 851) | type Item = ValidatorPledge; method next (line 853) | fn next(&mut self) -> Option { type ValidatorPledgeIterSource (line 871) | enum ValidatorPledgeIterSource<'a> { type ApprovalPower (line 949) | pub struct ApprovalPower { type ValidatorPower (line 971) | pub enum ValidatorPower { method new_v1 (line 1032) | pub fn new_v1(account_id: AccountId, public_key: PublicKey, power: Pow... method new (line 1036) | pub fn new(account_id: AccountId, public_key: PublicKey, power: Power)... method into_v1 (line 1040) | pub fn into_v1(self) -> ValidatorPowerV1 { method account_and_power (line 1047) | pub fn account_and_power(self) -> (AccountId, Power) { method destructure (line 1054) | pub fn destructure(self) -> (AccountId, PublicKey, Power) { method take_account_id (line 1061) | pub fn take_account_id(self) -> AccountId { method account_id (line 1068) | pub fn account_id(&self) -> &AccountId { method take_public_key (line 1075) | pub fn take_public_key(self) -> PublicKey { method public_key (line 1082) | pub fn public_key(&self) -> &PublicKey { method power (line 1089) | pub fn power(&self) -> Power { method power_mut (line 1096) | pub fn power_mut(&mut self) -> &mut Power { method get_approval_power (line 1102) | pub fn get_approval_power(&self, is_next_epoch: bool) -> ApprovalPower { type ValidatorPowerIter (line 975) | pub struct ValidatorPowerIter<'a> { function empty (line 982) | pub fn empty() -> Self { function v1 (line 986) | pub fn v1(collection: &'a [ValidatorPowerV1]) -> Self { function new (line 994) | pub fn new(collection: &'a [ValidatorPower]) -> Self { function len (line 1002) | pub fn len(&self) -> usize { type Item (line 1008) | type Item = ValidatorPower; method next (line 1010) | fn next(&mut self) -> Option { type ValidatorPowerIterSource (line 1026) | enum ValidatorPowerIterSource<'a> { type ValidatorPowerAndPledgeV1 (line 1116) | pub struct ValidatorPowerAndPledgeV1 { type ValidatorPledgeV1 (line 1129) | pub struct ValidatorPledgeV1 { type ValidatorPowerV1 (line 1140) | pub struct ValidatorPowerV1 { type BlockExtra (line 1151) | pub struct BlockExtra { type ChunkExtra (line 1167) | pub enum ChunkExtra { method new_with_only_state_root (line 1191) | pub fn new_with_only_state_root(state_root: &StateRoot) -> Self { method new (line 1195) | pub fn new( method outcome_root (line 1216) | pub fn outcome_root(&self) -> &StateRoot { method state_root (line 1224) | pub fn state_root(&self) -> &StateRoot { method state_root_mut (line 1232) | pub fn state_root_mut(&mut self) -> &mut StateRoot { method validator_power_proposals (line 1240) | pub fn validator_power_proposals(&self) -> ValidatorPowerIter { method validator_pledge_proposals (line 1248) | pub fn validator_pledge_proposals(&self) -> ValidatorPledgeIter { method gas_limit (line 1256) | pub fn gas_limit(&self) -> Gas { method gas_used (line 1264) | pub fn gas_used(&self) -> Gas { method balance_burnt (line 1272) | pub fn balance_burnt(&self) -> Balance { type ChunkExtraV2 (line 1173) | pub struct ChunkExtraV2 { type ChunkExtraV1 (line 1283) | pub struct ChunkExtraV1 { type BlockId (line 1304) | pub enum BlockId { type MaybeBlockId (line 1309) | pub type MaybeBlockId = Option; type SyncCheckpoint (line 1315) | pub enum SyncCheckpoint { type BlockReference (line 1324) | pub enum BlockReference { method latest (line 1331) | pub fn latest() -> Self { method from (line 1337) | fn from(block_id: BlockId) -> Self { method from (line 1343) | fn from(finality: Finality) -> Self { type ValidatorStats (line 1349) | pub struct ValidatorStats { type BlockChunkValidatorStats (line 1355) | pub struct BlockChunkValidatorStats { type EpochReference (line 1362) | pub enum EpochReference { method serialize (line 1369) | fn serialize(&self, s: S) -> Result type ValidatorInfoIdentifier (line 1393) | pub enum ValidatorInfoIdentifier { type ValidatorKickoutReason (line 1409) | pub enum ValidatorKickoutReason { type TransactionOrReceiptId (line 1440) | pub enum TransactionOrReceiptId { type EpochInfoProvider (line 1447) | pub trait EpochInfoProvider { method validator_power (line 1450) | fn validator_power( method validator_total_power (line 1458) | fn validator_total_power( method minimum_power (line 1464) | fn minimum_power(&self, prev_block_hash: &CryptoHash) -> Result Result Vali... function test_validator_power_num_mandates (line 1537) | fn test_validator_power_num_mandates() { function test_validator_partial_mandate_weight (line 1544) | fn test_validator_partial_mandate_weight() { FILE: core/primitives/src/upgrade_schedule.rs type ProtocolUpgradeVotingSchedule (line 8) | pub struct ProtocolUpgradeVotingSchedule { method is_in_future (line 21) | pub fn is_in_future(&self) -> bool { method timestamp (line 25) | pub fn timestamp(&self) -> i64 { method from_env_or_str (line 38) | pub fn from_env_or_str(s: &str) -> Result { method default (line 13) | fn default() -> Self { function get_protocol_version_internal (line 55) | pub(crate) fn get_protocol_version_internal( function test_no_upgrade_schedule (line 85) | fn test_no_upgrade_schedule() { function test_none_upgrade_schedule (line 116) | fn test_none_upgrade_schedule() { function test_before_scheduled_time (line 148) | fn test_before_scheduled_time() { function test_after_scheduled_time (line 189) | fn test_after_scheduled_time() { function test_parse (line 222) | fn test_parse() { function test_is_in_future (line 228) | fn test_is_in_future() { function test_env_overwrite (line 238) | fn test_env_overwrite() { FILE: core/primitives/src/utils.rs constant NS_IN_SECOND (line 29) | const NS_IN_SECOND: u64 = 1_000_000_000; type MaybeValidated (line 60) | pub struct MaybeValidated { function from_validated (line 79) | pub fn from_validated(payload: T) -> Self { function validate_with (line 102) | pub fn validate_with Result>( function mark_as_valid (line 117) | pub fn mark_as_valid(&self) { function map (line 133) | pub fn map U>(self, validator: F) -> MaybeValidated { function as_ref (line 152) | pub fn as_ref(&self) -> MaybeValidated<&T> { function is_validated (line 157) | pub fn is_validated(&self) -> bool { function into_inner (line 162) | pub fn into_inner(self) -> T { function get_inner (line 167) | pub fn get_inner(&self) -> &T { function from (line 174) | fn from(payload: T) -> Self { type Target (line 180) | type Target = T; method deref (line 182) | fn deref(&self) -> &Self::Target { function get_block_shard_id (line 187) | pub fn get_block_shard_id(block_hash: &CryptoHash, shard_id: ShardId) ->... function get_block_shard_id_rev (line 194) | pub fn get_block_shard_id_rev( function get_outcome_id_block_hash (line 208) | pub fn get_outcome_id_block_hash(outcome_id: &CryptoHash, block_hash: &C... function get_outcome_id_block_hash_rev (line 215) | pub fn get_outcome_id_block_hash_rev(key: &[u8]) -> std::io::Result<(Cry... function create_receipt_id_from_transaction (line 226) | pub fn create_receipt_id_from_transaction( function create_receipt_id_from_receipt (line 243) | pub fn create_receipt_id_from_receipt( function create_action_hash (line 261) | pub fn create_action_hash( function create_data_id (line 276) | pub fn create_data_id( function create_random_seed (line 295) | pub fn create_random_seed( function create_hash_upgradable (line 322) | fn create_hash_upgradable( function create_nonce_with_nonce (line 349) | fn create_nonce_with_nonce(base: &CryptoHash, salt: u64) -> CryptoHash { function index_to_bytes (line 355) | pub fn index_to_bytes(index: u64) -> [u8; 8] { type DisplayOption (line 361) | pub struct DisplayOption(pub Option); function fmt (line 364) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function into (line 373) | pub fn into(self) -> Option { function as_ref (line 379) | fn as_ref(&self) -> &Option { function from (line 385) | fn from(o: Option) -> Self { function from_timestamp (line 414) | pub fn from_timestamp(timestamp: u64) -> DateTime { function to_timestamp (line 421) | pub fn to_timestamp(time: DateTime) -> u64 { function get_num_seats_per_shard (line 427) | pub fn get_num_seats_per_shard(num_shards: NumShards, num_seats: NumSeat... function generate_random_string (line 443) | pub fn generate_random_string(len: usize) -> String { type Serializable (line 448) | pub struct Serializable<'a, T>(&'a T); function fmt (line 454) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function ser (line 465) | pub fn ser(object: &T) -> Serializable<'_, T> function account_is_valid (line 475) | pub fn account_is_valid(account_id: &AccountId, eth_accounts_enabled: bo... function derive_unc_account_id (line 485) | pub fn derive_unc_account_id(public_key: &ED25519PublicKey) -> AccountId { function derive_eth_implicit_account_id (line 491) | pub fn derive_eth_implicit_account_id(public_key: &Secp256K1PublicKey) -... function test_derive_unc_account_id (line 503) | fn test_derive_unc_account_id() { function test_derive_eth_implicit_account_id (line 512) | fn test_derive_eth_implicit_account_id() { function test_num_chunk_producers (line 520) | fn test_num_chunk_producers() { function test_create_hash_upgradable (line 530) | fn test_create_hash_upgradable() { FILE: core/primitives/src/utils/min_heap.rs type MinHeap (line 6) | pub struct MinHeap { function push (line 11) | pub fn push(&mut self, t: T) { function pop (line 15) | pub fn pop(&mut self) -> Option { function peek (line 19) | pub fn peek(&self) -> Option<&T> { function peek_mut (line 23) | pub fn peek_mut(&mut self) -> Option> { function len (line 27) | pub fn len(&self) -> usize { function extend (line 31) | pub fn extend>(&mut self, iter: I) { method default (line 40) | fn default() -> Self { function from_iter (line 46) | fn from_iter>(iter: I) -> Self { type Item (line 53) | type Item = T; type IntoIter (line 54) | type IntoIter = std::iter::Map>, fn(Reverse) -> T>; method into_iter (line 56) | fn into_iter(self) -> Self::IntoIter { type PeekMut (line 61) | pub struct PeekMut<'a, T: std::cmp::Ord>(std::collections::binary_heap::... function pop (line 64) | pub fn pop(this: Self) -> T { type Target (line 70) | type Target = T; function deref (line 72) | fn deref(&self) -> &T { function deref_mut (line 78) | fn deref_mut(&mut self) -> &mut T { function test_push_pop (line 88) | fn test_push_pop() { function test_push_pop_push (line 107) | fn test_push_pop_push() { function test_collect_pop (line 133) | fn test_collect_pop() { function test_peek (line 147) | fn test_peek() { function test_peek_mut (line 169) | fn test_peek_mut() { FILE: core/primitives/src/validator_mandates.rs type ValidatorMandatesConfig (line 14) | pub struct ValidatorMandatesConfig { method new (line 32) | pub fn new( type ValidatorMandates (line 54) | pub struct ValidatorMandates { method new (line 77) | pub fn new(config: ValidatorMandatesConfig, validators: &[ValidatorPow... method sample (line 123) | pub fn sample(&self, rng: &mut R) -> ValidatorMandatesAssignment method shuffled_mandates (line 183) | fn shuffled_mandates(&self, rng: &mut R) -> Vec method shuffled_partials (line 194) | fn shuffled_partials(&self, rng: &mut R) -> Vec<(ValidatorId, Balan... type ValidatorMandatesAssignment (line 212) | pub type ValidatorMandatesAssignment = Vec Self { type ShuffledShardIds (line 243) | struct ShuffledShardIds { method new (line 249) | fn new(rng: &mut R, num_shards: usize) -> Self method get_alias (line 263) | fn get_alias(&self, shard_id: usize) -> usize { function new_fixed_rng (line 288) | fn new_fixed_rng() -> ChaCha8Rng { function test_validator_mandates_config_new (line 293) | fn test_validator_mandates_config_new() { function new_validator_power_and_pledges (line 312) | fn new_validator_power_and_pledges() -> Vec { function test_validator_mandates_new (line 335) | fn test_validator_mandates_new() { function test_validator_mandates_shuffled_mandates (line 353) | fn test_validator_mandates_shuffled_mandates() { function assert_validator_mandates_shuffled_mandates (line 359) | fn assert_validator_mandates_shuffled_mandates( function test_validator_mandates_shuffled_partials (line 381) | fn test_validator_mandates_shuffled_partials() { function assert_validator_mandates_shuffled_partials (line 393) | fn assert_validator_mandates_shuffled_partials( function test_validator_mandates_sample_even (line 418) | fn test_validator_mandates_sample_even() { function test_validator_mandates_sample_uneven (line 451) | fn test_validator_mandates_sample_uneven() { function assert_validator_mandates_sample (line 484) | fn assert_validator_mandates_sample( function test_shuffled_shard_ids_new (line 498) | fn test_shuffled_shard_ids_new() { function assert_shuffled_shard_ids (line 510) | fn assert_shuffled_shard_ids( function test_shuffled_shard_ids_get_alias (line 525) | fn test_shuffled_shard_ids_get_alias() { FILE: core/primitives/src/validator_signer.rs type ValidatorSigner (line 16) | pub trait ValidatorSigner: Sync + Send { method validator_id (line 18) | fn validator_id(&self) -> &AccountId; method public_key (line 21) | fn public_key(&self) -> PublicKey; method sign_telemetry (line 24) | fn sign_telemetry(&self, info: &TelemetryInfo) -> serde_json::Value; method sign_block_header_parts (line 27) | fn sign_block_header_parts( method sign_chunk_hash (line 35) | fn sign_chunk_hash(&self, chunk_hash: &ChunkHash) -> Signature; method sign_approval (line 38) | fn sign_approval(&self, inner: &ApprovalInner, target_height: BlockHei... method sign_chunk_endorsement (line 41) | fn sign_chunk_endorsement(&self, inner: &ChunkEndorsementInner) -> Sig... method sign_challenge (line 44) | fn sign_challenge(&self, challenge_body: &ChallengeBody) -> (CryptoHas... method sign_account_announce (line 47) | fn sign_account_announce( method sign_account_key_payload (line 65) | fn sign_account_key_payload(&self, proto_bytes: &[u8]) -> Signature; method compute_vrf_with_proof (line 67) | fn compute_vrf_with_proof( method write_to_file (line 73) | fn write_to_file(&self, path: &Path) -> std::io::Result<()>; method validator_id (line 85) | fn validator_id(&self) -> &AccountId { method public_key (line 89) | fn public_key(&self) -> PublicKey { method sign_telemetry (line 93) | fn sign_telemetry(&self, _info: &TelemetryInfo) -> serde_json::Value { method sign_block_header_parts (line 97) | fn sign_block_header_parts( method sign_chunk_hash (line 107) | fn sign_chunk_hash(&self, _chunk_hash: &ChunkHash) -> Signature { method sign_approval (line 111) | fn sign_approval(&self, _inner: &ApprovalInner, _target_height: BlockH... method sign_chunk_endorsement (line 115) | fn sign_chunk_endorsement(&self, _inner: &ChunkEndorsementInner) -> Si... method sign_challenge (line 119) | fn sign_challenge(&self, challenge_body: &ChallengeBody) -> (CryptoHas... method sign_account_announce (line 123) | fn sign_account_announce( method sign_account_key_payload (line 132) | fn sign_account_key_payload(&self, _proto_bytes: &[u8]) -> Signature { method compute_vrf_with_proof (line 136) | fn compute_vrf_with_proof( method write_to_file (line 143) | fn write_to_file(&self, _path: &Path) -> std::io::Result<()> { method validator_id (line 177) | fn validator_id(&self) -> &AccountId { method public_key (line 181) | fn public_key(&self) -> PublicKey { method sign_telemetry (line 185) | fn sign_telemetry(&self, info: &TelemetryInfo) -> serde_json::Value { method sign_block_header_parts (line 192) | fn sign_block_header_parts( method sign_chunk_hash (line 202) | fn sign_chunk_hash(&self, chunk_hash: &ChunkHash) -> Signature { method sign_approval (line 206) | fn sign_approval(&self, inner: &ApprovalInner, target_height: BlockHei... method sign_chunk_endorsement (line 210) | fn sign_chunk_endorsement(&self, inner: &ChunkEndorsementInner) -> Sig... method sign_challenge (line 214) | fn sign_challenge(&self, challenge_body: &ChallengeBody) -> (CryptoHas... method sign_account_announce (line 220) | fn sign_account_announce( method sign_account_key_payload (line 230) | fn sign_account_key_payload(&self, proto_bytes: &[u8]) -> Signature { method compute_vrf_with_proof (line 234) | fn compute_vrf_with_proof( method write_to_file (line 241) | fn write_to_file(&self, path: &Path) -> std::io::Result<()> { type EmptyValidatorSigner (line 79) | pub struct EmptyValidatorSigner { type InMemoryValidatorSigner (line 150) | pub struct InMemoryValidatorSigner { method from_random (line 156) | pub fn from_random(account_id: AccountId, key_type: KeyType) -> Self { method from_seed (line 161) | pub fn from_seed(account_id: AccountId, key_type: KeyType, seed: &str)... method public_key (line 166) | pub fn public_key(&self) -> PublicKey { method from_file (line 170) | pub fn from_file(path: &Path) -> std::io::Result { FILE: core/primitives/src/version.rs type Version (line 6) | pub struct Version { constant MIN_GAS_PRICE_UIP_92 (line 23) | pub const MIN_GAS_PRICE_UIP_92: Balance = 1_000_000_000; constant MIN_PROTOCOL_VERSION_UIP_92 (line 24) | pub const MIN_PROTOCOL_VERSION_UIP_92: ProtocolVersion = 31; constant MIN_GAS_PRICE_UIP_92_FIX (line 27) | pub const MIN_GAS_PRICE_UIP_92_FIX: Balance = 100_000_000; constant MIN_PROTOCOL_VERSION_UIP_92_FIX (line 28) | pub const MIN_PROTOCOL_VERSION_UIP_92_FIX: ProtocolVersion = 32; constant CORRECT_RANDOM_VALUE_PROTOCOL_VERSION (line 30) | pub const CORRECT_RANDOM_VALUE_PROTOCOL_VERSION: ProtocolVersion = 33; constant ENABLE_INFLATION_PROTOCOL_VERSION (line 33) | pub const ENABLE_INFLATION_PROTOCOL_VERSION: ProtocolVersion = 36; constant UPGRADABILITY_FIX_PROTOCOL_VERSION (line 37) | pub const UPGRADABILITY_FIX_PROTOCOL_VERSION: ProtocolVersion = 37; constant CREATE_HASH_PROTOCOL_VERSION (line 40) | pub const CREATE_HASH_PROTOCOL_VERSION: ProtocolVersion = 38; constant DELETE_KEY_STORAGE_USAGE_PROTOCOL_VERSION (line 43) | pub const DELETE_KEY_STORAGE_USAGE_PROTOCOL_VERSION: ProtocolVersion = 40; constant SHARD_CHUNK_HEADER_UPGRADE_VERSION (line 45) | pub const SHARD_CHUNK_HEADER_UPGRADE_VERSION: ProtocolVersion = 41; constant CREATE_RECEIPT_ID_SWITCH_TO_CURRENT_BLOCK_VERSION (line 48) | pub const CREATE_RECEIPT_ID_SWITCH_TO_CURRENT_BLOCK_VERSION: ProtocolVer... constant PROTOCOL_UPGRADE_SCHEDULE (line 57) | pub const PROTOCOL_UPGRADE_SCHEDULE: Lazy... function get_protocol_version (line 69) | pub fn get_protocol_version(next_epoch_protocol_version: ProtocolVersion... FILE: core/primitives/src/views.rs type AccountView (line 64) | pub struct AccountView { method from (line 110) | fn from(account: &Account) -> Self { method from (line 123) | fn from(account: Account) -> Self { type ContractCodeView (line 81) | pub struct ContractCodeView { method from (line 141) | fn from(contract_code: ContractCode) -> Self { type ViewApplyState (line 90) | pub struct ViewApplyState { method from (line 129) | fn from(view: &AccountView) -> Self { method from (line 135) | fn from(view: AccountView) -> Self { method from (line 149) | fn from(contract_code: ContractCodeView) -> Self { type AccessKeyPermissionView (line 164) | pub enum AccessKeyPermissionView { method from (line 175) | fn from(permission: AccessKeyPermission) -> Self { method from (line 188) | fn from(view: AccessKeyPermissionView) -> Self { type AccessKeyView (line 212) | pub struct AccessKeyView { method from (line 218) | fn from(access_key: AccessKey) -> Self { method from (line 224) | fn from(view: AccessKeyView) -> Self { type StateItem (line 231) | pub struct StateItem { type ViewStateResult (line 238) | pub struct ViewStateResult { type CallResult (line 246) | pub struct CallResult { type QueryError (line 252) | pub struct QueryError { type AccessKeyInfoView (line 258) | pub struct AccessKeyInfoView { type AccessKeyList (line 264) | pub struct AccessKeyList { method from_iter (line 269) | fn from_iter>(iter: I) -> Se... type ChipsList (line 275) | pub struct ChipsList { method from_iter (line 281) | fn from_iter>(iter: I) -> Self { type KnownPeerStateView (line 293) | pub struct KnownPeerStateView { type ConnectionInfoView (line 304) | pub struct ConnectionInfoView { type SnapshotHostInfoView (line 313) | pub struct SnapshotHostInfoView { type QueryResponseKind (line 322) | pub enum QueryResponseKind { type QueryRequest (line 334) | pub enum QueryRequest { function is_false (line 366) | fn is_false(v: &bool) -> bool { type QueryResponse (line 371) | pub struct QueryResponse { type StatusSyncInfo (line 378) | pub struct StatusSyncInfo { type ValidatorInfo (line 393) | pub struct ValidatorInfo { type PeerInfoView (line 399) | pub struct PeerInfoView { type KnownProducerView (line 421) | pub struct KnownProducerView { type Tier1ProxyView (line 428) | pub struct Tier1ProxyView { type AccountDataView (line 434) | pub struct AccountDataView { type NetworkInfoView (line 442) | pub struct NetworkInfoView { type SyncStatusView (line 453) | pub enum SyncStatusView { type PeerStoreView (line 481) | pub struct PeerStoreView { type RecentOutboundConnectionsView (line 486) | pub struct RecentOutboundConnectionsView { type SnapshotHostsView (line 491) | pub struct SnapshotHostsView { type EdgeView (line 496) | pub struct EdgeView { type NetworkGraphView (line 503) | pub struct NetworkGraphView { type LabeledEdgeView (line 509) | pub struct LabeledEdgeView { type EdgeCacheView (line 516) | pub struct EdgeCacheView { type PeerDistancesView (line 522) | pub struct PeerDistancesView { type NetworkRoutesView (line 528) | pub struct NetworkRoutesView { type ShardSyncDownloadView (line 536) | pub struct ShardSyncDownloadView { type DownloadStatusView (line 542) | pub struct DownloadStatusView { type CatchupStatusView (line 548) | pub struct CatchupStatusView { type RequestedStatePartsView (line 559) | pub struct RequestedStatePartsView { type BlockStatusView (line 567) | pub struct BlockStatusView { method new (line 573) | pub fn new(height: &BlockHeight, hash: &CryptoHash) -> BlockStatusView { method from (line 579) | fn from(tip: Tip) -> Self { type PartElapsedTimeView (line 585) | pub struct PartElapsedTimeView { method new (line 591) | pub fn new(part_id: &u64, elapsed_ms: u128) -> PartElapsedTimeView { type BlockByChunksView (line 597) | pub struct BlockByChunksView { type ChainProcessingInfo (line 605) | pub struct ChainProcessingInfo { type BlockProcessingInfo (line 616) | pub struct BlockProcessingInfo { type BlockProcessingStatus (line 648) | pub enum BlockProcessingStatus { type DroppedReason (line 668) | pub enum DroppedReason { type ChunkProcessingInfo (line 676) | pub struct ChunkProcessingInfo { type PartCollectionInfo (line 695) | pub struct PartCollectionInfo { type ChunkProcessingStatus (line 706) | pub enum ChunkProcessingStatus { type DetailedDebugStatus (line 713) | pub struct DetailedDebugStatus { type StatusResponse (line 724) | pub struct StatusResponse { type ChallengeView (line 756) | pub struct ChallengeView { method from (line 761) | fn from(_challenge: Challenge) -> Self { type ChipView (line 767) | pub struct ChipView { type BlockHeaderView (line 776) | pub struct BlockHeaderView { method from (line 822) | fn from(header: BlockHeader) -> Self { method from (line 873) | fn from(view: BlockHeaderView) -> Self { type BlockHeaderInnerLiteView (line 1048) | pub struct BlockHeaderInnerLiteView { method from (line 1063) | fn from(header: BlockHeader) -> Self { method from (line 1085) | fn from(view: BlockHeaderInnerLiteView) -> Self { type ChunkHeaderView (line 1100) | pub struct ChunkHeaderView { method from (line 1128) | fn from(chunk: ShardChunkHeader) -> Self { method from (line 1164) | fn from(view: ChunkHeaderView) -> Self { type AllMinersView (line 1200) | pub struct AllMinersView { method from (line 1206) | fn from(iter: ValidatorPowerAndPledgeIter) -> Self { type BlockView (line 1233) | pub struct BlockView { method from_author_block (line 1240) | pub fn from_author_block(author: AccountId, block: Block) -> Self { type ChunkView (line 1250) | pub struct ChunkView { method from_author_chunk (line 1258) | pub fn from_author_chunk(author: AccountId, chunk: ShardChunk) -> Self { type ActionView (line 1287) | pub enum ActionView { method from (line 1338) | fn from(action: Action) -> Self { type Error (line 1382) | type Error = Box; method try_from (line 1384) | fn try_from(action_view: ActionView) -> Result { type SignedTransactionView (line 1442) | pub struct SignedTransactionView { method from (line 1453) | fn from(signed_tx: SignedTransaction) -> Self { type FinalExecutionStatus (line 1483) | pub enum FinalExecutionStatus { method fmt (line 1496) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ServerError (line 1518) | pub enum ServerError { type ExecutionStatusView (line 1528) | pub enum ExecutionStatusView { method fmt (line 1541) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 1556) | fn from(outcome: ExecutionStatus) -> Self { type CostGasUsed (line 1578) | pub struct CostGasUsed { method action (line 1698) | pub fn action(cost: String, gas_used: Gas) -> Self { method wasm_host (line 1702) | pub fn wasm_host(cost: String, gas_used: Gas) -> Self { type ExecutionMetadataView (line 1595) | pub struct ExecutionMetadataView { method from (line 1607) | fn from(metadata: ExecutionMetadata) -> Self { method default (line 1601) | fn default() -> Self { type ExecutionOutcomeView (line 1717) | pub struct ExecutionOutcomeView { method from (line 1740) | fn from(outcome: ExecutionOutcome) -> Self { method to_hashes (line 1779) | pub fn to_hashes(&self, id: CryptoHash) -> Vec { method from (line 1754) | fn from(outcome: &ExecutionOutcomeView) -> Self { method from (line 1765) | fn from(status: ExecutionStatusView) -> PartialExecutionStatus { type ExecutionOutcomeWithIdView (line 1799) | pub struct ExecutionOutcomeWithIdView { method from (line 1807) | fn from(outcome_with_id_and_proof: ExecutionOutcomeWithIdAndProof) -> ... method to_hashes (line 1818) | pub fn to_hashes(&self) -> Vec { type TxStatusView (line 1823) | pub struct TxStatusView { method into_outcome (line 1878) | pub fn into_outcome(self) -> Option { type TxExecutionStatus (line 1840) | pub enum TxExecutionStatus { type FinalExecutionOutcomeViewEnum (line 1863) | pub enum FinalExecutionOutcomeViewEnum { method into_outcome (line 1869) | pub fn into_outcome(self) -> FinalExecutionOutcomeView { type FinalExecutionOutcomeView (line 1893) | pub struct FinalExecutionOutcomeView { method fmt (line 1909) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type FinalExecutionOutcomeWithReceiptView (line 1931) | pub struct FinalExecutionOutcomeWithReceiptView { type ValidatorPledgeView (line 1950) | pub enum ValidatorPledgeView { function into_validator_pledge (line 1955) | pub fn into_validator_pledge(self) -> ValidatorPledge { function take_account_id (line 1960) | pub fn take_account_id(self) -> AccountId { function account_id (line 1967) | pub fn account_id(&self) -> &AccountId { function from (line 1975) | fn from(pledge: ValidatorPledge) -> Self { method from (line 1987) | fn from(view: crate::views::validator_pledge_view::ValidatorPledgeView) ... type ValidatorPledgeViewV1 (line 2007) | pub struct ValidatorPledgeViewV1 { type ValidatorPowerView (line 2024) | pub enum ValidatorPowerView { method into_validator_power (line 2029) | pub fn into_validator_power(self) -> ValidatorPower { method take_account_id (line 2034) | pub fn take_account_id(self) -> AccountId { method account_id (line 2041) | pub fn account_id(&self) -> &AccountId { method from (line 2049) | fn from(power: ValidatorPower) -> Self { method from (line 2061) | fn from(view: ValidatorPowerView) -> Self { type ValidatorPowerViewV1 (line 2079) | pub struct ValidatorPowerViewV1 { type ValidatorPowerAndPledgeView (line 2097) | pub enum ValidatorPowerAndPledgeView { function into_validator_power_and_pledge (line 2102) | pub fn into_validator_power_and_pledge(self) -> ValidatorPowerAndPledge { function take_account_id (line 2107) | pub fn take_account_id(self) -> AccountId { function account_id (line 2114) | pub fn account_id(&self) -> &AccountId { function from (line 2124) | fn from(power_pledge: ValidatorPowerAndPledge) -> Self { method from (line 2141) | fn from( type ValidatorPowerAndPledgeViewV1 (line 2163) | pub struct ValidatorPowerAndPledgeViewV1 { type ReceiptView (line 2181) | pub struct ReceiptView { method from (line 2233) | fn from(receipt: Receipt) -> Self { type DataReceiverView (line 2199) | pub struct DataReceiverView { type ReceiptEnumView (line 2215) | pub enum ReceiptEnumView { type Error (line 2267) | type Error = Box; method try_from (line 2269) | fn try_from(receipt_view: ReceiptView) -> Result { type EpochValidatorInfo (line 2309) | pub struct EpochValidatorInfo { type ValidatorKickoutView (line 2340) | pub struct ValidatorKickoutView { type CurrentEpochValidatorInfo (line 2346) | pub struct CurrentEpochValidatorInfo { type NextEpochValidatorInfo (line 2378) | pub struct NextEpochValidatorInfo { type LightClientBlockView (line 2398) | pub struct LightClientBlockView { type LightClientBlockLiteView (line 2408) | pub struct LightClientBlockLiteView { method from (line 2415) | fn from(header: BlockHeader) -> Self { method hash (line 2424) | pub fn hash(&self) -> CryptoHash { type GasPriceView (line 2437) | pub struct GasPriceView { type StateChangesRequestView (line 2448) | pub enum StateChangesRequestView { method from (line 2469) | fn from(request: StateChangesRequestView) -> Self { type StateChangeKindView (line 2496) | pub enum StateChangeKindView { method from (line 2505) | fn from(state_change_kind: StateChangeKind) -> Self { type StateChangesKindsView (line 2520) | pub type StateChangesKindsView = Vec; type StateChangeCauseView (line 2525) | pub enum StateChangeCauseView { method from (line 2540) | fn from(state_change_cause: StateChangeCause) -> Self { type StateChangeValueView (line 2570) | pub enum StateChangeValueView { method from (line 2621) | fn from(state_change: StateChangeValue) -> Self { type StateChangeWithCauseView (line 2658) | pub struct StateChangeWithCauseView { method from (line 2665) | fn from(state_change_with_cause: StateChangeWithCause) -> Self { type StateChangesView (line 2671) | pub type StateChangesView = Vec; type MaintenanceWindowsView (line 2674) | pub type MaintenanceWindowsView = Vec>; type SplitStorageInfoView (line 2678) | pub struct SplitStorageInfoView { function test_runtime_config_view (line 2696) | fn test_runtime_config_view() { function test_exec_metadata_v1_view (line 2709) | fn test_exec_metadata_v1_view() { function test_exec_metadata_v2_view (line 2718) | fn test_exec_metadata_v2_view() { function test_exec_metadata_v3_view (line 2727) | fn test_exec_metadata_v3_view() { FILE: core/store/benches/finalize_bench.rs function benchmark_write_shard_chunk (line 40) | fn benchmark_write_shard_chunk(bench: &mut Bencher) { function benchmark_write_partial_encoded_chunk (line 61) | fn benchmark_write_partial_encoded_chunk(bench: &mut Bencher) { function validator_signer (line 85) | fn validator_signer() -> InMemoryValidatorSigner { function create_benchmark_receipts (line 92) | fn create_benchmark_receipts() -> Vec { function create_chunk_header (line 115) | fn create_chunk_header(height: u64, shard_id: u64) -> ShardChunkHeader { function create_action_receipt (line 135) | fn create_action_receipt( function create_data_receipt (line 156) | fn create_data_receipt(account_id: &AccountId, data_id: CryptoHash, data... function create_shard_chunk (line 165) | fn create_shard_chunk( function create_encoded_shard_chunk (line 178) | fn create_encoded_shard_chunk( function encoded_chunk_to_partial_encoded_chunk (line 205) | fn encoded_chunk_to_partial_encoded_chunk( function spread_in_memory (line 261) | fn spread_in_memory(chunk: T) -> Vec FILE: core/store/benches/store_bench.rs function benchmark_write_then_read_successful (line 12) | fn benchmark_write_then_read_successful( function generate_keys (line 45) | fn generate_keys(count: usize, key_size: usize) -> Vec> { function read_from_db (line 57) | fn read_from_db(store: &Store, keys: &[Vec], col: DBCol) -> usize { function write_to_db (line 76) | fn write_to_db(store: &Store, keys: &[Vec], max_value_size: usize, c... function benchmark_write_then_read_successful_10m (line 87) | fn benchmark_write_then_read_successful_10m(bench: &mut Bencher) { FILE: core/store/benches/trie_bench.rs function rand_bytes (line 11) | fn rand_bytes() -> Vec { function trie_lookup (line 15) | fn trie_lookup(bench: &mut Bencher) { function trie_update (line 44) | fn trie_update(bench: &mut Bencher) { FILE: core/store/src/cold_storage.rs type StoreKey (line 16) | type StoreKey = Vec; type StoreValue (line 17) | type StoreValue = Option>; type StoreCache (line 18) | type StoreCache = HashMap<(DBCol, StoreKey), StoreValue>; type StoreWithCache (line 20) | struct StoreWithCache<'a> { type BatchTransaction (line 28) | struct BatchTransaction { method new (line 563) | pub fn new(cold_db: std::sync::Arc, batch_size: usize) -> Self { method set_and_write_if_full (line 574) | pub fn set_and_write_if_full( method write (line 591) | fn write(&mut self) -> io::Result<()> { function update_cold_db (line 57) | pub fn update_cold_db( function rc_aware_set (line 98) | fn rc_aware_set( function copy_state_from_store (line 127) | fn copy_state_from_store( function copy_from_store (line 177) | fn copy_from_store( function update_cold_head (line 232) | pub fn update_cold_head( type CopyAllDataToColdStatus (line 272) | pub enum CopyAllDataToColdStatus { function copy_all_data_to_cold (line 279) | pub fn copy_all_data_to_cold( function test_cold_genesis_update (line 308) | pub fn test_cold_genesis_update(cold_db: &ColdDB, hot_store: &Store) -> ... function test_get_store_reads (line 328) | pub fn test_get_store_reads(column: DBCol) -> u64 { function test_get_store_initial_writes (line 332) | pub fn test_get_store_initial_writes(column: DBCol) -> u64 { function get_keys_from_store (line 344) | fn get_keys_from_store( function join_two_keys (line 446) | pub fn join_two_keys(prefix_key: &[u8], suffix_key: &[u8]) -> StoreKey { function combine_keys (line 454) | pub fn combine_keys( function combine_keys_with_stop (line 465) | fn combine_keys_with_stop( function option_to_not_found (line 489) | fn option_to_not_found(res: io::Result>, field_name: F) ... function iter_prefix_with_callback (line 501) | pub fn iter_prefix_with_callback( function get (line 515) | pub fn get(&mut self, column: DBCol, key: &[u8]) -> io::Result( function get_or_err (line 534) | pub fn get_or_err(&mut self, column: DBCol, key: &[u8]) -> io::Result( function insert_state_to_cache_from_op (line 546) | pub fn insert_state_to_cache_from_op( function test_combine_keys (line 626) | fn test_combine_keys() { FILE: core/store/src/columns.rs type DBCol (line 21) | pub enum DBCol { method is_insert_only (line 338) | pub const fn is_insert_only(&self) -> bool { method is_rc (line 388) | pub const fn is_rc(&self) -> bool { method is_cold (line 402) | pub const fn is_cold(&self) -> bool { method is_in_colddb (line 488) | pub(crate) const fn is_in_colddb(&self) -> bool { method key_type (line 493) | pub fn key_type(&self) -> &'static [DBKeyType] { method fmt (line 559) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type DBKeyType (line 296) | pub enum DBKeyType { function column_props_sanity (line 570) | fn column_props_sanity() { function key_type_split_storage_sanity (line 582) | fn key_type_split_storage_sanity() { FILE: core/store/src/config.rs type StoreConfig (line 11) | pub struct StoreConfig { method test_config (line 188) | pub fn test_config() -> Self { method col_cache_size (line 193) | pub const fn col_cache_size(&self, col: DBCol) -> bytesize::ByteSize { type StateSnapshotConfig (line 116) | pub struct StateSnapshotConfig { type StateSnapshotType (line 126) | pub enum StateSnapshotType { type MigrationSnapshot (line 138) | pub enum MigrationSnapshot { method get_path (line 301) | pub fn get_path<'a>(&'a self, db_path: &std::path::Path) -> Option bool { method format_example (line 317) | pub fn format_example(&self) -> String { type Mode (line 145) | pub enum Mode { method read_only (line 157) | pub const fn read_only(self) -> bool { method read_write (line 160) | pub const fn read_write(self) -> bool { method can_create (line 163) | pub const fn can_create(self) -> bool { method must_create (line 166) | pub const fn must_create(self) -> bool { method but_cannot_create (line 172) | pub const fn but_cannot_create(self) -> Option { method default (line 203) | fn default() -> Self { method default (line 327) | fn default() -> Self { type TrieCacheConfig (line 334) | pub struct TrieCacheConfig { method default (line 348) | fn default() -> Self { FILE: core/store/src/db.rs constant HEAD_KEY (line 24) | pub const HEAD_KEY: &[u8; 4] = b"HEAD"; constant TAIL_KEY (line 25) | pub const TAIL_KEY: &[u8; 4] = b"TAIL"; constant CHUNK_TAIL_KEY (line 26) | pub const CHUNK_TAIL_KEY: &[u8; 10] = b"CHUNK_TAIL"; constant FORK_TAIL_KEY (line 27) | pub const FORK_TAIL_KEY: &[u8; 9] = b"FORK_TAIL"; constant HEADER_HEAD_KEY (line 28) | pub const HEADER_HEAD_KEY: &[u8; 11] = b"HEADER_HEAD"; constant FINAL_HEAD_KEY (line 29) | pub const FINAL_HEAD_KEY: &[u8; 10] = b"FINAL_HEAD"; constant LATEST_KNOWN_KEY (line 30) | pub const LATEST_KNOWN_KEY: &[u8; 12] = b"LATEST_KNOWN"; constant LARGEST_TARGET_HEIGHT_KEY (line 31) | pub const LARGEST_TARGET_HEIGHT_KEY: &[u8; 21] = b"LARGEST_TARGET_HEIGHT"; constant GENESIS_JSON_HASH_KEY (line 32) | pub const GENESIS_JSON_HASH_KEY: &[u8; 17] = b"GENESIS_JSON_HASH"; constant GENESIS_STATE_ROOTS_KEY (line 33) | pub const GENESIS_STATE_ROOTS_KEY: &[u8; 19] = b"GENESIS_STATE_ROOTS"; constant COLD_HEAD_KEY (line 34) | pub const COLD_HEAD_KEY: &[u8; 9] = b"COLD_HEAD"; constant STATE_SYNC_DUMP_KEY (line 35) | pub const STATE_SYNC_DUMP_KEY: &[u8; 15] = b"STATE_SYNC_DUMP"; constant STATE_SNAPSHOT_KEY (line 36) | pub const STATE_SNAPSHOT_KEY: &[u8; 18] = b"STATE_SNAPSHOT_KEY"; constant FLAT_STATE_VALUES_INLINING_MIGRATION_STATUS_KEY (line 39) | pub const FLAT_STATE_VALUES_INLINING_MIGRATION_STATUS_KEY: &[u8] = type DBTransaction (line 43) | pub struct DBTransaction { method new (line 114) | pub fn new() -> Self { method set (line 118) | pub fn set(&mut self, col: DBCol, key: Vec, value: Vec) { method insert (line 122) | pub fn insert(&mut self, col: DBCol, key: Vec, value: Vec) { method update_refcount (line 127) | pub fn update_refcount(&mut self, col: DBCol, key: Vec, value: Vec... method delete (line 132) | pub fn delete(&mut self, col: DBCol, key: Vec) { method delete_all (line 136) | pub fn delete_all(&mut self, col: DBCol) { method delete_range (line 140) | pub fn delete_range(&mut self, col: DBCol, from: Vec, to: Vec) { method merge (line 144) | pub fn merge(&mut self, other: DBTransaction) { type DBOp (line 47) | pub(crate) enum DBOp { method col (line 65) | pub fn col(&self) -> DBCol { method fmt (line 79) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type DBIteratorItem (line 149) | pub type DBIteratorItem = io::Result<(Box<[u8]>, Box<[u8]>)>; type DBIterator (line 150) | pub type DBIterator<'a> = Box + 'a>; type Database (line 152) | pub trait Database: Sync + Send { method get_raw_bytes (line 162) | fn get_raw_bytes(&self, col: DBCol, key: &[u8]) -> io::Result io::Result(&'a self, col: DBCol) -> DBIterator<'a>; method iter_prefix (line 187) | fn iter_prefix<'a>(&'a self, col: DBCol, key_prefix: &'a [u8]) -> DBIt... method iter_range (line 194) | fn iter_range<'a>( method iter_raw_bytes (line 212) | fn iter_raw_bytes<'a>(&'a self, col: DBCol) -> DBIterator<'a>; method write (line 215) | fn write(&self, batch: DBTransaction) -> io::Result<()>; method flush (line 220) | fn flush(&self) -> io::Result<()>; method compact (line 226) | fn compact(&self) -> io::Result<()>; method get_store_statistics (line 229) | fn get_store_statistics(&self) -> Option; method create_checkpoint (line 232) | fn create_checkpoint(&self, path: &std::path::Path) -> anyhow::Result<... function assert_no_overwrite (line 235) | fn assert_no_overwrite(col: DBCol, key: &[u8], value: &[u8], old_value: ... type StatsValue (line 247) | pub enum StatsValue { type StoreStatistics (line 255) | pub struct StoreStatistics { FILE: core/store/src/db/colddb.rs type ColdDB (line 16) | pub struct ColdDB { method new (line 21) | pub fn new(cold: std::sync::Arc) -> Self { method err_msg (line 25) | fn err_msg(col: DBCol) -> String { method check_is_in_colddb (line 30) | fn check_is_in_colddb(col: DBCol) -> std::io::Result<()> { method log_assert_is_in_colddb (line 38) | fn log_assert_is_in_colddb(col: DBCol) { method get_raw_bytes (line 45) | fn get_raw_bytes(&self, col: DBCol, key: &[u8]) -> std::io::Result std::io::Resul... method iter (line 57) | fn iter<'a>(&'a self, col: DBCol) -> DBIterator<'a> { method iter_prefix (line 63) | fn iter_prefix<'a>(&'a self, col: DBCol, key_prefix: &'a [u8]) -> DBIter... method iter_raw_bytes (line 69) | fn iter_raw_bytes<'a>(&'a self, col: DBCol) -> DBIterator<'a> { method iter_range (line 75) | fn iter_range<'a>( method write (line 90) | fn write(&self, mut transaction: DBTransaction) -> std::io::Result<()> { method compact (line 102) | fn compact(&self) -> std::io::Result<()> { method flush (line 106) | fn flush(&self) -> std::io::Result<()> { method get_store_statistics (line 110) | fn get_store_statistics(&self) -> Option { method create_checkpoint (line 114) | fn create_checkpoint(&self, path: &std::path::Path) -> anyhow::Result<()> { function adjust_op (line 124) | fn adjust_op(op: &mut DBOp) -> bool { constant HEIGHT_LE (line 168) | const HEIGHT_LE: &[u8] = &42u64.to_le_bytes(); constant SHARD (line 169) | const SHARD: &[u8] = "ShardUId".as_bytes(); constant HASH (line 170) | const HASH: &[u8] = [0u8; 32].as_slice(); constant VALUE (line 171) | const VALUE: &[u8] = "FooBar".as_bytes(); constant ONE (line 172) | const ONE: &[u8] = &1i64.to_le_bytes(); function create_test_cold_db (line 175) | fn create_test_cold_db() -> ColdDB { function set (line 180) | fn set(col: DBCol, key: &[u8]) -> DBOp { function set_with_rc (line 184) | fn set_with_rc(col: DBCol, key: &[u8]) -> DBOp { function pretty_key (line 190) | fn pretty_key(key: &[u8]) -> String { function pretty_value (line 216) | fn pretty_value(value: Option<&[u8]>, refcount: bool) -> String { function test_adjust_key (line 229) | fn test_adjust_key() { function test_iterator (line 288) | fn test_iterator() { function test_refcount (line 328) | fn test_refcount() { FILE: core/store/src/db/database_tests.rs function test_and_rocksdb (line 14) | fn test_and_rocksdb() -> Vec> { function test_db_iter (line 22) | fn test_db_iter() { FILE: core/store/src/db/refcount.rs function decode_value_with_rc (line 37) | pub fn decode_value_with_rc(bytes: &[u8]) -> (Option<&[u8]>, i64) { function strip_refcount (line 59) | pub(crate) fn strip_refcount(mut bytes: Vec) -> Option> { function set_refcount (line 77) | pub(crate) fn set_refcount(data: &mut Vec, refcount: i64) -> io::Res... function add_positive_refcount (line 93) | pub(crate) fn add_positive_refcount(data: &[u8], rc: std::num::NonZeroU3... function encode_negative_refcount (line 100) | pub(crate) fn encode_negative_refcount(rc: std::num::NonZeroU32) -> Vec<... function refcount_merge (line 115) | pub(crate) fn refcount_merge<'a>( function iter_with_rc_logic (line 137) | pub(crate) fn iter_with_rc_logic<'a>( method refcount_merge (line 156) | pub(crate) fn refcount_merge( method empty_value_compaction_filter (line 165) | pub(crate) fn empty_value_compaction_filter( constant MINUS_TWO (line 182) | const MINUS_TWO: &[u8] = b"\xfe\xff\xff\xff\xff\xff\xff\xff"; constant MINUS_ONE (line 183) | const MINUS_ONE: &[u8] = b"\xff\xff\xff\xff\xff\xff\xff\xff"; constant ZERO (line 184) | const ZERO: &[u8] = b"\0\0\0\0\0\0\0\0"; constant PLUS_ONE (line 185) | const PLUS_ONE: &[u8] = b"\x01\0\0\0\0\0\0\0"; constant PLUS_TWO (line 186) | const PLUS_TWO: &[u8] = b"\x02\0\0\0\0\0\0\0"; function check_debug_assert_or (line 188) | fn check_debug_assert_or(callback: F, predicate: P) function decode_value_with_rc (line 203) | fn decode_value_with_rc() { function add_encode_refcount (line 227) | fn add_encode_refcount() { function set_refcount (line 241) | fn set_refcount() { function refcount_merge (line 254) | fn refcount_merge() { function compaction_filter (line 287) | fn compaction_filter() { function iter_with_rc_logic (line 309) | fn iter_with_rc_logic() { FILE: core/store/src/db/rocksdb.rs type RocksDB (line 44) | pub struct RocksDB { method open (line 83) | pub fn open( method open_with_columns (line 109) | fn open_with_columns( method open_db (line 124) | fn open_db( method get_cf_handles (line 170) | fn get_cf_handles( method cf_handle (line 196) | fn cf_handle(&self, col: DBCol) -> io::Result<&ColumnFamily> { method cf_handles (line 219) | fn cf_handles(&self) -> impl Iterator { method iter_raw_bytes_internal (line 235) | fn iter_raw_bytes_internal<'a>( method get_cf_key_range (line 283) | fn get_cf_key_range( method compact_column (line 301) | pub fn compact_column(&self, col: DBCol) -> io::Result<()> { method block_until_all_instances_are_dropped (line 554) | pub fn block_until_all_instances_are_dropped() { method get_metadata (line 559) | pub(crate) fn get_metadata( method get_cf_statistics (line 577) | fn get_cf_statistics(&self, result: &mut StoreStatistics) { type RocksDBIterator (line 266) | struct RocksDBIterator<'a>(rocksdb::DBIteratorWithThreadMode<'a, DB>); type Item (line 269) | type Item = io::Result<(Box<[u8]>, Box<[u8]>)>; method next (line 271) | fn next(&mut self) -> Option { method get_raw_bytes (line 310) | fn get_raw_bytes(&self, col: DBCol, key: &[u8]) -> io::Result DBIterator { method iter (line 327) | fn iter(&self, col: DBCol) -> DBIterator { method iter_prefix (line 331) | fn iter_prefix(&self, col: DBCol, key_prefix: &[u8]) -> DBIterator { method iter_range (line 336) | fn iter_range<'a>( method write (line 346) | fn write(&self, transaction: DBTransaction) -> io::Result<()> { method compact (line 384) | fn compact(&self) -> io::Result<()> { method flush (line 391) | fn flush(&self) -> io::Result<()> { method get_store_statistics (line 403) | fn get_store_statistics(&self) -> Option { method create_checkpoint (line 418) | fn create_checkpoint(&self, path: &std::path::Path) -> anyhow::Result<()> { function rocksdb_options (line 428) | fn rocksdb_options(store_config: &StoreConfig, mode: Mode) -> Options { function rocksdb_read_options (line 469) | fn rocksdb_read_options() -> ReadOptions { function use_block_cache_for_index_and_filter_blocks (line 476) | fn use_block_cache_for_index_and_filter_blocks(db_col: DBCol) -> bool { function rocksdb_block_based_options (line 483) | fn rocksdb_block_based_options(store_config: &StoreConfig, db_col: DBCol... function rocksdb_column_options (line 502) | fn rocksdb_column_options(col: DBCol, store_config: &StoreConfig, temp: ... function set_compression_options (line 531) | fn set_compression_options(opts: &mut Options) { method drop (line 597) | fn drop(&mut self) { function parse_statistics (line 610) | fn parse_statistics( function col_name (line 648) | fn col_name(col: DBCol) -> &'static str { function rocksdb_merge_sanity (line 716) | fn rocksdb_merge_sanity() { function test_parse_statistics (line 780) | fn test_parse_statistics() { function test_delete_range (line 809) | fn test_delete_range() { FILE: core/store/src/db/rocksdb/instance_tracker.rs type Inner (line 9) | struct Inner { type State (line 36) | struct State { method new (line 43) | const fn new() -> Self { method try_new_instance (line 53) | fn try_new_instance(&self, max_open_files: u32) -> Result<(), String> { method close_instance (line 66) | fn close_instance(&self, max_open_files: u32) { method block_until_all_instances_are_closed (line 80) | fn block_until_all_instances_are_closed(&self) { function block_until_all_instances_are_closed (line 95) | pub(super) fn block_until_all_instances_are_closed() { type InstanceTracker (line 104) | pub(super) struct InstanceTracker { method try_new (line 120) | pub(super) fn try_new(max_open_files: u32) -> Result { method drop (line 133) | fn drop(&mut self) { function ensure_max_open_files_limit (line 154) | fn ensure_max_open_files_limit(mut nofile: impl NoFile, max_open_files: ... type NoFile (line 188) | trait NoFile { method get (line 189) | fn get(&self) -> std::io::Result<(u64, u64)>; method set (line 190) | fn set(&mut self, soft: u64, hard: u64) -> std::io::Result<()>; method get (line 197) | fn get(&self) -> std::io::Result<(u64, u64)> { method set (line 201) | fn set(&mut self, soft: u64, hard: u64) -> std::io::Result<()> { type RealNoFile (line 194) | struct RealNoFile; function test_ensure_max_open_files_limit (line 207) | fn test_ensure_max_open_files_limit() { FILE: core/store/src/db/rocksdb/snapshot.rs type Snapshot (line 21) | pub struct Snapshot(pub Option); method none (line 60) | pub const fn none() -> Self { method new (line 80) | pub fn new( method remove (line 106) | pub fn remove(mut self) -> Result<(), SnapshotRemoveError> { method drop (line 123) | fn drop(&mut self) { type SnapshotError (line 25) | pub enum SnapshotError { method from (line 47) | fn from(err: io::Error) -> Self { method from (line 53) | fn from(err: ::rocksdb::Error) -> Self { type SnapshotRemoveError (line 38) | pub struct SnapshotRemoveError { function test_snapshot_creation (line 137) | fn test_snapshot_creation() { function test_snapshot_recovery (line 168) | fn test_snapshot_recovery() { FILE: core/store/src/db/slice.rs type DBSlice (line 14) | pub struct DBSlice<'a>(Inner<'a>); type Inner (line 16) | enum Inner<'a> { function as_slice (line 26) | pub fn as_slice(&self) -> &[u8] { function from_vec (line 36) | pub(super) fn from_vec(vec: Vec) -> Self { function from_rocksdb_slice (line 44) | pub(super) fn from_rocksdb_slice(db_slice: ::rocksdb::DBPinnableSlice<'a... function strip_refcount (line 53) | pub(super) fn strip_refcount(self) -> Option { type RocksSlice (line 65) | struct RocksSlice<'a> { function new (line 83) | pub fn new(db_slice: ::rocksdb::DBPinnableSlice<'a>) -> Self { function strip_refcount (line 88) | fn strip_refcount(self) -> Option { function as_slice (line 93) | pub fn as_slice(&self) -> &[u8] { type Target (line 101) | type Target = [u8]; function deref (line 102) | fn deref(&self) -> &[u8] { function from (line 111) | fn from(slice: DBSlice<'a>) -> Self { function from (line 120) | fn from(slice: DBSlice<'a>) -> Self { function fmt (line 129) | fn fmt(&self, fmtr: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function eq (line 135) | fn eq(&self, other: &DBSlice<'a>) -> bool { function eq (line 141) | fn eq(&self, other: &[u8]) -> bool { FILE: core/store/src/db/splitdb.rs type SplitDB (line 21) | pub struct SplitDB { method new (line 27) | pub fn new(hot: Arc, cold: Arc) -> Arc Ordering { method merge_iter (line 55) | fn merge_iter<'a>(a: DBIterator<'a>, b: DBIterator<'a>) -> DBIterator<... method get_raw_bytes (line 79) | fn get_raw_bytes(&self, col: DBCol, key: &[u8]) -> io::Result io::Result(&'a self, col: DBCol) -> DBIterator<'a> { method iter_prefix (line 125) | fn iter_prefix<'a>(&'a self, col: DBCol, key_prefix: &'a [u8]) -> DBIter... method iter_range (line 144) | fn iter_range<'a>( method iter_raw_bytes (line 165) | fn iter_raw_bytes<'a>(&'a self, col: DBCol) -> DBIterator<'a> { method write (line 176) | fn write(&self, batch: DBTransaction) -> io::Result<()> { method flush (line 180) | fn flush(&self) -> io::Result<()> { method compact (line 188) | fn compact(&self) -> io::Result<()> { method get_store_statistics (line 196) | fn get_store_statistics(&self) -> Option { method create_checkpoint (line 201) | fn create_checkpoint(&self, _path: &std::path::Path) -> anyhow::Result<(... constant FOO (line 215) | const FOO: &[u8] = b"FOO"; constant BAR (line 216) | const BAR: &[u8] = b"BAR"; constant BAZ (line 217) | const BAZ: &[u8] = b"BAZ"; constant NOT_FOO (line 218) | const NOT_FOO: &[u8] = b"NOT_FOO"; constant FOO_VALUE (line 220) | const FOO_VALUE: &[u8] = b"FOO_VALUE"; constant BAR_VALUE (line 221) | const BAR_VALUE: &[u8] = b"BAR_VALUE"; constant BAZ_VALUE (line 222) | const BAZ_VALUE: &[u8] = b"BAZ_VALUE"; function create_hot (line 224) | fn create_hot() -> Arc { function create_cold (line 228) | fn create_cold() -> Arc { function set (line 232) | fn set(db: &Arc, col: DBCol, key: &[u8], value: &[u8]) -> ... function set_rc (line 237) | fn set_rc(db: &Arc, col: DBCol, key: &[u8], value: &[u8]) ... function bx (line 243) | fn bx(literal: &[u8; SIZE]) -> Box<[u8]> { function append_rc (line 247) | fn append_rc(value: &[u8]) -> Box<[u8]> { function test_get_raw_bytes (line 253) | fn test_get_raw_bytes() { function test_get_with_rc_stripped (line 290) | fn test_get_with_rc_stripped() { function test_iter (line 318) | fn test_iter() { function test_iter_raw_bytes (line 347) | fn test_iter_raw_bytes() { function test_iter_prefix (line 374) | fn test_iter_prefix() { function test_iter_range (line 402) | fn test_iter_range() { FILE: core/store/src/db/testdb.rs type TestDB (line 11) | pub struct TestDB { method new (line 24) | pub fn new() -> Arc { method set_store_statistics (line 30) | pub fn set_store_statistics(&self, stats: StoreStatistics) { method get_raw_bytes (line 36) | fn get_raw_bytes(&self, col: DBCol, key: &[u8]) -> io::Result(&'a self, col: DBCol) -> DBIterator<'a> { method iter_raw_bytes (line 45) | fn iter_raw_bytes<'a>(&'a self, col: DBCol) -> DBIterator<'a> { method iter_prefix (line 53) | fn iter_prefix<'a>(&'a self, col: DBCol, key_prefix: &'a [u8]) -> DBIter... method iter_range (line 62) | fn iter_range<'a>( method write (line 78) | fn write(&self, transaction: DBTransaction) -> io::Result<()> { method flush (line 119) | fn flush(&self) -> io::Result<()> { method compact (line 123) | fn compact(&self) -> io::Result<()> { method get_store_statistics (line 127) | fn get_store_statistics(&self) -> Option { method create_checkpoint (line 131) | fn create_checkpoint(&self, _path: &std::path::Path) -> anyhow::Result<(... FILE: core/store/src/flat/chunk_view.rs type FlatStorageChunkView (line 20) | pub struct FlatStorageChunkView { method new (line 34) | pub fn new(store: Store, block_hash: CryptoHash, flat_storage: FlatSto... method get_value (line 44) | pub fn get_value(&self, key: &[u8]) -> Result, ... method iter_flat_state_entries (line 48) | pub fn iter_flat_state_entries<'a>( method get_head_hash (line 56) | pub fn get_head_hash(&self) -> CryptoHash { method shard_uid (line 60) | pub fn shard_uid(&self) -> ShardUId { FILE: core/store/src/flat/delta.rs type FlatStateDelta (line 14) | pub struct FlatStateDelta { type BlockWithChangesInfo (line 20) | pub struct BlockWithChangesInfo { type FlatStateDeltaMetadata (line 26) | pub struct FlatStateDeltaMetadata { type KeyForFlatStateDelta (line 35) | pub struct KeyForFlatStateDelta { method to_bytes (line 41) | pub fn to_bytes(&self) -> [u8; 40] { type FlatStateChanges (line 51) | pub struct FlatStateChanges(pub HashMap, Option>); method from (line 57) | fn from(iter: T) -> Self { method fmt (line 63) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method get (line 72) | pub fn get(&self, key: &[u8]) -> Option> { method insert (line 77) | pub fn insert( method len (line 85) | pub fn len(&self) -> usize { method merge (line 90) | pub fn merge(&mut self, other: Self) { method from_state_changes (line 95) | pub fn from_state_changes(changes: &[RawStateChangesWithTrieKey]) -> S... method from_raw_key_value (line 112) | pub fn from_raw_key_value(entries: &[(Vec, Option>)]) -> S... method apply_to_flat_state (line 122) | pub fn apply_to_flat_state(self, store_update: &mut StoreUpdate, shard... type CachedFlatStateChanges (line 132) | pub struct CachedFlatStateChanges(HashMap>); method from (line 141) | fn from(delta: FlatStateChanges) -> Self { constant ENTRY_SIZE (line 154) | const ENTRY_SIZE: usize = method get (line 158) | pub(crate) fn get(&self, key: &[u8]) -> Option> { method len (line 163) | pub(crate) fn len(&self) -> usize { method total_size (line 168) | pub(crate) fn total_size(&self) -> u64 { type CachedFlatStateDelta (line 135) | pub struct CachedFlatStateDelta { function flat_state_changes_creation (line 182) | fn flat_state_changes_creation() { function flat_state_changes_merge (line 256) | fn flat_state_changes_merge() { FILE: core/store/src/flat/inlining_migration.rs type FlatStateValuesInliningMigrationHandle (line 28) | pub struct FlatStateValuesInliningMigrationHandle { method start_background_migration (line 36) | pub fn start_background_migration( method stop (line 73) | pub fn stop(self) { constant BACKGROUND_MIGRATION_BATCH_SIZE (line 33) | const BACKGROUND_MIGRATION_BATCH_SIZE: usize = 50_000; type ReadValueRequest (line 79) | struct ReadValueRequest { type ReadValueResponse (line 84) | struct ReadValueResponse { type StateValueReader (line 91) | struct StateValueReader { method new (line 99) | fn new(store: Store, num_threads: usize) -> Self { method submit (line 113) | fn submit(&mut self, shard_uid: ShardUId, value_hash: CryptoHash) { method receive_all (line 119) | fn receive_all(&mut self) -> HashMap> { method spawn_read_value_thread (line 131) | fn spawn_read_value_thread( method close (line 154) | fn close(self) { function inline_flat_state_values (line 169) | pub fn inline_flat_state_values( function lock_flat_head_blocking (line 286) | fn lock_flat_head_blocking( function log_skipped (line 304) | fn log_skipped(reason: &str, err: impl std::error::Error) { function full_migration (line 324) | fn full_migration() { function block_migration (line 364) | fn block_migration() { function interrupt_blocked_migration (line 403) | fn interrupt_blocked_migration() { function populate_flat_store (line 437) | fn populate_flat_store(store: &Store, shard_uid: ShardUId, values: &[Vec... function create_flat_storage_for_genesis (line 450) | fn create_flat_storage_for_genesis(store: &Store, shard_uid: ShardUId) -... function count_inlined_values (line 464) | fn count_inlined_values(store: &Store) -> u64 { FILE: core/store/src/flat/manager.rs type FlatStorageManager (line 24) | pub struct FlatStorageManager(Arc); method new (line 40) | pub fn new(store: Store) -> Self { method set_flat_storage_for_genesis (line 49) | pub fn set_flat_storage_for_genesis( method create_flat_storage_for_shard (line 71) | pub fn create_flat_storage_for_shard(&self, shard_uid: ShardUId) -> Re... method update_flat_storage_for_shard (line 86) | pub fn update_flat_storage_for_shard( method save_flat_state_changes (line 131) | pub fn save_flat_state_changes( method get_flat_storage_status (line 178) | pub fn get_flat_storage_status(&self, shard_uid: ShardUId) -> FlatStor... method chunk_view (line 187) | pub fn chunk_view( method get_shard_uids (line 207) | pub fn get_shard_uids(&self) -> Vec { method get_flat_storage_for_shard (line 213) | pub fn get_flat_storage_for_shard(&self, shard_uid: ShardUId) -> Optio... method remove_flat_storage_for_shard (line 221) | pub fn remove_flat_storage_for_shard( method set_flat_state_updates_mode (line 242) | pub fn set_flat_state_updates_mode(&self, enabled: bool) -> bool { type FlatStorageManagerInner (line 26) | pub struct FlatStorageManagerInner { FILE: core/store/src/flat/metrics.rs type FlatStorageMetrics (line 7) | pub(crate) struct FlatStorageMetrics { method new (line 17) | pub(crate) fn new(shard_id: ShardId) -> Self { method set_distance_to_head (line 35) | pub(crate) fn set_distance_to_head(&self, distance: usize, height: Opt... method set_flat_head_height (line 40) | pub(crate) fn set_flat_head_height(&self, height: u64) { method set_cached_deltas (line 44) | pub(crate) fn set_cached_deltas( type FlatStorageCreationMetrics (line 57) | pub struct FlatStorageCreationMetrics { method new (line 67) | pub fn new(shard_id: ShardId) -> Self { method set_status (line 85) | pub fn set_status(&self, status: &FlatStorageStatus) { method set_flat_head_height (line 89) | pub fn set_flat_head_height(&self, height: u64) { method set_remaining_state_parts (line 93) | pub fn set_remaining_state_parts(&self, remaining_parts: u64) { method threads_used (line 97) | pub fn threads_used(&self) -> IntGauge { method inc_fetched_state (line 101) | pub fn inc_fetched_state(&self, num_items: u64) { FILE: core/store/src/flat/mod.rs constant POISONED_LOCK_ERR (line 50) | pub(crate) const POISONED_LOCK_ERR: &str = "The lock was poisoned."; constant NUM_PARTS_IN_ONE_STEP (line 53) | pub const NUM_PARTS_IN_ONE_STEP: u64 = 20; constant STATE_PART_MEMORY_LIMIT (line 56) | pub const STATE_PART_MEMORY_LIMIT: bytesize::ByteSize = bytesize::ByteSi... FILE: core/store/src/flat/storage.rs type FlatStorage (line 26) | pub struct FlatStorage(pub(crate) Arc>); method new (line 238) | pub fn new(store: Store, shard_uid: ShardUId) -> Result Result Result<()... method get_head_hash (line 449) | pub(crate) fn get_head_hash(&self) -> CryptoHash { method shard_uid (line 454) | pub(crate) fn shard_uid(&self) -> ShardUId { method set_flat_head_update_mode (line 460) | pub(crate) fn set_flat_head_update_mode(&self, enabled: bool) -> bool { type FlatStorageInner (line 37) | pub(crate) struct FlatStorageInner { constant HOPS_LIMIT (line 60) | const HOPS_LIMIT: usize = 100; constant CACHED_CHANGES_SIZE_LIMIT (line 63) | const CACHED_CHANGES_SIZE_LIMIT: bytesize::ByteSize = bytesize::ByteSi... constant BLOCKS_WITH_CHANGES_FLAT_HEAD_GAP (line 65) | const BLOCKS_WITH_CHANGES_FLAT_HEAD_GAP: BlockHeight = 2; method create_block_not_supported_error (line 69) | fn create_block_not_supported_error(&self, block_hash: &CryptoHash) ->... method get_block_changes (line 74) | fn get_block_changes( method get_blocks_to_head (line 88) | fn get_blocks_to_head( method update_delta_metrics (line 145) | fn update_delta_metrics(&self) { method get_new_flat_head (line 176) | fn get_new_flat_head( method test_get_new_flat_head (line 225) | pub fn test_get_new_flat_head( function missing_delta_error (line 471) | fn missing_delta_error(block_hash: &CryptoHash) -> FlatStorageError { function flat_storage_errors (line 498) | fn flat_storage_errors() { function flat_storage_fork (line 561) | fn flat_storage_fork() { function skipped_heights (line 620) | fn skipped_heights() { function flat_storage_sanity (line 658) | fn flat_storage_sanity() { function flat_storage_with_hops (line 788) | fn flat_storage_with_hops() { function flat_storage_with_no_changes (line 887) | fn flat_storage_with_no_changes() { function flat_storage_with_hops_random (line 949) | fn flat_storage_with_hops_random() { function test_new_flat_head (line 1051) | fn test_new_flat_head() { FILE: core/store/src/flat/store_helper.rs function get_delta_changes (line 19) | pub fn get_delta_changes( function get_all_deltas_metadata (line 32) | pub fn get_all_deltas_metadata( function get_delta_metadata (line 49) | fn get_delta_metadata( function get_prev_block_with_changes (line 62) | pub fn get_prev_block_with_changes( function set_delta (line 98) | pub fn set_delta(store_update: &mut StoreUpdate, shard_uid: ShardUId, de... function remove_delta (line 108) | pub fn remove_delta(store_update: &mut StoreUpdate, shard_uid: ShardUId,... function remove_range_by_shard_uid (line 114) | fn remove_range_by_shard_uid(store_update: &mut StoreUpdate, shard_uid: ... function remove_all_deltas (line 120) | pub fn remove_all_deltas(store_update: &mut StoreUpdate, shard_uid: Shar... function remove_all_flat_state_values (line 125) | pub fn remove_all_flat_state_values(store_update: &mut StoreUpdate, shar... function remove_all_state_values (line 129) | pub fn remove_all_state_values(store_update: &mut StoreUpdate, shard_uid... function encode_flat_state_db_key (line 133) | pub fn encode_flat_state_db_key(shard_uid: ShardUId, key: &[u8]) -> Vec<... function decode_flat_state_db_key (line 140) | pub fn decode_flat_state_db_key(key: &[u8]) -> io::Result<(ShardUId, Vec... function get_flat_state_values_inlining_migration_status (line 153) | pub fn get_flat_state_values_inlining_migration_status( function set_flat_state_values_inlining_migration_status (line 166) | pub fn set_flat_state_values_inlining_migration_status( function get_flat_state_value (line 181) | pub(crate) fn get_flat_state_value( function set_flat_state_value (line 193) | pub fn set_flat_state_value( function get_flat_storage_status (line 208) | pub fn get_flat_storage_status( function set_flat_storage_status (line 222) | pub fn set_flat_storage_status( function iter_flat_state_entries (line 236) | pub fn iter_flat_state_entries<'a>( function iter_flat_state_entries (line 288) | fn iter_flat_state_entries() { FILE: core/store/src/flat/test_utils.rs type MockChain (line 6) | pub struct MockChain { method get_block_info (line 13) | pub fn get_block_info(&self, block_hash: &CryptoHash) -> BlockInfo { method block_hash (line 17) | pub fn block_hash(height: BlockHeight) -> CryptoHash { method build (line 22) | pub fn build( method liunc_chain (line 44) | pub fn liunc_chain(n: usize) -> MockChain { method liunc_chain_with_skips (line 50) | pub fn liunc_chain_with_skips(n: usize) -> MockChain { method chain_with_two_forks (line 64) | pub fn chain_with_two_forks(n: usize) -> MockChain { method get_block_hash (line 77) | pub fn get_block_hash(&self, height: BlockHeight) -> CryptoHash { method get_block (line 81) | pub fn get_block(&self, height: BlockHeight) -> BlockInfo { method create_block (line 86) | pub fn create_block(&mut self) -> CryptoHash { FILE: core/store/src/flat/types.rs type BlockInfo (line 8) | pub struct BlockInfo { method genesis (line 15) | pub fn genesis(hash: CryptoHash, height: BlockHeight) -> Self { type FlatStorageError (line 21) | pub enum FlatStorageError { method from (line 33) | fn from(err: FlatStorageError) -> Self { type FlatStorageResult (line 46) | pub type FlatStorageResult = Result; type FlatStateValuesInliningMigrationStatus (line 49) | pub enum FlatStateValuesInliningMigrationStatus { type FlatStorageStatus (line 56) | pub enum FlatStorageStatus { function into (line 70) | fn into(self) -> i64 { type FlatStorageReadyStatus (line 86) | pub struct FlatStorageReadyStatus { type FlatStorageCreationStatus (line 95) | pub enum FlatStorageCreationStatus { type FetchingStateStatus (line 116) | pub struct FetchingStateStatus { type FlatStateIterator (line 127) | pub type FlatStateIterator<'a> = FILE: core/store/src/genesis/initialization.rs constant STATE_DUMP_FILE (line 24) | const STATE_DUMP_FILE: &str = "state_dump"; constant GENESIS_ROOTS_FILE (line 25) | const GENESIS_ROOTS_FILE: &str = "genesis_roots"; function initialize_genesis_state (line 27) | pub fn initialize_genesis_state(store: Store, genesis: &Genesis, home_di... function genesis_state_from_dump (line 64) | fn genesis_state_from_dump(store: Store, home_dir: &Path) -> Vec Vec { function new (line 31) | fn new(config: &'a StorageUsageConfig) -> Self { function process_record (line 36) | fn process_record(&mut self, record: &StateRecord) { function process_records (line 69) | fn process_records(&mut self, records: &[StateRecord]) { function finalize (line 76) | fn finalize(self) -> HashMap { constant TARGET_OUTSTANDING_WRITES (line 87) | const TARGET_OUTSTANDING_WRITES: usize = 100_000; type AutoFlushingTrieUpdate (line 89) | struct AutoFlushingTrieUpdate<'a> { function new (line 99) | fn new( function modify (line 116) | fn modify(&mut self, process_callback: impl FnOnce(&mut TrieUpdate) -... function flush (line 129) | fn flush(&mut self) -> StateRoot { method drop (line 154) | fn drop(&mut self) { type GenesisStateApplier (line 160) | pub struct GenesisStateApplier {} method apply_batch (line 163) | fn apply_batch( method apply_delayed_receipts (line 328) | fn apply_delayed_receipts( method apply (line 339) | pub fn apply( function compute_storage_usage (line 370) | pub fn compute_storage_usage( function compute_genesis_storage_usage (line 380) | pub fn compute_genesis_storage_usage( FILE: core/store/src/lib.rs type Temperature (line 70) | pub enum Temperature { type Err (line 76) | type Err = String; method from_str (line 78) | fn from_str(s: &str) -> Result { constant STATE_COLUMNS (line 88) | const STATE_COLUMNS: [DBCol; 2] = [DBCol::State, DBCol::FlatState]; constant STATE_FILE_END_MARK (line 89) | const STATE_FILE_END_MARK: u8 = 255; type NodeStorage (line 95) | pub struct NodeStorage { method opener (line 114) | pub fn opener<'a>( method from_rocksdb (line 124) | fn from_rocksdb( method test_opener (line 148) | pub fn test_opener() -> (tempfile::TempDir, StoreOpener<'static>) { method new (line 164) | pub fn new(storage: Arc) -> Self { method get_hot_store (line 183) | pub fn get_hot_store(&self) -> Store { method get_cold_store (line 194) | pub fn get_cold_store(&self) -> Option { method get_split_store (line 208) | pub fn get_split_store(&self) -> Option { method into_inner (line 233) | pub fn into_inner(self, temp: Temperature) -> Arc { method has_cold (line 243) | pub fn has_cold(&self) -> bool { method is_archive (line 248) | pub fn is_archive(&self) -> io::Result { method new_with_cold (line 259) | pub fn new_with_cold(hot: Arc, cold: Arc) ... method cold_db (line 263) | pub fn cold_db(&self) -> Option<&Arc> { type Store (line 107) | pub struct Store { method get (line 275) | pub fn get(&self, column: DBCol, key: &[u8]) -> io::Result(&self, column: DBCol, key: &[u8]) ... method exists (line 295) | pub fn exists(&self, column: DBCol, key: &[u8]) -> io::Result { method store_update (line 299) | pub fn store_update(&self) -> StoreUpdate { method iter (line 303) | pub fn iter<'a>(&'a self, col: DBCol) -> DBIterator<'a> { method iter_raw_bytes (line 313) | pub fn iter_raw_bytes<'a>(&'a self, col: DBCol) -> DBIterator<'a> { method iter_prefix (line 317) | pub fn iter_prefix<'a>(&'a self, col: DBCol, key_prefix: &'a [u8]) -> ... method iter_range (line 322) | pub fn iter_range<'a>( method iter_prefix_ser (line 331) | pub fn iter_prefix_ser<'a, T: BorshDeserialize>( method save_state_to_file (line 347) | pub fn save_state_to_file(&self, filename: &Path) -> io::Result<()> { method load_state_from_file (line 364) | pub fn load_state_from_file(&self, filename: &Path) -> io::Result<()> { method flush (line 380) | pub fn flush(&self) -> io::Result<()> { method compact (line 385) | pub fn compact(&self) -> io::Result<()> { method get_store_statistics (line 389) | pub fn get_store_statistics(&self) -> Option { method get_db_version (line 395) | pub fn get_db_version(&self) -> io::Result> { method set_db_version (line 399) | pub fn set_db_version(&self, version: DbVersion) -> io::Result<()> { method get_db_kind (line 405) | pub fn get_db_kind(&self) -> io::Result> { method set_db_kind (line 409) | pub fn set_db_kind(&self, kind: DbKind) -> io::Result<()> { type StoreUpdate (line 417) | pub struct StoreUpdate { constant ONE (line 423) | const ONE: std::num::NonZeroU32 = match std::num::NonZeroU32::new(1) { method new (line 428) | pub(crate) fn new(db: Arc) -> Self { method insert (line 436) | pub fn insert(&mut self, column: DBCol, key: Vec, value: Vec) { method insert_ser (line 451) | pub fn insert_ser( method increment_refcount_by (line 472) | pub fn increment_refcount_by( method increment_refcount (line 485) | pub fn increment_refcount(&mut self, column: DBCol, key: &[u8], data: ... method decrement_refcount_by (line 496) | pub fn decrement_refcount_by( method decrement_refcount (line 508) | pub fn decrement_refcount(&mut self, column: DBCol, key: &[u8]) { method set (line 520) | pub fn set(&mut self, column: DBCol, key: &[u8], value: &[u8]) { method set_ser (line 529) | pub fn set_ser( method set_raw_bytes (line 547) | pub fn set_raw_bytes(&mut self, column: DBCol, key: &[u8], value: &[u8... method delete (line 555) | pub fn delete(&mut self, column: DBCol, key: &[u8]) { method delete_all (line 560) | pub fn delete_all(&mut self, column: DBCol) { method delete_range (line 566) | pub fn delete_range(&mut self, column: DBCol, from: &[u8], to: &[u8]) { method merge (line 573) | pub fn merge(&mut self, other: StoreUpdate) { method commit (line 578) | pub fn commit(self) -> io::Result<()> { method fmt (line 628) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function get (line 651) | pub fn get( function set (line 667) | pub fn set(state_update: &mut TrieUpdate, key: TrieKe... function set_account (line 672) | pub fn set_account(state_update: &mut TrieUpdate, account_id: AccountId,... function get_account (line 676) | pub fn get_account( function set_received_data (line 683) | pub fn set_received_data( function get_received_data (line 692) | pub fn get_received_data( function set_postponed_receipt (line 700) | pub fn set_postponed_receipt(state_update: &mut TrieUpdate, receipt: &Re... function remove_postponed_receipt (line 708) | pub fn remove_postponed_receipt( function get_postponed_receipt (line 716) | pub fn get_postponed_receipt( function get_delayed_receipt_indices (line 724) | pub fn get_delayed_receipt_indices( function set_delayed_receipt (line 731) | pub fn set_delayed_receipt( function set_access_key (line 747) | pub fn set_access_key( function remove_access_key (line 756) | pub fn remove_access_key( function get_access_key (line 764) | pub fn get_access_key( function get_access_key_raw (line 775) | pub fn get_access_key_raw( function set_rsa2048_keys (line 786) | pub fn set_rsa2048_keys( function remove_rsa2048_keys (line 795) | pub fn remove_rsa2048_keys( function get_rsa2048_keys (line 803) | pub fn get_rsa2048_keys( function get_rsa2048_keys_raw (line 814) | pub fn get_rsa2048_keys_raw( function set_code (line 825) | pub fn set_code(state_update: &mut TrieUpdate, account_id: AccountId, co... function get_code (line 829) | pub fn get_code( function remove_account (line 839) | pub fn remove_account( function get_genesis_state_roots (line 882) | pub fn get_genesis_state_roots(store: &Store) -> io::Result io::Result> { function set_genesis_hash (line 890) | pub fn set_genesis_hash(store_update: &mut StoreUpdate, genesis_hash: &C... function set_genesis_state_roots (line 896) | pub fn set_genesis_state_roots(store_update: &mut StoreUpdate, genesis_r... function option_to_not_found (line 902) | fn option_to_not_found(res: io::Result>, field_name: F) ... type StoreCompiledContractCache (line 913) | pub struct StoreCompiledContractCache { method new (line 918) | pub fn new(store: &Store) -> Self { method put (line 928) | fn put(&self, key: &CryptoHash, value: CompiledContract) -> io::Result<(... method get (line 942) | fn get(&self, key: &CryptoHash) -> io::Result> { method has (line 950) | fn has(&self, key: &CryptoHash) -> io::Result { function test_no_cache_disabled (line 962) | fn test_no_cache_disabled() { function test_clear_column (line 967) | fn test_clear_column(store: Store) { function clear_column_rocksdb (line 986) | fn clear_column_rocksdb() { function clear_column_testdb (line 992) | fn clear_column_testdb() { function assert_sorted (line 998) | fn assert_sorted(want_count: usize, keys: Vec>) { function test_iter_order_impl (line 1007) | fn test_iter_order_impl(store: Store) { function rocksdb_iter_order (line 1058) | fn rocksdb_iter_order() { function testdb_iter_order (line 1064) | fn testdb_iter_order() { function test_store_compiled_contract_cache (line 1070) | fn test_store_compiled_contract_cache() { function test_save_to_file (line 1089) | fn test_save_to_file() { FILE: core/store/src/metadata.rs type DbVersion (line 2) | pub type DbVersion = u32; constant DB_VERSION (line 5) | pub const DB_VERSION: DbVersion = 38; constant DB_VERSION_WITH_KIND (line 8) | const DB_VERSION_WITH_KIND: DbVersion = 34; constant VERSION_KEY (line 18) | pub(super) const VERSION_KEY: &[u8; 7] = b"VERSION"; constant KIND_KEY (line 23) | pub(super) const KIND_KEY: &[u8; 4] = b"KIND"; type DbKind (line 29) | pub enum DbKind { type DbMetadata (line 46) | pub(super) struct DbMetadata { method read (line 64) | pub(super) fn read(db: &dyn crate::Database) -> std::io::Result { method maybe_read_version (line 79) | pub(super) fn maybe_read_version( method maybe_read_kind (line 88) | pub(super) fn maybe_read_kind(db: &dyn crate::Database) -> std::io::Re... function read (line 96) | fn read( function maybe_read (line 115) | fn maybe_read( FILE: core/store/src/metrics.rs function export_store_stats (line 541) | fn export_store_stats(store: &Store, temperature: Temperature) { function spawn_db_metrics_loop (line 552) | pub fn spawn_db_metrics_loop( function stat (line 595) | fn stat(name: &str, count: i64) -> (String, Vec) { function test_db_metrics_loop_impl (line 599) | async fn test_db_metrics_loop_impl() -> anyhow::Result<()> { function test_db_metrics_loop (line 647) | fn test_db_metrics_loop() { FILE: core/store/src/migrations.rs type BatchedStoreUpdate (line 10) | pub struct BatchedStoreUpdate<'a> { constant PRINT_PROGRESS_EVERY_BYTES (line 19) | const PRINT_PROGRESS_EVERY_BYTES: u64 = bytesize::GIB; function new (line 22) | pub fn new(store: &'a Store, batch_size_limit: usize) -> Self { function commit (line 33) | fn commit(&mut self) -> std::io::Result<()> { function set_or_insert_ser (line 41) | fn set_or_insert_ser( function set_ser (line 74) | pub fn set_ser( function insert_ser (line 83) | pub fn insert_ser( function finish (line 92) | pub fn finish(mut self) -> std::io::Result<()> { function migrate_32_to_33 (line 106) | pub fn migrate_32_to_33(store: &Store) -> anyhow::Result<()> { function migrate_33_to_34 (line 144) | pub fn migrate_33_to_34(store: &Store, mut is_node_archival: bool) -> an... function migrate_34_to_35 (line 177) | pub fn migrate_34_to_35(store: &Store) -> anyhow::Result<()> { function migrate_36_to_37 (line 188) | pub fn migrate_36_to_37(store: &Store) -> anyhow::Result<()> { function migrate_37_to_38 (line 213) | pub fn migrate_37_to_38(store: &Store) -> anyhow::Result<()> { FILE: core/store/src/opener.rs type StoreOpenerError (line 9) | pub enum StoreOpenerError { method from (line 114) | fn from(err: SnapshotError) -> Self { method from (line 123) | fn from(err: SnapshotRemoveError) -> Self { function get_default_kind (line 128) | fn get_default_kind(archive: bool, temp: Temperature) -> DbKind { function is_valid_kind_temp (line 136) | fn is_valid_kind_temp(kind: DbKind, temp: Temperature) -> bool { function is_valid_kind_archive (line 146) | fn is_valid_kind_archive(kind: DbKind, archive: bool) -> bool { type StoreOpener (line 165) | pub struct StoreOpener<'a> { type DBOpener (line 181) | struct DBOpener<'a> { function new (line 201) | pub(crate) fn new( function with_migrator (line 220) | pub fn with_migrator(mut self, migrator: &'a dyn StoreMigrator) -> Self { function path (line 228) | pub fn path(&self) -> &std::path::Path { function config (line 233) | pub(crate) fn config(&self) -> &StoreConfig { function open (line 240) | pub fn open(&self) -> Result { function open_in_mode (line 251) | pub fn open_in_mode(&self, mode: Mode) -> Result Result<(Snapshot, Snapshot... function ensure_created (line 329) | fn ensure_created(mode: Mode, opener: &DBOpener) -> Result<(), StoreOpen... function ensure_kind (line 355) | fn ensure_kind( function ensure_version (line 395) | fn ensure_version( function open_store (line 465) | fn open_store( function open_store_unsafe (line 475) | fn open_store_unsafe(mode: Mode, opener: &DBOpener) -> Result std::io::Result> { function open (line 522) | fn open(&self, mode: Mode, want_version: DbVersion) -> std::io::Result<(... function open_unsafe (line 537) | fn open_unsafe(&self, mode: Mode) -> std::io::Result { function create (line 543) | fn create(&self) -> std::io::Result { function snapshot (line 548) | fn snapshot(&self) -> Result { type StoreMigrator (line 553) | pub trait StoreMigrator { method check_support (line 563) | fn check_support(&self, version: DbVersion) -> Result<(), &'static str>; method migrate (line 574) | fn migrate(&self, store: &Store, version: DbVersion) -> anyhow::Result... function checkpoint_hot_storage_and_cleanup_columns (line 586) | pub fn checkpoint_hot_storage_and_cleanup_columns( function check_keys_existence (line 639) | fn check_keys_existence(store: &Store, column: &DBCol, keys: &Vec HashMap { type RocksDBMetrics (line 37) | pub(crate) struct RocksDBMetrics { method export_stats_as_metrics (line 47) | pub fn export_stats_as_metrics( method set_int_value (line 131) | fn set_int_value( function get_temperature_str (line 150) | fn get_temperature_str(temperature: &Temperature) -> &'static str { function get_prometheus_metric_name (line 157) | fn get_prometheus_metric_name(stat_name: &str) -> String { function get_metric_name_summary_count_gauge (line 161) | fn get_metric_name_summary_count_gauge(stat_name: &str) -> String { function get_metric_name_summary_sum_gauge (line 165) | fn get_metric_name_summary_sum_gauge(stat_name: &str) -> String { function get_stats_summary_count_key (line 169) | fn get_stats_summary_count_key(stat_name: &str) -> String { function get_stats_summary_sum_key (line 173) | fn get_stats_summary_sum_key(stat_name: &str) -> String { FILE: core/store/src/sync_utils.rs constant POISONED_LOCK_ERR (line 4) | const POISONED_LOCK_ERR: &str = "The lock was poisoned."; type Monitor (line 11) | pub(crate) struct Monitor { type MonitorReadGuard (line 16) | pub(crate) struct MonitorReadGuard<'a, T> { type MonitorWriteGuard (line 20) | pub(crate) struct MonitorWriteGuard<'a, T> { function new (line 26) | pub fn new(t: T) -> Self { function lock (line 30) | pub fn lock(&self) -> MonitorReadGuard<'_, T> { function lock_mut (line 35) | pub fn lock_mut(&self) -> MonitorWriteGuard<'_, T> { function wait (line 40) | pub fn wait<'a>(&'a self, guard: MonitorReadGuard<'a, T>) -> MonitorRead... type Target (line 47) | type Target = T; method deref (line 49) | fn deref(&self) -> &Self::Target { type Target (line 55) | type Target = T; method deref (line 57) | fn deref(&self) -> &Self::Target { method deref_mut (line 63) | fn deref_mut(&mut self) -> &mut Self::Target { method drop (line 69) | fn drop(&mut self) { FILE: core/store/src/test_utils.rs function create_test_node_storage (line 27) | pub fn create_test_node_storage(version: DbVersion, hot_kind: DbKind) ->... function create_test_node_storage_default (line 41) | pub fn create_test_node_storage_default() -> NodeStorage { function create_test_node_storage_with_cold (line 46) | pub fn create_test_node_storage_with_cold( function create_test_store (line 63) | pub fn create_test_store() -> Store { type TestTriesBuilder (line 67) | pub struct TestTriesBuilder { method new (line 76) | pub fn new() -> Self { method with_store (line 86) | pub fn with_store(mut self, store: Store) -> Self { method with_shard_layout (line 91) | pub fn with_shard_layout(mut self, shard_version: ShardVersion, num_sh... method with_flat_storage (line 97) | pub fn with_flat_storage(mut self) -> Self { method with_in_memory_tries (line 102) | pub fn with_in_memory_tries(mut self) -> Self { method build (line 107) | pub fn build(self) -> ShardTries { function test_populate_trie (line 156) | pub fn test_populate_trie( function test_populate_flat_storage (line 175) | pub fn test_populate_flat_storage( function test_populate_store (line 202) | pub fn test_populate_store(store: &Store, data: impl Iterator, Ve... function gen_alphabet (line 219) | fn gen_alphabet() -> Vec { function gen_accounts_from_alphabet (line 224) | fn gen_accounts_from_alphabet( function gen_account_from_alphabet (line 234) | pub fn gen_account_from_alphabet(rng: &mut impl Rng, alphabet: &[u8]) ->... function gen_account (line 240) | pub fn gen_account(rng: &mut impl Rng) -> AccountId { function gen_unique_accounts (line 245) | pub fn gen_unique_accounts(rng: &mut impl Rng, min_size: usize, max_size... function gen_receipts (line 254) | pub fn gen_receipts(rng: &mut impl Rng, max_size: usize) -> Vec { function gen_changes_helper (line 271) | fn gen_changes_helper( function gen_changes (line 303) | pub fn gen_changes(rng: &mut impl Rng, max_size: usize) -> Vec<(Vec,... function gen_larger_changes (line 309) | pub fn gen_larger_changes(rng: &mut impl Rng, max_size: usize) -> Vec<(V... function simplify_changes (line 315) | pub fn simplify_changes(changes: &[(Vec, Option>)]) -> Vec<(... function get_all_delayed_receipts (line 329) | pub fn get_all_delayed_receipts( FILE: core/store/src/trie/accounting_cache.rs type TrieAccountingCache (line 42) | pub struct TrieAccountingCache { method new (line 69) | pub fn new(shard_uid_and_is_view: Option<(ShardUId, bool)>) -> Self { method set_enabled (line 85) | pub fn set_enabled(&mut self, enabled: bool) { method retrieve_raw_bytes_with_accounting (line 91) | pub fn retrieve_raw_bytes_with_accounting( method retroactively_account (line 121) | pub fn retroactively_account(&mut self, hash: CryptoHash, data: Arc<[u... method get_trie_nodes_count (line 135) | pub fn get_trie_nodes_count(&self) -> TrieNodesCount { type TrieAccountingCacheMetrics (line 60) | struct TrieAccountingCacheMetrics { FILE: core/store/src/trie/config.rs constant DEFAULT_SHARD_CACHE_TOTAL_SIZE_LIMIT (line 7) | pub(crate) const DEFAULT_SHARD_CACHE_TOTAL_SIZE_LIMIT: u64 = constant DEFAULT_SHARD_CACHE_DELETIONS_QUEUE_CAPACITY (line 12) | pub(crate) const DEFAULT_SHARD_CACHE_DELETIONS_QUEUE_CAPACITY: usize = constant TRIE_LIMIT_CACHED_VALUE_SIZE (line 17) | const TRIE_LIMIT_CACHED_VALUE_SIZE: usize = 1000; type TrieConfig (line 21) | pub struct TrieConfig { method from_store_config (line 33) | pub fn from_store_config(config: &StoreConfig) -> Self { method max_cached_value_size (line 47) | pub fn max_cached_value_size() -> usize { method deletions_queue_capacity (line 58) | pub fn deletions_queue_capacity(&self) -> usize { FILE: core/store/src/trie/from_flat.rs function construct_trie_from_flat (line 13) | pub fn construct_trie_from_flat(store: Store, write_store: Store, shard_... function get_trie_update_batch (line 57) | fn get_trie_update_batch( FILE: core/store/src/trie/insert_delete.rs type NodesStorage (line 12) | pub(crate) struct NodesStorage { method new (line 22) | pub fn new() -> NodesStorage { method destroy (line 30) | fn destroy(&mut self, handle: StorageHandle) -> TrieNodeWithSize { method node_ref (line 38) | pub fn node_ref(&self, handle: StorageHandle) -> &TrieNodeWithSize { method node_mut (line 46) | fn node_mut(&mut self, handle: StorageHandle) -> &mut TrieNodeWithSize { method store (line 54) | pub(crate) fn store(&mut self, node: TrieNodeWithSize) -> StorageHandle { method store_value (line 59) | pub(crate) fn store_value(&mut self, value: Vec) -> StorageValueHa... method value_ref (line 64) | pub(crate) fn value_ref(&self, handle: StorageValueHandle) -> &[u8] { method store_at (line 72) | fn store_at(&mut self, handle: StorageHandle, node: TrieNodeWithSize) { constant INVALID_STORAGE_HANDLE (line 18) | const INVALID_STORAGE_HANDLE: &str = "invalid storage handle"; type FlattenNodesCrumb (line 78) | enum FlattenNodesCrumb { method insert (line 87) | pub(crate) fn insert( method calc_memory_usage_and_store (line 298) | fn calc_memory_usage_and_store( method delete (line 313) | pub(crate) fn delete( method fix_nodes (line 427) | fn fix_nodes( method fix_extension_node (line 489) | fn fix_extension_node( method flatten_nodes (line 537) | pub(crate) fn flatten_nodes( method flatten_value (line 622) | fn flatten_value(memory: &mut NodesStorage, value: ValueHandle) -> Value... FILE: core/store/src/trie/iterator.rs type Crumb (line 9) | struct Crumb { method increment (line 27) | fn increment(&mut self) { type CrumbStatus (line 19) | pub(crate) enum CrumbStatus { type TrieIterator (line 52) | pub struct TrieIterator<'a> { type TrieItem (line 74) | pub type TrieItem = (Vec, Vec); type TrieTraversalItem (line 78) | pub struct TrieTraversalItem { function new (line 88) | pub(super) fn new( function seek_prefix (line 104) | pub fn seek_prefix>(&mut self, key: K) -> Result<(), Stor... function remember_visited_nodes (line 112) | pub fn remember_visited_nodes(&mut self, remember: bool) { function into_visited_nodes (line 122) | pub fn into_visited_nodes(self) -> Vec> { function seek_nibble_slice (line 127) | pub(crate) fn seek_nibble_slice( function descend_into_node (line 206) | fn descend_into_node(&mut self, hash: &CryptoHash) -> Result<(), Storage... function key (line 217) | fn key(&self) -> Vec { function has_value (line 225) | fn has_value(&self) -> bool { function iter_step (line 235) | fn iter_step(&mut self) -> Option { function common_prefix (line 293) | fn common_prefix(str1: &[u8], str2: &[u8]) -> usize { function get_trie_items (line 302) | pub(crate) fn get_trie_items( function visit_nodes_interval (line 325) | pub fn visit_nodes_interval( type IterStep (line 387) | enum IterStep { type Item (line 395) | type Item = Result; method next (line 397) | fn next(&mut self) -> Option { function value (line 441) | fn value() -> Option> { function test_visit_interval (line 448) | fn test_visit_interval() { function test_iterator (line 463) | fn test_iterator() { function test_iterator_with_prune_condition_base (line 489) | fn test_iterator_with_prune_condition_base() { function test_iterator_with_prune_condition_subtree (line 525) | fn test_iterator_with_prune_condition_subtree() { function test_prune_max_depth_impl (line 565) | fn test_prune_max_depth_impl( function test_prune_max_depth (line 582) | fn test_prune_max_depth() { function gen_random_trie (line 611) | fn gen_random_trie( function test_seek_prefix (line 631) | fn test_seek_prefix(trie: &Trie, map: &BTreeMap, Vec>, seek_... function test_has_value (line 652) | fn test_has_value() { FILE: core/store/src/trie/mem/arena/alloc.rs type Allocator (line 23) | pub struct Allocator { method new (line 78) | pub fn new(name: String) -> Self { method new_chunk (line 94) | fn new_chunk(&mut self, arena: &mut ArenaMemory) { method allocate (line 102) | pub fn allocate<'a>(&mut self, arena: &'a mut ArenaMemory, size: usize... method deallocate (line 129) | pub fn deallocate(&mut self, arena: &mut ArenaMemory, pos: ArenaPos, l... method num_active_allocs (line 140) | pub fn num_active_allocs(&self) -> usize { constant MAX_ALLOC_SIZE (line 46) | const MAX_ALLOC_SIZE: usize = 16 * 1024; constant ROUND_UP_TO_8_BYTES_UNDER (line 47) | const ROUND_UP_TO_8_BYTES_UNDER: usize = 256; constant ROUND_UP_TO_64_BYTES_UNDER (line 48) | const ROUND_UP_TO_64_BYTES_UNDER: usize = 1024; constant CHUNK_SIZE (line 49) | const CHUNK_SIZE: usize = 4 * 1024 * 1024; function allocation_class (line 53) | const fn allocation_class(size: usize) -> usize { function allocation_size (line 65) | const fn allocation_size(size_class: usize) -> usize { constant NUM_ALLOCATION_CLASSES (line 75) | const NUM_ALLOCATION_CLASSES: usize = allocation_class(MAX_ALLOC_SIZE) + 1; function test_allocate_deallocate (line 153) | fn test_allocate_deallocate() { function test_allocation_reuse (line 186) | fn test_allocation_reuse() { function test_size_classes (line 206) | fn test_size_classes() { FILE: core/store/src/trie/mem/arena/mod.rs type Arena (line 16) | pub struct Arena { method new (line 121) | pub fn new(name: String) -> Self { method alloc (line 126) | pub fn alloc<'a>(&'a mut self, size: usize) -> ArenaSliceMut<'a> { method dealloc (line 132) | pub fn dealloc(&mut self, pos: ArenaPos, len: usize) { method num_active_allocs (line 138) | pub fn num_active_allocs(&self) -> usize { method memory (line 142) | pub fn memory(&self) -> &ArenaMemory { method memory_mut (line 146) | pub fn memory_mut(&mut self) -> &mut ArenaMemory { type ArenaMemory (line 28) | pub struct ArenaMemory { method new (line 83) | fn new() -> Self { method raw_slice (line 87) | fn raw_slice(&self, pos: ArenaPos, len: usize) -> &[u8] { method raw_slice_mut (line 91) | fn raw_slice_mut(&mut self, pos: ArenaPos, len: usize) -> &mut [u8] { method slice (line 96) | pub fn slice<'a>(&'a self, pos: ArenaPos, len: usize) -> ArenaSlice<'a> { method slice_mut (line 101) | pub fn slice_mut<'a>(&'a mut self, pos: ArenaPos, len: usize) -> Arena... method ptr (line 106) | pub fn ptr<'a>(self: &'a Self, pos: ArenaPos) -> ArenaPtr<'a> { method ptr_mut (line 111) | pub fn ptr_mut<'a>(self: &'a mut Self, pos: ArenaPos) -> ArenaPtrMut<'... type ArenaPos (line 45) | pub struct ArenaPos { method pos (line 61) | pub fn pos(&self) -> usize { method chunk (line 65) | pub fn chunk(&self) -> usize { method offset_by (line 69) | pub fn offset_by(self, offset: usize) -> Self { method invalid (line 73) | pub(crate) const fn invalid() -> Self { method is_invalid (line 77) | pub(crate) const fn is_invalid(&self) -> bool { constant SERIALIZED_SIZE (line 51) | const SERIALIZED_SIZE: usize = 8; method fmt (line 55) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type ArenaPtr (line 153) | pub struct ArenaPtr<'a> { method fmt (line 159) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method hash (line 165) | fn hash(&self, state: &mut H) { method eq (line 171) | fn eq(&self, other: &Self) -> bool { function slice (line 181) | pub fn slice(&self, offset: usize, len: usize) -> ArenaSlice<'a> { function raw_pos (line 186) | pub fn raw_pos(&self) -> ArenaPos { function arena (line 190) | pub fn arena(&self) -> &'a ArenaMemory { function read_pos (line 195) | pub fn read_pos(&self) -> ArenaPos { type ArenaSlice (line 202) | pub struct ArenaSlice<'a> { method fmt (line 209) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function len (line 215) | pub fn len(&self) -> usize { function ptr (line 220) | pub fn ptr(&self) -> ArenaPtr<'a> { function raw_slice (line 225) | pub fn raw_slice(&self) -> &[u8] { function read_ptr_at (line 231) | pub fn read_ptr_at(&self, pos: usize) -> ArenaPtr<'a> { function subslice (line 237) | pub fn subslice(&self, start: usize, len: usize) -> ArenaSlice<'a> { type ArenaPtrMut (line 244) | pub struct ArenaPtrMut<'a> { function ptr (line 252) | pub fn ptr<'b>(&'b self) -> ArenaPtr<'b> { function ptr_mut (line 258) | pub fn ptr_mut<'b>(&'b mut self) -> ArenaPtrMut<'b> { function slice (line 264) | pub fn slice<'b>(&'b self, offset: usize, len: usize) -> ArenaSlice<'b> { function slice_mut (line 269) | pub fn slice_mut<'b>(&'b mut self, offset: usize, len: usize) -> ArenaSl... function arena_mut (line 275) | pub fn arena_mut<'b>(&'b mut self) -> &'b mut ArenaMemory { type ArenaSliceMut (line 281) | pub struct ArenaSliceMut<'a> { function raw_pos (line 288) | pub fn raw_pos(&self) -> ArenaPos { function len (line 292) | pub fn len(&self) -> usize { function write_pos_at (line 297) | pub fn write_pos_at(&mut self, offset: usize, to_write: ArenaPos) { function raw_slice_mut (line 309) | pub fn raw_slice_mut(&mut self) -> &mut [u8] { function subslice_mut (line 315) | pub fn subslice_mut<'b>(&'b mut self, start: usize, len: usize) -> Arena... function test_arena_ptr_and_slice (line 326) | fn test_arena_ptr_and_slice() { FILE: core/store/src/trie/mem/construction.rs type TrieConstructor (line 64) | pub struct TrieConstructor<'a> { type TrieConstructionSegment (line 72) | struct TrieConstructionSegment { method new_branch (line 90) | fn new_branch(initial_trail: Vec, value: Option) -... method new_extension (line 95) | fn new_extension(trail: Vec) -> Self { method new_leaf (line 103) | fn new_leaf(trail: Vec, value: FlatStateValue) -> Self { method is_leaf (line 109) | fn is_leaf(&self) -> bool { method into_node (line 113) | fn into_node(self, arena: &mut Arena) -> MemTrieNodeId { function new (line 143) | pub fn new(arena: &'a mut Arena) -> Self { function pop_segment (line 148) | fn pop_segment(&mut self) { function add_leaf (line 162) | pub fn add_leaf(&mut self, key: &[u8], value: FlatStateValue) { function finalize (line 312) | pub fn finalize(mut self) -> Option { FILE: core/store/src/trie/mem/flexible_data/children.rs type EncodedChildrenHeader (line 15) | pub struct EncodedChildrenHeader { constant SERIALIZED_SIZE (line 20) | const SERIALIZED_SIZE: usize = std::mem::size_of::(); type InputData (line 24) | type InputData = [Option; 16]; type View (line 25) | type View<'a> = ChildrenView<'a>; method from_input (line 27) | fn from_input(children: &[Option; 16]) -> EncodedChildren... method flexible_data_length (line 37) | fn flexible_data_length(&self) -> usize { method encode_flexible_data (line 41) | fn encode_flexible_data( method decode_flexible_data (line 57) | fn decode_flexible_data<'a>(&self, source: &ArenaSlice<'a>) -> ChildrenV... type ChildrenView (line 64) | pub struct ChildrenView<'a> { function get (line 71) | pub fn get(&self, i: usize) -> Option> { function to_children (line 84) | pub fn to_children(&self) -> Children { function iter (line 98) | pub fn iter<'b>(&'b self) -> impl Iterator> + ... FILE: core/store/src/trie/mem/flexible_data/encoding.rs type BorshFixedSize (line 12) | pub trait BorshFixedSize { constant SERIALIZED_SIZE (line 13) | const SERIALIZED_SIZE: usize; type RawEncoder (line 17) | pub struct RawEncoder<'a> { method write (line 24) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 30) | fn flush(&mut self) -> std::io::Result<()> { function new (line 38) | pub fn new(arena: &'a mut Arena, n: usize) -> RawEncoder<'a> { function encode (line 45) | pub fn encode(&mut self, data: T) { function encode_flexible (line 54) | pub fn encode_flexible(&mut self, header: &T, dat... function finish (line 62) | pub fn finish(self) -> ArenaSliceMut<'a> { type RawDecoder (line 69) | pub struct RawDecoder<'a> { function new (line 77) | pub fn new(data: ArenaPtr<'a>) -> RawDecoder<'a> { function decode (line 83) | pub fn decode(&mut self) -> T { function peek (line 92) | pub fn peek(&mut self) -> T { function decode_flexible (line 100) | pub fn decode_flexible(&mut self, header: &T) -> ... type RawDecoderMut (line 109) | pub struct RawDecoderMut<'a> { function new (line 115) | pub fn new(data: ArenaPtrMut<'a>) -> RawDecoderMut<'a> { function decode (line 120) | pub fn decode(&mut self) -> T { function peek (line 128) | pub fn peek(&mut self) -> T { function overwrite (line 135) | pub fn overwrite(&mut self, data: T) { FILE: core/store/src/trie/mem/flexible_data/extension.rs type EncodedExtensionHeader (line 10) | pub struct EncodedExtensionHeader { constant SERIALIZED_SIZE (line 15) | const SERIALIZED_SIZE: usize = std::mem::size_of::(); type InputData (line 19) | type InputData = Box<[u8]>; type View (line 20) | type View<'a> = ArenaSlice<'a>; method from_input (line 21) | fn from_input(extension: &Box<[u8]>) -> EncodedExtensionHeader { method flexible_data_length (line 25) | fn flexible_data_length(&self) -> usize { method encode_flexible_data (line 29) | fn encode_flexible_data(&self, extension: Box<[u8]>, target: &mut ArenaS... method decode_flexible_data (line 33) | fn decode_flexible_data<'a>(&self, source: &ArenaSlice<'a>) -> ArenaSlic... FILE: core/store/src/trie/mem/flexible_data/mod.rs type FlexibleDataHeader (line 29) | pub trait FlexibleDataHeader { method from_input (line 37) | fn from_input(data: &Self::InputData) -> Self; method flexible_data_length (line 42) | fn flexible_data_length(&self) -> usize; method encode_flexible_data (line 48) | fn encode_flexible_data(&self, data: Self::InputData, target: &mut Are... method decode_flexible_data (line 57) | fn decode_flexible_data<'a>(&self, source: &ArenaSlice<'a>) -> Self::V... FILE: core/store/src/trie/mem/flexible_data/value.rs type EncodedValueHeader (line 15) | pub struct EncodedValueHeader { constant INLINED_MASK (line 26) | const INLINED_MASK: u32 = 0x80000000; method decode (line 28) | fn decode(&self) -> (u32, bool) { constant SERIALIZED_SIZE (line 22) | const SERIALIZED_SIZE: usize = std::mem::size_of::(); type InputData (line 37) | type InputData = FlatStateValue; type View (line 38) | type View<'a> = ValueView<'a>; method from_input (line 40) | fn from_input(value: &FlatStateValue) -> Self { method flexible_data_length (line 53) | fn flexible_data_length(&self) -> usize { method encode_flexible_data (line 62) | fn encode_flexible_data(&self, value: FlatStateValue, target: &mut Arena... method decode_flexible_data (line 78) | fn decode_flexible_data<'a>(&self, source: &ArenaSlice<'a>) -> ValueView... type ValueView (line 90) | pub enum ValueView<'a> { function to_flat_value (line 96) | pub fn to_flat_value(&self) -> FlatStateValue { function len (line 105) | pub fn len(&self) -> usize { FILE: core/store/src/trie/mem/loading.rs function load_trie_from_flat_state (line 23) | pub fn load_trie_from_flat_state( function get_state_root (line 89) | fn get_state_root( function load_trie_from_flat_state_and_delta (line 116) | pub fn load_trie_from_flat_state_and_delta( function check (line 198) | fn check(keys: Vec>) { function check_random (line 262) | fn check_random(max_key_len: usize, max_keys_count: usize, test_count: u... function nibbles (line 280) | fn nibbles(hex: &str) -> Vec { function all_nibbles (line 288) | fn all_nibbles(hexes: &str) -> Vec> { function test_memtrie_empty (line 293) | fn test_memtrie_empty() { function test_memtrie_root_is_leaf (line 298) | fn test_memtrie_root_is_leaf() { function test_memtrie_root_is_extension (line 307) | fn test_memtrie_root_is_extension() { function test_memtrie_root_is_branch (line 313) | fn test_memtrie_root_is_branch() { function test_memtrie_root_is_branch_with_value (line 320) | fn test_memtrie_root_is_branch_with_value() { function test_memtrie_prefix_patterns (line 325) | fn test_memtrie_prefix_patterns() { function test_full_16ary_trees (line 333) | fn test_full_16ary_trees() { function test_memtrie_rand_small (line 357) | fn test_memtrie_rand_small() { function test_memtrie_rand_many_keys (line 362) | fn test_memtrie_rand_many_keys() { function test_memtrie_rand_long_keys (line 367) | fn test_memtrie_rand_long_keys() { function test_memtrie_rand_long_long_keys (line 372) | fn test_memtrie_rand_long_long_keys() { function test_memtrie_rand_large_data (line 377) | fn test_memtrie_rand_large_data() { function test_memtrie_load_with_delta (line 382) | fn test_memtrie_load_with_delta() { function apply_trie_changes (line 490) | fn apply_trie_changes( function write_chunk_extra (line 525) | fn write_chunk_extra( FILE: core/store/src/trie/mem/lookup.rs function memtrie_lookup (line 16) | pub fn memtrie_lookup( FILE: core/store/src/trie/mem/mod.rs type MemTries (line 30) | pub struct MemTries { method new (line 48) | pub fn new(shard_uid: ShardUId) -> Self { method construct_root (line 60) | pub fn construct_root( method insert_root (line 75) | fn insert_root( method get_root (line 94) | pub fn get_root<'a>(&'a self, state_root: &CryptoHash) -> Option usize { method update (line 143) | pub fn update( function test_construct_empty_trie (line 184) | fn test_construct_empty_trie() { function test_refcount (line 193) | fn test_refcount() { FILE: core/store/src/trie/mem/node/encoding.rs type NodeKind (line 15) | pub(crate) enum NodeKind { type CommonHeader (line 23) | pub(crate) struct CommonHeader { constant SERIALIZED_SIZE (line 29) | const SERIALIZED_SIZE: usize = std::mem::size_of::() + std::mem::si... type NonLeafHeader (line 33) | pub(crate) struct NonLeafHeader { method new (line 39) | pub(crate) fn new(memory_usage: u64, node_hash: Option) ->... constant SERIALIZED_SIZE (line 45) | const SERIALIZED_SIZE: usize = std::mem::size_of::() + std::... type LeafHeader (line 49) | pub(crate) struct LeafHeader { constant SERIALIZED_SIZE (line 56) | const SERIALIZED_SIZE: usize = CommonHeader::SERIALIZED_SIZE type ExtensionHeader (line 62) | pub(crate) struct ExtensionHeader { constant SERIALIZED_SIZE (line 70) | const SERIALIZED_SIZE: usize = CommonHeader::SERIALIZED_SIZE type BranchHeader (line 77) | pub(crate) struct BranchHeader { constant SERIALIZED_SIZE (line 84) | const SERIALIZED_SIZE: usize = CommonHeader::SERIALIZED_SIZE type BranchWithValueHeader (line 90) | pub(crate) struct BranchWithValueHeader { constant SERIALIZED_SIZE (line 98) | const SERIALIZED_SIZE: usize = CommonHeader::SERIALIZED_SIZE method new_impl (line 106) | pub(crate) fn new_impl( method add_ref (line 239) | pub(crate) fn add_ref(&self, arena: &mut Arena) -> u32 { method remove_ref (line 251) | pub(crate) fn remove_ref(&self, arena: &mut Arena) -> u32 { function decoder (line 275) | pub(crate) fn decoder(&self) -> RawDecoder<'a> { function view_impl (line 280) | pub(crate) fn view_impl(&self) -> MemTrieNodeView<'a> { function size_of_allocation (line 325) | fn size_of_allocation(&self) -> usize { FILE: core/store/src/trie/mem/node/mod.rs type MemTrieNodeId (line 24) | pub struct MemTrieNodeId { method new (line 29) | pub fn new(arena: &mut Arena, input: InputMemTrieNode) -> Self { method new_with_hash (line 33) | pub fn new_with_hash(arena: &mut Arena, input: InputMemTrieNode, hash:... method as_ptr (line 37) | pub fn as_ptr<'a>(&self, arena: &'a ArenaMemory) -> MemTrieNodePtr<'a> { method as_ptr_mut (line 41) | pub(crate) fn as_ptr_mut<'a>(&self, arena: &'a mut ArenaMemory) -> Mem... type MemTrieNodePtr (line 49) | pub struct MemTrieNodePtr<'a> { type MemTrieNodePtrMut (line 56) | pub struct MemTrieNodePtrMut<'a> { method fmt (line 61) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function from (line 67) | pub fn from(ptr: ArenaPtr<'a>) -> Self { function view (line 71) | pub fn view(&self) -> MemTrieNodeView<'a> { function id (line 75) | pub fn id(&self) -> MemTrieNodeId { type InputMemTrieNode (line 82) | pub enum InputMemTrieNode { type MemTrieNodeView (line 92) | pub enum MemTrieNodeView<'a> { FILE: core/store/src/trie/mem/node/mutation.rs function as_const (line 10) | fn as_const<'b>(&'b self) -> MemTrieNodePtr<'b> { function decoder_mut (line 14) | pub(crate) fn decoder_mut<'b>(&'b mut self) -> RawDecoderMut<'b> { function split_children_mut (line 24) | fn split_children_mut(mut self) -> Vec> { function children_mut (line 40) | fn children_mut<'b>(&'b mut self) -> Vec> { function compute_hash (line 54) | fn compute_hash(&mut self) { function is_hash_computed (line 68) | fn is_hash_computed(&self) -> bool { function compute_hash_recursively (line 78) | pub(crate) fn compute_hash_recursively(&mut self) { function take_small_subtrees (line 92) | pub(crate) fn take_small_subtrees( FILE: core/store/src/trie/mem/node/tests.rs function test_basic_leaf_node_inlined (line 9) | fn test_basic_leaf_node_inlined() { function test_basic_leaf_node_ref (line 41) | fn test_basic_leaf_node_ref() { function test_basic_leaf_node_empty_extension_empty_value (line 74) | fn test_basic_leaf_node_empty_extension_empty_value() { function test_basic_extension_node (line 103) | fn test_basic_extension_node() { function branch_array (line 142) | fn branch_array(children: Vec<(usize, MemTrieNodeId)>) -> [Option CryptoHash { function memory_usage (line 26) | pub fn memory_usage(&self) -> u64 { function to_raw_trie_node_with_size (line 42) | pub fn to_raw_trie_node_with_size(&self) -> RawTrieNodeWithSize { function iter_children (line 70) | pub(crate) fn iter_children<'b>(&'b self) -> Box) -> Self { method convert_children_to_updated (line 84) | fn convert_children_to_updated(view: ChildrenView) -> [Option { function new (line 96) | pub fn new( function take_node (line 120) | fn take_node(&mut self, index: UpdatedMemTrieNodeId) -> UpdatedMemTrieNo... function place_node (line 125) | fn place_node(&mut self, index: UpdatedMemTrieNodeId, node: UpdatedMemTr... function new_updated_node (line 131) | fn new_updated_node(&mut self, node: UpdatedMemTrieNode) -> UpdatedMemTr... function convert_existing_to_updated (line 144) | fn convert_existing_to_updated(&mut self, node: Option) -... function ensure_updated (line 159) | fn ensure_updated(&mut self, node: OldOrUpdatedNodeId) -> UpdatedMemTrie... function add_refcount_to_value (line 166) | fn add_refcount_to_value(&mut self, hash: CryptoHash, value: Option) { function insert_memtrie_only (line 185) | pub fn insert_memtrie_only(&mut self, key: &[u8], value: FlatStateValue) { function insert_impl (line 197) | fn insert_impl(&mut self, key: &[u8], flat_value: FlatStateValue, value:... function delete (line 375) | pub fn delete(&mut self, key: &[u8]) { function squash_nodes (line 484) | fn squash_nodes(&mut self, path: Vec) { function extend_child (line 549) | fn extend_child( function post_order_traverse_updated_nodes (line 618) | fn post_order_traverse_updated_nodes( function compute_hashes_and_serialized_nodes (line 657) | fn compute_hashes_and_serialized_nodes( function to_mem_trie_changes_internal (line 746) | fn to_mem_trie_changes_internal( function to_mem_trie_changes_only (line 774) | pub fn to_mem_trie_changes_only(self) -> MemTrieChanges { function to_trie_changes (line 782) | pub fn to_trie_changes(self) -> TrieChanges { function apply_memtrie_changes (line 812) | pub fn apply_memtrie_changes( type TestTries (line 888) | struct TestTries { method new (line 897) | fn new(check_deleted_keys: bool) -> Self { method make_all_changes (line 909) | fn make_all_changes(&mut self, changes: Vec<(Vec, Option>)... method make_memtrie_changes_only (line 923) | fn make_memtrie_changes_only( method make_disk_changes_only (line 941) | fn make_disk_changes_only( method check_consistency_across_all_changes_and_apply (line 949) | fn check_consistency_across_all_changes_and_apply( function parse_changes (line 1035) | fn parse_changes(s: &str) -> Vec<(Vec, Option>)> { function test_meta_parse_changes (line 1051) | fn test_meta_parse_changes() { function test_trie_consistency_manual (line 1075) | fn test_trie_consistency_manual() { function test_trie_consistency_random (line 1234) | fn test_trie_consistency_random() { FILE: core/store/src/trie/mod.rs constant POISONED_LOCK_ERR (line 60) | const POISONED_LOCK_ERR: &str = "The lock was poisoned."; type PartialStorage (line 64) | pub struct PartialStorage { type StorageHandle (line 69) | pub(crate) struct StorageHandle(usize); type StorageValueHandle (line 72) | pub(crate) struct StorageValueHandle(usize); type TrieCosts (line 74) | pub struct TrieCosts { type KeyLookupMode (line 82) | pub enum KeyLookupMode { constant TRIE_COSTS (line 87) | const TRIE_COSTS: TrieCosts = TrieCosts { byte_of_key: 2, byte_of_value:... type NodeHandle (line 90) | enum NodeHandle { method unwrap_hash (line 96) | fn unwrap_hash(&self) -> &CryptoHash { method fmt (line 105) | fn fmt(&self, fmtr: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ValueHandle (line 114) | enum ValueHandle { method fmt (line 120) | fn fmt(&self, fmtr: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type TrieNode (line 129) | enum TrieNode { method new (line 165) | fn new(rc_node: RawTrieNode) -> TrieNode { method print (line 182) | fn print( method has_value (line 240) | pub fn has_value(&self) -> bool { method deep_to_string (line 248) | fn deep_to_string(&self, memory: &NodesStorage) -> String { method memory_usage_for_value_length (line 254) | fn memory_usage_for_value_length(value_length: u64) -> u64 { method memory_usage_value (line 258) | fn memory_usage_value(value: &ValueHandle, memory: Option<&NodesStorag... method memory_usage_direct_no_memory (line 269) | fn memory_usage_direct_no_memory(&self) -> u64 { method memory_usage_direct (line 273) | fn memory_usage_direct(&self, memory: &NodesStorage) -> u64 { method memory_usage_direct_internal (line 277) | fn memory_usage_direct_internal(&self, memory: Option<&NodesStorage>) ... method fmt (line 305) | fn fmt(&self, fmtr: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type TrieNodeWithSize (line 141) | pub struct TrieNodeWithSize { method from_raw (line 147) | fn from_raw(rc_node: RawTrieNodeWithSize) -> TrieNodeWithSize { method new (line 151) | fn new(node: TrieNode, memory_usage: u64) -> TrieNodeWithSize { method memory_usage (line 155) | fn memory_usage(&self) -> u64 { method empty (line 159) | fn empty() -> TrieNodeWithSize { type Trie (line 333) | pub struct Trie { constant EMPTY_ROOT (line 615) | pub const EMPTY_ROOT: StateRoot = StateRoot::new(); method new (line 620) | pub fn new( method new_with_memtries (line 628) | pub fn new_with_memtries( method dont_charge_gas_for_trie_node_access (line 653) | pub fn dont_charge_gas_for_trie_node_access(&mut self) { method recording_reads (line 659) | pub fn recording_reads(&self) -> Self { method recorded_storage (line 671) | pub fn recorded_storage(&self) -> Option { method from_recorded_storage (line 683) | pub fn from_recorded_storage( method get_root (line 696) | pub fn get_root(&self) -> &StateRoot { method has_flat_storage_chunk_view (line 700) | pub fn has_flat_storage_chunk_view(&self) -> bool { method internal_get_storage_as_caching_storage (line 704) | pub fn internal_get_storage_as_caching_storage(&self) -> Option<&TrieC... method internal_retrieve_trie_node (line 714) | fn internal_retrieve_trie_node( method memory_usage_verify (line 733) | fn memory_usage_verify(&self, memory: &NodesStorage, handle: NodeHandl... method delete_value (line 774) | fn delete_value( method print_recursive (line 794) | pub fn print_recursive( method print_recursive_leaves (line 842) | pub fn print_recursive_leaves( method nibbles_to_bytes (line 897) | fn nibbles_to_bytes(nibbles: &[u8]) -> (Vec, &[u8]) { method nibbles_to_string (line 904) | fn nibbles_to_string(prefix: &[u8]) -> String { method is_out_of_account_id_bounds (line 919) | fn is_out_of_account_id_bounds( method should_prune_view_trie (line 941) | fn should_prune_view_trie( method print_recursive_internal (line 965) | fn print_recursive_internal( method retrieve_raw_node (line 1084) | fn retrieve_raw_node( method debug_retrieve_raw_node_or_value (line 1102) | fn debug_retrieve_raw_node_or_value( method move_node_to_mutable (line 1113) | fn move_node_to_mutable( method retrieve_node (line 1134) | fn retrieve_node( method retrieve_root_node (line 1144) | pub fn retrieve_root_node(&self) -> Result { method lookup_from_flat_storage (line 1168) | fn lookup_from_flat_storage( method lookup_from_state_column (line 1195) | fn lookup_from_state_column( method lookup_from_memory (line 1256) | fn lookup_from_memory( method debug_get_node (line 1292) | pub fn debug_get_node(&self, nibbles: &[u8]) -> Result Result, Sto... method get_optimized_ref (line 1374) | pub fn get_optimized_ref( method deref_optimized (line 1396) | pub fn deref_optimized( method get (line 1417) | pub fn get(&self, key: &[u8]) -> Result>, StorageError> { method update (line 1424) | pub fn update(&self, changes: I) -> Result method iter (line 1464) | pub fn iter<'a>(&'a self) -> Result, StorageError> { method iter_with_max_depth (line 1468) | pub fn iter_with_max_depth<'a>( method iter_with_prune_condition (line 1478) | pub fn iter_with_prune_condition<'a>( method get_trie_nodes_count (line 1485) | pub fn get_trie_nodes_count(&self) -> TrieNodesCount { type TrieAccess (line 360) | pub trait TrieAccess { method get (line 367) | fn get(&self, key: &TrieKey) -> Result>, StorageError>; method get (line 1491) | fn get(&self, key: &TrieKey) -> Result>, StorageError> { type TrieRefcountAddition (line 372) | pub struct TrieRefcountAddition { method hash (line 423) | pub fn hash(&self) -> &CryptoHash { method payload (line 427) | pub fn payload(&self) -> &[u8] { method revert (line 431) | pub fn revert(&self) -> TrieRefcountSubtraction { type TrieRefcountSubtraction (line 385) | pub struct TrieRefcountSubtraction { method new (line 437) | pub fn new(trie_node_or_value_hash: CryptoHash, rc: std::num::NonZeroU... type IgnoredVecU8 (line 398) | struct IgnoredVecU8 { method eq (line 403) | fn eq(&self, _other: &Self) -> bool { method hash (line 409) | fn hash(&self, _state: &mut H) {} method partial_cmp (line 412) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 417) | fn cmp(&self, _other: &Self) -> std::cmp::Ordering { type TrieRefcountDeltaMap (line 444) | pub struct TrieRefcountDeltaMap { method new (line 449) | pub fn new() -> Self { method add (line 453) | pub fn add(&mut self, hash: CryptoHash, data: Vec, refcount: u32) { method subtract (line 459) | pub fn subtract(&mut self, hash: CryptoHash, refcount: u32) { method into_changes (line 464) | pub fn into_changes(self) -> (Vec, Vec Self { method insertions (line 539) | pub fn insertions(&self) -> &[TrieRefcountAddition] { method deletions (line 543) | pub fn deletions(&self) -> &[TrieRefcountSubtraction] { type ApplyStatePartResult (line 549) | pub struct ApplyStatePartResult { type NodeOrValue (line 558) | enum NodeOrValue { type OptimizedValueRef (line 577) | pub enum OptimizedValueRef { method from_flat_value (line 592) | fn from_flat_value(value: FlatStateValue) -> Self { method len (line 599) | pub fn len(&self) -> usize { method into_value_ref (line 606) | pub fn into_value_ref(self) -> ValueRef { type ValueAccessToken (line 586) | pub struct ValueAccessToken { function encode_extension_node (line 1504) | pub fn encode_extension_node(key: Vec) -> Vec { function decode_extension_node (line 1512) | pub fn decode_extension_node(bytes: &[u8]) -> Vec { type TrieChanges (line 1533) | type TrieChanges = Vec<(Vec, Option>)>; method empty (line 529) | pub fn empty(old_root: StateRoot) -> Self { method insertions (line 539) | pub fn insertions(&self) -> &[TrieRefcountAddition] { method deletions (line 543) | pub fn deletions(&self) -> &[TrieRefcountSubtraction] { constant SHARD_VERSION (line 1534) | const SHARD_VERSION: u32 = 1; function test_clear_trie (line 1536) | fn test_clear_trie( function test_basic_trie (line 1557) | fn test_basic_trie() { function test_trie_iter (line 1578) | fn test_trie_iter() { function test_trie_leaf_into_branch (line 1612) | fn test_trie_leaf_into_branch() { function test_trie_same_node (line 1624) | fn test_trie_same_node() { function test_trie_iter_seek_stop_at_extension (line 1637) | fn test_trie_iter_seek_stop_at_extension() { function test_trie_remove_non_existent_key (line 1681) | fn test_trie_remove_non_existent_key() { function test_equal_leafs (line 1702) | fn test_equal_leafs() { function test_trie_unique (line 1726) | fn test_trie_unique() { function test_iterator_seek_prefix (line 1748) | fn test_iterator_seek_prefix() { function test_refcounts (line 1784) | fn test_refcounts() { function test_trie_restart (line 1820) | fn test_trie_restart() { function test_trie_recording_reads (line 1841) | fn test_trie_recording_reads() { function test_trie_recording_reads_update (line 1873) | fn test_trie_recording_reads_update() { function test_dump_load_trie (line 1907) | fn test_dump_load_trie() { function test_trie_changes_compatibility (line 1936) | fn test_trie_changes_compatibility() { FILE: core/store/src/trie/nibble_slice.rs type NibbleSlice (line 46) | pub struct NibbleSlice<'a> { type NibbleSliceIterator (line 52) | pub struct NibbleSliceIterator<'a> { type Item (line 58) | type Item = u8; method next (line 60) | fn next(&mut self) -> Option { function new (line 72) | pub fn new(data: &'a [u8]) -> Self { function new_offset (line 77) | pub fn new_offset(data: &'a [u8], offset: usize) -> Self { function iter (line 82) | pub fn iter(&'a self) -> NibbleSliceIterator<'a> { function from_encoded (line 87) | pub fn from_encoded(data: &'a [u8]) -> (Self, bool) { function is_empty (line 92) | pub fn is_empty(&self) -> bool { function len (line 98) | pub fn len(&self) -> usize { function at (line 104) | pub fn at(&self, i: usize) -> u8 { function mid (line 113) | pub fn mid(&self, i: usize) -> Self { function starts_with (line 118) | pub fn starts_with(&self, them: &Self) -> bool { function common_prefix (line 123) | pub fn common_prefix(&self, them: &Self) -> usize { function encode_nibbles (line 135) | pub fn encode_nibbles(nibbles: &[u8], is_leaf: bool) -> ElasticArray36 ElasticArray36 { function merge_encoded (line 161) | pub fn merge_encoded(&self, other: &Self, is_leaf: bool) -> ElasticArray... function encoded_leftmost (line 186) | pub fn encoded_leftmost(&self, n: usize, is_leaf: bool) -> ElasticArray3... function nibbles_to_bytes (line 199) | pub fn nibbles_to_bytes(nibbles: &[u8]) -> Vec { method eq (line 209) | fn eq(&self, them: &Self) -> bool { method cmp (line 215) | fn cmp(&self, them: &Self) -> Ordering { method partial_cmp (line 229) | fn partial_cmp(&self, them: &Self) -> Option { function fmt (line 235) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function basics (line 256) | fn basics() { function iterator (line 272) | fn iterator() { function mid (line 280) | fn mid() { function encoded (line 293) | fn encoded() { function from_encoded (line 302) | fn from_encoded() { function encode_decode (line 310) | fn encode_decode(nibbles: &[u8], is_leaf: bool) { function test_encode_decode (line 318) | fn test_encode_decode() { function shared (line 333) | fn shared() { function compare (line 349) | fn compare() { function nibble_indexing (line 364) | fn nibble_indexing() { FILE: core/store/src/trie/prefetching_trie_storage.rs constant MAX_QUEUED_WORK_ITEMS (line 19) | const MAX_QUEUED_WORK_ITEMS: usize = 16 * 1024; constant MAX_PREFETCH_STAGING_MEMORY (line 20) | const MAX_PREFETCH_STAGING_MEMORY: usize = 200 * 1024 * 1024; constant PREFETCH_RESERVED_BYTES_PER_SLOT (line 24) | const PREFETCH_RESERVED_BYTES_PER_SLOT: usize = 4 * 1024 * 1024; constant NUM_IO_THREADS (line 28) | const NUM_IO_THREADS: usize = 8; type TriePrefetchingStorage (line 48) | struct TriePrefetchingStorage { method new (line 296) | pub(crate) fn new( type PrefetchApi (line 65) | pub struct PrefetchApi { method new (line 395) | pub(crate) fn new( method prefetch_trie_key (line 426) | pub fn prefetch_trie_key( method start_io_thread (line 437) | pub fn start_io_thread( method clear_queue (line 489) | pub fn clear_queue(&self) { method clear_data (line 494) | pub fn clear_data(&self) { method num_prefetched_and_staged (line 545) | pub fn num_prefetched_and_staged(&self) -> usize { method work_queued (line 559) | pub fn work_queued(&self) -> bool { type PrefetchError (line 86) | pub enum PrefetchError { type PrefetchStagingArea (line 107) | pub(crate) struct PrefetchStagingArea(Arc Self { method release (line 319) | pub(crate) fn release(&self, key: &CryptoHash) { method blocking_get (line 342) | pub(crate) fn blocking_get(&self, key: CryptoHash) -> Option> { method get_or_set_fetching (line 354) | pub(crate) fn get_or_set_fetching(&self, key: CryptoHash) -> Prefetche... method insert_fetched (line 358) | fn insert_fetched(&self, key: CryptoHash, value: Arc<[u8]>) { method get_and_set_if_empty (line 364) | fn get_and_set_if_empty( method clear (line 389) | fn clear(&self) { type InnerPrefetchStagingArea (line 109) | struct InnerPrefetchStagingArea { type PrefetcherResult (line 114) | pub(crate) enum PrefetcherResult { type StagedMetrics (line 121) | struct StagedMetrics { method new (line 127) | fn new(shard_id: ShardId) -> Self { type PrefetchSlot (line 139) | enum PrefetchSlot { method reserved_memory (line 147) | fn reserved_memory(&self) -> usize { type SizeTrackedHashMap (line 157) | struct SizeTrackedHashMap { method new (line 164) | fn new(shard_id: ShardId) -> Self { method insert (line 171) | fn insert(&mut self, k: CryptoHash, v: PrefetchSlot) -> Option Option { method clear (line 190) | fn clear(&mut self) { method update_metrics (line 196) | fn update_metrics(&self) { method get (line 201) | fn get(&self, key: &CryptoHash) -> Option<&PrefetchSlot> { method retrieve_raw_bytes (line 221) | fn retrieve_raw_bytes(&self, hash: &CryptoHash) -> Result, Sto... type PrefetchingThreadsHandle (line 510) | pub(crate) struct PrefetchingThreadsHandle { method drop (line 520) | fn drop(&mut self) { method clear_cache (line 565) | pub fn clear_cache(&self) { function test_prefetch_staging_area_blocking_get_after_update (line 577) | fn test_prefetch_staging_area_blocking_get_after_update() { FILE: core/store/src/trie/raw_node.rs type RawTrieNodeWithSize (line 10) | pub struct RawTrieNodeWithSize { type RawTrieNode (line 18) | pub enum RawTrieNode { method branch (line 31) | pub fn branch(children: Children, value: Option) -> Self { type Children (line 41) | pub struct Children(pub [Option; 16]); function iter (line 46) | pub fn iter<'a>(&'a self) -> impl Iterator { method default (line 52) | fn default() -> Self { type Output (line 58) | type Output = Option; function index (line 59) | fn index(&self, index: u8) -> &Option { function index_mut (line 65) | fn index_mut(&mut self, index: u8) -> &mut Option { method serialize (line 71) | fn serialize(&self, wr: &mut W) -> std::io::Result<()> { method deserialize_reader (line 86) | fn deserialize_reader(rd: &mut R) -> std::io::Result((u8, &'a T)); function fmt (line 102) | fn fmt(&self, fmtr: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 108) | fn fmt(&self, fmtr: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function test_encode_decode (line 115) | fn test_encode_decode() { FILE: core/store/src/trie/resharding.rs method get_trie_items_for_part (line 21) | pub fn get_trie_items_for_part(&self, part_id: PartId) -> Result); method new (line 51) | pub fn new( method create_initial_caches (line 75) | fn create_initial_caches( method new_trie_update (line 86) | pub fn new_trie_update(&self, shard_uid: ShardUId, state_root: StateRo... method new_trie_update_view (line 90) | pub fn new_trie_update_view(&self, shard_uid: ShardUId, state_root: St... method get_trie_for_shard_internal (line 94) | fn get_trie_for_shard_internal( method get_trie_for_shard (line 150) | pub fn get_trie_for_shard(&self, shard_uid: ShardUId, state_root: Stat... method get_trie_with_block_hash_for_shard_from_snapshot (line 154) | pub fn get_trie_with_block_hash_for_shard_from_snapshot( method get_trie_with_block_hash_for_shard (line 174) | pub fn get_trie_with_block_hash_for_shard( method get_view_trie_for_shard (line 184) | pub fn get_view_trie_for_shard(&self, shard_uid: ShardUId, state_root:... method store_update (line 188) | pub fn store_update(&self) -> StoreUpdate { method get_store (line 192) | pub fn get_store(&self) -> Store { method get_db (line 196) | pub(crate) fn get_db(&self) -> &Arc { method get_flat_storage_manager (line 200) | pub fn get_flat_storage_manager(&self) -> FlatStorageManager { method state_snapshot_config (line 204) | pub fn state_snapshot_config(&self) -> &StateSnapshotConfig { method state_snapshot (line 208) | pub(crate) fn state_snapshot(&self) -> &Arc)>, sha... method apply_deletions_inner (line 221) | fn apply_deletions_inner( method apply_insertions_inner (line 240) | fn apply_insertions_inner( method apply_all_inner (line 260) | fn apply_all_inner( method apply_insertions (line 274) | pub fn apply_insertions( method apply_deletions (line 290) | pub fn apply_deletions( method revert_insertions (line 306) | pub fn revert_insertions( method apply_all (line 326) | pub fn apply_all( method apply_memtrie_changes (line 335) | pub fn apply_memtrie_changes( method get_snapshot_flat_storage_status (line 360) | pub fn get_snapshot_flat_storage_status( method delete_trie_for_shard (line 372) | pub fn delete_trie_for_shard(&self, shard_uid: ShardUId, store_update:... method load_mem_tries_for_enabled_shards (line 380) | pub fn load_mem_tries_for_enabled_shards( method get_mem_tries (line 415) | pub fn get_mem_tries(&self, shard_uid: ShardUId) -> Option) -> std::fmt::Result { method new (line 454) | pub fn new( method state_changes (line 472) | pub fn state_changes(&self) -> &[RawStateChangesWithTrieKey] { method apply_mem_changes (line 476) | pub fn apply_mem_changes(&self) { method insertions_into (line 481) | pub fn insertions_into(&self, store_update: &mut StoreUpdate) { method deletions_into (line 486) | pub fn deletions_into(&self, store_update: &mut StoreUpdate) { method state_changes_into (line 493) | pub fn state_changes_into(&mut self, store_update: &mut StoreUpdate) { method trie_changes_into (line 556) | pub fn trie_changes_into(&mut self, store_update: &mut StoreUpdate) ->... type KeyForStateChangesError (line 566) | pub enum KeyForStateChangesError { type KeyForStateChanges (line 572) | pub struct KeyForStateChanges(Vec); constant PREFIX_LEN (line 575) | const PREFIX_LEN: usize = CryptoHash::LENGTH; method new (line 577) | fn new(block_hash: &CryptoHash, reserve_capacity: usize) -> Self { method for_block (line 583) | pub fn for_block(block_hash: &CryptoHash) -> Self { method from_raw_key (line 587) | pub fn from_raw_key(block_hash: &CryptoHash, raw_key: &[u8]) -> Self { method from_trie_key (line 593) | pub fn from_trie_key(block_hash: &CryptoHash, trie_key: &TrieKey) -> S... method delayed_receipt_key_from_trie_key (line 601) | pub fn delayed_receipt_key_from_trie_key( method delayed_receipt_key_decode_shard_uid (line 614) | pub fn delayed_receipt_key_decode_shard_uid( method find_iter (line 630) | pub fn find_iter<'a>( method find_exact_iter (line 639) | pub fn find_exact_iter<'a>( method find_rows_iter (line 655) | pub fn find_rows_iter<'a>( function create_trie (line 688) | fn create_trie() -> ShardTries { function test_delayed_receipt_row_key (line 713) | fn test_delayed_receipt_row_key() { function test_insert_delete_trie_cache (line 778) | fn test_insert_delete_trie_cache() { function test_shard_cache_max_value (line 806) | fn test_shard_cache_max_value() { function test_delete_trie_for_shard (line 852) | fn test_delete_trie_for_shard() { FILE: core/store/src/trie/state_parts.rs constant LAST_STATE_PART_BOUNDARY (line 43) | const LAST_STATE_PART_BOUNDARY: &[u8; 1] = &[16]; method find_state_part_boundary (line 59) | pub fn find_state_part_boundary( method get_trie_nodes_for_part_without_flat_storage (line 81) | pub fn get_trie_nodes_for_part_without_flat_storage( method iter_flat_state_entries (line 94) | fn iter_flat_state_entries<'a>( method get_state_part_boundaries (line 129) | pub fn get_state_part_boundaries( method get_trie_nodes_for_part_with_flat_storage (line 179) | pub fn get_trie_nodes_for_part_with_flat_storage( method visit_nodes_for_state_part (line 319) | fn visit_nodes_for_state_part(&self, part_id: PartId) -> Result<(), Stor... method find_child_in_dfs_order (line 337) | fn find_child_in_dfs_order( method find_node_in_dfs_order (line 399) | fn find_node_in_dfs_order( method validate_state_part (line 421) | pub fn validate_state_part( method apply_state_part_impl (line 445) | fn apply_state_part_impl( method apply_state_part (line 492) | pub fn apply_state_part( method get_memory_usage_from_serialized (line 501) | pub fn get_memory_usage_from_serialized(bytes: &[u8]) -> Result Result<(), StorageError>>( function test_combine_empty_trie_parts (line 730) | fn test_combine_empty_trie_parts() { function construct_trie_for_big_parts_1 (line 746) | fn construct_trie_for_big_parts_1( function construct_trie_for_big_parts_2 (line 762) | fn construct_trie_for_big_parts_2( function run_test_parts_not_huge (line 810) | fn run_test_parts_not_huge(gen_trie_changes: F, big_value_length: u64) function test_parts_not_huge_1 (line 873) | fn test_parts_not_huge_1() { function test_parts_not_huge_2 (line 881) | fn test_parts_not_huge_2() { function merge_trie_changes (line 885) | fn merge_trie_changes(changes: Vec) -> TrieChanges { function test_combine_state_parts (line 914) | fn test_combine_state_parts() { function format_simple_trie_refcount_diff (line 983) | fn format_simple_trie_refcount_diff(left: &[T], ri... function format_simple_trie_changes_diff (line 993) | fn format_simple_trie_changes_diff(left: &TrieChanges, right: &TrieChang... function check_combine_state_parts (line 1005) | fn check_combine_state_parts( function invalid_state_parts (line 1039) | fn invalid_state_parts() { function test_get_trie_nodes_for_part (line 1112) | fn test_get_trie_nodes_for_part() { function get_trie_nodes_for_part_with_flat_storage (line 1147) | fn get_trie_nodes_for_part_with_flat_storage() { FILE: core/store/src/trie/state_snapshot.rs type SnapshotError (line 19) | pub enum SnapshotError { method fmt (line 32) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 59) | fn from(err: TryLockError) -> Self { method from (line 53) | fn from(err: SnapshotError) -> Self { type StateSnapshot (line 68) | pub struct StateSnapshot { method new (line 79) | pub fn new( method get_shard_uids (line 121) | pub fn get_shard_uids(&self) -> Vec { method get_flat_storage_status (line 126) | pub fn get_flat_storage_status(&self, shard_uid: ShardUId) -> FlatStor... type StateSnapshotConfig (line 134) | pub struct StateSnapshotConfig { method get_state_snapshot (line 144) | pub fn get_state_snapshot( method create_state_snapshot (line 162) | pub fn create_state_snapshot( method compact_state_snapshot (line 244) | pub fn compact_state_snapshot(&self) -> Result<(), anyhow::Error> { method delete_state_snapshot (line 259) | pub fn delete_state_snapshot(&self) { method delete_all_state_snapshots (line 297) | fn delete_all_state_snapshots( method get_state_snapshot_base_dir (line 312) | pub fn get_state_snapshot_base_dir( method get_state_snapshot_hash (line 325) | pub fn get_state_snapshot_hash(&self) -> Result { method set_state_snapshot_hash (line 333) | pub fn set_state_snapshot_hash(&self, value: Option) -> Resu... method maybe_open_state_snapshot (line 345) | pub fn maybe_open_state_snapshot( FILE: core/store/src/trie/trie_recording.rs type TrieRecorder (line 8) | pub struct TrieRecorder { method new (line 13) | pub fn new() -> Self { method record (line 17) | pub fn record(&mut self, hash: &CryptoHash, node: Arc<[u8]>) { method recorded_storage (line 21) | pub fn recorded_storage(&mut self) -> PartialStorage { constant NUM_ITERATIONS_PER_TEST (line 47) | const NUM_ITERATIONS_PER_TEST: usize = 100; type PreparedTrie (line 50) | struct PreparedTrie { function prepare_trie (line 67) | fn prepare_trie(use_missing_keys: bool) -> PreparedTrie { function destructively_delete_in_memory_state_from_disk (line 132) | fn destructively_delete_in_memory_state_from_disk( function test_trie_recording_consistency (line 157) | fn test_trie_recording_consistency( function test_trie_recording_consistency_no_accounting_cache (line 250) | fn test_trie_recording_consistency_no_accounting_cache() { function test_trie_recording_consistency_with_accounting_cache (line 255) | fn test_trie_recording_consistency_with_accounting_cache() { function test_trie_recording_consistency_no_accounting_cache_with_missing_keys (line 260) | fn test_trie_recording_consistency_no_accounting_cache_with_missing_keys... function test_trie_recording_consistency_with_accounting_cache_and_missing_keys (line 265) | fn test_trie_recording_consistency_with_accounting_cache_and_missing_key... function test_trie_recording_consistency_memtrie_no_accounting_cache (line 270) | fn test_trie_recording_consistency_memtrie_no_accounting_cache() { function test_trie_recording_consistency_memtrie_with_accounting_cache (line 275) | fn test_trie_recording_consistency_memtrie_with_accounting_cache() { function test_trie_recording_consistency_memtrie_no_accounting_cache_with_missing_keys (line 280) | fn test_trie_recording_consistency_memtrie_no_accounting_cache_with_miss... function test_trie_recording_consistency_memtrie_with_accounting_cache_and_missing_keys (line 285) | fn test_trie_recording_consistency_memtrie_with_accounting_cache_and_mis... function test_trie_recording_consistency_with_flat_storage (line 293) | fn test_trie_recording_consistency_with_flat_storage( function test_trie_recording_consistency_with_flat_storage_no_accounting_cache (line 415) | fn test_trie_recording_consistency_with_flat_storage_no_accounting_cache... function test_trie_recording_consistency_with_flat_storage_with_accounting_cache (line 420) | fn test_trie_recording_consistency_with_flat_storage_with_accounting_cac... function test_trie_recording_consistency_with_flat_storage_no_accounting_cache_with_missing_keys (line 425) | fn test_trie_recording_consistency_with_flat_storage_no_accounting_cache... function test_trie_recording_consistency_with_flat_storage_with_accounting_cache_and_missing_keys (line 430) | fn test_trie_recording_consistency_with_flat_storage_with_accounting_cac... function test_trie_recording_consistency_with_flat_storage_memtrie_no_accounting_cache (line 435) | fn test_trie_recording_consistency_with_flat_storage_memtrie_no_accounti... function test_trie_recording_consistency_with_flat_storage_memtrie_with_accounting_cache (line 440) | fn test_trie_recording_consistency_with_flat_storage_memtrie_with_accoun... function test_trie_recording_consistency_with_flat_storage_memtrie_no_accounting_cache_with_missing_keys (line 445) | fn test_trie_recording_consistency_with_flat_storage_memtrie_no_accounti... function test_trie_recording_consistency_with_flat_storage_memtrie_with_accounting_cache_and_missing_keys (line 451) | fn test_trie_recording_consistency_with_flat_storage_memtrie_with_accoun... FILE: core/store/src/trie/trie_storage.rs type BoundedQueue (line 17) | pub(crate) struct BoundedQueue { function new (line 24) | pub(crate) fn new(capacity: usize) -> Self { function clear (line 29) | pub(crate) fn clear(&mut self) { function pop (line 33) | pub(crate) fn pop(&mut self) -> Option { function put (line 37) | pub(crate) fn put(&mut self, key: T) -> Option { function len (line 46) | pub(crate) fn len(&self) -> usize { type TrieCacheInner (line 63) | pub struct TrieCacheInner { constant PER_ENTRY_OVERHEAD (line 94) | pub(crate) const PER_ENTRY_OVERHEAD: u64 = 100; method new (line 96) | pub(crate) fn new( method get (line 131) | pub(crate) fn get(&mut self, key: &CryptoHash) -> Option> { method clear (line 135) | pub(crate) fn clear(&mut self) { method put (line 141) | pub(crate) fn put(&mut self, key: CryptoHash, value: Arc<[u8]>) { method pop (line 178) | pub(crate) fn pop(&mut self, key: &CryptoHash) -> Option<(CryptoHash, ... method len (line 204) | pub fn len(&self) -> usize { method add_value_of_size (line 209) | pub(crate) fn add_value_of_size(&mut self, len: usize) { method remove_value_of_size (line 214) | pub(crate) fn remove_value_of_size(&mut self, len: usize) { method current_total_size (line 219) | pub fn current_total_size(&self) -> u64 { method entry_size (line 223) | fn entry_size(len: usize) -> u64 { type TrieCacheMetrics (line 81) | struct TrieCacheMetrics { type TrieCache (line 230) | pub struct TrieCache(pub(crate) Arc>); method new (line 233) | pub fn new(config: &TrieConfig, shard_uid: ShardUId, is_view: bool) ->... method get (line 250) | pub fn get(&self, key: &CryptoHash) -> Option> { method clear (line 254) | pub fn clear(&self) { method update_cache (line 258) | pub fn update_cache(&self, ops: Vec<(&CryptoHash, Option<&[u8]>)>) { method lock (line 274) | pub(crate) fn lock(&self) -> std::sync::MutexGuard { type TrieStorage (line 279) | pub trait TrieStorage { method retrieve_raw_bytes (line 285) | fn retrieve_raw_bytes(&self, hash: &CryptoHash) -> Result, S... method as_caching_storage (line 290) | fn as_caching_storage(&self) -> Option<&TrieCachingStorage> { method as_partial_storage (line 294) | fn as_partial_storage(&self) -> Option<&TrieMemoryPartialStorage> { method retrieve_raw_bytes (line 308) | fn retrieve_raw_bytes(&self, hash: &CryptoHash) -> Result, S... method as_partial_storage (line 320) | fn as_partial_storage(&self) -> Option<&TrieMemoryPartialStorage> { method retrieve_raw_bytes (line 428) | fn retrieve_raw_bytes(&self, hash: &CryptoHash) -> Result, S... method as_caching_storage (line 525) | fn as_caching_storage(&self) -> Option<&TrieCachingStorage> { method retrieve_raw_bytes (line 571) | fn retrieve_raw_bytes(&self, hash: &CryptoHash) -> Result, S... type TrieMemoryPartialStorage (line 302) | pub struct TrieMemoryPartialStorage { method new (line 326) | pub fn new(recorded_storage: HashMap>) -> Self { method partial_state (line 330) | pub fn partial_state(&self) -> PartialState { type TrieCachingStorage (line 355) | pub struct TrieCachingStorage { method new (line 387) | pub fn new( method get_key_from_shard_uid_and_hash (line 419) | pub fn get_key_from_shard_uid_and_hash(shard_uid: ShardUId, hash: &Cry... method read_from_db (line 546) | fn read_from_db(&self, hash: &CryptoHash) -> Result, Storage... method prefetch_api (line 550) | pub fn prefetch_api(&self) -> &Option { type TrieCacheInnerMetrics (line 372) | struct TrieCacheInnerMetrics { function read_node_from_db (line 530) | fn read_node_from_db( type TrieDBStorage (line 559) | pub struct TrieDBStorage { method new (line 565) | pub fn new(store: Store, shard_uid: ShardUId) -> Self { function test_put_pop (line 581) | fn test_put_pop() { function test_clear (line 593) | fn test_clear() { function test_zero_capacity (line 602) | fn test_zero_capacity() { function put_value (line 617) | fn put_value(cache: &mut TrieCacheInner, value: &[u8]) { function test_size_limit (line 622) | fn test_size_limit() { function test_deletions_queue (line 642) | fn test_deletions_queue() { function test_cache_capacity (line 659) | fn test_cache_capacity() { function test_small_memory_limit (line 673) | fn test_small_memory_limit() { function test_trie_config (line 687) | fn test_trie_config() { function check_cache_size (line 709) | fn check_cache_size( FILE: core/store/src/trie/trie_tests.rs type IncompletePartialStorage (line 19) | pub struct IncompletePartialStorage { method new (line 26) | pub fn new(partial_storage: PartialStorage, nodes_count_to_fail_at: us... method retrieve_raw_bytes (line 38) | fn retrieve_raw_bytes(&self, hash: &CryptoHash) -> Result, Sto... method as_partial_storage (line 57) | fn as_partial_storage(&self) -> Option<&TrieMemoryPartialStorage> { function setup_storage (line 63) | fn setup_storage(trie: Trie, test: &mut F) -> (PartialStorage, T... function test_incomplete_storage (line 73) | fn test_incomplete_storage(trie: Trie, mut test: F) function test_reads_with_incomplete_storage (line 101) | fn test_reads_with_incomplete_storage() { function create_trie_key (line 149) | fn create_trie_key(nibbles: &[u8]) -> Vec { function create_trie (line 153) | fn create_trie(items: &[(Vec, Option>)]) -> Rc { function get_touched_nodes_numbers (line 163) | fn get_touched_nodes_numbers(trie: Rc, items: &[(Vec, Option], shard_uid: ShardUId) -> ... function test_retrieve_db (line 234) | fn test_retrieve_db() { function test_retrieve_caching (line 248) | fn test_retrieve_caching() { function test_retrieve_error (line 275) | fn test_retrieve_error() { function test_large_value (line 294) | fn test_large_value() { function test_counter_with_caching (line 321) | fn test_counter_with_caching() { function test_accounting_cache_presence (line 377) | fn test_accounting_cache_presence() { FILE: core/store/src/trie/update.rs type TrieKeyValueUpdate (line 15) | pub struct TrieKeyValueUpdate { type TrieUpdates (line 21) | pub type TrieUpdates = BTreeMap, TrieKeyValueUpdate>; type TrieUpdate (line 25) | pub struct TrieUpdate { method new (line 53) | pub fn new(trie: Trie) -> Self { method trie (line 57) | pub fn trie(&self) -> &Trie { method get_ref (line 61) | pub fn get_ref( method get (line 83) | pub fn get(&self, key: &TrieKey) -> Result>, StorageErr... method set (line 95) | pub fn set(&mut self, trie_key: TrieKey, value: Vec) { method remove (line 104) | pub fn remove(&mut self, trie_key: TrieKey) { method commit (line 108) | pub fn commit(&mut self, event: StateChangeCause) { method rollback (line 119) | pub fn rollback(&mut self) { method finalize (line 128) | pub fn finalize( method iter (line 149) | pub fn iter(&self, key_prefix: &[u8]) -> Result... method get_root (line 153) | pub fn get_root(&self) -> &StateRoot { method set_trie_cache_mode (line 157) | pub fn set_trie_cache_mode(&self, state: TrieCacheMode) { method get (line 163) | fn get(&self, key: &TrieKey) -> Result>, StorageError> { type TrieUpdateValuePtr (line 31) | pub enum TrieUpdateValuePtr<'a> { function len (line 37) | pub fn len(&self) -> u32 { function deref_value (line 44) | pub fn deref_value(&self) -> Result, StorageError> { constant SHARD_VERSION (line 174) | const SHARD_VERSION: u32 = 1; constant COMPLEX_SHARD_UID (line 175) | const COMPLEX_SHARD_UID: ShardUId = ShardUId { version: SHARD_VERSION, s... function test_key (line 177) | fn test_key(key: Vec) -> TrieKey { function trie (line 182) | fn trie() { function trie_remove (line 209) | fn trie_remove() { function trie_iter (line 256) | fn trie_iter() { FILE: core/store/src/trie/update/iterator.rs type MergeIter (line 9) | struct MergeIter<'a> { type Item (line 15) | type Item = (&'a [u8], Option<&'a [u8]>); method next (line 17) | fn next(&mut self) -> Option { type TrieUpdateIterator (line 38) | pub struct TrieUpdateIterator<'a>(Option<(Peekable>, Pe... function new (line 42) | pub fn new(state_update: &'a TrieUpdate, prefix: &[u8]) -> Result, StorageError>; method next (line 83) | fn next(&mut self) -> Option { function make_prefix_range_end_bound (line 142) | fn make_prefix_range_end_bound(prefix: &[u8]) -> Option> { function test_make_prefix_range_end_bound (line 156) | fn test_make_prefix_range_end_bound() { FILE: genesis-tools/genesis-csv-to-json/src/csv_parser.rs constant REGULAR_METHOD_NAMES (line 18) | const REGULAR_METHOD_NAMES: &[&str] = &["pledge", "transfer"]; constant PRIVILEGED_METHOD_NAMES (line 20) | const PRIVILEGED_METHOD_NAMES: &[&str] = &["add_access_key", "remove_acc... constant FOUNDATION_METHOD_NAMES (line 22) | const FOUNDATION_METHOD_NAMES: &[&str] = constant INIT_GAS (line 25) | const INIT_GAS: Gas = 1_000_000; type Result (line 27) | type Result = std::result::Result>; type Row (line 95) | struct Row { method verify (line 30) | pub fn verify(&self) -> Result<()> { function keys_to_state_records (line 126) | pub fn keys_to_state_records( function account_records (line 174) | fn account_records(row: &Row, gas_price: Balance) -> Vec { function test_with_file (line 296) | fn test_with_file() { function test_res_file (line 357) | fn test_res_file() { FILE: genesis-tools/genesis-csv-to-json/src/csv_to_json_configs.rs constant ACCOUNTS_FILE (line 17) | const ACCOUNTS_FILE: &str = "accounts.csv"; constant SHARDS (line 18) | const SHARDS: &'static [ShardId] = &[0, 1, 2, 3, 4, 5, 6, 7]; function verify_total_supply (line 20) | fn verify_total_supply(total_supply: Balance, chain_id: &str) { function csv_to_json_configs (line 36) | pub fn csv_to_json_configs(home: &Path, chain_id: String, tracked_shards... FILE: genesis-tools/genesis-csv-to-json/src/main.rs function main (line 11) | fn main() { FILE: genesis-tools/genesis-csv-to-json/src/serde_with.rs function serialize (line 7) | pub fn serialize(peer_info: &Option, serializer: S) -> Resu... function deserialize (line 17) | pub fn deserialize<'de, D>(deserializer: D) -> Result, ... function serialize (line 35) | pub fn serialize(peer_info: &[PublicKey], serializer: S) -> Result(deserializer: D) -> Result, D:... type Test (line 62) | struct Test { function test_deserialize_pubkeys_with_whitespace (line 68) | fn test_deserialize_pubkeys_with_whitespace() { FILE: genesis-tools/genesis-populate/src/lib.rs function get_account_id (line 47) | pub fn get_account_id(account_index: u64) -> AccountId { type Result (line 56) | pub type Result = std::result::Result>; type GenesisBuilder (line 58) | pub struct GenesisBuilder { method from_config_and_store (line 80) | pub fn from_config_and_store(home_dir: &Path, config: UncConfig, store... method print_progress (line 107) | pub fn print_progress(mut self) -> Self { method add_additional_accounts (line 112) | pub fn add_additional_accounts(mut self, num: u64) -> Self { method add_additional_accounts_contract (line 117) | pub fn add_additional_accounts_contract(mut self, contract_code: Vec Result { method dump_state (line 166) | pub fn dump_state(self) -> Result { method flush_shard_records (line 173) | fn flush_shard_records(&mut self, shard_idx: ShardId) -> Result<()> { method write_genesis_block (line 206) | fn write_genesis_block(&mut self) -> Result<()> { method add_additional_account (line 271) | fn add_additional_account(&mut self, account_id: AccountId) -> Result<... FILE: genesis-tools/genesis-populate/src/main.rs function main (line 7) | fn main() { FILE: genesis-tools/genesis-populate/src/state_dump.rs constant STATE_DUMP_FILE (line 9) | const STATE_DUMP_FILE: &str = "state_dump"; constant GENESIS_ROOTS_FILE (line 10) | const GENESIS_ROOTS_FILE: &str = "genesis_roots"; type StateDump (line 12) | pub struct StateDump { method from_dir (line 18) | pub fn from_dir(dir: &Path, store_home_dir: &Path, in_memory_db: bool,... method save_to_dir (line 39) | pub fn save_to_dir(self, dir: PathBuf) -> std::result::Result<(), Box<... FILE: genesis-tools/keypair-generator/src/main.rs function generate_key_to_file (line 9) | fn generate_key_to_file(account_id: &str, key: SecretKey, path: &PathBuf... function main (line 14) | fn main() { FILE: infra/benches/store.rs function read_trie_items (line 23) | fn read_trie_items(bench: &mut Bencher, shard_id: usize, mode: Mode) { function read_trie_items_10k (line 80) | fn read_trie_items_10k(bench: &mut Bencher) { function read_trie_items_10k_read_only (line 85) | fn read_trie_items_10k_read_only(bench: &mut Bencher) { FILE: infra/src/append_only_map.rs constant POISONED_LOCK_ERR (line 5) | const POISONED_LOCK_ERR: &str = "The lock was poisoned."; type AppendOnlyMap (line 7) | pub struct AppendOnlyMap { function new (line 15) | pub fn new() -> Self { function get_or_insert (line 19) | pub fn get_or_insert V>(&self, key: &K, value: F) -> Arc<... FILE: infra/src/cold_storage.rs type ColdStoreLoopHandle (line 17) | pub struct ColdStoreLoopHandle { method stop (line 23) | pub fn stop(self) { type ColdStoreCopyResult (line 38) | enum ColdStoreCopyResult { function cold_store_copy (line 52) | fn cold_store_copy( function cold_store_copy_result_to_string (line 134) | fn cold_store_copy_result_to_string(result: &anyhow::Result UpdateableClientC... function read_log_config (line 55) | fn read_log_config(home_dir: &Path) -> Result, Updatea... function read_json_config (line 60) | fn read_json_config( FILE: infra/src/entity_debug.rs type EntityDebugHandlerImpl (line 31) | pub struct EntityDebugHandlerImpl { method query_impl (line 38) | fn query_impl(&self, query: EntityQuery) -> anyhow::Result Result { type TriePath (line 372) | pub struct TriePath { method to_string (line 379) | pub fn to_string(&self) -> String { method parse (line 383) | pub fn parse(encoded: String) -> Option { method nibbles_to_hex (line 393) | pub fn nibbles_to_hex(nibbles: &[u8]) -> String { method nibbles_from_hex (line 398) | pub fn nibbles_from_hex(hex: &str) -> Option> { type FlatStateChangeView (line 408) | struct FlatStateChangeView { FILE: infra/src/entity_debug_serializer.rs type EntitySerializerData (line 25) | struct EntitySerializerData { method new (line 51) | pub fn new() -> EntitySerializerData { method serializer (line 55) | pub fn serializer<'a>(&'a mut self, key: String) -> EntitySerializer<'... type EntitySerializer (line 30) | struct EntitySerializer<'a> { type EntitySerializerStruct (line 38) | struct EntitySerializerStruct<'a> { function child_struct (line 63) | pub fn child_struct(self, outer_key: Option) -> EntitySerializer... function commit (line 72) | pub fn commit(self, value: EntityDataValue) { function push (line 80) | pub fn push<'b>(&'b mut self) -> EntitySerializer<'b> function child (line 92) | pub fn child<'b>(&'b mut self, key: String) -> EntitySerializer<'b> function commit (line 99) | pub fn commit(self) { type Ok (line 113) | type Ok = (); type Error (line 115) | type Error = std::fmt::Error; type SerializeSeq (line 117) | type SerializeSeq = EntitySerializerStruct<'a>; type SerializeTuple (line 118) | type SerializeTuple = EntitySerializerStruct<'a>; type SerializeTupleStruct (line 119) | type SerializeTupleStruct = EntitySerializerStruct<'a>; type SerializeTupleVariant (line 120) | type SerializeTupleVariant = EntitySerializerStruct<'a>; type SerializeMap (line 121) | type SerializeMap = EntitySerializerStruct<'a>; type SerializeStruct (line 122) | type SerializeStruct = EntitySerializerStruct<'a>; type SerializeStructVariant (line 123) | type SerializeStructVariant = EntitySerializerStruct<'a>; method serialize_bool (line 125) | fn serialize_bool(self, v: bool) -> Result { method serialize_i8 (line 130) | fn serialize_i8(self, v: i8) -> Result { method serialize_i16 (line 135) | fn serialize_i16(self, v: i16) -> Result { method serialize_i32 (line 140) | fn serialize_i32(self, v: i32) -> Result { method serialize_i64 (line 145) | fn serialize_i64(self, v: i64) -> Result { method serialize_i128 (line 150) | fn serialize_i128(self, v: i128) -> Result { method serialize_u8 (line 155) | fn serialize_u8(self, v: u8) -> Result { method serialize_u16 (line 160) | fn serialize_u16(self, v: u16) -> Result { method serialize_u32 (line 165) | fn serialize_u32(self, v: u32) -> Result { method serialize_u64 (line 170) | fn serialize_u64(self, v: u64) -> Result { method serialize_u128 (line 175) | fn serialize_u128(self, v: u128) -> Result { method serialize_f32 (line 180) | fn serialize_f32(self, v: f32) -> Result { method serialize_f64 (line 185) | fn serialize_f64(self, v: f64) -> Result { method serialize_char (line 190) | fn serialize_char(self, v: char) -> Result { method serialize_str (line 195) | fn serialize_str(self, v: &str) -> Result { method serialize_bytes (line 200) | fn serialize_bytes(self, v: &[u8]) -> Result { method serialize_none (line 205) | fn serialize_none(self) -> Result { method serialize_some (line 210) | fn serialize_some(self, value: &T) -> Result Result { method serialize_unit_struct (line 223) | fn serialize_unit_struct(self, _name: &'static str) -> Result( method serialize_newtype_variant (line 249) | fn serialize_newtype_variant( method serialize_seq (line 265) | fn serialize_seq(self, _len: Option) -> Result Result) -> Result(&mut self, value: &T) -> Result<(), Self... method end (line 326) | fn end(self) -> Result { type Ok (line 333) | type Ok = (); type Error (line 335) | type Error = std::fmt::Error; method serialize_entry (line 337) | fn serialize_entry( method end (line 356) | fn end(self) -> Result { method serialize_key (line 361) | fn serialize_key(&mut self, _key: &T) -> Result<(), Self::Error> method serialize_value (line 368) | fn serialize_value(&mut self, _value: &T) -> Result<(), Self:... type Ok (line 377) | type Ok = (); type Error (line 379) | type Error = std::fmt::Error; method serialize_field (line 381) | fn serialize_field( method end (line 393) | fn end(self) -> Result { type Ok (line 400) | type Ok = (); type Error (line 402) | type Error = std::fmt::Error; method serialize_element (line 404) | fn serialize_element(&mut self, value: &T) -> Result<(), Self... method end (line 412) | fn end(self) -> Result { type Ok (line 419) | type Ok = (); type Error (line 421) | type Error = std::fmt::Error; method serialize_field (line 423) | fn serialize_field(&mut self, value: &T) -> Result<(), Self::... method end (line 431) | fn end(self) -> Result { type Ok (line 438) | type Ok = (); type Error (line 440) | type Error = std::fmt::Error; method serialize_field (line 442) | fn serialize_field(&mut self, value: &T) -> Result<(), Self::... method end (line 450) | fn end(self) -> Result { type Ok (line 457) | type Ok = (); type Error (line 459) | type Error = std::fmt::Error; method serialize_field (line 461) | fn serialize_field( method end (line 472) | fn end(self) -> Result { function serialize_entity (line 480) | pub fn serialize_entity(value: &T) -> EntityDataValue function val (line 497) | fn val(s: T) -> EntityDataValue { function tree (line 501) | fn tree(entries: Vec<(&str, EntityDataValue)>) -> EntityDataValue { function test_serialize_primitives (line 511) | fn test_serialize_primitives() { function test_serialize_structs (line 522) | fn test_serialize_structs() { function test_serialize_vecs (line 551) | fn test_serialize_vecs() { function test_serialize_tuples (line 568) | fn test_serialize_tuples() { function test_serialize_maps (line 576) | fn test_serialize_maps() { function test_serialize_enums (line 584) | fn test_serialize_enums() { FILE: infra/src/lib.rs function get_default_home (line 55) | pub fn get_default_home() -> PathBuf { function open_storage (line 79) | pub fn open_storage(home_dir: &Path, unc_config: &mut UncConfig) -> anyh... function get_split_store (line 178) | fn get_split_store(config: &UncConfig, storage: &NodeStorage) -> anyhow:... type UncNode (line 204) | pub struct UncNode { function start_with_config (line 222) | pub fn start_with_config(home_dir: &Path, config: UncConfig) -> anyhow::... function start_with_config_and_synchronization (line 226) | pub fn start_with_config_and_synchronization( type RecompressOpts (line 435) | pub struct RecompressOpts { function recompress_storage (line 442) | pub fn recompress_storage(home_dir: &Path, opts: RecompressOpts) -> anyh... FILE: infra/src/metrics.rs function log_trie_item (line 151) | fn log_trie_item(key: Vec, value: Vec) { function export_postponed_receipt_count (line 171) | fn export_postponed_receipt_count(unc_config: &UncConfig, store: &Store)... function get_postponed_receipt_count_for_shard (line 212) | fn get_postponed_receipt_count_for_shard( function get_postponed_receipt_count_for_trie (line 229) | fn get_postponed_receipt_count_for_trie(trie: Trie) -> Result (Vec, Option>) { function create_trie (line 295) | fn create_trie(items: &[(Vec, Option>)]) -> Trie { function test_get_postponed_receipt_count (line 305) | fn test_get_postponed_receipt_count() { FILE: infra/src/migrations.rs function migrate_30_to_31 (line 12) | pub fn migrate_30_to_31(store: &Store, unc_config: &crate::UncConfig) ->... function do_migrate_30_to_31 (line 24) | pub fn do_migrate_30_to_31( constant GAS_USED_FOR_STORAGE_USAGE_DELTA_MIGRATION (line 58) | const GAS_USED_FOR_STORAGE_USAGE_DELTA_MIGRATION: Gas = 1_000_000_000_00... function load_migration_data (line 60) | pub fn load_migration_data(chain_id: &str) -> MigrationData { type Migrator (line 81) | pub(super) struct Migrator<'a> { function new (line 86) | pub fn new(config: &'a crate::config::UncConfig) -> Self { function check_support (line 92) | fn check_support(&self, version: DbVersion) -> Result<(), &'static str> { function migrate (line 103) | fn migrate(&self, store: &Store, version: DbVersion) -> anyhow::Result<(... function test_migration_data (line 129) | fn test_migration_data() { function test_restored_receipts_data (line 142) | fn test_restored_receipts_data() { FILE: infra/src/runtime/errors.rs method from_call_function_error (line 6) | pub fn from_call_function_error( method from_view_account_error (line 27) | pub fn from_view_account_error( method from_view_contract_code_error (line 45) | pub fn from_view_contract_code_error( method from_view_state_error (line 66) | pub fn from_view_state_error( method from_view_access_key_error (line 87) | pub fn from_view_access_key_error( method from_view_chip_error (line 105) | pub fn from_view_chip_error( method from_epoch_error (line 123) | pub fn from_epoch_error( FILE: infra/src/runtime/mod.rs type NightshadeRuntime (line 70) | pub struct NightshadeRuntime { method from_config (line 84) | pub fn from_config( method new (line 119) | fn new( method test_with_runtime_config_store (line 169) | pub fn test_with_runtime_config_store( method test_with_trie_config (line 196) | pub fn test_with_trie_config( method test (line 223) | pub fn test( method get_shard_uid_from_prev_hash (line 239) | fn get_shard_uid_from_prev_hash( method get_shard_uid_from_epoch_id (line 252) | fn get_shard_uid_from_epoch_id( method account_id_to_shard_uid (line 263) | fn account_id_to_shard_uid( method process_state_update (line 275) | fn process_state_update( method precompile_contracts (line 501) | fn precompile_contracts( method get_gc_stop_height_impl (line 539) | fn get_gc_stop_height_impl(&self, block_hash: &CryptoHash) -> Result String { method store (line 631) | fn store(&self) -> &Store { method get_tries (line 635) | fn get_tries(&self) -> ShardTries { method get_trie_for_shard (line 639) | fn get_trie_for_shard( method get_view_trie_for_shard (line 656) | fn get_view_trie_for_shard( method get_flat_storage_manager (line 666) | fn get_flat_storage_manager(&self) -> FlatStorageManager { method validate_tx (line 670) | fn validate_tx( method prepare_transactions (line 725) | fn prepare_transactions( method get_gc_stop_height (line 846) | fn get_gc_stop_height(&self, block_hash: &CryptoHash) -> BlockHeight { method apply_chunk (line 857) | fn apply_chunk( method query (line 917) | fn query( method obtain_state_part (line 1081) | fn obtain_state_part( method validate_state_part (line 1107) | fn validate_state_part(&self, state_root: &StateRoot, part_id: PartId, d... method apply_update_to_children_states (line 1127) | fn apply_update_to_children_states( method apply_state_part (line 1170) | fn apply_state_part( method get_state_root_node (line 1199) | fn get_state_root_node( method validate_state_root_node (line 1213) | fn validate_state_root_node( method get_protocol_config (line 1230) | fn get_protocol_config(&self, epoch_id: &EpochId) -> Result Result<(... FILE: infra/src/runtime/tests.rs function pledge (line 37) | fn pledge( method update (line 55) | fn update( type TestEnv (line 128) | struct TestEnv { method new (line 140) | pub fn new( method new_with_minimum_pledge_divisor (line 148) | fn new_with_minimum_pledge_divisor( method step (line 256) | pub fn step( method step_default (line 335) | pub fn step_default(&mut self, transactions: Vec) { method view_account (line 339) | pub fn view_account(&self, account_id: &AccountId) -> AccountView { method compute_reward (line 350) | pub fn compute_reward(&self, num_validators: usize, epoch_duration: u6... function test_validator_rotation (line 377) | fn test_validator_rotation() { function test_validator_pledge_change (line 470) | fn test_validator_pledge_change() { function test_validator_pledge_change_multiple_times (line 505) | fn test_validator_pledge_change_multiple_times() { function test_pledge_in_last_block_of_an_epoch (line 600) | fn test_pledge_in_last_block_of_an_epoch() { function test_verify_validator_signature (line 639) | fn test_verify_validator_signature() { function test_state_sync (line 662) | fn test_state_sync() { function test_get_validator_info (line 753) | fn test_get_validator_info() { function test_challenges (line 901) | fn test_challenges() { function test_double_sign_challenge_not_all_slashed (line 941) | fn test_double_sign_challenge_not_all_slashed() { function test_double_sign_challenge_all_slashed (line 1022) | fn test_double_sign_challenge_all_slashed() { function test_double_sign_with_other_challenges (line 1065) | fn test_double_sign_with_other_challenges() { function test_fishermen_pledge (line 1106) | fn test_fishermen_pledge() { function test_fishermen_unpledge (line 1176) | fn test_fishermen_unpledge() { function test_validator_reward (line 1237) | fn test_validator_reward() { function test_delete_account_after_unpledge (line 1264) | fn test_delete_account_after_unpledge() { function test_proposal_deduped (line 1312) | fn test_proposal_deduped() { function test_insufficient_pledge (line 1335) | fn test_insufficient_pledge() { function test_flat_state_usage (line 1361) | fn test_flat_state_usage() { function test_trie_and_flat_state_equality (line 1378) | fn test_trie_and_flat_state_equality() { function test_genesis_hash (line 1424) | fn test_genesis_hash() { FILE: infra/src/state_sync.rs function spawn_state_sync_dump (line 27) | pub fn spawn_state_sync_dump( type StateSyncDumpHandle (line 122) | pub struct StateSyncDumpHandle { method stop (line 134) | pub fn stop(&self) { method drop (line 128) | fn drop(&mut self) { function extract_part_id_from_part_file_name (line 142) | pub fn extract_part_id_from_part_file_name(file_name: &String) -> u64 { function get_missing_part_ids_for_epoch (line 147) | async fn get_missing_part_ids_for_epoch( function select_random_part_id_with_index (line 175) | fn select_random_part_id_with_index(parts_to_be_dumped: &Vec) -> (u... function get_current_state (line 183) | fn get_current_state( constant FAILURES_ALLOWED_PER_ITERATION (line 220) | const FAILURES_ALLOWED_PER_ITERATION: u32 = 10; function state_sync_dump (line 222) | async fn state_sync_dump( function get_in_progress_data (line 411) | fn get_in_progress_data( function update_dumped_size_and_cnt_metrics (line 426) | fn update_dumped_size_and_cnt_metrics( function obtain_and_store_state_part (line 453) | fn obtain_and_store_state_part( function cares_about_shard (line 477) | fn cares_about_shard( function get_latest_epoch (line 490) | fn get_latest_epoch( FILE: infra/src/test_utils.rs type TestEnvNightshadeSetupExt (line 13) | pub trait TestEnvNightshadeSetupExt { method nightshade_runtimes (line 14) | fn nightshade_runtimes(self, genesis: &Genesis) -> Self; method nightshade_runtimes_with_runtime_config_store (line 15) | fn nightshade_runtimes_with_runtime_config_store( method nightshade_runtimes_with_trie_config (line 20) | fn nightshade_runtimes_with_trie_config( method nightshade_runtimes (line 28) | fn nightshade_runtimes(self, genesis: &Genesis) -> Self { method nightshade_runtimes_with_runtime_config_store (line 33) | fn nightshade_runtimes_with_runtime_config_store( method nightshade_runtimes_with_trie_config (line 67) | fn nightshade_runtimes_with_trie_config( FILE: infra/tests/economics.rs function build_genesis (line 21) | fn build_genesis() -> Genesis { function setup_env (line 33) | fn setup_env(genesis: &Genesis) -> TestEnv { function calc_total_supply (line 51) | fn calc_total_supply(env: &mut TestEnv) -> u128 { function test_burn_mint (line 64) | fn test_burn_mint() { FILE: integration-tests/src/genesis_helpers.rs function genesis_hash (line 15) | pub fn genesis_hash(genesis: &Genesis) -> CryptoHash { function genesis_header (line 20) | pub fn genesis_header(genesis: &Genesis) -> BlockHeader { function genesis_block (line 43) | pub fn genesis_block(genesis: &Genesis) -> Block { FILE: integration-tests/src/node/mod.rs constant TEST_BLOCK_FETCH_LIMIT (line 28) | pub const TEST_BLOCK_FETCH_LIMIT: u64 = 5; constant TEST_BLOCK_MAX_SIZE (line 29) | pub const TEST_BLOCK_MAX_SIZE: u32 = 1000; function configure_chain_spec (line 31) | pub fn configure_chain_spec() -> Genesis { type NodeConfig (line 37) | pub enum NodeConfig { type Node (line 49) | pub trait Node: Send + Sync { method genesis (line 50) | fn genesis(&self) -> &Genesis; method account_id (line 52) | fn account_id(&self) -> Option; method start (line 54) | fn start(&mut self); method kill (line 56) | fn kill(&mut self); method view_account (line 58) | fn view_account(&self, account_id: &AccountId) -> Result R... method view_balance (line 66) | fn view_balance(&self, account_id: &AccountId) -> Result Result<()... method signer (line 74) | fn signer(&self) -> Arc; method block_signer (line 76) | fn block_signer(&self) -> Arc { method is_running (line 80) | fn is_running(&self) -> bool; method user (line 82) | fn user(&self) -> Box; method async_user (line 84) | fn async_user(&self) -> Box { method as_thread_ref (line 88) | fn as_thread_ref(&self) -> &ThreadNode { method as_thread_mut (line 92) | fn as_thread_mut(&mut self) -> &mut ThreadNode { method as_process_ref (line 96) | fn as_process_ref(&self) -> &ProcessNode { method as_process_mut (line 100) | fn as_process_mut(&mut self) -> &mut ProcessNode { function new_sharable (line 106) | pub fn new_sharable(config: NodeConfig) -> Arc> { function new (line 116) | pub fn new(config: NodeConfig) -> Box { function unc_configs_to_node_configs (line 125) | fn unc_configs_to_node_configs( function create_nodes (line 146) | pub fn create_nodes(num_nodes: usize, prefix: &str) -> Vec { function create_nodes_from_seeds (line 152) | pub fn create_nodes_from_seeds(seeds: Vec) -> Vec { function sample_two_nodes (line 175) | pub fn sample_two_nodes(num_nodes: usize) -> (usize, usize) { function sample_queryable_node (line 186) | pub fn sample_queryable_node(nodes: &[Arc>]) -> usize { FILE: integration-tests/src/node/process_node.rs type ProcessNodeState (line 23) | pub enum ProcessNodeState { type ProcessNode (line 28) | pub struct ProcessNode { method new (line 108) | pub fn new(config: UncConfig) -> ProcessNode { method reset_storage (line 122) | pub fn reset_storage(&self) { method get_start_node_command (line 128) | pub fn get_start_node_command(&self) -> Command { method genesis (line 36) | fn genesis(&self) -> &Genesis { method account_id (line 40) | fn account_id(&self) -> Option { method start (line 44) | fn start(&mut self) { method kill (line 70) | fn kill(&mut self) { method signer (line 81) | fn signer(&self) -> Arc { method is_running (line 85) | fn is_running(&self) -> bool { method user (line 92) | fn user(&self) -> Box { method as_process_ref (line 97) | fn as_process_ref(&self) -> &ProcessNode { method as_process_mut (line 101) | fn as_process_mut(&mut self) -> &mut ProcessNode { method drop (line 151) | fn drop(&mut self) { FILE: integration-tests/src/node/runtime_node.rs type RuntimeNode (line 15) | pub struct RuntimeNode { method new (line 22) | pub fn new(account_id: &AccountId) -> Self { method new_from_genesis_and_config (line 30) | pub fn new_from_genesis_and_config( method new_from_genesis (line 51) | pub fn new_from_genesis(account_id: &AccountId, genesis: Genesis) -> S... method free (line 55) | pub fn free(account_id: &AccountId) -> Self { method genesis (line 64) | fn genesis(&self) -> &Genesis { method account_id (line 68) | fn account_id(&self) -> Option { method start (line 72) | fn start(&mut self) {} method kill (line 74) | fn kill(&mut self) {} method signer (line 76) | fn signer(&self) -> Arc { method block_signer (line 80) | fn block_signer(&self) -> Arc { method is_running (line 84) | fn is_running(&self) -> bool { method user (line 88) | fn user(&self) -> Box { function test_send_money (line 105) | pub fn test_send_money() { FILE: integration-tests/src/node/thread_node.rs type ThreadNodeState (line 14) | pub enum ThreadNodeState { type ThreadNode (line 19) | pub struct ThreadNode { method new (line 84) | pub fn new(config: UncConfig) -> ThreadNode { function start_thread (line 26) | fn start_thread(config: UncConfig, path: PathBuf) -> ShutdownableThread { method genesis (line 33) | fn genesis(&self) -> &Genesis { method account_id (line 37) | fn account_id(&self) -> Option { method start (line 41) | fn start(&mut self) { method kill (line 46) | fn kill(&mut self) { method signer (line 57) | fn signer(&self) -> Arc { method is_running (line 61) | fn is_running(&self) -> bool { method user (line 68) | fn user(&self) -> Box { method as_thread_ref (line 73) | fn as_thread_ref(&self) -> &ThreadNode { method as_thread_mut (line 77) | fn as_thread_mut(&mut self) -> &mut ThreadNode { FILE: integration-tests/src/runtime_utils.rs constant TEST_SHARD_UID (line 17) | pub const TEST_SHARD_UID: ShardUId = ShardUId { version: 0, shard_id: 0 }; function get_runtime_and_trie (line 19) | pub fn get_runtime_and_trie() -> (Runtime, ShardTries, StateRoot) { function get_test_trie_viewer (line 29) | pub fn get_test_trie_viewer() -> (TrieViewer, TrieUpdate) { function get_runtime_and_trie_from_genesis (line 36) | pub fn get_runtime_and_trie_from_genesis(genesis: &Genesis) -> (Runtime,... FILE: integration-tests/src/test_helpers.rs function heavy_test (line 10) | pub fn heavy_test(f: F) function check_result (line 18) | pub fn check_result(output: Output) -> Result { function wait (line 29) | pub fn wait(mut f: F, check_interval_ms: u64, max_wait_ms: u64) function wait_for_catchup (line 49) | pub fn wait_for_catchup(nodes: &[Arc>]) { FILE: integration-tests/src/tests/client/access_key_nonce_for_implicit_accounts.rs function check_tx_processing (line 35) | fn check_tx_processing( function test_transaction_hash_collision (line 51) | fn test_transaction_hash_collision() { function get_status_of_tx_hash_collision_for_unc_implicit_account (line 120) | fn get_status_of_tx_hash_collision_for_unc_implicit_account( function test_transaction_hash_collision_for_unc_implicit_account_fail (line 203) | fn test_transaction_hash_collision_for_unc_implicit_account_fail() { function test_transaction_hash_collision_for_unc_implicit_account_ok (line 221) | fn test_transaction_hash_collision_for_unc_implicit_account_ok() { function test_chunk_transaction_validity (line 240) | fn test_chunk_transaction_validity() { function test_transaction_nonce_too_large (line 281) | fn test_transaction_nonce_too_large() { function test_request_chunks_for_orphan (line 329) | fn test_request_chunks_for_orphan() { function test_processing_chunks_sanity (line 472) | fn test_processing_chunks_sanity() { type ChunkForwardingOptimizationTestData (line 551) | struct ChunkForwardingOptimizationTestData { method new (line 562) | fn new() -> ChunkForwardingOptimizationTestData { method process_one_peer_message (line 595) | fn process_one_peer_message(&mut self, client_id: usize, requests: Net... method process_network_messages (line 681) | fn process_network_messages(&mut self) { function test_chunk_forwarding_optimization (line 705) | fn test_chunk_forwarding_optimization() { function test_processing_blocks_async (line 780) | fn test_processing_blocks_async() { FILE: integration-tests/src/tests/client/account_id_in_function_call_permission.rs function test_account_id_in_function_call_permission_upgrade (line 15) | fn test_account_id_in_function_call_permission_upgrade() { function test_very_long_account_id (line 94) | fn test_very_long_account_id() { FILE: integration-tests/src/tests/client/adversarial_behaviors.rs type AdversarialBehaviorTestData (line 17) | struct AdversarialBehaviorTestData { method new (line 25) | fn new() -> AdversarialBehaviorTestData { method process_one_peer_message (line 54) | fn process_one_peer_message(&mut self, client_id: usize, requests: Net... method process_all_actor_messages (line 89) | fn process_all_actor_messages(&mut self) { constant EPOCH_LENGTH (line 22) | const EPOCH_LENGTH: u64 = 20; function test_non_adversarial_case (line 116) | fn test_non_adversarial_case() { function test_banning_chunk_producer_when_seeing_invalid_chunk_base (line 192) | fn test_banning_chunk_producer_when_seeing_invalid_chunk_base( function test_banning_chunk_producer_when_seeing_invalid_chunk (line 318) | fn test_banning_chunk_producer_when_seeing_invalid_chunk() { function test_banning_chunk_producer_when_seeing_invalid_tx_in_chunk (line 327) | fn test_banning_chunk_producer_when_seeing_invalid_tx_in_chunk() { FILE: integration-tests/src/tests/client/benchmarks.rs function benchmark_large_chunk_production_time (line 25) | fn benchmark_large_chunk_production_time() { FILE: integration-tests/src/tests/client/block_corruption.rs constant NOT_BREAKING_CHANGE_MSG (line 16) | const NOT_BREAKING_CHANGE_MSG: &str = "Not a breaking change"; constant BLOCK_NOT_PARSED_MSG (line 17) | const BLOCK_NOT_PARSED_MSG: &str = "Corrupt block didn't parse"; function create_tx_load (line 19) | fn create_tx_load(height: BlockHeight, last_block: &Block) -> Vec bool { function check_corrupt_block (line 122) | fn check_corrupt_block( function check_process_flipped_block_fails_on_bit (line 176) | fn check_process_flipped_block_fails_on_bit( function check_process_flipped_block_fails (line 244) | fn check_process_flipped_block_fails() { FILE: integration-tests/src/tests/client/cap_max_gas_price.rs function does_gas_price_exceed_limit (line 6) | fn does_gas_price_exceed_limit(protocol_version: ProtocolVersion) -> bool { function test_capped_gas_price (line 34) | fn test_capped_gas_price() { FILE: integration-tests/src/tests/client/challenges.rs function test_block_with_challenges (line 34) | fn test_block_with_challenges() { function test_invalid_chunk_state (line 72) | fn test_invalid_chunk_state() { function test_verify_block_double_sign_challenge (line 99) | fn test_verify_block_double_sign_challenge() { function create_invalid_proofs_chunk (line 198) | fn create_invalid_proofs_chunk( function test_verify_chunk_invalid_proofs_challenge (line 209) | fn test_verify_chunk_invalid_proofs_challenge() { function test_verify_chunk_invalid_proofs_challenge_decoded_chunk (line 221) | fn test_verify_chunk_invalid_proofs_challenge_decoded_chunk() { function test_verify_chunk_proofs_malicious_challenge_no_changes (line 236) | fn test_verify_chunk_proofs_malicious_challenge_no_changes() { function test_verify_chunk_proofs_malicious_challenge_valid_order_transactions (line 249) | fn test_verify_chunk_proofs_malicious_challenge_valid_order_transactions... function test_verify_chunk_proofs_challenge_transaction_order (line 285) | fn test_verify_chunk_proofs_challenge_transaction_order() { function challenge (line 320) | fn challenge( function test_verify_chunk_invalid_state_challenge (line 345) | fn test_verify_chunk_invalid_state_challenge() { function test_receive_invalid_chunk_as_validator (line 519) | fn test_receive_invalid_chunk_as_validator() {} function test_receive_two_chunks_from_one_producer (line 523) | fn test_receive_two_chunks_from_one_producer() {} function test_receive_two_blocks_from_one_producer (line 527) | fn test_receive_two_blocks_from_one_producer() {} FILE: integration-tests/src/tests/client/chunk_nodes_cache.rs function process_transaction (line 20) | fn process_transaction( function compare_node_counts (line 84) | fn compare_node_counts() { FILE: integration-tests/src/tests/client/chunk_validation.rs constant ONE_UNC (line 18) | const ONE_UNC: u128 = 1_000_000_000_000_000_000_000_000; function test_chunk_validation_basic (line 24) | fn test_chunk_validation_basic() { function get_block_producer (line 139) | fn get_block_producer(env: &TestEnv, head: &Tip, height_offset: u64) -> ... FILE: integration-tests/src/tests/client/chunks_management.rs type Test (line 25) | struct Test { method run (line 34) | fn run(self) { method run_impl (line 41) | fn run_impl(self) { function chunks_produced_and_distributed_all_in_all_shards (line 274) | fn chunks_produced_and_distributed_all_in_all_shards() { function chunks_recovered_from_others (line 298) | fn chunks_recovered_from_others() { function chunks_recovered_from_full_timeout_too_short (line 316) | fn chunks_recovered_from_full_timeout_too_short() { function chunks_recovered_from_full (line 331) | fn chunks_recovered_from_full() { function chunks_recovered_from_others_cop (line 345) | fn chunks_recovered_from_others_cop() { function chunks_recovered_from_full_timeout_too_short_cop (line 361) | fn chunks_recovered_from_full_timeout_too_short_cop() { function chunks_recovered_from_full_cop (line 375) | fn chunks_recovered_from_full_cop() { FILE: integration-tests/src/tests/client/cold_storage.rs function check_key (line 30) | fn check_key(first_store: &Store, second_store: &Store, col: DBCol, key:... function check_iter (line 44) | fn check_iter( function test_storage_after_commit_of_cold_update (line 73) | fn test_storage_after_commit_of_cold_update() { function test_cold_db_head_update (line 223) | fn test_cold_db_head_update() { function test_cold_db_copy_with_height_skips (line 266) | fn test_cold_db_copy_with_height_skips() { function test_initial_copy_to_cold (line 386) | fn test_initial_copy_to_cold(batch_size: usize) { function test_initial_copy_to_cold_small_batch (line 460) | fn test_initial_copy_to_cold_small_batch() { function test_initial_copy_to_cold_huge_batch (line 465) | fn test_initial_copy_to_cold_huge_batch() { function test_initial_copy_to_cold_medium_batch (line 470) | fn test_initial_copy_to_cold_medium_batch() { function test_cold_loop_on_gc_boundary (line 483) | fn test_cold_loop_on_gc_boundary() { FILE: integration-tests/src/tests/client/epoch_sync.rs function generate_transactions (line 38) | fn generate_transactions(last_hash: &CryptoHash, h: BlockHeight) -> Vec<... function test_continuous_epoch_sync_info_population (line 86) | fn test_continuous_epoch_sync_info_population() { function test_continuous_epoch_sync_info_population_on_header_sync (line 140) | fn test_continuous_epoch_sync_info_population_on_header_sync() { function test_epoch_sync_data_hash_from_epoch_sync_info (line 244) | fn test_epoch_sync_data_hash_from_epoch_sync_info() { function test_node_after_simulated_sync (line 322) | fn test_node_after_simulated_sync() { FILE: integration-tests/src/tests/client/fix_contract_loading_cost.rs function prepare_env_with_contract (line 12) | fn prepare_env_with_contract( function unchanged_gas_cost (line 32) | fn unchanged_gas_cost() { function preparation_error_gas_cost (line 61) | fn preparation_error_gas_cost() { FILE: integration-tests/src/tests/client/fix_storage_usage.rs function process_blocks_with_storage_usage_fix (line 14) | fn process_blocks_with_storage_usage_fix( function test_fix_storage_usage_migration (line 67) | fn test_fix_storage_usage_migration() { FILE: integration-tests/src/tests/client/flat_storage.rs constant START_HEIGHT (line 34) | const START_HEIGHT: BlockHeight = 7; constant CREATION_TIMEOUT (line 37) | const CREATION_TIMEOUT: BlockHeight = 30; function setup_env (line 40) | fn setup_env(genesis: &Genesis, store: Store) -> TestEnv { function wait_for_flat_storage_creation (line 53) | fn wait_for_flat_storage_creation( function test_flat_storage_creation_sanity (line 131) | fn test_flat_storage_creation_sanity() { function test_flat_storage_creation_start_from_state_part (line 253) | fn test_flat_storage_creation_start_from_state_part() { function test_catchup_succeeds_even_if_no_new_blocks (line 360) | fn test_catchup_succeeds_even_if_no_new_blocks() { function test_not_supported_block (line 401) | fn test_not_supported_block() { function test_flat_storage_upgrade (line 467) | fn test_flat_storage_upgrade() { function get_flat_storage_manager (line 593) | fn get_flat_storage_manager(env: &TestEnv) -> FlatStorageManager { FILE: integration-tests/src/tests/client/in_memory_tries.rs constant ONE_UNC (line 25) | const ONE_UNC: u128 = 1_000_000_000_000_000_000_000_000; constant ONE_TERA (line 26) | const ONE_TERA: u64 = 1_000_000_000_000; function test_in_memory_trie_node_consistency (line 29) | fn test_in_memory_trie_node_consistency() { function get_block_producer (line 243) | fn get_block_producer(env: &TestEnv, head: &Tip, height_offset: u64) -> ... function run_chain_for_some_blocks_while_sending_money_around (line 260) | fn run_chain_for_some_blocks_while_sending_money_around( function num_memtrie_roots (line 379) | fn num_memtrie_roots(env: &TestEnv, client_id: usize, shard: ShardUId) -... FILE: integration-tests/src/tests/client/increase_deployment_cost.rs function test_deploy_cost_increased (line 17) | fn test_deploy_cost_increased() { FILE: integration-tests/src/tests/client/increase_storage_compute_cost.rs constant INCREASED_STORAGE_COSTS_PROTOCOL_VERSION (line 29) | const INCREASED_STORAGE_COSTS_PROTOCOL_VERSION: u32 = 64; function test_storage_write (line 33) | fn test_storage_write() { function test_storage_remove (line 55) | fn test_storage_remove() { function test_storage_write_gas_exceeded (line 78) | fn test_storage_write_gas_exceeded() { function test_non_storage (line 101) | fn test_non_storage() { function test_non_storage_gas_exceeded (line 131) | fn test_non_storage_gas_exceeded() { function assert_compute_limit_reached (line 165) | fn assert_compute_limit_reached( function produce_saturated_chunk (line 282) | fn produce_saturated_chunk( function chunk_info (line 408) | fn chunk_info(env: &TestEnv, height: u64) -> std::sync::Arc (TestEnv, CryptoHash) { function test_not_broadcast_block_on_accept (line 3010) | fn test_not_broadcast_block_on_accept() { function test_header_version_downgrade (line 3032) | fn test_header_version_downgrade() { function test_node_shutdown_with_old_protocol_version (line 3082) | fn test_node_shutdown_with_old_protocol_version() { function test_block_ordinal (line 3104) | fn test_block_ordinal() { function test_congestion_receipt_execution (line 3164) | fn test_congestion_receipt_execution() { function test_validator_pledge_host_function (line 3214) | fn test_validator_pledge_host_function() { function test_catchup_no_sharding_change (line 3257) | fn test_catchup_no_sharding_change() { function test_long_chain_with_restart_from_snapshot (line 3291) | fn test_long_chain_with_restart_from_snapshot() { constant EPOCH_LENGTH (line 3344) | const EPOCH_LENGTH: u64 = 25; function state_sync_on_height (line 3346) | fn state_sync_on_height(env: &TestEnv, height: BlockHeight) { function test_sync_and_call_cached_contract (line 3369) | fn test_sync_and_call_cached_contract() { function test_two_deployments (line 3466) | fn test_two_deployments() { function test_sync_after_delete_account (line 3541) | fn test_sync_after_delete_account() { FILE: integration-tests/src/tests/client/restore_receipts_after_fix_apply_chunks.rs constant EPOCH_LENGTH (line 15) | const EPOCH_LENGTH: u64 = 5; constant HEIGHT_TIMEOUT (line 16) | const HEIGHT_TIMEOUT: u64 = 10; function run_test (line 18) | fn run_test( function test_no_chunks_missing (line 120) | fn test_no_chunks_missing() { function test_first_chunk_in_epoch_missing (line 126) | fn test_first_chunk_in_epoch_missing() { function test_all_chunks_in_epoch_missing (line 133) | fn test_all_chunks_in_epoch_missing() { function test_run_for_testnet (line 139) | fn test_run_for_testnet() { FILE: integration-tests/src/tests/client/runtimes.rs function test_pending_approvals (line 21) | fn test_pending_approvals() { function test_invalid_approvals (line 41) | fn test_invalid_approvals() { function test_cap_max_gas_price (line 66) | fn test_cap_max_gas_price() { FILE: integration-tests/src/tests/client/sandbox.rs function test_setup (line 16) | fn test_setup() -> (TestEnv, InMemorySigner) { function do_blocks (line 60) | fn do_blocks(env: &mut TestEnv, start: BlockHeight, end: BlockHeight) { function send_tx (line 67) | fn send_tx( function test_patch_state (line 81) | fn test_patch_state() { function test_patch_account (line 98) | fn test_patch_account() { FILE: integration-tests/src/tests/client/state_dump.rs function test_state_dump (line 35) | fn test_state_dump() { function run_state_sync_with_dumped_parts (line 127) | fn run_state_sync_with_dumped_parts( function test_state_sync_w_dumped_parts (line 377) | fn test_state_sync_w_dumped_parts() { function count_flat_state_value_kinds (line 390) | fn count_flat_state_value_kinds(store: &Store) -> (u64, u64) { FILE: integration-tests/src/tests/client/state_snapshot.rs type StateSnaptshotTestEnv (line 23) | struct StateSnaptshotTestEnv { method new (line 31) | fn new( function set_up_test_env_for_state_snapshots (line 69) | fn set_up_test_env_for_state_snapshots(store: &Store) -> StateSnaptshotT... function test_maybe_open_state_snapshot_no_state_snapshot_key_entry (line 79) | fn test_maybe_open_state_snapshot_no_state_snapshot_key_entry() { function test_maybe_open_state_snapshot_file_not_exist (line 90) | fn test_maybe_open_state_snapshot_file_not_exist() { function test_maybe_open_state_snapshot_garbage_snapshot (line 103) | fn test_maybe_open_state_snapshot_garbage_snapshot() { function verify_make_snapshot (line 131) | fn verify_make_snapshot( function delete_content_at_path (line 178) | fn delete_content_at_path(path: &str) -> std::io::Result<()> { function test_make_state_snapshot (line 192) | fn test_make_state_snapshot() { FILE: integration-tests/src/tests/client/sync_state_nodes.rs function sync_state_nodes (line 35) | fn sync_state_nodes() { function sync_state_nodes_multishard (line 132) | fn sync_state_nodes_multishard() { function sync_empty_state (line 287) | fn sync_empty_state() { function sync_state_dump (line 412) | fn sync_state_dump() { function test_dump_epoch_missing_chunk_in_last_block (line 545) | fn test_dump_epoch_missing_chunk_in_last_block() { function test_state_sync_headers (line 715) | fn test_state_sync_headers() { FILE: integration-tests/src/tests/client/uncvm.rs function test_uncvm_upgrade (line 17) | fn test_uncvm_upgrade() { FILE: integration-tests/src/tests/client/undo_block.rs function setup_env (line 14) | fn setup_env(genesis: &Genesis, store: Store) -> (TestEnv, Arc QueryResponse { function test_eth_implicit_account_creation (line 69) | fn test_eth_implicit_account_creation() { function test_transaction_from_eth_implicit_account_fail (line 125) | fn test_transaction_from_eth_implicit_account_fail() { function meta_tx_call_wallet_contract (line 230) | fn meta_tx_call_wallet_contract(create_account: bool, authorized: bool) { function meta_tx_call_wallet_contract_account_does_not_exist (line 330) | fn meta_tx_call_wallet_contract_account_does_not_exist() { function meta_tx_call_wallet_contract_unauthorized (line 336) | fn meta_tx_call_wallet_contract_unauthorized() { function meta_tx_call_wallet_contract_authorized (line 342) | fn meta_tx_call_wallet_contract_authorized() { FILE: integration-tests/src/tests/client/zero_balance_account.rs function assert_zero_balance_account (line 22) | fn assert_zero_balance_account(env: &TestEnv, account_id: &AccountId) { function test_zero_balance_account_creation (line 50) | fn test_zero_balance_account_creation() { function test_zero_balance_account_add_key (line 121) | fn test_zero_balance_account_add_key() { function test_zero_balance_account_upgrade (line 246) | fn test_zero_balance_account_upgrade() { function test_storage_usage_components (line 315) | fn test_storage_usage_components() { FILE: integration-tests/src/tests/framework/node_cluster.rs function start_nodes (line 14) | fn start_nodes( type NodeCluster (line 64) | pub struct NodeCluster { method set_num_nodes (line 73) | pub fn set_num_nodes(mut self, n: NumSeats) -> Self { method set_num_validator_seats (line 78) | pub fn set_num_validator_seats(mut self, n: NumSeats) -> Self { method set_num_lightclients (line 83) | pub fn set_num_lightclients(mut self, n: NumSeats) -> Self { method set_epoch_length (line 88) | pub fn set_epoch_length(mut self, l: BlockHeightDelta) -> Self { method set_genesis_height (line 93) | pub fn set_genesis_height(mut self, h: BlockHeight) -> Self { method exec_until_stop (line 98) | pub fn exec_until_stop(self, f: F) FILE: integration-tests/src/tests/framework/pledge_nodes.rs type TestNode (line 30) | struct TestNode { function init_test_staking (line 39) | fn init_test_staking( function test_pledge_nodes (line 105) | fn test_pledge_nodes() { function test_validator_kickout (line 188) | fn test_validator_kickout() { function test_validator_join (line 346) | fn test_validator_join() { function test_inflation (line 507) | fn test_inflation() { FILE: integration-tests/src/tests/framework/rpc_error_structs.rs function test_block_unknown_block_error (line 25) | fn test_block_unknown_block_error() { function test_chunk_unknown_chunk_error (line 84) | fn test_chunk_unknown_chunk_error() { function test_protocol_config_unknown_block_error (line 152) | fn test_protocol_config_unknown_block_error() { function test_gas_price_unknown_block_error (line 215) | fn test_gas_price_unknown_block_error() { function test_receipt_id_unknown_receipt_error (line 274) | fn test_receipt_id_unknown_receipt_error() { function test_tx_invalid_tx_error (line 347) | fn test_tx_invalid_tx_error() { function test_query_rpc_account_view_unknown_block_must_return_error (line 420) | fn test_query_rpc_account_view_unknown_block_must_return_error() { FILE: integration-tests/src/tests/framework/rpc_nodes.rs function test_get_validator_info_rpc (line 31) | fn test_get_validator_info_rpc() { function outcome_view_to_hashes (line 74) | fn outcome_view_to_hashes(outcome: &ExecutionOutcomeView) -> Vec anyhow::Result<()> { FILE: integration-tests/src/tests/network/full_network.rs function connect_at_max_capacity (line 11) | pub fn connect_at_max_capacity( function simple_network (line 59) | fn simple_network() -> anyhow::Result<()> { function connect_on_almost_full_network (line 66) | fn connect_on_almost_full_network() -> anyhow::Result<()> { function connect_on_full_network (line 73) | fn connect_on_full_network() -> anyhow::Result<()> { function connect_whitelisted (line 78) | fn connect_whitelisted() -> anyhow::Result<()> { FILE: integration-tests/src/tests/network/peer_handshake.rs function make_peer_manager (line 21) | fn make_peer_manager( function peer_handshake (line 47) | fn peer_handshake() { function peers_connect_all (line 69) | fn peers_connect_all() { function peer_recover (line 128) | fn peer_recover() { function check_connection_with_new_identity (line 213) | fn check_connection_with_new_identity() -> anyhow::Result<()> { FILE: integration-tests/src/tests/network/runner.rs type ControlFlow (line 38) | pub(crate) type ControlFlow = std::ops::ControlFlow<()>; type BoxFuture (line 39) | pub(crate) type BoxFuture<'a, T> = Pin + 'a>>; type ActionFn (line 40) | pub(crate) type ActionFn = function setup_network_node (line 44) | fn setup_network_node( type Action (line 130) | pub(crate) enum Action { type RunningInfo (line 139) | pub(crate) struct RunningInfo { method get_node (line 487) | fn get_node(&self, node_id: usize) -> anyhow::Result<&NodeHandle> { method stop_node (line 490) | fn stop_node(&mut self, node_id: usize) { method start_node (line 495) | async fn start_node(&mut self, node_id: usize) -> anyhow::Result<()> { method change_account_id (line 500) | fn change_account_id(&mut self, node_id: usize, account_id: AccountId) { type StateMachine (line 144) | struct StateMachine { method new (line 174) | fn new() -> Self { method push_action (line 178) | pub fn push_action(&mut self, action: ActionFn) { method push (line 182) | pub fn push(&mut self, action: Action) { function check_routing_table (line 148) | async fn check_routing_table( type TestConfig (line 231) | struct TestConfig { method new (line 249) | fn new(id: usize) -> Self { method addr (line 268) | fn addr(&self) -> SocketAddr { method peer_id (line 272) | fn peer_id(&self) -> PeerId { method peer_info (line 276) | fn peer_info(&self) -> PeerInfo { type Runner (line 281) | pub(crate) struct Runner { method new (line 293) | pub fn new(num_nodes: usize, num_validators: usize) -> Self { method add_to_whitelist (line 308) | pub fn add_to_whitelist(mut self, u: usize, v: usize) -> Self { method use_boot_nodes (line 314) | pub fn use_boot_nodes(mut self, boot_nodes: Vec) -> Self { method ideal_connections (line 321) | pub fn ideal_connections( method minimum_outbound_peers (line 332) | pub fn minimum_outbound_peers(mut self, minimum_outbound_peers: u32) -... method safe_set_size (line 339) | pub fn safe_set_size(mut self, safe_set_size: u32) -> Self { method max_num_peers (line 346) | pub fn max_num_peers(mut self, max_num_peers: u32) -> Self { method enable_outbound (line 354) | pub fn enable_outbound(mut self) -> Self { method push (line 363) | pub fn push(&mut self, action: Action) { method push_action (line 369) | pub fn push_action(&mut self, action: ActionFn) { method apply_all (line 373) | fn apply_all(&mut self, mut apply: F) method setup_node (line 382) | async fn setup_node(&self, node_id: usize) -> anyhow::Result anyhow::Result { type NodeHandle (line 288) | struct NodeHandle { function start_test (line 446) | pub(crate) fn start_test(runner: Runner) -> anyhow::Result<()> { function assert_expected_peers (line 505) | pub(crate) fn assert_expected_peers(node_id: usize, peers: Vec) -... function check_expected_connections (line 529) | pub(crate) fn check_expected_connections( function restart (line 551) | pub(crate) fn restart(node_id: usize) -> ActionFn { function change_account_id (line 563) | pub(crate) fn change_account_id(node_id: usize, account_id: AccountId) -... FILE: integration-tests/src/tests/network/stress_network.rs function make_peer_manager (line 21) | fn make_peer_manager( function stress_test (line 59) | fn stress_test() { FILE: integration-tests/src/tests/runtime/deployment.rs constant ONE_UNC (line 10) | const ONE_UNC: u128 = 10u128.pow(24); function test_deploy_max_size_contract (line 14) | fn test_deploy_max_size_contract() { FILE: integration-tests/src/tests/runtime/sanity_checks.rs constant TESTING_INIT_BALANCE (line 16) | const TESTING_INIT_BALANCE: u128 = 1_000_000_000 * UNC_BASE; constant UNC_BASE (line 19) | const UNC_BASE: u128 = 1_000_000_000_000_000_000_000_000; constant MAX_GAS (line 22) | const MAX_GAS: u64 = 300_000_000_000_000; constant NONDETERMINISTIC_COSTS (line 28) | const NONDETERMINISTIC_COSTS: [&str; 2] = ["CONTRACT_LOADING_BYTES", "WA... function is_nondeterministic_cost (line 30) | fn is_nondeterministic_cost(cost: &str) -> bool { function test_contract_account (line 34) | fn test_contract_account() -> AccountId { function setup_runtime_node_with_contract (line 38) | fn setup_runtime_node_with_contract(wasm_binary: &[u8]) -> RuntimeNode { function get_receipts_status_with_clear_hash (line 74) | fn get_receipts_status_with_clear_hash( function test_cost_sanity (line 96) | fn test_cost_sanity() { function test_cost_sanity_nondeterministic (line 169) | fn test_cost_sanity_nondeterministic() { function test_sanity_used_gas (line 218) | fn test_sanity_used_gas() { function contract_sanity_check_used_gas (line 273) | fn contract_sanity_check_used_gas() -> Vec { FILE: integration-tests/src/tests/runtime/state_viewer.rs type ProofVerifier (line 26) | struct ProofVerifier { method new (line 31) | fn new(proof: Vec>) -> Result { method verify (line 43) | fn verify( function test_view_call (line 105) | fn test_view_call() { function test_view_call_try_changing_storage (line 133) | fn test_view_call_try_changing_storage() { function test_view_call_with_args (line 165) | fn test_view_call_with_args() { function assert_view_state (line 191) | fn assert_view_state( function test_view_state (line 262) | fn test_view_state() { function test_view_state_too_large (line 357) | fn test_view_state_too_large() { function test_view_state_with_large_contract (line 371) | fn test_view_state_with_large_contract() { function test_log_when_panic (line 387) | fn test_log_when_panic() { FILE: integration-tests/src/tests/runtime/test_evil_contracts.rs constant TESTING_INIT_BALANCE (line 9) | pub const TESTING_INIT_BALANCE: u128 = 1_000_000_000 * UNC_BASE; constant UNC_BASE (line 12) | pub const UNC_BASE: u128 = 1_000_000_000_000_000_000_000_000; constant MAX_GAS (line 15) | const MAX_GAS: u64 = 300_000_000_000_000; function setup_test_contract (line 17) | fn setup_test_contract(wasm_binary: &[u8]) -> RuntimeNode { function test_evil_deep_trie (line 41) | fn test_evil_deep_trie() { function test_evil_deep_recursion (line 88) | fn test_evil_deep_recursion() { function test_evil_abort (line 113) | fn test_evil_abort() { FILE: integration-tests/src/tests/standard_cases/mod.rs constant FUNCTION_CALL_AMOUNT (line 36) | const FUNCTION_CALL_AMOUNT: Balance = TESTING_INIT_BALANCE / 10; function fee_helper (line 38) | pub(crate) fn fee_helper(node: &impl Node) -> FeeHelper { function add_access_key (line 43) | fn add_access_key( function test_smart_contract_simple (line 61) | pub fn test_smart_contract_simple(node: impl Node) { function test_smart_contract_panic (line 76) | pub fn test_smart_contract_panic(node: impl Node) { function test_smart_contract_self_call (line 103) | pub fn test_smart_contract_self_call(node: impl Node) { function test_smart_contract_bad_method_name (line 119) | pub fn test_smart_contract_bad_method_name(node: impl Node) { function test_smart_contract_empty_method_name_with_no_tokens (line 143) | pub fn test_smart_contract_empty_method_name_with_no_tokens(node: impl N... function test_smart_contract_empty_method_name_with_tokens (line 167) | pub fn test_smart_contract_empty_method_name_with_tokens(node: impl Node) { function test_smart_contract_with_args (line 191) | pub fn test_smart_contract_with_args(node: impl Node) { function test_async_call_with_logs (line 214) | pub fn test_async_call_with_logs(node: impl Node) { function test_nonce_update_when_deploying_contract (line 228) | pub fn test_nonce_update_when_deploying_contract(node: impl Node) { function test_nonce_updated_when_tx_failed (line 242) | pub fn test_nonce_updated_when_tx_failed(node: impl Node) { function test_upload_contract (line 252) | pub fn test_upload_contract(node: impl Node) { function test_redeploy_contract (line 286) | pub fn test_redeploy_contract(node: impl Node) { function test_send_money (line 301) | pub fn test_send_money(node: impl Node) { function transfer_tokens_to_implicit_account (line 331) | pub fn transfer_tokens_to_implicit_account(node: impl Node, public_key: ... function trying_to_create_implicit_account (line 404) | pub fn trying_to_create_implicit_account(node: impl Node, public_key: Pu... function test_smart_contract_reward (line 465) | pub fn test_smart_contract_reward(node: impl Node) { function test_send_money_over_balance (line 489) | pub fn test_send_money_over_balance(node: impl Node) { function test_refund_on_send_money_to_non_existent_account (line 511) | pub fn test_refund_on_send_money_to_non_existent_account(node: impl Node) { function test_create_account (line 544) | pub fn test_create_account(node: impl Node) { function test_create_account_again (line 575) | pub fn test_create_account_again(node: impl Node) { function test_create_account_failure_no_funds (line 628) | pub fn test_create_account_failure_no_funds(node: impl Node) { function test_create_account_failure_already_exists (line 637) | pub fn test_create_account_failure_already_exists(node: impl Node) { function test_swap_key (line 677) | pub fn test_swap_key(node: impl Node) { function test_add_key (line 706) | pub fn test_add_key(node: impl Node) { function test_add_existing_key (line 717) | pub fn test_add_existing_key(node: impl Node) { function test_delete_key (line 744) | pub fn test_delete_key(node: impl Node) { function test_delete_key_not_owned (line 765) | pub fn test_delete_key_not_owned(node: impl Node) { function test_delete_key_last (line 797) | pub fn test_delete_key_last(node: impl Node) { function assert_access_key (line 836) | fn assert_access_key( function test_add_access_key_function_call (line 850) | pub fn test_add_access_key_function_call(node: impl Node) { function test_delete_access_key (line 870) | pub fn test_delete_access_key(node: impl Node) { function test_add_access_key_with_allowance (line 899) | pub fn test_add_access_key_with_allowance(node: impl Node) { function test_delete_access_key_with_allowance (line 925) | pub fn test_delete_access_key_with_allowance(node: impl Node) { function test_access_key_smart_contract (line 962) | pub fn test_access_key_smart_contract(node: impl Node) { function test_access_key_smart_contract_reject_method_name (line 1014) | pub fn test_access_key_smart_contract_reject_method_name(node: impl Node) { function test_access_key_smart_contract_reject_contract_id (line 1042) | pub fn test_access_key_smart_contract_reject_contract_id(node: impl Node) { function test_access_key_reject_non_function_call (line 1071) | pub fn test_access_key_reject_non_function_call(node: impl Node) { function test_increase_pledge (line 1096) | pub fn test_increase_pledge(node: impl Node) { function test_decrease_pledge (line 1117) | pub fn test_decrease_pledge(node: impl Node) { function test_unpledge_while_not_pledged (line 1137) | pub fn test_unpledge_while_not_pledged(node: impl Node) { function test_fail_not_enough_balance_for_storage (line 1165) | pub fn test_fail_not_enough_balance_for_storage(node: impl Node) { function test_delete_account_ok (line 1177) | pub fn test_delete_account_ok(node: impl Node) { function test_delete_account_fail (line 1191) | pub fn test_delete_account_fail(node: impl Node) { function test_delete_account_no_account (line 1226) | pub fn test_delete_account_no_account(node: impl Node) { function test_delete_account_while_staking (line 1242) | pub fn test_delete_account_while_staking(node: impl Node) { function test_smart_contract_free (line 1278) | pub fn test_smart_contract_free(node: impl Node) { function get_trie_nodes_count (line 1299) | fn get_trie_nodes_count( function test_contract_write_key_value_cost (line 1326) | pub fn test_contract_write_key_value_cost(node: impl Node) { function make_write_key_value_action (line 1354) | fn make_write_key_value_action(key: Vec, value: Vec) -> Action { function make_receipt (line 1365) | fn make_receipt(node: &impl Node, actions: Vec, receiver_id: Acc... function check_trie_nodes_count (line 1385) | fn check_trie_nodes_count( function test_accounting_cache_common_parent (line 1426) | pub fn test_accounting_cache_common_parent(node: impl Node, runtime_conf... function test_accounting_cache_branch_value (line 1452) | pub fn test_accounting_cache_branch_value(node: impl Node, runtime_confi... function test_accounting_cache_mode (line 1486) | pub fn test_accounting_cache_mode(node: impl Node, runtime_config: Runti... function test_storage_read_write_costs (line 1512) | pub fn test_storage_read_write_costs(node: impl Node, runtime_config: Ru... FILE: integration-tests/src/tests/standard_cases/rpc.rs function create_thread_nodes_rpc (line 12) | fn create_thread_nodes_rpc() -> Vec { function test_smart_contract_simple_testnet (line 59) | fn test_smart_contract_simple_testnet() { function test_smart_contract_self_call_testnet (line 65) | fn test_smart_contract_self_call_testnet() { function test_smart_contract_bad_method_name_testnet (line 71) | fn test_smart_contract_bad_method_name_testnet() { function test_smart_contract_empty_method_name_with_no_tokens_testnet (line 77) | fn test_smart_contract_empty_method_name_with_no_tokens_testnet() { function test_smart_contract_empty_method_name_with_tokens_testnet (line 83) | fn test_smart_contract_empty_method_name_with_tokens_testnet() { function test_smart_contract_with_args_testnet (line 89) | fn test_smart_contract_with_args_testnet() { function test_nonce_update_when_deploying_contract_testnet (line 95) | fn test_nonce_update_when_deploying_contract_testnet() { function test_nonce_updated_when_tx_failed_testnet (line 101) | fn test_nonce_updated_when_tx_failed_testnet() { function test_upload_contract_testnet (line 107) | fn test_upload_contract_testnet() { function test_redeploy_contract_testnet (line 113) | fn test_redeploy_contract_testnet() { function test_send_money_testnet (line 119) | fn test_send_money_testnet() { function test_send_money_over_balance_testnet (line 125) | fn test_send_money_over_balance_testnet() { function test_refund_on_send_money_to_non_existent_account_testnet (line 131) | fn test_refund_on_send_money_to_non_existent_account_testnet() { function test_create_account_testnet (line 137) | fn test_create_account_testnet() { function test_create_account_again_testnet (line 143) | fn test_create_account_again_testnet() { function test_create_account_failure_already_exists_testnet (line 149) | fn test_create_account_failure_already_exists_testnet() { function test_swap_key_testnet (line 155) | fn test_swap_key_testnet() { function test_add_access_key_function_call_testnet (line 161) | fn test_add_access_key_function_call_testnet() { function test_add_existing_key_testnet (line 167) | fn test_add_existing_key_testnet() { function test_delete_key_testnet (line 173) | fn test_delete_key_testnet() { function test_delete_key_not_owned_testnet (line 179) | fn test_delete_key_not_owned_testnet() { function test_delete_key_last_testnet (line 185) | fn test_delete_key_last_testnet() { function test_add_key_testnet (line 191) | fn test_add_key_testnet() { function test_delete_access_key_testnet (line 197) | fn test_delete_access_key_testnet() { function test_add_access_key_with_allowance_testnet (line 203) | fn test_add_access_key_with_allowance_testnet() { function test_delete_access_key_with_allowance_testnet (line 209) | fn test_delete_access_key_with_allowance_testnet() { function test_access_key_smart_contract_testnet (line 215) | fn test_access_key_smart_contract_testnet() { FILE: integration-tests/src/tests/standard_cases/runtime.rs function create_runtime_node (line 11) | fn create_runtime_node() -> RuntimeNode { function create_free_runtime_node (line 15) | fn create_free_runtime_node() -> RuntimeNode { function create_runtime_with_expensive_storage (line 19) | fn create_runtime_with_expensive_storage() -> RuntimeNode { function test_smart_contract_simple_runtime (line 42) | fn test_smart_contract_simple_runtime() { function test_smart_contract_panic_runtime (line 48) | fn test_smart_contract_panic_runtime() { function test_smart_contract_self_call_runtime (line 54) | fn test_smart_contract_self_call_runtime() { function test_smart_contract_bad_method_name_runtime (line 60) | fn test_smart_contract_bad_method_name_runtime() { function test_smart_contract_empty_method_name_with_no_tokens_runtime (line 66) | fn test_smart_contract_empty_method_name_with_no_tokens_runtime() { function test_smart_contract_empty_method_name_with_tokens_runtime (line 72) | fn test_smart_contract_empty_method_name_with_tokens_runtime() { function test_smart_contract_with_args_runtime (line 78) | fn test_smart_contract_with_args_runtime() { function test_async_call_with_logs_runtime (line 84) | fn test_async_call_with_logs_runtime() { function test_nonce_update_when_deploying_contract_runtime (line 90) | fn test_nonce_update_when_deploying_contract_runtime() { function test_nonce_updated_when_tx_failed_runtime (line 96) | fn test_nonce_updated_when_tx_failed_runtime() { function test_upload_contract_runtime (line 102) | fn test_upload_contract_runtime() { function test_redeploy_contract_runtime (line 108) | fn test_redeploy_contract_runtime() { function test_send_money_runtime (line 114) | fn test_send_money_runtime() { function test_transfer_tokens_unc_implicit_account_runtime (line 120) | fn test_transfer_tokens_unc_implicit_account_runtime() { function test_transfer_tokens_eth_implicit_account_runtime (line 127) | fn test_transfer_tokens_eth_implicit_account_runtime() { function test_trying_to_create_unc_implicit_account_runtime (line 137) | fn test_trying_to_create_unc_implicit_account_runtime() { function test_trying_to_create_eth_implicit_account_runtime (line 144) | fn test_trying_to_create_eth_implicit_account_runtime() { function test_smart_contract_reward_runtime (line 154) | fn test_smart_contract_reward_runtime() { function test_send_money_over_balance_runtime (line 160) | fn test_send_money_over_balance_runtime() { function test_refund_on_send_money_to_non_existent_account_runtime (line 166) | fn test_refund_on_send_money_to_non_existent_account_runtime() { function test_create_account_runtime (line 172) | fn test_create_account_runtime() { function test_create_account_again_runtime (line 178) | fn test_create_account_again_runtime() { function test_create_account_failure_no_funds_runtime (line 184) | fn test_create_account_failure_no_funds_runtime() { function test_create_account_failure_already_exists_runtime (line 190) | fn test_create_account_failure_already_exists_runtime() { function test_swap_key_runtime (line 196) | fn test_swap_key_runtime() { function test_add_key_runtime (line 202) | fn test_add_key_runtime() { function test_add_existing_key_runtime (line 208) | fn test_add_existing_key_runtime() { function test_delete_key_runtime (line 214) | fn test_delete_key_runtime() { function test_delete_key_not_owned_runtime (line 220) | fn test_delete_key_not_owned_runtime() { function test_delete_key_last_runtime (line 226) | fn test_delete_key_last_runtime() { function test_add_access_key_function_call_runtime (line 232) | fn test_add_access_key_function_call_runtime() { function test_delete_access_key_runtime (line 238) | fn test_delete_access_key_runtime() { function test_add_access_key_with_allowance_runtime (line 244) | fn test_add_access_key_with_allowance_runtime() { function test_delete_access_key_with_allowance_runtime (line 250) | fn test_delete_access_key_with_allowance_runtime() { function test_access_key_smart_contract_runtime (line 256) | fn test_access_key_smart_contract_runtime() { function test_access_key_smart_contract_reject_method_name_runtime (line 262) | fn test_access_key_smart_contract_reject_method_name_runtime() { function test_access_key_smart_contract_reject_contract_id_runtime (line 268) | fn test_access_key_smart_contract_reject_contract_id_runtime() { function test_access_key_reject_non_function_call_runtime (line 274) | fn test_access_key_reject_non_function_call_runtime() { function test_increase_pledge_runtime (line 280) | fn test_increase_pledge_runtime() { function test_decrease_pledge_runtime (line 286) | fn test_decrease_pledge_runtime() { function test_unpledge_while_not_pledged_runtime (line 292) | fn test_unpledge_while_not_pledged_runtime() { function test_fail_not_enough_balance_for_storage_runtime (line 298) | fn test_fail_not_enough_balance_for_storage_runtime() { function test_delete_account_signer_is_receiver (line 304) | fn test_delete_account_signer_is_receiver() { function test_delete_account_has_enough_money_runtime (line 310) | fn test_delete_account_has_enough_money_runtime() { function test_delete_account_no_account_runtime (line 316) | fn test_delete_account_no_account_runtime() { function test_delete_account_while_staking_runtime (line 322) | fn test_delete_account_while_staking_runtime() { function test_smart_contract_free_runtime (line 328) | fn test_smart_contract_free_runtime() { function test_contract_write_key_value_cost_runtime (line 334) | fn test_contract_write_key_value_cost_runtime() { function test_accounting_cache_same_common_parent (line 340) | fn test_accounting_cache_same_common_parent() { function test_accounting_cache_branch_value_runtime (line 347) | fn test_accounting_cache_branch_value_runtime() { function test_accounting_cache_mode_runtime (line 354) | fn test_accounting_cache_mode_runtime() { function test_storage_read_write_costs_runtime (line 361) | fn test_storage_read_write_costs_runtime() { FILE: integration-tests/src/tests/test_catchup.rs function test_catchup (line 10) | fn test_catchup() { FILE: integration-tests/src/tests/test_errors.rs function start_node (line 20) | fn start_node() -> ThreadNode { function test_check_tx_error_log (line 32) | fn test_check_tx_error_log() { function test_deliver_tx_error_log (line 64) | fn test_deliver_tx_error_log() { FILE: integration-tests/src/tests/test_overflows.rs function test_overflow (line 2) | fn test_overflow() { function test_underflow (line 13) | fn test_underflow() { FILE: integration-tests/src/tests/test_simple.rs function run_multiple_nodes (line 9) | fn run_multiple_nodes(num_nodes: usize, num_trials: usize, test_prefix: ... function test_2_10_multiple_nodes (line 71) | fn test_2_10_multiple_nodes() { function test_4_10_multiple_nodes (line 77) | fn test_4_10_multiple_nodes() { function test_7_10_multiple_nodes (line 83) | fn test_7_10_multiple_nodes() { FILE: integration-tests/src/tests/test_tps_regression.rs function send_transaction (line 19) | fn send_transaction( function run_multiple_nodes (line 53) | fn run_multiple_nodes( function test_highload (line 163) | fn test_highload() { FILE: integration-tests/src/unc_utils.rs function add_blocks (line 22) | pub fn add_blocks( function setup_configs_with_epoch_length (line 101) | pub fn setup_configs_with_epoch_length( function setup_configs (line 127) | pub fn setup_configs() -> (Genesis, Block, UncConfig, UncConfig) { FILE: integration-tests/src/user/mod.rs constant POISONED_LOCK_ERR (line 28) | const POISONED_LOCK_ERR: &str = "The lock was poisoned."; type User (line 30) | pub trait User { method view_account (line 31) | fn view_account(&self, account_id: &AccountId) -> Result Result Result Result<... method is_locked (line 42) | fn is_locked(&self, account_id: &AccountId) -> Result; method view_call (line 44) | fn view_call( method add_transaction (line 51) | fn add_transaction(&self, signed_transaction: SignedTransaction) -> Re... method commit_transaction (line 53) | fn commit_transaction( method add_receipts (line 58) | fn add_receipts( method get_access_key_nonce_for_signer (line 64) | fn get_access_key_nonce_for_signer(&self, account_id: &AccountId) -> R... method get_best_height (line 69) | fn get_best_height(&self) -> Option; method get_best_block_hash (line 71) | fn get_best_block_hash(&self) -> Option; method get_block_by_height (line 73) | fn get_block_by_height(&self, height: BlockHeight) -> Option; method get_block (line 75) | fn get_block(&self, block_hash: CryptoHash) -> Option; method get_chunk_by_height (line 77) | fn get_chunk_by_height(&self, height: BlockHeight, shard_id: ShardId) ... method get_transaction_result (line 79) | fn get_transaction_result(&self, hash: &CryptoHash) -> ExecutionOutcom... method get_transaction_final_result (line 81) | fn get_transaction_final_result(&self, hash: &CryptoHash) -> FinalExec... method get_state_root (line 83) | fn get_state_root(&self) -> CryptoHash; method get_access_key (line 85) | fn get_access_key( method signer (line 91) | fn signer(&self) -> Arc; method set_signer (line 93) | fn set_signer(&mut self, signer: Arc); method sign_and_commit_actions (line 95) | fn sign_and_commit_actions( method send_money (line 113) | fn send_money( method deploy_contract (line 126) | fn deploy_contract( method function_call (line 138) | fn function_call( method create_account (line 159) | fn create_account( method add_key (line 180) | fn add_key( method delete_key (line 193) | fn delete_key( method swap_key (line 205) | fn swap_key( method delete_account_with_beneficiary_set (line 222) | fn delete_account_with_beneficiary_set( method delete_account (line 235) | fn delete_account( method pledge (line 243) | fn pledge( method meta_tx (line 260) | fn meta_tx( type AsyncUser (line 295) | pub trait AsyncUser: Send + Sync { method view_account (line 296) | fn view_account( method view_balance (line 301) | fn view_balance( method view_state (line 308) | fn view_state( method add_transaction (line 313) | fn add_transaction( method add_receipts (line 318) | fn add_receipts( method get_account_nonce (line 323) | fn get_account_nonce( method get_best_height (line 328) | fn get_best_height(&self) -> LocalBoxFuture<'static, Result LocalBoxFuture<'static, Result(&self, f: F) -> R method new (line 46) | pub fn new(addr: &str, account_id: AccountId, signer: Arc)... method get_status (line 50) | pub fn get_status(&self) -> Option { method query (line 54) | pub fn query(&self, request: QueryRequest) -> Result Result Result Result { method view_contract_code (line 98) | fn view_contract_code(&self, account_id: &AccountId) -> Result Result<(), ... method commit_transaction (line 136) | fn commit_transaction( method add_receipts (line 153) | fn add_receipts( method get_best_height (line 162) | fn get_best_height(&self) -> Option { method get_best_block_hash (line 166) | fn get_best_block_hash(&self) -> Option { method get_block_by_height (line 170) | fn get_block_by_height(&self, height: BlockHeight) -> Option { method get_block (line 175) | fn get_block(&self, block_hash: CryptoHash) -> Option { method get_chunk_by_height (line 180) | fn get_chunk_by_height(&self, height: BlockHeight, shard_id: ShardId) ->... method get_transaction_result (line 187) | fn get_transaction_result(&self, _hash: &CryptoHash) -> ExecutionOutcome... method get_transaction_final_result (line 191) | fn get_transaction_final_result(&self, hash: &CryptoHash) -> FinalExecut... method get_state_root (line 206) | fn get_state_root(&self) -> CryptoHash { method get_access_key (line 210) | fn get_access_key( method signer (line 225) | fn signer(&self) -> Arc { method set_signer (line 229) | fn set_signer(&mut self, signer: Arc) { FILE: integration-tests/src/user/runtime_user.rs type MockClient (line 30) | pub struct MockClient { method get_state_update (line 39) | pub fn get_state_update(&self) -> TrieUpdate { type RuntimeUser (line 44) | pub struct RuntimeUser { method new (line 59) | pub fn new( method apply_all (line 78) | pub fn apply_all( method apply_state (line 153) | fn apply_state(&self) -> ApplyState { method get_recursive_transaction_results (line 173) | fn get_recursive_transaction_results( method get_final_transaction_result (line 191) | fn get_final_transaction_result(&self, hash: &CryptoHash) -> FinalExec... method view_account (line 232) | fn view_account(&self, account_id: &AccountId) -> Result Result Result Result { method view_call (line 263) | fn view_call( method add_transaction (line 298) | fn add_transaction(&self, transaction: SignedTransaction) -> Result<(), ... method commit_transaction (line 303) | fn commit_transaction( method add_receipts (line 311) | fn add_receipts( method get_best_height (line 320) | fn get_best_height(&self) -> Option { method get_best_block_hash (line 325) | fn get_best_block_hash(&self) -> Option { method get_block_by_height (line 329) | fn get_block_by_height(&self, _height: u64) -> Option { method get_block (line 333) | fn get_block(&self, _block_hash: CryptoHash) -> Option { method get_chunk_by_height (line 337) | fn get_chunk_by_height(&self, _height: u64, _shard_id: u64) -> Option ExecutionOutcomeV... method get_transaction_final_result (line 345) | fn get_transaction_final_result(&self, hash: &CryptoHash) -> FinalExecut... method get_state_root (line 349) | fn get_state_root(&self) -> CryptoHash { method get_access_key (line 353) | fn get_access_key( method signer (line 365) | fn signer(&self) -> Arc { method set_signer (line 369) | fn set_signer(&mut self, signer: Arc) { FILE: node/build.rs function env (line 17) | fn env(key: &str) -> Result { function command (line 25) | fn command(prog: &str, args: &[&str], cwd: Option) -... function get_git_version (line 57) | fn get_git_version() -> Result { function main (line 95) | fn main() { function try_main (line 102) | fn try_main() -> Result<()> { FILE: node/src/cli.rs type UncdCmd (line 45) | pub(super) struct UncdCmd { method parse_and_run (line 53) | pub(super) fn parse_and_run() -> anyhow::Result<()> { type StateViewerCommand (line 159) | pub(super) struct StateViewerCommand { type UncdOpts (line 175) | struct UncdOpts { method verbose_target (line 194) | pub fn verbose_target(&self) -> Option<&str> { type UncdSubCommand (line 203) | pub(super) enum UncdSubCommand { type InitCmd (line 288) | pub(super) struct InitCmd { method run (line 370) | pub(super) fn run(self, home_dir: &Path) -> anyhow::Result<()> { function check_release_build (line 344) | fn check_release_build(chain: &str) { type RunCmd (line 402) | pub(super) struct RunCmd { method run (line 450) | pub(super) fn run( function wait_for_interrupt_signal (line 604) | async fn wait_for_interrupt_signal(_home_dir: &Path, mut _rx_crash: &Rec... function wait_for_interrupt_signal (line 611) | async fn wait_for_interrupt_signal(_home_dir: &Path, rx_crash: &mut Rece... type LocalnetCmd (line 626) | pub(super) struct LocalnetCmd { method parse_tracked_shards (line 649) | fn parse_tracked_shards(tracked_shards: &str, num_shards: NumShards) -... method run (line 662) | pub(super) fn run(self, home_dir: &Path) { type RecompressStorageSubCommand (line 680) | pub(super) struct RecompressStorageSubCommand { method run (line 704) | pub(super) fn run(self, home_dir: &Path) { type VerifyProofError (line 720) | pub enum VerifyProofError { type VerifyProofSubCommand (line 728) | pub struct VerifyProofSubCommand { method run (line 736) | pub fn run(self) -> ((CryptoHash, u64), CryptoHash) { method verify_json (line 746) | pub fn verify_json( function make_env_filter (line 825) | fn make_env_filter(verbose: Option<&str>) -> Result anyhow::Result<()> { function optional_values (line 854) | fn optional_values() { function equal_no_value_syntax (line 865) | fn equal_no_value_syntax() { function verify_proof_test (line 879) | fn verify_proof_test() { FILE: node/src/main.rs function uncd_version (line 24) | fn uncd_version() -> Version { function main (line 37) | fn main() -> anyhow::Result<()> { FILE: pytest/debug_scripts/request_chain_info.py function get_block_id (line 34) | def get_block_id(block_id): FILE: pytest/debug_scripts/send_validator_logs.py function filter_log_file (line 11) | def filter_log_file(log_file: str, start_time: datetime.datetime, function upload_to_s3 (line 39) | def upload_to_s3(file_lines: list, account: str) -> str: FILE: pytest/debug_scripts/tests/send_validator_logs_test.py class test_validator_log_filtering (line 8) | class test_validator_log_filtering(unittest.TestCase): method test_time_filtering (line 10) | def test_time_filtering(self): FILE: pytest/endtoend/endtoend.py function do_ping (line 42) | def do_ping(account, rpc_server): function pinger (line 59) | def pinger(account, interval, rpc_server): FILE: pytest/lib/account.py class Account (line 19) | class Account: method __init__ (line 21) | def __init__(self, method get_rpc_node_address (line 48) | def get_rpc_node_address(self): method json_rpc (line 52) | def json_rpc(self, method, params): method send_tx (line 62) | def send_tx(self, signed_tx): method send_tx_sync (line 66) | def send_tx_sync(self, signed_tx): method prep_tx (line 70) | def prep_tx(self): method send_transfer_tx (line 74) | def send_transfer_tx(self, method send_deploy_contract_tx (line 84) | def send_deploy_contract_tx(self, wasm_filename, base_block_hash=None): method send_call_contract_tx (line 91) | def send_call_contract_tx(self, method_name, args, base_block_hash=None): method send_call_contract_raw_tx (line 98) | def send_call_contract_raw_tx(self, method send_call_contract_raw_tx_sync (line 110) | def send_call_contract_raw_tx_sync(self, method send_create_account_tx (line 122) | def send_create_account_tx(self, new_account_id, base_block_hash=None): method send_pledge_tx (line 130) | def send_pledge_tx(self, pledge_amount, base_block_hash=None): method get_amount_attounc (line 136) | def get_amount_attounc(self): FILE: pytest/lib/branches.py function current_branch (line 20) | def current_branch() -> str: function __get_latest_deploy (line 35) | def __get_latest_deploy(chain_id: str) -> typing.Tuple[str, str]: class Executables (line 59) | class Executables(typing.NamedTuple): method node_config (line 63) | def node_config(self) -> typing.Dict[str, typing.Any]: function _compile_binary (line 71) | def _compile_binary(branch: str) -> Executables: function escaped (line 100) | def escaped(branch): function _compile_current (line 104) | def _compile_current(branch: str) -> Executables: function patch_binary (line 127) | def patch_binary(binary: pathlib.Path) -> None: function __download_file_if_missing (line 166) | def __download_file_if_missing(filename: pathlib.Path, url: str) -> None: function __download_binary (line 203) | def __download_binary(release: str, deploy: str) -> Executables: class ABExecutables (line 212) | class ABExecutables(typing.NamedTuple): function prepare_ab_test (line 219) | def prepare_ab_test(chain_id: str = 'mainnet') -> ABExecutables: function __get_executables_for (line 247) | def __get_executables_for(chain_id: str) -> typing.Tuple[str, str, Execu... function get_executables_for (line 265) | def get_executables_for(chain_id: str) -> Executables: FILE: pytest/lib/cluster.py class DownloadException (line 34) | class DownloadException(Exception): function atexit_cleanup (line 38) | def atexit_cleanup(node): function atexit_cleanup_remote (line 49) | def atexit_cleanup_remote(): function nretry (line 56) | def nretry(fn, timeout): function make_boot_nodes_arg (line 72) | def make_boot_nodes_arg(boot_node: BootNode) -> typing.Tuple[str]: class BlockId (line 105) | class BlockId(typing.NamedTuple): method from_header (line 125) | def from_header(cls, header: typing.Dict[str, typing.Any]) -> 'BlockId': method hash_bytes (line 129) | def hash_bytes(self) -> bytes: method __str__ (line 132) | def __str__(self) -> str: method __eq__ (line 135) | def __eq__(self, rhs) -> bool: class BaseNode (line 140) | class BaseNode(object): method __init__ (line 142) | def __init__(self): method change_config (line 149) | def change_config(self, overrides: typing.Dict[str, typing.Any]) -> None: method _get_command_line (line 189) | def _get_command_line(self, method addr_with_pk (line 197) | def addr_with_pk(self) -> str: method wait_for_rpc (line 202) | def wait_for_rpc(self, timeout=1): method json_rpc (line 205) | def json_rpc(self, method, params, timeout=2): method send_tx (line 218) | def send_tx(self, signed_tx): method send_tx_and_wait (line 222) | def send_tx_and_wait(self, signed_tx, timeout): method send_tx_rpc (line 227) | def send_tx_rpc(self, signed_tx, timeout, wait_until='FINAL'): method get_status (line 234) | def get_status(self, method get_latest_block (line 251) | def get_latest_block(self, **kw) -> BlockId: method get_all_heights (line 256) | def get_all_heights(self): method get_validators (line 277) | def get_validators(self, epoch_id=None): method get_account (line 284) | def get_account(self, acc, finality='optimistic', do_assert=True, **kw... method call_function (line 295) | def call_function(self, method get_access_key_list (line 310) | def get_access_key_list(self, acc, finality='optimistic'): method get_nonce_for_pk (line 318) | def get_nonce_for_pk(self, acc, pk, finality='optimistic'): method get_block (line 325) | def get_block(self, block_id, **kwargs): method get_block_by_height (line 328) | def get_block_by_height(self, block_height, **kwargs): method get_final_block (line 331) | def get_final_block(self, **kwargs): method get_chunk (line 334) | def get_chunk(self, chunk_id): method get_tx (line 337) | def get_tx(self, tx_hash, tx_recipient_id): method get_changes_in_block (line 340) | def get_changes_in_block(self, changes_in_block_request): method get_changes (line 344) | def get_changes(self, changes_request): method validators (line 347) | def validators(self): method stop_checking_store (line 352) | def stop_checking_store(self): method check_store (line 357) | def check_store(self): class RpcNode (line 372) | class RpcNode(BaseNode): method __init__ (line 375) | def __init__(self, host, rpc_port): method rpc_addr (line 380) | def rpc_addr(self): class LocalNode (line 384) | class LocalNode(BaseNode): method __init__ (line 386) | def __init__(self, method change_config (line 424) | def change_config(self, overrides: typing.Dict[str, typing.Any]) -> None: method addr (line 427) | def addr(self): method rpc_addr (line 430) | def rpc_addr(self): method start_proxy_if_needed (line 433) | def start_proxy_if_needed(self): method output_logs (line 437) | def output_logs(self): method start (line 449) | def start(self, method kill (line 492) | def kill(self, *, gentle=False): method reset_data (line 508) | def reset_data(self): method reset_validator_key (line 511) | def reset_validator_key(self, new_key): method reset_node_key (line 516) | def reset_node_key(self, new_key): method cleanup (line 521) | def cleanup(self): method stop_network (line 539) | def stop_network(self): method resume_network (line 543) | def resume_network(self): class GCPNode (line 548) | class GCPNode(BaseNode): method __init__ (line 550) | def __init__(self, *args, username=None, project=None, ssh_key_path=No... method _upload_config_files (line 591) | def _upload_config_files(self, node_dir): method _download_binary (line 603) | def _download_binary(self, binary): method addr (line 612) | def addr(self): method rpc_addr (line 615) | def rpc_addr(self): method start (line 618) | def start(self, method kill (line 631) | def kill(self): method destroy_machine (line 636) | def destroy_machine(self): method cleanup (line 639) | def cleanup(self): method json_rpc (line 654) | def json_rpc(self, method, params, timeout=15): method get_status (line 657) | def get_status(self): method stop_network (line 664) | def stop_network(self): method resume_network (line 669) | def resume_network(self): method reset_validator_key (line 673) | def reset_validator_key(self, new_key): function spin_up_node (line 681) | def spin_up_node(config, function init_cluster (line 730) | def init_cluster(num_nodes, function apply_genesis_changes (line 799) | def apply_genesis_changes(node_dir, genesis_config_changes): function apply_config_changes (line 814) | def apply_config_changes(node_dir, client_config_change): function get_config_json (line 861) | def get_config_json(node_dir): function set_config_json (line 867) | def set_config_json(node_dir, config_json): function start_cluster (line 873) | def start_cluster(num_nodes, function get_unc_root (line 935) | def get_unc_root(): function load_config (line 950) | def load_config(): function get_binary_protocol_version (line 969) | def get_binary_protocol_version(config) -> typing.Optional[int]: function corrupt_state_snapshot (line 988) | def corrupt_state_snapshot(config, node_dir, shard_layout_version): FILE: pytest/lib/configured_logger.py function new_logger (line 11) | def new_logger( FILE: pytest/lib/data.py function flatten (line 5) | def flatten(ll): function compute_cumulative (line 12) | def compute_cumulative(xs): function linear_regression (line 27) | def linear_regression(xs, ys): function compute_rate (line 41) | def compute_rate(timestamps): FILE: pytest/lib/key.py class Key (line 9) | class Key: method __init__ (line 14) | def __init__(self, account_id: str, pk: str, sk: str) -> None: method from_random (line 21) | def from_random(cls, account_id: str) -> 'Key': method implicit_account (line 26) | def implicit_account(cls) -> 'Key': method from_json (line 32) | def from_json(cls, j: typing.Dict[str, str]): method from_json_file (line 36) | def from_json_file(cls, filename: str): method from_seed_testonly (line 41) | def from_seed_testonly(cls, account_id: str, seed: str = None) -> 'Key': method from_keypair (line 56) | def from_keypair(cls, account_id, keys): method decoded_pk (line 61) | def decoded_pk(self) -> bytes: method decoded_sk (line 65) | def decoded_sk(self) -> bytes: method to_json (line 69) | def to_json(self): method sign_bytes (line 76) | def sign_bytes(self, data: typing.Union[bytes, bytearray]) -> bytes: FILE: pytest/lib/lightclient.py class BlockHeaderInnerLite (line 9) | class BlockHeaderInnerLite: function compute_block_hash (line 33) | def compute_block_hash(inner_lite_view, inner_rest_hash, prev_hash): function validate_light_client_block (line 58) | def validate_light_client_block(last_known_block, FILE: pytest/lib/messages/block.py class Block (line 5) | class Block: method header (line 7) | def header(self): method chunks (line 16) | def chunks(self): class BlockV1 (line 26) | class BlockV1: class BlockV2 (line 30) | class BlockV2: class BlockV3 (line 34) | class BlockV3: class BlockBody (line 38) | class BlockBody: class BlockHeader (line 42) | class BlockHeader: method inner_lite (line 44) | def inner_lite(self): class BlockHeaderV1 (line 56) | class BlockHeaderV1: class BlockHeaderV2 (line 60) | class BlockHeaderV2: class BlockHeaderV3 (line 64) | class BlockHeaderV3: class BlockHeaderV4 (line 68) | class BlockHeaderV4: class BlockHeaderInnerLite (line 72) | class BlockHeaderInnerLite: class BlockHeaderInnerRest (line 76) | class BlockHeaderInnerRest: class BlockHeaderInnerRestV2 (line 80) | class BlockHeaderInnerRestV2: class BlockHeaderInnerRestV3 (line 84) | class BlockHeaderInnerRestV3: class BlockHeaderInnerRestV4 (line 88) | class BlockHeaderInnerRestV4: class ShardChunk (line 92) | class ShardChunk: class ShardChunkV1 (line 96) | class ShardChunkV1: class ShardChunkV2 (line 100) | class ShardChunkV2: class ShardChunkHeader (line 104) | class ShardChunkHeader: method signature (line 107) | def signature(self): class ShardChunkHeaderV1 (line 117) | class ShardChunkHeaderV1: method chunk_hash (line 120) | def chunk_hash(inner): class ShardChunkHeaderV2 (line 129) | class ShardChunkHeaderV2: method chunk_hash (line 132) | def chunk_hash(inner): class ShardChunkHeaderV3 (line 143) | class ShardChunkHeaderV3: method chunk_hash (line 146) | def chunk_hash(inner): class ShardChunkHeaderInner (line 158) | class ShardChunkHeaderInner: class ShardChunkHeaderInnerV1 (line 162) | class ShardChunkHeaderInnerV1: class ShardChunkHeaderInnerV2 (line 166) | class ShardChunkHeaderInnerV2: class PartialEncodedChunkPart (line 170) | class PartialEncodedChunkPart: class ReceiptProof (line 174) | class ReceiptProof: class PartialEncodedChunk (line 178) | class PartialEncodedChunk: method inner_header (line 180) | def inner_header(self): method header_version (line 195) | def header_version(self): class PartialEncodedChunkV1 (line 204) | class PartialEncodedChunkV1: class PartialEncodedChunkV2 (line 208) | class PartialEncodedChunkV2: class PartialEncodedChunkRequestMsg (line 212) | class PartialEncodedChunkRequestMsg: class PartialEncodedChunkResponseMsg (line 216) | class PartialEncodedChunkResponseMsg: class PartialEncodedChunkForwardMsg (line 220) | class PartialEncodedChunkForwardMsg: class ValidatorPledge (line 224) | class ValidatorPledge: class ValidatorPledgeV1 (line 228) | class ValidatorPledgeV1: class ValidatorPledgeV2 (line 232) | class ValidatorPledgeV2: class Approval (line 236) | class Approval: class ApprovalInner (line 240) | class ApprovalInner: FILE: pytest/lib/messages/bridge.py class Proof (line 1) | class Proof: FILE: pytest/lib/messages/crypto.py class Signature (line 6) | class Signature: method __init__ (line 12) | def __init__(self, signature: typing.Optional[str] = None) -> None: class PublicKey (line 19) | class PublicKey: class AccessKey (line 23) | class AccessKey: class AccessKeyPermission (line 27) | class AccessKeyPermission: class FunctionCallPermission (line 31) | class FunctionCallPermission: class FullAccessPermission (line 35) | class FullAccessPermission: class Direction (line 39) | class Direction: class MerklePath (line 43) | class MerklePath: class ShardProof (line 47) | class ShardProof: FILE: pytest/lib/messages/network.py class SocketAddr (line 7) | class SocketAddr: class PeerMessage (line 11) | class PeerMessage: class Handshake (line 15) | class Handshake: class HandshakeV2 (line 19) | class HandshakeV2: class HandshakeFailureReason (line 23) | class HandshakeFailureReason: class ProtocolVersionMismatch (line 27) | class ProtocolVersionMismatch: class PeerInfo (line 31) | class PeerInfo: class PeerChainInfo (line 35) | class PeerChainInfo: class PeerChainInfoV2 (line 39) | class PeerChainInfoV2: class EdgeInfo (line 43) | class EdgeInfo: class GenesisId (line 47) | class GenesisId: class Edge (line 51) | class Edge: class SyncData (line 55) | class SyncData: class AnnounceAccount (line 59) | class AnnounceAccount: class RoutedMessage (line 63) | class RoutedMessage: class PeerIdOrHash (line 67) | class PeerIdOrHash: class RoutedMessageBody (line 71) | class RoutedMessageBody: class PingPong (line 75) | class PingPong: class StateResponseInfo (line 79) | class StateResponseInfo: class StateResponseInfoV1 (line 83) | class StateResponseInfoV1: class StateResponseInfoV2 (line 87) | class StateResponseInfoV2: class ShardStateSyncResponse (line 91) | class ShardStateSyncResponse: class ShardStateSyncResponseV1 (line 95) | class ShardStateSyncResponseV1: class ShardStateSyncResponseV2 (line 99) | class ShardStateSyncResponseV2: class ShardStateSyncResponseHeader (line 103) | class ShardStateSyncResponseHeader: class ShardStateSyncResponseHeaderV1 (line 107) | class ShardStateSyncResponseHeaderV1: class ShardStateSyncResponseHeaderV2 (line 111) | class ShardStateSyncResponseHeaderV2: class RoutingTableSyncV2 (line 115) | class RoutingTableSyncV2: class IbfElem (line 119) | class IbfElem: class RoutingVersion2 (line 123) | class RoutingVersion2: class RoutingState (line 127) | class RoutingState: class PartialSync (line 131) | class PartialSync: FILE: pytest/lib/messages/shard.py class StateRootNode (line 1) | class StateRootNode: FILE: pytest/lib/messages/tx.py class SignedTransaction (line 4) | class SignedTransaction: class Transaction (line 8) | class Transaction: class Action (line 12) | class Action: class CreateAccount (line 16) | class CreateAccount: class DeployContract (line 20) | class DeployContract: class FunctionCall (line 24) | class FunctionCall: class Transfer (line 28) | class Transfer: class Pledge (line 32) | class Pledge: class AddKey (line 36) | class AddKey: class DeleteKey (line 40) | class DeleteKey: class DeleteAccount (line 44) | class DeleteAccount: class SignedDelegate (line 48) | class SignedDelegate: class DelegateAction (line 52) | class DelegateAction: class Receipt (line 56) | class Receipt: class ReceiptEnum (line 60) | class ReceiptEnum: class ActionReceipt (line 64) | class ActionReceipt: class DataReceipt (line 68) | class DataReceipt: class DataReceiver (line 72) | class DataReceiver: FILE: pytest/lib/metrics.py function fold (line 11) | def fold(collection, key, f, default): class Metrics (line 18) | class Metrics: method __init__ (line 20) | def __init__(self, total_blocks, memory_usage, total_transactions, method from_url (line 30) | def from_url(cls, metrics_url): method diff (line 65) | def diff(cls, final_metrics, initial_metrics): FILE: pytest/lib/mocknet.py function get_node (line 91) | def get_node(hostname): function get_nodes (line 102) | def get_nodes(pattern=None): function node_account_name (line 122) | def node_account_name(node_name): function load_testing_account_id (line 132) | def load_testing_account_id(node_account_id, i): function get_validator_account (line 139) | def get_validator_account(node): function list_validators (line 144) | def list_validators(node): function setup_python_environment (line 151) | def setup_python_environment(node, wasm_contract): function setup_python_environments (line 165) | def setup_python_environments(nodes, wasm_contract): function start_load_test_helper_script (line 169) | def start_load_test_helper_script( function start_load_test_helper (line 204) | def start_load_test_helper( function start_load_test_helpers (line 229) | def start_load_test_helpers( function get_log (line 251) | def get_log(node): function get_logs (line 256) | def get_logs(nodes): function get_epoch_length_in_blocks (line 260) | def get_epoch_length_in_blocks(node): function get_metrics (line 266) | def get_metrics(node): function get_timestamp (line 272) | def get_timestamp(block): function get_chunk_txn (line 276) | def get_chunk_txn(index, chunks, archival_node, result): function chain_measure_bps_and_tps (line 285) | def chain_measure_bps_and_tps( function get_tx_events_single_node (line 338) | def get_tx_events_single_node(node, tx_filename): function get_tx_events (line 349) | def get_tx_events(nodes, tx_filename): function send_transaction (line 361) | def send_transaction(node, tx, tx_hash, account_id, timeout=120): function transfer_between_nodes (line 398) | def transfer_between_nodes(nodes): function pledge_node (line 431) | def pledge_node(node): function accounts_from_nodes (line 450) | def accounts_from_nodes(nodes): function kill_proccess_script (line 454) | def kill_proccess_script(pid): function get_unc_pid (line 463) | def get_unc_pid(machine): function is_binary_running (line 469) | def is_binary_running(binary_name: str, node) -> bool: function is_binary_running_all_nodes (line 474) | def is_binary_running_all_nodes(binary_name: str, all_nodes) -> bool: function stop_node (line 478) | def stop_node(node): function upload_and_extract (line 488) | def upload_and_extract(node, src_filename, dst_filename): function compress_and_upload (line 496) | def compress_and_upload(nodes, src_filename, dst_filename): function redownload_uncd (line 503) | def redownload_uncd(nodes, binary_url): function uncd_amend_genesis_path (line 513) | def uncd_amend_genesis_path(node): function create_and_upload_genesis (line 526) | def create_and_upload_genesis( function extra_genesis_records (line 579) | def extra_genesis_records(validator_keys, rpc_node_names, node_pks, function uncd_amend_genesis (line 721) | def uncd_amend_genesis(unc-node, validator_keys, genesis_filename_in, function create_and_upload_genesis_file_from_empty_genesis (line 780) | def create_and_upload_genesis_file_from_empty_genesis( function download_and_read_json (line 941) | def download_and_read_json(node, filename): function upload_json (line 955) | def upload_json(node, filename, data): function get_node_addr (line 970) | def get_node_addr(node, port): function get_validator_account_id (line 976) | def get_validator_account_id(node): function get_validator_key (line 982) | def get_validator_key(node): function get_node_keys (line 988) | def get_node_keys(node): function init_validator_key (line 997) | def init_validator_key(node): function update_config_file (line 1004) | def update_config_file( function create_and_upload_config_file_from_default (line 1032) | def create_and_upload_config_file_from_default(nodes, chain_id, override... function update_existing_config_file (line 1058) | def update_existing_config_file(nodes, overrider=None): function start_nodes (line 1068) | def start_nodes(nodes, upgrade_schedule=None): function stop_nodes (line 1075) | def stop_nodes(nodes): function clear_data (line 1079) | def clear_data(nodes): function uncd_start_script (line 1083) | def uncd_start_script(node, upgrade_schedule=None, epoch_height=None): function start_node (line 1098) | def start_node(node, upgrade_schedule=None): function reset_data (line 1128) | def reset_data(node, retries=0): function start_genesis_updater_script (line 1146) | def start_genesis_updater_script( function start_genesis_updater (line 1196) | def start_genesis_updater(node, script, genesis_filename_in, function wait_genesis_updater_done (line 1226) | def wait_genesis_updater_done(node, done_filename): function wait_node_up (line 1251) | def wait_node_up(node): function wait_all_nodes_up (line 1279) | def wait_all_nodes_up(all_nodes): function create_upgrade_schedule (line 1283) | def create_upgrade_schedule( function compute_seats (line 1356) | def compute_seats(pledges, num_block_producer_seats): function upgrade_nodes (line 1384) | def upgrade_nodes(epoch_height, upgrade_schedule, all_nodes): function get_epoch_height (line 1391) | def get_epoch_height(rpc_nodes, prev_epoch_height): function uncd_restart_script (line 1416) | def uncd_restart_script(node): function upgrade_node (line 1426) | def upgrade_node(node): function pledge_available_amount (line 1452) | def pledge_available_amount(node_account, last_staking): FILE: pytest/lib/mocknet_helpers.py function get_status (line 12) | def get_status(addr=LOCAL_ADDR, port=RPC_PORT): function json_rpc (line 18) | def json_rpc(method, params, addr=LOCAL_ADDR, port=RPC_PORT): function get_nonce_for_key (line 24) | def get_nonce_for_key(key: Key, **kwargs) -> int: function get_nonce_for_pk (line 28) | def get_nonce_for_pk(account_id, function get_latest_block_hash (line 57) | def get_latest_block_hash(addr=LOCAL_ADDR, port=RPC_PORT): function throttle_txns (line 65) | def throttle_txns(send_txns, total_tx_sent, elapsed_time, test_state): function retry_and_ignore_errors (line 81) | def retry_and_ignore_errors(f): function wait_at_least_one_block (line 90) | def wait_at_least_one_block(): function get_amount_attounc (line 103) | def get_amount_attounc(account_id, addr=LOCAL_ADDR, port=RPC_PORT): function tx_result (line 116) | def tx_result(txn_id, account_id, wait_for_success=False, **kwargs): FILE: pytest/lib/network.py function _run_process (line 8) | def _run_process(cmd): function init_network_pillager (line 16) | def init_network_pillager(): function stop_network (line 39) | def stop_network(pid): function resume_network (line 44) | def resume_network(pid): FILE: pytest/lib/peer.py class Connection (line 20) | class Connection: method __init__ (line 22) | def __init__(self, reader: asyncio.StreamReader, method send (line 28) | async def send(self, message): method send_raw (line 32) | async def send_raw(self, raw_message): method recv (line 39) | async def recv(self, expected=None): method recv_raw (line 59) | async def recv_raw(self): method close (line 76) | async def close(self): method do_send (line 80) | def do_send(self, message): method do_send_raw (line 84) | def do_send_raw(self, raw_message): function connect (line 89) | async def connect(addr) -> Connection: function create_handshake (line 95) | def create_handshake(my_key_pair_nacl, function create_peer_request (line 143) | def create_peer_request(): function sign_handshake (line 150) | def sign_handshake(my_key_pair_nacl, handshake): function run_handshake (line 163) | async def run_handshake(conn: Connection, function create_and_sign_routed_peer_message (line 198) | def create_and_sign_routed_peer_message(routed_msg_body, target_node, FILE: pytest/lib/populate.py function genesis_populate (line 6) | def genesis_populate(unc_root, additional_accounts, node_dir): function copy_genesis (line 13) | def copy_genesis(node_dir_source, node_dir_target): function genesis_populate_all (line 20) | def genesis_populate_all(unc_root, additional_accounts, node_dirs): FILE: pytest/lib/proxy.py function proxy_cleanup (line 51) | def proxy_cleanup(proxy): function port_holder_to_node_ord (line 61) | def port_holder_to_node_ord(holder): class ProxyHandler (line 65) | class ProxyHandler: method __init__ (line 67) | def __init__(self, ordinal): method me (line 74) | def me(self): method other (line 77) | def other(self, ordinal_a, ordinal_b): method _handle (line 84) | async def _handle(self, raw_message, *, writer, sender_port_holder, method get_writer (line 148) | def get_writer(self, to, fr=None): method send_binary (line 156) | async def send_binary(self, raw_message, to, fr=None): method send_message (line 167) | async def send_message(self, message, to, fr=None): method do_send_binary (line 171) | def do_send_binary(self, raw_message, to, fr=None): method do_send_message (line 174) | def do_send_message(self, msg, to, fr=None): method handle (line 177) | async def handle(self, msg, fr, to): class NodesProxy (line 181) | class NodesProxy: method __init__ (line 183) | def __init__(self, handler): method proxify_node (line 191) | def proxify_node(self, node): function stop_server (line 196) | async def stop_server(server): function check_finish (line 201) | def check_finish(server, global_stopped, local_stopped, error): function _read_exact (line 214) | async def _read_exact(reader, length, *, allow_eof=False): function bridge (line 223) | async def bridge(reader, writer, handler_fn, global_stopped, local_stopped, function handle_connection (line 272) | async def handle_connection(outer_reader, outer_writer, inner_port, oute... function listener (line 327) | async def listener(inner_port, outer_port, handler_ctr, global_stopped, function start_server (line 375) | def start_server(inner_port, outer_port, handler_ctr, global_stopped, function proxify_node (line 383) | def proxify_node(node, ps, handler, global_stopped, error, proxy): FILE: pytest/lib/proxy_instances.py class RejectListHandler (line 5) | class RejectListHandler(ProxyHandler): method __init__ (line 7) | def __init__(self, reject_list, drop_probability, ordinal): method handle (line 12) | async def handle(self, msg, fr, to): class RejectListProxy (line 31) | class RejectListProxy(NodesProxy): method __init__ (line 33) | def __init__(self, reject_list, drop_probability): method create_reject_list (line 41) | def create_reject_list(size): FILE: pytest/lib/resharding_lib.py function get_genesis_config_changes (line 26) | def get_genesis_config_changes(epoch_length, function append_shard_layout_config_changes (line 44) | def append_shard_layout_config_changes( function get_genesis_shard_layout_version (line 98) | def get_genesis_shard_layout_version(binary_protocol_version): function get_target_shard_layout_version (line 107) | def get_target_shard_layout_version(binary_protocol_version): function get_genesis_num_shards (line 116) | def get_genesis_num_shards(binary_protocol_version): function get_target_num_shards (line 125) | def get_target_num_shards(binary_protocol_version): function get_epoch_offset (line 134) | def get_epoch_offset(binary_protocol_version): function get_client_config_changes (line 143) | def get_client_config_changes(num_nodes, initial_delay=None): FILE: pytest/lib/serializer.py class BinarySerializer (line 1) | class BinarySerializer: method __init__ (line 3) | def __init__(self, schema): method read_bytes (line 7) | def read_bytes(self, n): method serialize_num (line 15) | def serialize_num(self, value, n_bytes): method deserialize_num (line 22) | def deserialize_num(self, n_bytes): method serialize_field (line 29) | def serialize_field(self, value, fieldType): method deserialize_field (line 74) | def deserialize_field(self, fieldType): method serialize_struct (line 114) | def serialize_struct(self, obj): method deserialize_struct (line 139) | def deserialize_struct(self, type_): method serialize (line 158) | def serialize(self, obj): method deserialize (line 162) | def deserialize(self, bytes_, type_): FILE: pytest/lib/state_sync_lib.py function approximate_epoch_height (line 5) | def approximate_epoch_height(block_height, epoch_length): function get_state_sync_configs_pair (line 14) | def get_state_sync_configs_pair(): function get_state_sync_config_combined (line 57) | def get_state_sync_config_combined(): FILE: pytest/lib/transaction.py function compute_tx_hash (line 13) | def compute_tx_hash(receiverId, nonce, actions, blockHash, accountId, pk): function sign_and_serialize_transaction (line 30) | def sign_and_serialize_transaction(receiverId, nonce, actions, blockHash, function compute_delegated_action_hash (line 46) | def compute_delegated_action_hash(senderId, receiverId, actions, nonce, function create_signed_delegated_action (line 68) | def create_signed_delegated_action(senderId, receiverId, actions, nonce, function create_create_account_action (line 83) | def create_create_account_action(): function create_full_access_key_action (line 91) | def create_full_access_key_action(pk): function create_delete_access_key_action (line 110) | def create_delete_access_key_action(pk): function create_payment_action (line 122) | def create_payment_action(amount): function create_pledging_action (line 131) | def create_pledging_action(amount, pk): function create_deploy_contract_action (line 143) | def create_deploy_contract_action(code): function create_function_call_action (line 152) | def create_function_call_action(methodName, args, gas, deposit): function create_delete_account_action (line 164) | def create_delete_account_action(beneficiary): function create_delegate_action (line 173) | def create_delegate_action(signedDelegate): function sign_delegate_action (line 180) | def sign_delegate_action(signedDelegate, signer_key, contract_id, nonce, function sign_create_account_tx (line 189) | def sign_create_account_tx(creator_key, new_account_id, nonce, block_hash): function sign_create_account_with_full_access_key_and_balance_tx (line 197) | def sign_create_account_with_full_access_key_and_balance_tx( function sign_delete_access_key_tx (line 209) | def sign_delete_access_key_tx(signer_key, target_account_id, key_for_del... function sign_payment_tx (line 218) | def sign_payment_tx(key, to, amount, nonce, blockHash): function sign_payment_tx_and_get_hash (line 225) | def sign_payment_tx_and_get_hash(key, to, amount, nonce, block_hash): function sign_pledging_tx (line 233) | def sign_pledging_tx(signer_key, validator_key, amount, nonce, blockHash): function sign_pledging_tx_and_get_hash (line 242) | def sign_pledging_tx_and_get_hash(signer_key, validator_key, amount, nonce, function sign_deploy_contract_tx (line 253) | def sign_deploy_contract_tx(signer_key, code, nonce, blockHash): function sign_function_call_tx (line 262) | def sign_function_call_tx(signer_key, contract_id, methodName, args, gas, function sign_delete_account_tx (line 271) | def sign_delete_account_tx(key, to, beneficiary, nonce, block_hash): FILE: pytest/lib/utils.py class TxContext (line 23) | class TxContext: method __init__ (line 25) | def __init__(self, act_to_val, nodes): method get_balance (line 35) | def get_balance(self, whose): method get_balances (line 40) | def get_balances(self): method send_moar_txs (line 43) | def send_moar_txs(self, last_block_hash, num, use_routing): class LogTracker (line 70) | class LogTracker: method __init__ (line 80) | def __init__(self, node: cluster.BaseNode) -> None: method _read_file (line 101) | def _read_file(self) -> str: method check (line 110) | def check(self, pattern: str) -> bool: method check_re (line 114) | def check_re(self, pattern: str) -> bool: method reset (line 118) | def reset(self) -> None: method count (line 122) | def count(self, pattern: str) -> int: class MetricsTracker (line 127) | class MetricsTracker: method __init__ (line 135) | def __init__(self, node: cluster.BaseNode) -> None: method get_all_metrics (line 142) | def get_all_metrics(self) -> str: method get_metric_all_values (line 149) | def get_metric_all_values( method get_metric_value (line 158) | def get_metric_value( method get_int_metric_value (line 178) | def get_int_metric_value( function chain_query (line 190) | def chain_query(node, block_handler, *, block_hash=None, max_blocks=-1): function get_unc_tempdir (line 229) | def get_unc_tempdir(subdir=None, *, clean=False): function load_binary_file (line 239) | def load_binary_file(filepath): function load_test_contract (line 244) | def load_test_contract( function user_name (line 257) | def user_name(): function collect_gcloud_config (line 264) | def collect_gcloud_config(num_nodes): function obj_to_string (line 301) | def obj_to_string(obj, extra=' ', full=False): function combine_hash (line 319) | def combine_hash(hash1, hash2): function compute_merkle_root_from_path (line 323) | def compute_merkle_root_from_path(path, leaf_hash): function poll_epochs (line 333) | def poll_epochs(node: cluster.LocalNode, function poll_blocks (line 399) | def poll_blocks(node: cluster.LocalNode, function wait_for_blocks (line 459) | def wait_for_blocks(node: cluster.LocalNode, function figure_out_sandbox_binary (line 505) | def figure_out_sandbox_binary(): FILE: pytest/tests/delete_remote_nodes.py function delete_machine (line 27) | def delete_machine(m): FILE: pytest/tests/loadtest/contract/src/lib.rs type Counter (line 10) | pub struct Counter { method get_num (line 22) | pub fn get_num(&self) -> u64 { method increment (line 26) | pub fn increment(&mut self) { method reset (line 32) | pub fn reset(&mut self) { method get_previous_val (line 36) | fn get_previous_val(&self, i: u64) -> u64 { method increment_many (line 44) | pub fn increment_many(&mut self, how_many: u64) { method reset_increment_many (line 51) | pub fn reset_increment_many(&mut self, how_many: u64) { method get_increment_many (line 56) | pub fn get_increment_many(&self) -> u64 { method infinite_loop (line 60) | pub fn infinite_loop(&self) { method write_many (line 64) | pub fn write_many(&mut self, how_many: u64) { method default (line 16) | fn default() -> Self { FILE: pytest/tests/loadtest/loadtest2.py class Transaction (line 55) | class Transaction: method __init__ (line 62) | def __init__(self): method poll (line 81) | def poll(self, node, block_hash): method send (line 107) | def send(self, block_hash): method is_complete (line 110) | def is_complete(self): method is_success (line 113) | def is_success(self, tx_result): class DeployFT (line 124) | class DeployFT(Transaction): method __init__ (line 126) | def __init__(self, account, contract): method send (line 131) | def send(self, node, block_hash): class TransferFT (line 142) | class TransferFT(Transaction): method __init__ (line 144) | def __init__(self, ft, sender, recipient, how_much=1, tgas=300): method send (line 152) | def send(self, node, block_hash): class TransferNear (line 177) | class TransferNear(Transaction): method __init__ (line 179) | def __init__(self, sender, recipient_id, how_much=2.0): method send (line 185) | def send(self, node, block_hash): class CreateSubAccount (line 197) | class CreateSubAccount(Transaction): method __init__ (line 199) | def __init__(self, sender, sub, balance=50.0): method send (line 205) | def send(self, node, block_hash): class InitFT (line 217) | class InitFT(Transaction): method __init__ (line 219) | def __init__(self, contract): method send (line 223) | def send(self, node, block_hash): class InitFTAccount (line 239) | class InitFTAccount(Transaction): method __init__ (line 241) | def __init__(self, contract, account): method send (line 246) | def send(self, node, block_hash): class TxQueue (line 259) | class TxQueue(multiprocessing.queues.Queue): method __init__ (line 261) | def __init__(self, size, *args, **kwargs): method add (line 268) | def add(self, tx): method complete (line 273) | def complete(self): class Account (line 278) | class Account: method __init__ (line 280) | def __init__(self, key): method refresh_nonce (line 284) | def refresh_nonce(self, node): method use_nonce (line 292) | def use_nonce(self): function transaction_executor (line 299) | def transaction_executor(nodes, tx_queue, accounts): function main (line 348) | def main(): function wait_empty (line 513) | def wait_empty(queue, why): FILE: pytest/tests/loadtest/locust/common/base.py function is_key_error (line 34) | def is_key_error(exception): function is_tx_unknown_error (line 38) | def is_tx_unknown_error(exception): class Account (line 42) | class Account: method __init__ (line 44) | def __init__(self, key): method refresh_nonce (line 56) | def refresh_nonce(self, node): method use_nonce (line 65) | def use_nonce(self): method fast_forward_nonce (line 71) | def fast_forward_nonce(self, ak_nonce): class Transaction (line 77) | class Transaction: method __init__ (line 84) | def __init__(self): method sign_and_serialize (line 95) | def sign_and_serialize(self, block_hash) -> bytes: method sender_account (line 102) | def sender_account(self) -> Account: class FunctionCall (line 109) | class FunctionCall(Transaction): method __init__ (line 111) | def __init__(self, method args (line 125) | def args(self) -> typing.Union[dict, typing.List[dict]]: method sign_and_serialize (line 131) | def sign_and_serialize(self, block_hash) -> bytes: method sender_account (line 137) | def sender_account(self) -> Account: class MultiFunctionCall (line 141) | class MultiFunctionCall(FunctionCall): method __init__ (line 146) | def __init__(self, method sign_and_serialize (line 153) | def sign_and_serialize(self, block_hash) -> bytes: class Deploy (line 169) | class Deploy(Transaction): method __init__ (line 171) | def __init__(self, account, contract, name): method sign_and_serialize (line 177) | def sign_and_serialize(self, block_hash) -> bytes: method sender_account (line 185) | def sender_account(self) -> Account: class CreateSubAccount (line 189) | class CreateSubAccount(Transaction): method __init__ (line 191) | def __init__(self, sender, sub_key, balance: float = 50): method sign_and_serialize (line 197) | def sign_and_serialize(self, block_hash) -> bytes: method sender_account (line 205) | def sender_account(self) -> Account: class AddFullAccessKey (line 209) | class AddFullAccessKey(Transaction): method __init__ (line 211) | def __init__(self, parent: Account, new_key: key.Key): method sign_and_serialize (line 216) | def sign_and_serialize(self, block_hash) -> bytes: method sender_account (line 224) | def sender_account(self) -> Account: class UncNodeProxy (line 228) | class UncNodeProxy: method __init__ (line 233) | def __init__(self, environment): method send_tx_retry (line 239) | def send_tx_retry(self, tx: Transaction, locust_name) -> dict: method send_tx (line 266) | def send_tx(self, tx: Transaction, locust_name: str) -> dict: method final_block_hash (line 312) | def final_block_hash(self): method new_locust_metadata (line 316) | def new_locust_metadata(self, locust_name: str): method post_json (line 328) | def post_json(self, method: str, params: typing.List[str]): method poll_tx_result (line 341) | def poll_tx_result(self, meta: dict, tx: Transaction): method account_exists (line 358) | def account_exists(self, account_id: str) -> bool: method prepare_account (line 361) | def prepare_account(self, account: Account, parent: Account, balance: ... method prepare_accounts (line 373) | def prepare_accounts(self, class NodeUser (line 466) | class NodeUser(User): method get_next_id (line 473) | def get_next_id(cls): method generate_account_id (line 478) | def generate_account_id(cls, account_generator, id) -> str: method __init__ (line 482) | def __init__(self, environment): method on_start (line 491) | def on_start(self): method send_tx (line 503) | def send_tx(self, tx: Transaction, locust_name="generic send_tx"): method send_tx_retry (line 509) | def send_tx_retry(self, class NearError (line 518) | class NearError(Exception): method __init__ (line 520) | def __init__(self, message, details): class RpcError (line 530) | class RpcError(NearError): method __init__ (line 532) | def __init__(self, message="RPC returned an error", details=None): class TxUnknownError (line 536) | class TxUnknownError(RpcError): method __init__ (line 538) | def __init__( class InvalidNonceError (line 545) | class InvalidNonceError(RpcError): method __init__ (line 547) | def __init__( class TxError (line 560) | class TxError(NearError): method __init__ (line 562) | def __init__(self, class ReceiptError (line 568) | class ReceiptError(NearError): method __init__ (line 570) | def __init__(self, status, receipt_id, message="Receipt execution fail... class SmartContractPanic (line 574) | class SmartContractPanic(ReceiptError): method __init__ (line 576) | def __init__(self, status, receipt_id, message="Smart contract panicke... class FunctionExecutionError (line 580) | class FunctionExecutionError(ReceiptError): method __init__ (line 582) | def __init__(self, function evaluate_rpc_result (line 589) | def evaluate_rpc_result(rpc_result): function as_action_error (line 648) | def as_action_error(failure: dict) -> typing.Optional[dict]: function as_function_call_error (line 652) | def as_function_call_error(failure: dict) -> typing.Optional[dict]: function as_execution_error (line 659) | def as_execution_error(failure: dict) -> typing.Optional[dict]: function as_smart_contract_panic_message (line 666) | def as_smart_contract_panic_message(failure: dict) -> typing.Optional[str]: function init_account_generator (line 674) | def init_account_generator(parsed_options): function do_on_locust_init (line 707) | def do_on_locust_init(environment): function on_locust_init (line 758) | def on_locust_init(environment, **kwargs): function _ (line 765) | def _(parser): class TestEvaluateRpcResult (line 794) | class TestEvaluateRpcResult(unittest.TestCase): method test_smart_contract_panic (line 796) | def test_smart_contract_panic(self): FILE: pytest/tests/loadtest/locust/common/congestion.py class ComputeSha256 (line 15) | class ComputeSha256(base.FunctionCall): method __init__ (line 18) | def __init__( method args (line 29) | def args(self) -> dict: method sender_account (line 32) | def sender_account(self) -> base.Account: class ComputeSum (line 36) | class ComputeSum(base.Transaction): method __init__ (line 39) | def __init__( method sign_and_serialize (line 50) | def sign_and_serialize(self, block_hash) -> bytes: method sender_account (line 63) | def sender_account(self) -> base.Account: function on_locust_init (line 68) | def on_locust_init(environment, **kwargs): function _ (line 97) | def _(parser): FILE: pytest/tests/loadtest/locust/common/ft.py class FTContract (line 14) | class FTContract: method __init__ (line 19) | def __init__(self, account: Account, ft_distributor: Account, code: str): method install (line 25) | def install(self, node: UncNodeProxy, parent: Account): method init_contract (line 38) | def init_contract(self, node: UncNodeProxy): method register_user (line 41) | def register_user(self, user: NodeUser): method register_passive_user (line 51) | def register_passive_user(self, node: UncNodeProxy, account: Account): method random_receiver (line 59) | def random_receiver(self, sender: str) -> str: method random_receivers (line 62) | def random_receivers(self, sender: str, num) -> typing.List[str]: method create_passive_users (line 72) | def create_passive_users(self, class TransferFT (line 104) | class TransferFT(FunctionCall): method __init__ (line 106) | def __init__(self, method args (line 118) | def args(self) -> dict: method sender_account (line 124) | def sender_account(self) -> Account: class InitFT (line 128) | class InitFT(FunctionCall): method __init__ (line 130) | def __init__(self, contract: Account): method args (line 134) | def args(self) -> dict: method sender_account (line 140) | def sender_account(self) -> Account: class InitFTAccount (line 144) | class InitFTAccount(FunctionCall): method __init__ (line 146) | def __init__(self, contract: Account, account: Account): method args (line 154) | def args(self) -> dict: method sender_account (line 157) | def sender_account(self) -> Account: function on_locust_init (line 162) | def on_locust_init(environment, **kwargs): function _ (line 186) | def _(parser): FILE: pytest/tests/loadtest/locust/common/social.py class SocialDbSet (line 20) | class SocialDbSet(FunctionCall): method __init__ (line 22) | def __init__(self, contract_id: str, sender: Account): method sender_account (line 27) | def sender_account(self) -> Account: class SubmitPost (line 31) | class SubmitPost(SocialDbSet): method __init__ (line 33) | def __init__(self, contract_id: str, sender: Account, content: str): method args (line 37) | def args(self) -> dict: class Follow (line 41) | class Follow(SocialDbSet): method __init__ (line 43) | def __init__(self, contract_id: str, sender: Account, method args (line 48) | def args(self) -> dict: class InitSocialDB (line 54) | class InitSocialDB(Transaction): method __init__ (line 56) | def __init__(self, contract: Account): method sign_and_serialize (line 60) | def sign_and_serialize(self, block_hash) -> bytes: method sender_account (line 76) | def sender_account(self) -> Account: class InitSocialDbAccount (line 80) | class InitSocialDbAccount(FunctionCall): method __init__ (line 88) | def __init__(self, contract_id: str, account: Account): method args (line 96) | def args(self) -> dict: method sender_account (line 99) | def sender_account(self) -> Account: function social_db_build_index_obj (line 103) | def social_db_build_index_obj(key_list_pairs: dict) -> dict: function social_db_set_msg (line 130) | def social_db_set_msg(sender: str, values: dict, index: dict) -> dict: function social_follow_args (line 155) | def social_follow_args(sender: str, follow_list: typing.List[str]) -> dict: function social_post_args (line 173) | def social_post_args(sender: str, text: str) -> dict: class TestSocialDbSetMsg (line 180) | class TestSocialDbSetMsg(unittest.TestCase): method test_follow (line 182) | def test_follow(self): method test_mass_follow (line 206) | def test_mass_follow(self): method test_post (line 236) | def test_post(self): function on_locust_init (line 259) | def on_locust_init(environment, **kwargs): function _ (line 285) | def _(parser): FILE: pytest/tests/loadtest/locust/locustfiles/congestion.py class CongestionUser (line 19) | class CongestionUser(NodeUser): method compute_sha256 (line 26) | def compute_sha256(self): method compute_sum (line 32) | def compute_sum(self): method on_start (line 36) | def on_start(self): FILE: pytest/tests/loadtest/locust/locustfiles/ft.py class FTTransferUser (line 20) | class FTTransferUser(NodeUser): method ft_transfer (line 28) | def ft_transfer(self): method on_start (line 33) | def on_start(self): FILE: pytest/tests/loadtest/locust/locustfiles/social.py class SocialDbUser (line 20) | class SocialDbUser(NodeUser): method follow (line 29) | def follow(self): method post (line 36) | def post(self): method on_start (line 43) | def on_start(self): method generate_post (line 56) | def generate_post(self, length: int, seed: int) -> str: FILE: pytest/tools/mirror/contract/src/lib.rs type KeyAdder (line 9) | pub struct KeyAdder {} method add_key (line 13) | pub fn add_key(&mut self, public_key: String) -> Promise { method create_account (line 29) | pub fn create_account(&mut self, account_id: AccountId, public_key: Op... method pledge (line 38) | pub fn pledge(&mut self, amount: UncToken, public_key: PublicKey) -> P... FILE: pytest/tools/mirror/mirror_utils.py function mkdir_clean (line 28) | def mkdir_clean(dirname): function dot_unc (line 36) | def dot_unc(): function ordinal_to_addr (line 40) | def ordinal_to_addr(port, ordinal): function copy_genesis (line 44) | def copy_genesis(home): function init_target_dir (line 49) | def init_target_dir(unc-node, function init_target_dirs (line 80) | def init_target_dirs(unc-node, last_ordinal, target_validators): function create_forked_chain (line 102) | def create_forked_chain(config, unc_root, source_node_homes, function read_addr_pk (line 196) | def read_addr_pk(home): function mirror_cleanup (line 208) | def mirror_cleanup(process): class MirrorProcess (line 218) | class MirrorProcess: method __init__ (line 220) | def __init__(self, unc_root, source_home, online_source): method start (line 228) | def start(self): method restart (line 250) | def restart(self): method restart_once (line 267) | def restart_once(self): function check_target_validators (line 279) | def check_target_validators(target_node): function send_add_access_key (line 293) | def send_add_access_key(node, key, target_key, nonce, block_hash): function send_delete_access_key (line 305) | def send_delete_access_key(node, key, target_key, nonce, block_hash): function create_subaccount (line 319) | def create_subaccount(node, signer_key, nonce, block_hash): function deploy_addkey_contract (line 340) | def deploy_addkey_contract(node, signer_key, contract_path, nonce, block... function call_addkey (line 348) | def call_addkey(node, signer_key, new_key, nonce, block_hash, extra_acti... function call_create_account (line 366) | def call_create_account(node, signer_key, account_id, public_key, nonce, function call_pledge (line 387) | def call_pledge(node, signer_key, amount, public_key, nonce, block_hash): function contract_deployed (line 405) | def contract_deployed(node, account_id): class AddedKey (line 415) | class AddedKey: method __init__ (line 417) | def __init__(self, key): method send_if_inited (line 421) | def send_if_inited(self, node, transfers, block_hash): method account_id (line 438) | def account_id(self): method inited (line 441) | def inited(self): class ImplicitAccount (line 445) | class ImplicitAccount: method __init__ (line 447) | def __init__(self): method account_id (line 450) | def account_id(self): method transfer (line 453) | def transfer(self, node, sender_key, amount, block_hash, nonce): method send_if_inited (line 460) | def send_if_inited(self, node, transfers, block_hash): method inited (line 463) | def inited(self): function count_total_txs (line 467) | def count_total_txs(node, min_height=0): function allowed_run_time (line 486) | def allowed_run_time(target_node_dir, start_time, end_source_height): function check_num_txs (line 503) | def check_num_txs(source_node, target_node): class TrafficData (line 517) | class TrafficData: method __init__ (line 519) | def __init__(self, num_accounts): method send_transfers (line 525) | def send_transfers(self, nodes, block_hash, skip_senders=None): method check_ok (line 538) | def check_ok(self, source_node, target_node): function added_keys_send_transfers (line 546) | def added_keys_send_transfers(nodes, added_keys, receivers, amount, bloc... function start_source_chain (line 556) | def start_source_chain(config, num_source_validators=3): function send_traffic (line 637) | def send_traffic(unc_root, source_nodes, traffic_data, callback): FILE: pytest/tools/mirror/offline_test.py function main (line 20) | def main(): FILE: pytest/tools/mirror/online_test.py function main (line 19) | def main(): FILE: pytest/tools/prober/prober.py function main (line 24) | def main(): FILE: pytest/tools/prober/prober_split.py function check_genesis (line 31) | def check_genesis(legacy_url: str, split_url: str) -> int: function check_head (line 46) | def check_head(legacy_url: str, split_url: str, genesis_height: int) -> ... function check_blocks (line 71) | def check_blocks(legacy_url: str, split_url: str, height: int): function check_chunks (line 87) | def check_chunks(legacy_url: str, split_url: str, block): function check_view_call (line 104) | def check_view_call(legacy_url, split_url): function get_random_legacy_url (line 127) | def get_random_legacy_url(chain_id): function main (line 148) | def main(): FILE: pytest/tools/prober/prober_util.py function pretty_print (line 17) | def pretty_print(value) -> str: function json_rpc (line 21) | def json_rpc(method, params, url): function get_genesis_height (line 42) | def get_genesis_height(url): function get_head (line 53) | def get_head(url): function get_block (line 64) | def get_block(height, url): function get_chunk (line 78) | def get_chunk(chunk, url): FILE: runtime/runtime-params-estimator/emu-cost/counter_plugin/counter.c function vcpu_insn_exec_before (line 25) | static void vcpu_insn_exec_before(unsigned int cpu_index, void *udata) function vcpu_tb_trans (line 32) | static void vcpu_tb_trans(qemu_plugin_id_t id, struct qemu_plugin_tb *tb) function print_insn_count (line 46) | static void print_insn_count(void) { function vcpu_syscall (line 53) | static void vcpu_syscall(qemu_plugin_id_t id, unsigned int vcpu_index, function vcpu_ret_syscall (line 104) | static void vcpu_ret_syscall(qemu_plugin_id_t id, unsigned int vcpu_index, function QEMU_PLUGIN_EXPORT (line 125) | QEMU_PLUGIN_EXPORT int qemu_plugin_install(qemu_plugin_id_t id, FILE: runtime/runtime-params-estimator/emu-cost/counter_plugin/test.c function start_counting (line 12) | static void start_counting() { function end_counting (line 19) | static void end_counting() { type ThreadArg (line 39) | typedef struct { function main (line 65) | int main(int argc, char** argv) { FILE: runtime/runtime-params-estimator/estimator-warehouse/src/check.rs type CheckConfig (line 7) | pub(crate) struct CheckConfig { type Status (line 35) | pub(crate) enum Status { type Notice (line 42) | pub(crate) enum Notice { type RelativeChange (line 48) | pub(crate) struct RelativeChange { type UncertainChange (line 55) | pub(crate) struct UncertainChange { function check (line 61) | pub(crate) fn check(db: &Db, config: &CheckConfig) -> anyhow::Result<()> { function create_report (line 85) | pub(crate) fn create_report(db: &Db, config: &CheckConfig) -> anyhow::Re... function estimation_changes (line 127) | fn estimation_changes( function estimation_uncertain_changes (line 152) | fn estimation_uncertain_changes( function add_warning (line 180) | fn add_warning(warnings: &mut Vec, name: String, before: String,... function generate_test_report (line 189) | fn generate_test_report(input: &str, metric: Metric, estimations: &[&str... function test_check_command (line 203) | fn test_check_command() { FILE: runtime/runtime-params-estimator/estimator-warehouse/src/db.rs type Db (line 11) | pub(crate) struct Db { method new (line 16) | pub(crate) fn new(conn: Connection) -> Self { method open (line 21) | pub(crate) fn open(path: &Path) -> anyhow::Result { method test (line 204) | pub(crate) fn test() -> Self { method test_with_data (line 219) | pub(crate) fn test_with_data(input: &str) -> Self { method mock_time (line 239) | pub(crate) fn mock_time(&self, dt: NaiveDateTime) { type EstimationRow (line 31) | pub(crate) struct EstimationRow { constant SELECT_ALL (line 64) | const SELECT_ALL: &'static str = method get (line 66) | pub fn get(db: &Db, name: &str, commit: &str, metric: Metric) -> anyho... method get_any_metric (line 72) | pub fn get_any_metric(db: &Db, name: &str, commit: &str) -> anyhow::Re... method insert (line 82) | pub(crate) fn insert(&self, db: &Db) -> anyhow::Result<()> { method select_by_commit_and_metric (line 99) | pub fn select_by_commit_and_metric( method commits_sorted_by_date (line 121) | pub fn commits_sorted_by_date( method count_by_metric (line 136) | pub fn count_by_metric(db: &Db, metric: Metric) -> anyhow::Result { method last_updated (line 144) | pub fn last_updated(db: &Db, metric: Metric) -> anyhow::Result bool { method from_row (line 158) | fn from_row(row: &Row) -> rusqlite::Result { type ParameterRow (line 54) | pub(crate) struct ParameterRow { method count (line 174) | pub fn count(db: &Db) -> anyhow::Result { method latest_protocol_version (line 179) | pub fn latest_protocol_version(db: &Db) -> anyhow::Result> { method condition (line 187) | fn condition(&self) -> &'static str { FILE: runtime/runtime-params-estimator/estimator-warehouse/src/estimate.rs type EstimateConfig (line 7) | pub(crate) struct EstimateConfig { type Mode (line 29) | pub(crate) enum Mode { method iters (line 112) | fn iters(self) -> &'static str { method warmup_iters (line 119) | fn warmup_iters(self) -> &'static str { method cargo_profile (line 126) | fn cargo_profile(self) -> &'static str { method optional_args_time_metric (line 133) | fn optional_args_time_metric(self) -> Vec<&'static str> { function run_estimation (line 36) | pub(crate) fn run_estimation(db: &Db, config: &EstimateConfig) -> anyhow... FILE: runtime/runtime-params-estimator/estimator-warehouse/src/import.rs type ImportConfig (line 7) | pub(crate) struct ImportConfig { type EstimatorOutput (line 20) | struct EstimatorOutput { type EstimationResult (line 26) | struct EstimationResult { method import_json_lines (line 36) | pub(crate) fn import_json_lines(&self, info: &ImportConfig, input: &str)... method import (line 43) | fn import(&self, info: &ImportConfig, line: &str) -> anyhow::Result<()> { function test_import_time (line 72) | fn test_import_time() { function test_import_icount (line 108) | fn test_import_icount() { function assert_import (line 144) | fn assert_import( FILE: runtime/runtime-params-estimator/estimator-warehouse/src/init.sql type estimation (line 1) | CREATE TABLE IF NOT EXISTS estimation ( type parameter (line 13) | CREATE TABLE IF NOT EXISTS parameter ( FILE: runtime/runtime-params-estimator/estimator-warehouse/src/main.rs type CliArgs (line 16) | struct CliArgs { type SubCommand (line 26) | enum SubCommand { function main (line 39) | fn main() -> anyhow::Result<()> { type Metric (line 65) | enum Metric { function generate_stats (line 71) | fn generate_stats(db: &Db) -> anyhow::Result { function test_stats (line 122) | fn test_stats() { function test_full_estimator (line 150) | fn test_full_estimator() -> anyhow::Result<()> { FILE: runtime/runtime-params-estimator/estimator-warehouse/src/zulip.rs constant ZULIP_SERVER (line 8) | const ZULIP_SERVER: &str = "utnet.zulipchat.com"; type ZulipEndpoint (line 10) | pub(crate) struct ZulipEndpoint { method to_user (line 26) | pub(crate) fn to_user(user: u64) -> anyhow::Result { method to_stream (line 34) | pub(crate) fn to_stream(stream: String) -> anyhow::Result { method post (line 42) | pub(crate) fn post(&self, report: &ZulipReport) -> anyhow::Result<()> { method form_url (line 45) | fn form_url() -> anyhow::Result { method send_raw_message (line 52) | fn send_raw_message(&self, msg: &str, topic: &str) -> anyhow::Result<(... type ZulipReport (line 17) | pub(crate) struct ZulipReport { method new (line 69) | pub(crate) fn new(before: String, after: String) -> Self { method add (line 72) | pub(crate) fn add(&mut self, warning: Notice, status: Status) { method changes (line 80) | pub(crate) fn changes(&self) -> &[RelativeChange] { method fmt (line 86) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function format_gas (line 124) | fn format_gas(gas: f64) -> String { function test_format_gas (line 134) | fn test_format_gas() { FILE: runtime/runtime-params-estimator/src/action_costs.rs constant GAS_1_MICROSECOND (line 21) | const GAS_1_MICROSECOND: Gas = 1_000_000_000; constant GAS_1_NANOSECOND (line 22) | const GAS_1_NANOSECOND: Gas = 1_000_000; constant GAS_100_PICOSECONDS (line 23) | const GAS_100_PICOSECONDS: Gas = 100_000; type ActionEstimation (line 50) | struct ActionEstimation { method new (line 113) | fn new(ctx: &mut EstimatorContext) -> Self { method new_sir (line 140) | fn new_sir(ctx: &mut EstimatorContext) -> Self { method predecessor (line 151) | fn predecessor(mut self, predecessor: AccountRequirement) -> Self { method receiver (line 158) | fn receiver(mut self, receiver: AccountRequirement) -> Self { method add_action (line 168) | fn add_action(mut self, action: Action) -> Self { method inner_iters (line 174) | fn inner_iters(mut self, inner_iters: usize) -> Self { method min_outer_iters (line 184) | fn min_outer_iters(mut self, outer_iters: usize) -> Self { method subtract_base (line 191) | fn subtract_base(mut self, yes: bool) -> Self { method min_gas (line 198) | fn min_gas(mut self, gas: Gas) -> Self { method report_percentile (line 210) | fn report_percentile(mut self, rank: f32) -> Self { method verify_cost (line 225) | fn verify_cost(&self, testbed: &mut Testbed) -> GasCost { method apply_cost (line 234) | fn apply_cost(&self, testbed: &mut Testbed) -> GasCost { method verify_actions_cost (line 240) | fn verify_actions_cost(&self, testbed: &mut Testbed, actions: Vec Gas... function create_account_send_not_sir (line 332) | pub(crate) fn create_account_send_not_sir(ctx: &mut EstimatorContext) ->... function create_account_exec (line 339) | pub(crate) fn create_account_exec(ctx: &mut EstimatorContext) -> GasCost { function delete_account_send_sir (line 348) | pub(crate) fn delete_account_send_sir(ctx: &mut EstimatorContext) -> Gas... function delete_account_send_not_sir (line 355) | pub(crate) fn delete_account_send_not_sir(ctx: &mut EstimatorContext) ->... function delete_account_exec (line 362) | pub(crate) fn delete_account_exec(ctx: &mut EstimatorContext) -> GasCost { function deploy_contract_base_send_sir (line 369) | pub(crate) fn deploy_contract_base_send_sir(ctx: &mut EstimatorContext) ... function deploy_contract_base_send_not_sir (line 375) | pub(crate) fn deploy_contract_base_send_not_sir(ctx: &mut EstimatorConte... function deploy_contract_base_exec (line 383) | pub(crate) fn deploy_contract_base_exec(ctx: &mut EstimatorContext) -> G... function deploy_contract_byte_send_sir (line 389) | pub(crate) fn deploy_contract_byte_send_sir(ctx: &mut EstimatorContext) ... function deploy_contract_byte_send_not_sir (line 401) | pub(crate) fn deploy_contract_byte_send_not_sir(ctx: &mut EstimatorConte... function deploy_contract_byte_exec (line 413) | pub(crate) fn deploy_contract_byte_exec(ctx: &mut EstimatorContext) -> G... function function_call_base_send_sir (line 425) | pub(crate) fn function_call_base_send_sir(ctx: &mut EstimatorContext) ->... function function_call_base_send_not_sir (line 431) | pub(crate) fn function_call_base_send_not_sir(ctx: &mut EstimatorContext... function function_call_base_exec (line 437) | pub(crate) fn function_call_base_exec(ctx: &mut EstimatorContext) -> Gas... function function_call_byte_send_sir (line 443) | pub(crate) fn function_call_byte_send_sir(ctx: &mut EstimatorContext) ->... function function_call_byte_send_not_sir (line 454) | pub(crate) fn function_call_byte_send_not_sir(ctx: &mut EstimatorContext... function function_call_byte_exec (line 465) | pub(crate) fn function_call_byte_exec(ctx: &mut EstimatorContext) -> Gas... function transfer_send_sir (line 476) | pub(crate) fn transfer_send_sir(ctx: &mut EstimatorContext) -> GasCost { function transfer_send_not_sir (line 480) | pub(crate) fn transfer_send_not_sir(ctx: &mut EstimatorContext) -> GasCo... function transfer_exec (line 484) | pub(crate) fn transfer_exec(ctx: &mut EstimatorContext) -> GasCost { function pledge_send_sir (line 488) | pub(crate) fn pledge_send_sir(ctx: &mut EstimatorContext) -> GasCost { function pledge_send_not_sir (line 495) | pub(crate) fn pledge_send_not_sir(ctx: &mut EstimatorContext) -> GasCost { function pledge_exec (line 502) | pub(crate) fn pledge_exec(ctx: &mut EstimatorContext) -> GasCost { function add_full_access_key_send_sir (line 510) | pub(crate) fn add_full_access_key_send_sir(ctx: &mut EstimatorContext) -... function add_full_access_key_send_not_sir (line 516) | pub(crate) fn add_full_access_key_send_not_sir(ctx: &mut EstimatorContex... function add_full_access_key_exec (line 522) | pub(crate) fn add_full_access_key_exec(ctx: &mut EstimatorContext) -> Ga... function add_function_call_key_base_send_sir (line 529) | pub(crate) fn add_function_call_key_base_send_sir(ctx: &mut EstimatorCon... function add_function_call_key_base_send_not_sir (line 535) | pub(crate) fn add_function_call_key_base_send_not_sir(ctx: &mut Estimato... function add_function_call_key_base_exec (line 541) | pub(crate) fn add_function_call_key_base_exec(ctx: &mut EstimatorContext... function add_function_call_key_byte_send_sir (line 548) | pub(crate) fn add_function_call_key_byte_send_sir(ctx: &mut EstimatorCon... function add_function_call_key_byte_send_not_sir (line 559) | pub(crate) fn add_function_call_key_byte_send_not_sir(ctx: &mut Estimato... function add_function_call_key_byte_exec (line 570) | pub(crate) fn add_function_call_key_byte_exec(ctx: &mut EstimatorContext... function delete_key_send_sir (line 583) | pub(crate) fn delete_key_send_sir(ctx: &mut EstimatorContext) -> GasCost { function delete_key_send_not_sir (line 587) | pub(crate) fn delete_key_send_not_sir(ctx: &mut EstimatorContext) -> Gas... function delete_key_exec (line 591) | pub(crate) fn delete_key_exec(ctx: &mut EstimatorContext) -> GasCost { function new_action_receipt_send_sir (line 606) | pub(crate) fn new_action_receipt_send_sir(ctx: &mut EstimatorContext) ->... function new_action_receipt_send_not_sir (line 613) | pub(crate) fn new_action_receipt_send_not_sir(ctx: &mut EstimatorContext... function new_action_receipt_exec (line 620) | pub(crate) fn new_action_receipt_exec(ctx: &mut EstimatorContext) -> Gas... function delegate_send_sir (line 627) | pub(crate) fn delegate_send_sir(ctx: &mut EstimatorContext) -> GasCost { function delegate_send_not_sir (line 645) | pub(crate) fn delegate_send_not_sir(ctx: &mut EstimatorContext) -> GasCo... function delegate_exec (line 662) | pub(crate) fn delegate_exec(ctx: &mut EstimatorContext) -> GasCost { function create_account_action (line 680) | fn create_account_action() -> Action { function create_transfer_action (line 684) | fn create_transfer_action() -> Action { function pledge_action (line 688) | fn pledge_action() -> Action { function delete_account_action (line 695) | fn delete_account_action() -> Action { function deploy_action (line 701) | fn deploy_action(size: ActionSize) -> Action { function add_full_access_key_action (line 707) | fn add_full_access_key_action() -> Action { function add_fn_access_key_action (line 714) | fn add_fn_access_key_action(size: ActionSize) -> Action { function delete_key_action (line 732) | fn delete_key_action() -> Action { function transfer_action (line 738) | fn transfer_action() -> Action { function function_call_action (line 742) | fn function_call_action(size: ActionSize) -> Action { function empty_delegate_action (line 755) | pub(crate) fn empty_delegate_action( type ActionSize (line 783) | enum ActionSize { method function_call_payload (line 789) | fn function_call_payload(self) -> u64 { method key_methods_list (line 799) | fn key_methods_list(self) -> u64 { method deploy_contract (line 807) | fn deploy_contract(self) -> u64 { function test_deploy_contract_tx_max_size (line 827) | fn test_deploy_contract_tx_max_size() { FILE: runtime/runtime-params-estimator/src/config.rs type GasMetric (line 7) | pub enum GasMetric { type Config (line 16) | pub struct Config { FILE: runtime/runtime-params-estimator/src/cost.rs type Cost (line 9) | pub enum Cost { method all (line 705) | pub fn all() -> impl Iterator { type Error (line 711) | type Error = (); method try_from (line 713) | fn try_from(d: u8) -> Result { method fmt (line 725) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 731) | type Err = anyhow::Error; method from_str (line 733) | fn from_str(s: &str) -> Result { FILE: runtime/runtime-params-estimator/src/cost_table.rs type CostTable (line 14) | pub struct CostTable { method add (line 24) | pub(crate) fn add(&mut self, cost: Cost, value: Gas) { method get (line 28) | pub(crate) fn get(&self, cost: Cost) -> Option { method diff (line 31) | pub fn diff(&self, other: &CostTable) -> CostTableDiff { method fmt (line 65) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type CostTableDiff (line 19) | pub struct CostTableDiff { method fmt (line 77) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 43) | type Err = anyhow::Error; method from_str (line 45) | fn from_str(s: &str) -> Result { function format_gas (line 98) | pub(crate) fn format_gas(mut n: Gas) -> String { function test_separate_thousands (line 110) | fn test_separate_thousands() { FILE: runtime/runtime-params-estimator/src/costs_to_runtime_config.rs function costs_to_runtime_config (line 19) | pub fn costs_to_runtime_config(cost_table: &CostTable) -> anyhow::Result... function runtime_fees_config (line 45) | fn runtime_fees_config(cost_table: &CostTable) -> anyhow::Result anyhow::Result Option { FILE: runtime/runtime-params-estimator/src/estimator_context.rs type EstimatorContext (line 30) | pub(crate) struct EstimatorContext<'c> { type CachedCosts (line 36) | pub(crate) struct CachedCosts { function new (line 53) | pub(crate) fn new(config: &'c Config) -> Self { function testbed (line 58) | pub(crate) fn testbed(&mut self) -> Testbed<'_> { function make_apply_state (line 118) | fn make_apply_state(store: Store) -> ApplyState { function generate_deltas (line 170) | fn generate_deltas(&self, flat_storage: &FlatStorage) { type Testbed (line 209) | pub(crate) struct Testbed<'c> { function transaction_builder (line 223) | pub(crate) fn transaction_builder(&mut self) -> &mut TransactionBuilder { function measure_blocks (line 235) | pub(crate) fn measure_blocks( function process_block (line 268) | pub(crate) fn process_block(&mut self, block: Vec, bl... function trie_caching_storage (line 275) | pub(crate) fn trie_caching_storage(&mut self) -> TrieCachingStorage { function clear_caches (line 289) | pub(crate) fn clear_caches(&mut self) { function process_block_impl (line 306) | fn process_block_impl( function process_blocks_until_no_receipts (line 348) | fn process_blocks_until_no_receipts(&mut self, allow_failures: bool) -> ... function verify_transaction (line 362) | pub(crate) fn verify_transaction( function apply_action_receipt (line 392) | pub(crate) fn apply_action_receipt(&mut self, receipt: &Receipt, metric:... function trie (line 422) | fn trie(&mut self) -> unc_store::Trie { function fs_fake_block_height_to_hash (line 439) | fn fs_fake_block_height_to_hash(height: u64) -> CryptoHash { FILE: runtime/runtime-params-estimator/src/estimator_params.rs constant GAS_IN_NS (line 13) | pub(crate) const GAS_IN_NS: Ratio = Ratio::new_raw(1_000_000, 1); constant GAS_IN_INSTR (line 16) | pub(crate) const GAS_IN_INSTR: Ratio = Ratio::new_raw(1_000_000, 8); constant IO_READ_BYTE_COST (line 22) | pub(crate) const IO_READ_BYTE_COST: Ratio = Ratio::new_raw(0, 1); constant IO_WRITE_BYTE_COST (line 23) | pub(crate) const IO_WRITE_BYTE_COST: Ratio = Ratio::new_raw(0, 1); function sha256_cost (line 30) | pub(crate) fn sha256_cost(metric: GasMetric, repeats: u64) -> GasCost { function exec_sha256 (line 36) | fn exec_sha256(repeats: u64) -> i64 { function measure_operation (line 50) | fn measure_operation i64>(count: u64, metric: GasMetri... FILE: runtime/runtime-params-estimator/src/function_call.rs function contract_loading_cost (line 17) | pub(crate) fn contract_loading_cost(config: &Config) -> (GasCost, GasCos... function make_many_methods_contract (line 39) | fn make_many_methods_contract(method_count: i32) -> ContractCode { function compute_function_call_cost (line 60) | fn compute_function_call_cost( FILE: runtime/runtime-params-estimator/src/gas_cost.rs type GasCost (line 21) | pub(crate) struct GasCost { method zero (line 50) | pub(crate) fn zero() -> GasCost { method measure (line 54) | pub(crate) fn measure(metric: GasMetric) -> GasClock { method from_gas (line 64) | pub(crate) fn from_gas(raw: Ratio, metric: GasMetric) -> GasCost { method min_gas (line 80) | pub(crate) fn min_gas(mut self, gas: Gas) -> Self { method is_uncertain (line 98) | pub(crate) fn is_uncertain(&self) -> bool { method uncertain_message (line 101) | pub(crate) fn uncertain_message(&self) -> Option { method set_uncertain (line 106) | pub(crate) fn set_uncertain(&mut self, reason: &'static str) { method least_squares_method_gas_cost (line 118) | pub(crate) fn least_squares_method_gas_cost( method saturating_sub (line 153) | pub(crate) fn saturating_sub(&self, rhs: &Self, tolerance: &NonNegativ... method saturating_sub_no_uncertain_check (line 164) | fn saturating_sub_no_uncertain_check(&self, rhs: &Self) -> Self { method combine_uncertain (line 182) | fn combine_uncertain(&mut self, rhs: &Self) { method to_json (line 192) | pub fn to_json(&self) -> serde_json::Value { method fmt (line 380) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 403) | type Output = GasCost; method add (line 405) | fn add(mut self, rhs: GasCost) -> Self::Output { method add_assign (line 422) | fn add_assign(&mut self, rhs: GasCost) { method sum (line 428) | fn sum>(iter: I) -> Self { type Output (line 438) | type Output = GasCost; method sub (line 441) | fn sub(self, rhs: GasCost) -> Self::Output { type Output (line 447) | type Output = GasCost; method mul (line 449) | fn mul(mut self, rhs: u64) -> Self::Output { type Output (line 463) | type Output = GasCost; method div (line 465) | fn div(mut self, rhs: u64) -> Self::Output { method to_gas (line 499) | pub(crate) fn to_gas(&self) -> Gas { method new_time_based (line 545) | pub(crate) fn new_time_based(time_ns: impl Into>) -> Self { method new_icount_based (line 550) | pub(crate) fn new_icount_based( type GasClock (line 38) | pub(crate) struct GasClock { method elapsed (line 361) | pub(crate) fn elapsed(self) -> GasCost { type MeasurementUncertainty (line 44) | struct MeasurementUncertainty { type LeastSquaresTolerance (line 220) | pub(crate) struct LeastSquaresTolerance { method base_rel_nn_tolerance (line 236) | pub(crate) fn base_rel_nn_tolerance(mut self, rel_tolerance: f64) -> S... method factor_rel_nn_tolerance (line 241) | pub(crate) fn factor_rel_nn_tolerance(mut self, rel_tolerance: f64) ->... method base_abs_nn_tolerance (line 246) | pub(crate) fn base_abs_nn_tolerance(mut self, abs_tolerance: Gas) -> S... method factor_abs_nn_tolerance (line 252) | pub(crate) fn factor_abs_nn_tolerance(mut self, abs_tolerance: Gas) ->... method tolerates (line 270) | fn tolerates(&self, pos: &(GasCost, GasCost), neg: &(GasCost, GasCost)... method default (line 226) | fn default() -> Self { type NonNegativeTolerance (line 260) | pub(crate) enum NonNegativeTolerance { constant PER_MILLE (line 277) | pub(crate) const PER_MILLE: NonNegativeTolerance = method tolerates (line 280) | fn tolerates(&self, pos: &GasCost, neg: &GasCost) -> bool { function least_squares_method_gas_cost_pos_neg (line 298) | fn least_squares_method_gas_cost_pos_neg( function saturating_sub (line 478) | fn saturating_sub(a: Ratio, b: Ratio) -> Ratio { method partial_cmp (line 487) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 493) | fn cmp(&self, other: &Self) -> Ordering { function check_uncertainty (line 523) | fn check_uncertainty( function check_least_squares_method_gas_cost_pos_neg (line 535) | fn check_least_squares_method_gas_cost_pos_neg( function abs_tolerance (line 566) | fn abs_tolerance(base: Gas, factor: Gas) -> LeastSquaresTolerance { function rel_tolerance (line 569) | fn rel_tolerance(base: f64, factor: f64) -> LeastSquaresTolerance { function least_squares_method_gas_cost_time_ok (line 574) | fn least_squares_method_gas_cost_time_ok() { function least_squares_method_gas_cost_time_below_ns (line 594) | fn least_squares_method_gas_cost_time_below_ns() { function least_squares_method_gas_cost_time_neg_base (line 608) | fn least_squares_method_gas_cost_time_neg_base() { function least_squares_method_gas_cost_time_neg_factor (line 630) | fn least_squares_method_gas_cost_time_neg_factor() { function least_squares_method_gas_cost_icount_ok (line 652) | fn least_squares_method_gas_cost_icount_ok() { function least_squares_method_gas_cost_icount_neg_base (line 673) | fn least_squares_method_gas_cost_icount_neg_base() { function least_squares_method_gas_cost_icount_neg_factor (line 705) | fn least_squares_method_gas_cost_icount_neg_factor() { function least_squares_method_gas_cost_icount_mixed_neg_pos (line 737) | fn least_squares_method_gas_cost_icount_mixed_neg_pos() { FILE: runtime/runtime-params-estimator/src/gas_metering.rs function gas_metering_cost (line 13) | pub(crate) fn gas_metering_cost(config: &Config) -> (GasCost, GasCost) { function make_deeply_nested_blocks_contact (line 45) | fn make_deeply_nested_blocks_contact(depth: i32) -> ContractCode { function make_simple_loop_contact (line 91) | fn make_simple_loop_contact(depth: i32) -> ContractCode { function compute_gas_metering_cost (line 124) | pub(crate) fn compute_gas_metering_cost(config: &Config, contract: &Cont... FILE: runtime/runtime-params-estimator/src/least_squares.rs function least_squares_method (line 6) | pub(crate) fn least_squares_method( function time_measurement_least_squares (line 43) | pub(crate) fn time_measurement_least_squares( function qemu_measurement_least_squares (line 62) | pub(crate) fn qemu_measurement_least_squares( function split_pos_neg (line 108) | fn split_pos_neg(num: Ratio) -> (Ratio, Ratio) { function check_least_squares_method (line 121) | fn check_least_squares_method(xs: &[u64], ys: &[u64], expected: (f64, f6... function test_least_squares_method_perfect_fit (line 132) | fn test_least_squares_method_perfect_fit() { function test_least_squares_method_imperfect_fit (line 144) | fn test_least_squares_method_imperfect_fit() { function test_large_numbers (line 156) | fn test_large_numbers() { FILE: runtime/runtime-params-estimator/src/lib.rs function run (line 274) | pub fn run(config: Config) -> CostTable { function action_receipt_creation (line 317) | fn action_receipt_creation(ctx: &mut EstimatorContext) -> GasCost { function action_sir_receipt_creation (line 336) | fn action_sir_receipt_creation(ctx: &mut EstimatorContext) -> GasCost { function action_transfer (line 353) | fn action_transfer(ctx: &mut EstimatorContext) -> GasCost { function action_create_account (line 372) | fn action_create_account(ctx: &mut EstimatorContext) -> GasCost { function action_delete_account (line 396) | fn action_delete_account(ctx: &mut EstimatorContext) -> GasCost { function action_add_full_access_key (line 417) | fn action_add_full_access_key(ctx: &mut EstimatorContext) -> GasCost { function action_add_function_access_key_base (line 432) | fn action_add_function_access_key_base(ctx: &mut EstimatorContext) -> Ga... function action_add_function_access_key_per_byte (line 459) | fn action_add_function_access_key_per_byte(ctx: &mut EstimatorContext) -... function add_key_transaction (line 509) | fn add_key_transaction( function action_delete_key (line 526) | fn action_delete_key(ctx: &mut EstimatorContext) -> GasCost { function action_pledge (line 545) | fn action_pledge(ctx: &mut EstimatorContext) -> GasCost { function action_deploy_contract_base (line 565) | fn action_deploy_contract_base(ctx: &mut EstimatorContext) -> GasCost { function action_deploy_contract_per_byte (line 578) | fn action_deploy_contract_per_byte(ctx: &mut EstimatorContext) -> GasCost { function deploy_contract_cost (line 625) | fn deploy_contract_cost( function contract_compile_base (line 658) | fn contract_compile_base(ctx: &mut EstimatorContext) -> GasCost { function contract_compile_bytes (line 661) | fn contract_compile_bytes(ctx: &mut EstimatorContext) -> GasCost { function compilation_cost_base_per_byte (line 664) | fn compilation_cost_base_per_byte(ctx: &mut EstimatorContext) -> (GasCos... function contract_compile_base_v2 (line 675) | fn contract_compile_base_v2(ctx: &mut EstimatorContext) -> GasCost { function contract_compile_bytes_v2 (line 678) | fn contract_compile_bytes_v2(ctx: &mut EstimatorContext) -> GasCost { function contract_compile_base_per_byte_v2 (line 681) | fn contract_compile_base_per_byte_v2(ctx: &mut EstimatorContext) -> (Gas... function pure_deploy_bytes (line 710) | fn pure_deploy_bytes(ctx: &mut EstimatorContext) -> GasCost { function action_function_call_base (line 724) | fn action_function_call_base(ctx: &mut EstimatorContext) -> GasCost { function action_function_call_per_byte (line 736) | fn action_function_call_per_byte(ctx: &mut EstimatorContext) -> GasCost { function inner_action_function_call_per_byte (line 755) | fn inner_action_function_call_per_byte(ctx: &mut EstimatorContext, arg_l... function contract_loading_base (line 766) | fn contract_loading_base(ctx: &mut EstimatorContext) -> GasCost { function contract_loading_per_byte (line 770) | fn contract_loading_per_byte(ctx: &mut EstimatorContext) -> GasCost { function contract_loading_base_per_byte (line 774) | fn contract_loading_base_per_byte(ctx: &mut EstimatorContext) -> (GasCos... function function_call_per_storage_byte (line 783) | fn function_call_per_storage_byte(ctx: &mut EstimatorContext) -> GasCost { function data_receipt_creation_base (line 798) | fn data_receipt_creation_base(ctx: &mut EstimatorContext) -> GasCost { function data_receipt_creation_per_byte (line 812) | fn data_receipt_creation_per_byte(ctx: &mut EstimatorContext) -> GasCost { function action_delegate_base (line 827) | fn action_delegate_base(ctx: &mut EstimatorContext) -> GasCost { function host_function_call (line 854) | fn host_function_call(ctx: &mut EstimatorContext) -> GasCost { function wasm_instruction (line 864) | fn wasm_instruction(ctx: &mut EstimatorContext) -> GasCost { function read_memory_base (line 917) | fn read_memory_base(ctx: &mut EstimatorContext) -> GasCost { function read_memory_byte (line 920) | fn read_memory_byte(ctx: &mut EstimatorContext) -> GasCost { function write_memory_base (line 924) | fn write_memory_base(ctx: &mut EstimatorContext) -> GasCost { function write_memory_byte (line 927) | fn write_memory_byte(ctx: &mut EstimatorContext) -> GasCost { function read_register_base (line 931) | fn read_register_base(ctx: &mut EstimatorContext) -> GasCost { function read_register_byte (line 934) | fn read_register_byte(ctx: &mut EstimatorContext) -> GasCost { function write_register_base (line 938) | fn write_register_base(ctx: &mut EstimatorContext) -> GasCost { function write_register_byte (line 941) | fn write_register_byte(ctx: &mut EstimatorContext) -> GasCost { function log_base (line 945) | fn log_base(ctx: &mut EstimatorContext) -> GasCost { function log_byte (line 948) | fn log_byte(ctx: &mut EstimatorContext) -> GasCost { function utf8_decoding_base (line 953) | fn utf8_decoding_base(ctx: &mut EstimatorContext) -> GasCost { function utf8_decoding_byte (line 956) | fn utf8_decoding_byte(ctx: &mut EstimatorContext) -> GasCost { function utf16_decoding_base (line 967) | fn utf16_decoding_base(ctx: &mut EstimatorContext) -> GasCost { function utf16_decoding_byte (line 970) | fn utf16_decoding_byte(ctx: &mut EstimatorContext) -> GasCost { function sha256_base (line 982) | fn sha256_base(ctx: &mut EstimatorContext) -> GasCost { function sha256_byte (line 985) | fn sha256_byte(ctx: &mut EstimatorContext) -> GasCost { function keccak256_base (line 989) | fn keccak256_base(ctx: &mut EstimatorContext) -> GasCost { function keccak256_byte (line 992) | fn keccak256_byte(ctx: &mut EstimatorContext) -> GasCost { function keccak512_base (line 996) | fn keccak512_base(ctx: &mut EstimatorContext) -> GasCost { function keccak512_byte (line 999) | fn keccak512_byte(ctx: &mut EstimatorContext) -> GasCost { function ripemd160_base (line 1003) | fn ripemd160_base(ctx: &mut EstimatorContext) -> GasCost { function ripemd160_block (line 1006) | fn ripemd160_block(ctx: &mut EstimatorContext) -> GasCost { function ecrecover_base (line 1010) | fn ecrecover_base(ctx: &mut EstimatorContext) -> GasCost { function ed25519_verify_base (line 1014) | fn ed25519_verify_base(ctx: &mut EstimatorContext) -> GasCost { function ed25519_verify_byte (line 1022) | fn ed25519_verify_byte(ctx: &mut EstimatorContext) -> GasCost { function alt_bn128g1_multiexp_base (line 1034) | fn alt_bn128g1_multiexp_base(ctx: &mut EstimatorContext) -> GasCost { function alt_bn128g1_multiexp_element (line 1037) | fn alt_bn128g1_multiexp_element(ctx: &mut EstimatorContext) -> GasCost { function alt_bn128g1_sum_base (line 1041) | fn alt_bn128g1_sum_base(ctx: &mut EstimatorContext) -> GasCost { function alt_bn128g1_sum_element (line 1044) | fn alt_bn128g1_sum_element(ctx: &mut EstimatorContext) -> GasCost { function alt_bn128_pairing_check_base (line 1048) | fn alt_bn128_pairing_check_base(ctx: &mut EstimatorContext) -> GasCost { function alt_bn128_pairing_check_element (line 1051) | fn alt_bn128_pairing_check_element(ctx: &mut EstimatorContext) -> GasCost { function storage_has_key_base (line 1060) | fn storage_has_key_base(ctx: &mut EstimatorContext) -> GasCost { function storage_has_key_byte (line 1069) | fn storage_has_key_byte(ctx: &mut EstimatorContext) -> GasCost { function storage_read_base (line 1079) | fn storage_read_base(ctx: &mut EstimatorContext) -> GasCost { function storage_read_key_byte (line 1095) | fn storage_read_key_byte(ctx: &mut EstimatorContext) -> GasCost { function storage_read_value_byte (line 1104) | fn storage_read_value_byte(ctx: &mut EstimatorContext) -> GasCost { function storage_write_base (line 1114) | fn storage_write_base(ctx: &mut EstimatorContext) -> GasCost { function storage_write_key_byte (line 1117) | fn storage_write_key_byte(ctx: &mut EstimatorContext) -> GasCost { function storage_write_value_byte (line 1125) | fn storage_write_value_byte(ctx: &mut EstimatorContext) -> GasCost { function storage_write_evicted_byte (line 1133) | fn storage_write_evicted_byte(ctx: &mut EstimatorContext) -> GasCost { function storage_remove_base (line 1143) | fn storage_remove_base(ctx: &mut EstimatorContext) -> GasCost { function storage_remove_key_byte (line 1152) | fn storage_remove_key_byte(ctx: &mut EstimatorContext) -> GasCost { function storage_remove_ret_value_byte (line 1161) | fn storage_remove_ret_value_byte(ctx: &mut EstimatorContext) -> GasCost { function touching_trie_node (line 1171) | fn touching_trie_node(ctx: &mut EstimatorContext) -> GasCost { function touching_trie_node_write (line 1177) | fn touching_trie_node_write(ctx: &mut EstimatorContext) -> GasCost { function read_cached_trie_node (line 1192) | fn read_cached_trie_node(ctx: &mut EstimatorContext) -> GasCost { function apply_block_cost (line 1204) | fn apply_block_cost(ctx: &mut EstimatorContext) -> GasCost { function gas_metering_base (line 1240) | fn gas_metering_base(ctx: &mut EstimatorContext) -> GasCost { function gas_metering_op (line 1244) | fn gas_metering_op(ctx: &mut EstimatorContext) -> GasCost { function rocks_db_insert_value_byte (line 1248) | fn rocks_db_insert_value_byte(ctx: &mut EstimatorContext) -> GasCost { function rocks_db_read_value_byte (line 1254) | fn rocks_db_read_value_byte(ctx: &mut EstimatorContext) -> GasCost { function gas_metering (line 1260) | fn gas_metering(ctx: &mut EstimatorContext) -> (GasCost, GasCost) { function cpu_benchmark_sha256 (line 1269) | fn cpu_benchmark_sha256(ctx: &mut EstimatorContext) -> GasCost { function one_cpu_instruction (line 1275) | fn one_cpu_instruction(ctx: &mut EstimatorContext) -> GasCost { function one_nanosecond (line 1281) | fn one_nanosecond(ctx: &mut EstimatorContext) -> GasCost { FILE: runtime/runtime-params-estimator/src/main.rs type CliArgs (line 25) | struct CliArgs { type CliSubCmd (line 110) | enum CliSubCmd { function main (line 114) | fn main() -> anyhow::Result<()> { function run_estimation (line 144) | fn run_estimation(cli_args: CliArgs) -> anyhow::Result> { function main_docker (line 313) | fn main_docker( function docker_image (line 434) | fn docker_image() -> Result { function read_costs_table (line 453) | fn read_costs_table(path: &Path) -> anyhow::Result { function exec (line 462) | fn exec(command: &str) -> anyhow::Result { function project_root (line 477) | fn project_root() -> PathBuf { function sanity_check (line 499) | fn sanity_check() { FILE: runtime/runtime-params-estimator/src/qemu.rs constant CATCH_BASE (line 12) | const CATCH_BASE: u32 = 0xcafebabe; constant HYPERCALL_START_COUNTING (line 13) | const HYPERCALL_START_COUNTING: u32 = 0; constant HYPERCALL_STOP_AND_GET_INSTRUCTIONS_EXECUTED (line 14) | const HYPERCALL_STOP_AND_GET_INSTRUCTIONS_EXECUTED: u32 = 1; constant HYPERCALL_GET_BYTES_READ (line 15) | const HYPERCALL_GET_BYTES_READ: u32 = 2; constant HYPERCALL_GET_BYTES_WRITTEN (line 16) | const HYPERCALL_GET_BYTES_WRITTEN: u32 = 3; type QemuMeasurement (line 19) | pub(crate) struct QemuMeasurement { method start_count_instructions (line 26) | pub(crate) fn start_count_instructions() { method end_count_instructions (line 30) | pub(crate) fn end_count_instructions() -> QemuMeasurement { method zero (line 38) | pub(crate) fn zero() -> Self { type Output (line 115) | type Output = QemuMeasurement; method div (line 117) | fn div(mut self, rhs: u64) -> Self::Output { type Output (line 126) | type Output = QemuMeasurement; method add (line 128) | fn add(mut self, rhs: QemuMeasurement) -> Self::Output { type Output (line 137) | type Output = QemuMeasurement; method mul (line 139) | fn mul(self, rhs: u64) -> Self::Output { function hypercall (line 42) | fn hypercall(index: u32) -> u64 { type QemuCommandBuilder (line 52) | pub struct QemuCommandBuilder { method started (line 61) | pub fn started(mut self, yes: bool) -> Self { method print_on_every_close (line 66) | pub fn print_on_every_close(mut self, yes: bool) -> Self { method count_per_thread (line 71) | pub fn count_per_thread(mut self, yes: bool) -> Self { method plugin_log (line 77) | pub fn plugin_log(mut self, yes: bool) -> Self { method build (line 83) | pub fn build(&self, inner_cmd: &str) -> anyhow::Result { FILE: runtime/runtime-params-estimator/src/replay.rs type ReplayCmd (line 17) | pub(crate) struct ReplayCmd { method run (line 43) | pub(crate) fn run(&self, out: &mut dyn Write) -> anyhow::Result<()> { method run_on_input (line 48) | fn run_on_input(&self, input: impl io::BufRead, out: &mut dyn Write) -... method build_visitor (line 60) | fn build_visitor(&self) -> Box { type ReplayMode (line 27) | pub(crate) enum ReplayMode { type Visitor (line 98) | trait Visitor { method eval_line (line 106) | fn eval_line(&mut self, out: &mut dyn Write, line: &str) -> anyhow::Re... method eval_storage_op (line 148) | fn eval_storage_op( method eval_db_op (line 160) | fn eval_db_op( method eval_state_db_op (line 177) | fn eval_state_db_op( method eval_label (line 190) | fn eval_label( method flush (line 206) | fn flush(&mut self, out: &mut dyn Write) -> anyhow::Result<()> { function extract_key_values (line 212) | fn extract_key_values<'a>( constant INPUT_TRACES (line 237) | const INPUT_TRACES: &[&str] = &[ constant SYNTHETIC_TRACE (line 245) | const SYNTHETIC_TRACE: &str = r#" function test_cache_stats (line 275) | fn test_cache_stats() { function test_accounting_cache_stats (line 280) | fn test_accounting_cache_stats() { function test_chunk_db_stats (line 285) | fn test_chunk_db_stats() { function test_gas_charges (line 290) | fn test_gas_charges() { function test_receipt_cache_stats (line 295) | fn test_receipt_cache_stats() { function test_receipt_db_stats (line 300) | fn test_receipt_db_stats() { function check_replay_mode (line 305) | fn check_replay_mode(mode: ReplayMode) { function test_account_filter_cache_stats (line 322) | fn test_account_filter_cache_stats() { function test_account_filter_receipt_cache_stats (line 327) | fn test_account_filter_receipt_cache_stats() { function test_account_filter_receipt_db_stats (line 332) | fn test_account_filter_receipt_db_stats() { function check_account_filter (line 337) | fn check_account_filter(mode: ReplayMode) { FILE: runtime/runtime-params-estimator/src/replay/cache_stats.rs type CacheStats (line 7) | pub(super) struct CacheStats { method eval_db_op (line 47) | pub(super) fn eval_db_op(&mut self, op: &str, size: Option) { method eval_storage_op (line 64) | pub(super) fn eval_storage_op( method eval_generic_label (line 127) | pub(super) fn eval_generic_label(&mut self, dict: &BTreeMap<&str, &str... method print (line 141) | pub(super) fn print(&self, out: &mut dyn Write, indent: usize) -> anyh... method print_cache_rate (line 200) | fn print_cache_rate( FILE: runtime/runtime-params-estimator/src/replay/fold_db_ops.rs constant EMPTY_STATE_ERR (line 6) | const EMPTY_STATE_ERR: &str = "states must never be empty"; type FoldDbOps (line 9) | pub(super) struct FoldDbOps { method new (line 57) | pub(super) fn new() -> Self { method chunks (line 71) | pub(super) fn chunks(self) -> Self { method receipts (line 76) | pub(super) fn receipts(self) -> Self { method fold (line 82) | pub(super) fn fold(mut self, anchor: impl Into, printed_fields... method print_top_level (line 88) | pub(super) fn print_top_level(mut self, yes: bool) -> Self { method with_cache_stats (line 93) | pub(super) fn with_cache_stats(mut self) -> Self { method account_filter (line 99) | pub(super) fn account_filter(mut self, account: Option) -> Self { method state (line 108) | fn state(&mut self) -> &mut State { method push_state (line 112) | fn push_state(&mut self, indent: usize) { method pop_state (line 118) | fn pop_state(&mut self) -> State { method skip_eval (line 126) | fn skip_eval(&mut self, trace_indent: usize) -> bool { method update_state (line 133) | fn update_state(&mut self, out: &mut dyn Write, indent: usize) -> anyh... type State (line 47) | struct State { method print (line 266) | fn print(self, out: &mut dyn Write) -> anyhow::Result<()> { method eval_db_op (line 148) | fn eval_db_op( method eval_storage_op (line 193) | fn eval_storage_op( method eval_label (line 210) | fn eval_label( method flush (line 256) | fn flush(&mut self, out: &mut dyn Write) -> anyhow::Result<()> { FILE: runtime/runtime-params-estimator/src/replay/gas_charges.rs type ChargedVsFree (line 8) | pub(super) struct ChargedVsFree { method eval_db_op (line 19) | fn eval_db_op( method eval_storage_op (line 42) | fn eval_storage_op( method eval_label (line 54) | fn eval_label( method flush (line 67) | fn flush(&mut self, out: &mut dyn Write) -> anyhow::Result<()> { FILE: runtime/runtime-params-estimator/src/rocksdb.rs type RocksDBTestConfig (line 9) | pub struct RocksDBTestConfig { constant SETUP_PRANDOM_SEED (line 66) | const SETUP_PRANDOM_SEED: u64 = 0x1d9f5711fc8b0117; constant ANOTHER_PRANDOM_SEED (line 67) | const ANOTHER_PRANDOM_SEED: u64 = 0x0465b6733af62af0; constant INPUT_DATA_BUFFER_SIZE (line 68) | const INPUT_DATA_BUFFER_SIZE: usize = (bytesize::MIB as usize) - 1; function rocks_db_inserts_cost (line 70) | pub(crate) fn rocks_db_inserts_cost(config: &Config) -> GasCost { function rocks_db_read_cost (line 126) | pub(crate) fn rocks_db_read_cost(config: &Config) -> GasCost { function sequential_inserts (line 178) | fn sequential_inserts( function prandom_inserts (line 205) | fn prandom_inserts( function input_data (line 229) | fn input_data(db_config: &RocksDBTestConfig, data_size: usize) -> Vec { function backup_input_data (line 242) | fn backup_input_data(data: &[u8]) { function new_test_db (line 257) | fn new_test_db( function print_levels_info (line 307) | fn print_levels_info(db: &DB) { FILE: runtime/runtime-params-estimator/src/transaction_builder.rs type TransactionBuilder (line 14) | pub(crate) struct TransactionBuilder { method new (line 39) | pub(crate) fn new(accounts: Vec) -> TransactionBuilder { method transaction_from_actions (line 49) | pub(crate) fn transaction_from_actions( method transaction_from_function_call (line 68) | pub(crate) fn transaction_from_function_call( method account_insert_key (line 86) | pub(crate) fn account_insert_key( method rng (line 103) | pub(crate) fn rng(&mut self) -> ThreadRng { method account (line 107) | pub(crate) fn account(&mut self, account_index: u64) -> AccountId { method random_account (line 110) | pub(crate) fn random_account(&mut self) -> AccountId { method random_unused_account (line 114) | pub(crate) fn random_unused_account(&mut self) -> AccountId { method random_account_pair (line 122) | pub(crate) fn random_account_pair(&mut self) -> (AccountId, AccountId) { method account_by_requirement (line 132) | pub(crate) fn account_by_requirement( method nonce (line 147) | fn nonce(&mut self, account_id: &AccountId) -> u64 { type AccountRequirement (line 23) | pub(crate) enum AccountRequirement { FILE: runtime/runtime-params-estimator/src/trie.rs function write_node (line 12) | pub(crate) fn write_node( function read_node_from_accounting_cache (line 71) | pub(crate) fn read_node_from_accounting_cache(testbed: &mut Testbed) -> ... function read_node_from_accounting_cache_ext (line 192) | fn read_node_from_accounting_cache_ext( function read_raw_nodes_from_storage (line 294) | fn read_raw_nodes_from_storage( FILE: runtime/runtime-params-estimator/src/utils.rs function read_resource (line 16) | pub fn read_resource(path: &str) -> Vec { function clear_linux_page_cache (line 26) | pub fn clear_linux_page_cache() -> std::io::Result<()> { function transaction_cost (line 34) | pub(crate) fn transaction_cost( function transaction_cost_ext (line 44) | pub(crate) fn transaction_cost_ext( function overhead_per_measured_block (line 90) | pub(crate) fn overhead_per_measured_block( function fn_cost (line 100) | pub(crate) fn fn_cost( function fn_cost_count (line 118) | pub(crate) fn fn_cost_count( function noop_function_call_cost (line 140) | pub(crate) fn noop_function_call_cost(ctx: &mut EstimatorContext) -> Gas... function fn_cost_with_setup (line 164) | pub(crate) fn fn_cost_with_setup( function fn_cost_in_contract (line 244) | pub(crate) fn fn_cost_in_contract( function function_call_action (line 302) | fn function_call_action(method_name: String) -> Action { function aggregate_per_block_measurements (line 323) | pub(crate) fn aggregate_per_block_measurements( function average_cost (line 360) | pub(crate) fn average_cost(measurements: Vec) -> GasCost { function is_high_variance (line 378) | pub(crate) fn is_high_variance(samples: &[f64]) -> bool { function percentiles (line 394) | pub(crate) fn percentiles( function generate_fn_name (line 407) | pub(crate) fn generate_fn_name(index: usize, len: usize) -> Vec { function generate_data_only_contract (line 419) | pub(crate) fn generate_data_only_contract(data_size: usize, config: &VMC... function random_vec (line 437) | pub(crate) fn random_vec(len: usize) -> Vec { function check_percentiles (line 449) | fn check_percentiles(gas_values: &[u64], p_values: &[f32], expected_gas_... function test_percentiles (line 459) | fn test_percentiles() { FILE: runtime/runtime-params-estimator/src/vm_estimator.rs constant CURRENT_ACCOUNT_ID (line 14) | const CURRENT_ACCOUNT_ID: &str = "alice"; constant SIGNER_ACCOUNT_ID (line 15) | const SIGNER_ACCOUNT_ID: &str = "bob"; constant SIGNER_ACCOUNT_PK (line 16) | const SIGNER_ACCOUNT_PK: [u8; 3] = [0, 1, 2]; constant PREDECESSOR_ACCOUNT_ID (line 17) | const PREDECESSOR_ACCOUNT_ID: &str = "carol"; function create_context (line 19) | pub(crate) fn create_context(input: Vec) -> VMContext { function measure_contract (line 40) | fn measure_contract( type MockCompiledContractCache (line 58) | struct MockCompiledContractCache; method put (line 61) | fn put(&self, _key: &CryptoHash, _value: CompiledContract) -> std::io::R... method get (line 65) | fn get(&self, _key: &CryptoHash) -> std::io::Result ... function validate_delegate_action_key (line 896) | fn validate_delegate_action_key( function check_actor_permissions (line 1006) | pub(crate) fn check_actor_permissions( function check_account_existence (line 1059) | pub(crate) fn check_account_existence( function test_action_create_account (line 1160) | fn test_action_create_account( function test_create_account_valid_top_level_long (line 1185) | fn test_create_account_valid_top_level_long() { function test_create_account_valid_top_level_by_registrar (line 1193) | fn test_create_account_valid_top_level_by_registrar() { function test_create_account_valid_sub_account (line 1201) | fn test_create_account_valid_sub_account() { function test_create_account_invalid_sub_account (line 1209) | fn test_create_account_invalid_sub_account() { function test_create_account_valid_short_top_level_len_allowed (line 1227) | fn test_create_account_valid_short_top_level_len_allowed() { function test_delete_large_account (line 1234) | fn test_delete_large_account( function test_delete_account_too_large (line 1259) | fn test_delete_account_too_large() { function test_delete_account_with_contract (line 1280) | fn test_delete_account_with_contract(storage_usage: u64) -> ActionResult { function test_delete_account_with_contract_and_small_state (line 1293) | fn test_delete_account_with_contract_and_small_state() { function test_delete_account_with_contract_and_large_state (line 1300) | fn test_delete_account_with_contract_and_large_state() { function create_delegate_action_receipt (line 1314) | fn create_delegate_action_receipt() -> (ActionReceipt, SignedDelegateAct... function create_apply_state (line 1350) | fn create_apply_state(block_height: BlockHeight) -> ApplyState { function setup_account (line 1370) | fn setup_account( function non_delegate_action (line 1390) | fn non_delegate_action(action: Action) -> NonDelegateAction { function test_validate_delegate_action_key_update_nonce (line 1396) | fn test_validate_delegate_action_key_update_nonce() { function test_delegate_action_key_doesnt_exist (line 1450) | fn test_delegate_action_key_doesnt_exist() { function test_delegate_action_key_incorrect_nonce (line 1482) | fn test_delegate_action_key_incorrect_nonce() { function test_delegate_action_key_nonce_too_large (line 1514) | fn test_delegate_action_key_nonce_too_large() { function test_delegate_action_key_permissions (line 1541) | fn test_delegate_action_key_permissions( function test_delegate_action_key_permissions_fncall (line 1564) | fn test_delegate_action_key_permissions_fncall() { function test_delegate_action_key_permissions_incorrect_action (line 1588) | fn test_delegate_action_key_permissions_incorrect_action() { function test_delegate_action_key_permissions_actions_number (line 1615) | fn test_delegate_action_key_permissions_actions_number() { function test_delegate_action_key_permissions_fncall_deposit (line 1654) | fn test_delegate_action_key_permissions_fncall_deposit() { function test_delegate_action_key_permissions_receiver_id (line 1686) | fn test_delegate_action_key_permissions_receiver_id() { function test_delegate_action_key_permissions_method (line 1721) | fn test_delegate_action_key_permissions_method() { FILE: runtime/runtime/src/adapter.rs type ViewRuntimeAdapter (line 13) | pub trait ViewRuntimeAdapter { method view_account (line 14) | fn view_account( method view_contract_code (line 21) | fn view_contract_code( method call_function (line 28) | fn call_function( method view_access_key (line 46) | fn view_access_key( method view_access_keys (line 54) | fn view_access_keys( method view_chip_list (line 61) | fn view_chip_list( method view_state (line 68) | fn view_state( FILE: runtime/runtime/src/balance_checker.rs function get_delayed_receipts (line 19) | fn get_delayed_receipts( function receipt_cost (line 36) | fn receipt_cost( function total_receipts_cost (line 63) | fn total_receipts_cost( function total_accounts_balance (line 74) | fn total_accounts_balance( function total_postponed_receipts_cost (line 88) | fn total_postponed_receipts_cost( function check_balance (line 103) | pub(crate) fn check_balance( constant TESTING_INIT_BALANCE (line 260) | pub const TESTING_INIT_BALANCE: Balance = 1_000_000_000 * UNC_BASE; constant UNC_BASE (line 263) | pub const UNC_BASE: Balance = 1_000_000_000_000_000_000_000_000; function test_check_balance_no_op (line 266) | fn test_check_balance_no_op() { function test_check_balance_unaccounted_refund (line 283) | fn test_check_balance_unaccounted_refund() { function prepare_state_change (line 300) | fn prepare_state_change( function test_check_balance_refund (line 329) | fn test_check_balance_refund() { function test_check_balance_tx_to_receipt (line 359) | fn test_check_balance_tx_to_receipt() { function test_total_balance_overflow_returns_unexpected_overflow (line 433) | fn test_total_balance_overflow_returns_unexpected_overflow() { function test_total_balance_u128_max (line 488) | fn test_total_balance_u128_max() { FILE: runtime/runtime/src/config.rs type TransactionCost (line 16) | pub struct TransactionCost { function safe_gas_price_inflated (line 32) | pub fn safe_gas_price_inflated( function safe_gas_to_balance (line 44) | pub fn safe_gas_to_balance(gas_price: Balance, gas: Gas) -> Result Result { function safe_add_balance (line 52) | pub fn safe_add_balance(a: Balance, b: Balance) -> Result Result Result Result { type ExternalError (line 32) | pub(crate) enum ExternalError { method from (line 41) | fn from(err: ExternalError) -> Self { type RuntimeExtValuePtr (line 46) | pub struct RuntimeExtValuePtr<'a>(TrieUpdateValuePtr<'a>); method len (line 49) | fn len(&self) -> u32 { method deref (line 53) | fn deref(&self) -> ExtResult> { function new (line 59) | pub fn new( function account_id (line 85) | pub fn account_id(&self) -> &'a AccountId { function get_code (line 89) | pub fn get_code(&self, code_hash: CryptoHash) -> Result TrieKey { function set_trie_cache_mode (line 97) | pub fn set_trie_cache_mode(&mut self, state: TrieCacheMode) { function protocol_version (line 102) | pub fn protocol_version(&self) -> ProtocolVersion { function wrap_storage_error (line 107) | fn wrap_storage_error(error: StorageError) -> VMLogicError { type ExtResult (line 111) | type ExtResult = ::std::result::Result; method storage_set (line 114) | fn storage_set(&mut self, key: &[u8], value: &[u8]) -> ExtResult<()> { method storage_get (line 120) | fn storage_get<'b>( method storage_remove (line 136) | fn storage_remove(&mut self, key: &[u8]) -> ExtResult<()> { method storage_has_key (line 142) | fn storage_has_key(&mut self, key: &[u8], mode: StorageGetMode) -> ExtRe... method storage_remove_subtree (line 154) | fn storage_remove_subtree(&mut self, prefix: &[u8]) -> ExtResult<()> { method generate_data_id (line 177) | fn generate_data_id(&mut self) -> CryptoHash { method get_trie_nodes_count (line 189) | fn get_trie_nodes_count(&self) -> TrieNodesCount { method validator_power (line 193) | fn validator_power(&self, account_id: &AccountId) -> ExtResult ExtResult ExtResult { method validator_total_stake (line 211) | fn validator_total_stake(&self) -> ExtResult { method create_receipt (line 217) | fn create_receipt( method append_action_create_account (line 228) | fn append_action_create_account( method append_action_deploy_contract (line 235) | fn append_action_deploy_contract( method append_action_function_call_weight (line 243) | fn append_action_function_call_weight( method append_action_transfer (line 262) | fn append_action_transfer( method append_action_pledge (line 270) | fn append_action_pledge( method append_action_add_key_with_full_access (line 279) | fn append_action_add_key_with_full_access( method append_action_add_key_with_function_call (line 292) | fn append_action_add_key_with_function_call( method append_action_delete_key (line 311) | fn append_action_delete_key( method append_action_delete_account (line 319) | fn append_action_delete_account( method get_receipt_receiver (line 327) | fn get_receipt_receiver(&self, receipt_index: ReceiptIndex) -> &AccountId { FILE: runtime/runtime/src/lib.rs constant EXPECT_ACCOUNT_EXISTS (line 68) | const EXPECT_ACCOUNT_EXISTS: &str = "account exists, checked above"; type ValidatorAccountsUpdate (line 72) | pub struct ValidatorAccountsUpdate { type VerificationResult (line 90) | pub struct VerificationResult { type ApplyStats (line 102) | pub struct ApplyStats { type ApplyResult (line 112) | pub struct ApplyResult { type ActionResult (line 128) | pub struct ActionResult { method merge (line 142) | pub fn merge(&mut self, mut next_result: ActionResult) -> Result<(), R... method default (line 178) | fn default() -> Self { type Runtime (line 194) | pub struct Runtime {} method new (line 197) | pub fn new() -> Self { method print_log (line 201) | fn print_log(log: &[LogEntry]) { method process_transaction (line 224) | fn process_transaction( method apply_action (line 296) | fn apply_action( method apply_action_receipt (line 481) | fn apply_action_receipt( method generate_refund_receipts (line 787) | fn generate_refund_receipts( method process_receipt (line 857) | fn process_receipt( method update_validator_accounts (line 1018) | fn update_validator_accounts( method apply_migrations (line 1172) | pub fn apply_migrations( method apply (line 1224) | pub fn apply( method apply_state_patch (line 1561) | fn apply_state_patch(&self, state_update: &mut TrieUpdate, state_patch... constant GAS_PRICE (line 1610) | const GAS_PRICE: Balance = 5000; function to_atto (line 1612) | fn to_atto(unc: Balance) -> Balance { function to_tera (line 1616) | fn to_tera(unc: Power) -> Power { function create_receipt_with_actions (line 1620) | fn create_receipt_with_actions( function test_get_and_set_accounts (line 1641) | fn test_get_and_set_accounts() { function test_get_account_from_trie (line 1653) | fn test_get_account_from_trie() { function setup_runtime (line 1674) | fn setup_runtime( function test_apply_no_op (line 1732) | fn test_apply_no_op() { function test_apply_check_balance_validation_rewards (line 1749) | fn test_apply_check_balance_validation_rewards() { function test_apply_refund_receipts (line 1782) | fn test_apply_refund_receipts() { function test_apply_delayed_receipts_feed_all_at_once (line 1828) | fn test_apply_delayed_receipts_feed_all_at_once() { function test_apply_delayed_receipts_add_more_using_chunks (line 1874) | fn test_apply_delayed_receipts_add_more_using_chunks() { function test_apply_delayed_receipts_adjustable_gas_limit (line 1926) | fn test_apply_delayed_receipts_adjustable_gas_limit() { function generate_receipts (line 1995) | fn generate_receipts(small_transfer: u128, n: u64) -> Vec { function generate_refund_receipts (line 2019) | fn generate_refund_receipts(small_transfer: u128, n: u64) -> Vec { function test_apply_delayed_receipts_local_tx (line 2030) | fn test_apply_delayed_receipts_local_tx() { function test_apply_deficit_gas_for_transfer (line 2276) | fn test_apply_deficit_gas_for_transfer() { function test_apply_deficit_gas_for_function_call_covered (line 2306) | fn test_apply_deficit_gas_for_function_call_covered() { function test_apply_deficit_gas_for_function_call_partial (line 2370) | fn test_apply_deficit_gas_for_function_call_partial() { function test_delete_key_add_key (line 2427) | fn test_delete_key_add_key() { function test_delete_key_underflow (line 2472) | fn test_delete_key_underflow() { function test_contract_precompilation (line 2522) | fn test_contract_precompilation() { function test_compute_usage_limit (line 2562) | fn test_compute_usage_limit() { function test_compute_usage_limit_with_failed_receipt (line 2659) | fn test_compute_usage_limit_with_failed_receipt() { function apply_action_receipt (line 2719) | pub fn apply_action_receipt( FILE: runtime/runtime/src/metrics.rs function buckets_for_gas (line 205) | fn buckets_for_gas() -> Option> { function buckets_for_compute (line 216) | fn buckets_for_compute() -> Option> { type ApplyMetrics (line 226) | pub struct ApplyMetrics { method update_accumulated (line 242) | fn update_accumulated(&mut self, gas: u64, compute: u64) -> (u64, u64) { method tx_processing_done (line 253) | pub fn tx_processing_done(&mut self, accumulated_gas: u64, accumulated... method local_receipts_done (line 258) | pub fn local_receipts_done(&mut self, accumulated_gas: u64, accumulate... method delayed_receipts_done (line 263) | pub fn delayed_receipts_done(&mut self, accumulated_gas: u64, accumula... method incoming_receipts_done (line 268) | pub fn incoming_receipts_done(&mut self, accumulated_gas: u64, accumul... method report (line 274) | pub fn report(&self, shard_id: &str) { FILE: runtime/runtime/src/prefetch.rs type TriePrefetcher (line 55) | pub(crate) struct TriePrefetcher { method new_if_enabled (line 63) | pub(crate) fn new_if_enabled(trie: &Trie) -> Option { method prefetch_receipts_data (line 87) | pub(crate) fn prefetch_receipts_data( method prefetch_transactions_data (line 110) | pub(crate) fn prefetch_transactions_data( method clear (line 143) | pub(crate) fn clear(&self) { method prefetch_trie_key (line 148) | fn prefetch_trie_key(&self, trie_key: TrieKey) -> Result<(), PrefetchE... function test_basic_prefetch_account (line 175) | fn test_basic_prefetch_account() { function test_prefetch_multiple_accounts (line 183) | fn test_prefetch_multiple_accounts() { function test_prefetch_non_existing_account (line 240) | fn test_prefetch_non_existing_account() { function check_prefetch_account (line 250) | fn check_prefetch_account(input: &[&str], prefetch: &[&str], expected_pr... function accounts_to_trie_keys (line 348) | fn accounts_to_trie_keys(input: &[&str]) -> Vec { FILE: runtime/runtime/src/receipt_manager.rs type ReceiptIndex (line 17) | type ReceiptIndex = u64; type ActionReceipts (line 19) | type ActionReceipts = Vec<(AccountId, ReceiptMetadata)>; type ReceiptMetadata (line 22) | pub struct ReceiptMetadata { type ReceiptManager (line 36) | pub struct ReceiptManager { method get_receipt_receiver (line 51) | pub(super) fn get_receipt_receiver(&self, receipt_index: ReceiptIndex)... method append_action (line 59) | fn append_action(&mut self, receipt_index: ReceiptIndex, action: Actio... method create_receipt (line 84) | pub(super) fn create_receipt( method append_action_create_account (line 116) | pub(super) fn append_action_create_account( method append_action_deploy_contract (line 134) | pub(super) fn append_action_deploy_contract( method append_action_function_call_weight (line 163) | pub(super) fn append_action_function_call_weight( method append_action_transfer (line 203) | pub(super) fn append_action_transfer( method append_action_pledge (line 223) | pub(super) fn append_action_pledge( method append_action_add_key_with_full_access (line 246) | pub(super) fn append_action_add_key_with_full_access( method append_action_add_key_with_function_call (line 278) | pub(super) fn append_action_add_key_with_function_call( method append_action_delete_key (line 320) | pub(super) fn append_action_delete_key( method append_action_delete_account (line 341) | pub(super) fn append_action_delete_account( method distribute_gas (line 357) | pub(super) fn distribute_gas(&mut self, unused_gas: Gas) -> Result Self { type ViewContractCodeError (line 12) | pub enum ViewContractCodeError { method from (line 68) | fn from(view_account_error: ViewAccountError) -> Self { method from (line 90) | fn from(storage_error: unc_primitives::errors::StorageError) -> Self { type ViewAccessKeyError (line 24) | pub enum ViewAccessKeyError { method from (line 96) | fn from(storage_error: unc_primitives::errors::StorageError) -> Self { type ViewChipError (line 34) | pub enum ViewChipError { type ViewStateError (line 44) | pub enum ViewStateError { method from (line 102) | fn from(storage_error: unc_primitives::errors::StorageError) -> Self { type CallFunctionError (line 56) | pub enum CallFunctionError { method from (line 108) | fn from(storage_error: unc_primitives::errors::StorageError) -> Self { FILE: runtime/runtime/src/state_viewer/mod.rs type TrieViewer (line 26) | pub struct TrieViewer { method new (line 43) | pub fn new(state_size_limit: Option, max_gas_burnt_view: Option Self { FILE: runtime/runtime/src/verifier.rs constant ZERO_BALANCE_ACCOUNT_STORAGE_LIMIT (line 28) | pub const ZERO_BALANCE_ACCOUNT_STORAGE_LIMIT: StorageUsage = 770; type StorageStakingError (line 31) | pub enum StorageStakingError { function check_storage_pledge (line 42) | pub fn check_storage_pledge( function is_zero_balance_account (line 78) | fn is_zero_balance_account(account: &Account) -> bool { function validate_transaction (line 84) | pub fn validate_transaction( function verify_and_charge_transaction (line 127) | pub fn verify_and_charge_transaction( function validate_receipt (line 277) | pub(crate) fn validate_receipt( function validate_action_receipt (line 303) | fn validate_action_receipt( function validate_data_receipt (line 319) | fn validate_data_receipt( function validate_actions (line 340) | pub(crate) fn validate_actions( function validate_action (line 389) | pub fn validate_action( function validate_delegate_action (line 409) | fn validate_delegate_action( function validate_deploy_contract_action (line 420) | fn validate_deploy_contract_action( function validate_function_call_action (line 436) | fn validate_function_call_action( function validate_pledge_action (line 462) | fn validate_pledge_action(action: &PledgeAction) -> Result<(), ActionsVa... function validate_add_key_action (line 475) | fn validate_add_key_action( function validate_register_rsa2048_keys_action (line 517) | fn validate_register_rsa2048_keys_action( function validate_create_rsa2048_challenge_action (line 524) | fn validate_create_rsa2048_challenge_action( function validate_delete_action (line 539) | fn validate_delete_action(action: &DeleteAccountAction) -> Result<(), Ac... function truncate_string (line 549) | fn truncate_string(s: &str, limit: usize) -> String { constant TESTING_INIT_BALANCE (line 583) | const TESTING_INIT_BALANCE: Balance = 1_000_000_000 * UNC_BASE; constant UNC_BASE (line 586) | const UNC_BASE: Balance = 1_000_000_000_000_000_000_000_000; function test_limit_config (line 588) | fn test_limit_config() -> LimitConfig { function setup_common (line 593) | fn setup_common( function setup_accounts (line 609) | fn setup_accounts( function assert_err_both_validations (line 694) | fn assert_err_both_validations( function set_up_test_account (line 732) | fn set_up_test_account( function test_zero_balance_account_with_keys (line 767) | fn test_zero_balance_account_with_keys() { function test_zero_balance_account_with_invalid_access_key (line 795) | fn test_zero_balance_account_with_invalid_access_key() { function test_validate_transaction_valid (line 822) | fn test_validate_transaction_valid() { function test_validate_transaction_invalid_signature (line 873) | fn test_validate_transaction_invalid_signature() { function test_validate_transaction_invalid_access_key_not_found (line 898) | fn test_validate_transaction_invalid_access_key_not_found() { function test_validate_transaction_invalid_bad_action (line 930) | fn test_validate_transaction_invalid_bad_action() { function test_validate_transaction_invalid_bad_signer (line 964) | fn test_validate_transaction_invalid_bad_signer() { function test_validate_transaction_invalid_bad_nonce (line 994) | fn test_validate_transaction_invalid_bad_nonce() { function test_validate_transaction_invalid_balance_overflow (line 1025) | fn test_validate_transaction_invalid_balance_overflow() { function test_validate_transaction_invalid_not_enough_balance (line 1047) | fn test_validate_transaction_invalid_not_enough_balance() { function test_validate_transaction_invalid_not_enough_allowance (line 1084) | fn test_validate_transaction_invalid_not_enough_allowance() { function test_validate_transaction_invalid_low_balance (line 1138) | fn test_validate_transaction_invalid_low_balance() { function test_validate_transaction_invalid_low_balance_many_keys (line 1169) | fn test_validate_transaction_invalid_low_balance_many_keys() { function test_validate_transaction_invalid_actions_for_function_call (line 1215) | fn test_validate_transaction_invalid_actions_for_function_call() { function test_validate_transaction_invalid_receiver_for_function_call (line 1309) | fn test_validate_transaction_invalid_receiver_for_function_call() { function test_validate_transaction_invalid_method_name_for_function_call (line 1357) | fn test_validate_transaction_invalid_method_name_for_function_call() { function test_validate_transaction_deposit_with_function_call (line 1402) | fn test_validate_transaction_deposit_with_function_call() { function test_validate_transaction_exceeding_tx_size_limit (line 1447) | fn test_validate_transaction_exceeding_tx_size_limit() { function test_validate_receipt_valid (line 1498) | fn test_validate_receipt_valid() { function test_validate_action_receipt_too_many_input_deps (line 1509) | fn test_validate_action_receipt_too_many_input_deps() { function test_validate_data_receipt_valid (line 1536) | fn test_validate_data_receipt_valid() { function test_validate_data_receipt_too_much_data (line 1552) | fn test_validate_data_receipt_too_much_data() { function test_validate_actions_empty (line 1572) | fn test_validate_actions_empty() { function test_validate_actions_valid_function_call (line 1578) | fn test_validate_actions_valid_function_call() { function test_validate_actions_too_much_gas (line 1594) | fn test_validate_actions_too_much_gas() { function test_validate_actions_gas_overflow (line 1622) | fn test_validate_actions_gas_overflow() { function test_validate_actions_num_actions (line 1650) | fn test_validate_actions_num_actions() { function test_validate_delete_must_be_final (line 1671) | fn test_validate_delete_must_be_final() { function test_validate_delete_must_work_if_its_final (line 1691) | fn test_validate_delete_must_work_if_its_final() { function test_validate_action_valid_create_account (line 1712) | fn test_validate_action_valid_create_account() { function test_validate_action_valid_function_call (line 1722) | fn test_validate_action_valid_function_call() { function test_validate_action_invalid_function_call_zero_gas (line 1737) | fn test_validate_action_invalid_function_call_zero_gas() { function test_validate_action_valid_transfer (line 1755) | fn test_validate_action_valid_transfer() { function test_validate_action_valid_pledge (line 1765) | fn test_validate_action_valid_pledge() { function test_validate_action_invalid_staking_key (line 1778) | fn test_validate_action_invalid_staking_key() { function test_validate_action_valid_add_key_full_permission (line 1796) | fn test_validate_action_valid_add_key_full_permission() { function test_validate_action_valid_add_key_function_call (line 1809) | fn test_validate_action_valid_add_key_function_call() { function test_validate_action_valid_delete_key (line 1829) | fn test_validate_action_valid_delete_key() { function test_validate_action_valid_delete_account (line 1841) | fn test_validate_action_valid_delete_account() { function test_delegate_action_must_be_only_one (line 1851) | fn test_delegate_action_must_be_only_one() { function test_truncate_string (line 1899) | fn test_truncate_string() { FILE: runtime/runtime/tests/runtime_group_tools/mod.rs constant UNC_BASE (line 28) | pub const UNC_BASE: Balance = 1_000_000_000_000_000_000_000_000; constant TESTING_INIT_BALANCE (line 31) | pub const TESTING_INIT_BALANCE: Balance = 1_000_000_000 * UNC_BASE; constant TESTING_INIT_PLEDGE (line 34) | pub const TESTING_INIT_PLEDGE: Balance = 50_000_000 * UNC_BASE; constant TESTING_INIT_POWER (line 37) | pub const TESTING_INIT_POWER: Power = 5_000_000_000_000; type StandaloneRuntime (line 39) | pub struct StandaloneRuntime { method account_id (line 49) | pub fn account_id(&self) -> AccountId { method new (line 53) | pub fn new( method process_block (line 122) | pub fn process_block( type RuntimeMailbox (line 154) | pub struct RuntimeMailbox { method is_empty (line 160) | pub fn is_empty(&self) -> bool { type RuntimeGroup (line 166) | pub struct RuntimeGroup { method new_with_account_ids (line 181) | pub fn new_with_account_ids( method new (line 200) | pub fn new(num_runtimes: u64, num_existing_accounts: u64, contract_cod... method state_records_signers (line 207) | fn state_records_signers( method start_runtimes (line 252) | pub fn start_runtimes( method start_runtime_in_thread (line 286) | fn start_runtime_in_thread(group: Arc, runtime_factory: F) ->... method get_receipt (line 337) | pub fn get_receipt(&self, executing_runtime: &str, hash: &CryptoHash) ... method get_transaction_log (line 350) | pub fn get_transaction_log(&self, producer_hash: &CryptoHash) -> Execu... method get_receipt_debug (line 359) | pub fn get_receipt_debug(&self, hash: &CryptoHash) -> (AccountId, Rece... FILE: runtime/runtime/tests/runtime_group_tools/random_config.rs function random_config (line 5) | pub fn random_config() -> RuntimeConfig { function test_random_fees (line 33) | fn test_random_fees() { FILE: runtime/runtime/tests/test_async_calls.rs constant TESTING_INIT_BALANCE (line 13) | pub const TESTING_INIT_BALANCE: u128 = 1_000_000_000 * UNC_BASE; constant UNC_BASE (line 16) | pub const UNC_BASE: u128 = 1_000_000_000_000_000_000_000_000; constant GAS_1 (line 18) | const GAS_1: u64 = 900_000_000_000_000; constant GAS_2 (line 19) | const GAS_2: u64 = GAS_1 / 3; constant GAS_3 (line 20) | const GAS_3: u64 = GAS_2 / 3; function test_simple_func_call (line 23) | fn test_simple_func_call() { function test_single_promise_no_callback (line 59) | fn test_single_promise_no_callback() { function test_single_promise_with_callback (line 117) | fn test_single_promise_with_callback() { function test_two_promises_no_callbacks (line 200) | fn test_two_promises_no_callbacks() { function test_two_promises_with_two_callbacks (line 277) | fn test_two_promises_with_two_callbacks() { function test_single_promise_no_callback_batch (line 391) | fn test_single_promise_no_callback_batch() { function test_single_promise_with_callback_batch (line 452) | fn test_single_promise_with_callback_batch() { function test_simple_transfer (line 540) | fn test_simple_transfer() { function test_create_account_with_transfer_and_full_key (line 598) | fn test_create_account_with_transfer_and_full_key() { function test_account_factory (line 671) | fn test_account_factory() { function test_create_account_add_key_call_delete_key_delete_account (line 828) | fn test_create_account_add_key_call_delete_key_delete_account() { function test_transfer_64len_hex (line 952) | fn test_transfer_64len_hex() { function test_create_transfer_64len_hex_fail (line 1015) | fn test_create_transfer_64len_hex_fail() { FILE: runtime/unc-test-contracts/build.rs type Error (line 3) | type Error = Box; function main (line 5) | fn main() { function try_main (line 12) | fn try_main() -> Result<(), Error> { function build_contract (line 29) | fn build_contract(dir: &str, args: &[&str], output: &str) -> Result<(), ... function cargo_build_cmd (line 46) | fn cargo_build_cmd(target_dir: &std::path::Path) -> Command { function check_status (line 61) | fn check_status(mut cmd: Command) -> Result<(), Error> { function out_dir (line 74) | fn out_dir() -> std::path::PathBuf { FILE: runtime/unc-test-contracts/contract-for-fuzzing-rs/src/lib.rs function read_register (line 10) | fn read_register(register_id: u64, ptr: u64); function register_len (line 11) | fn register_len(register_id: u64) -> u64; function current_account_id (line 15) | fn current_account_id(register_id: u64); function signer_account_id (line 16) | fn signer_account_id(register_id: u64); function signer_account_pk (line 17) | fn signer_account_pk(register_id: u64); function predecessor_account_id (line 18) | fn predecessor_account_id(register_id: u64); function input (line 19) | fn input(register_id: u64); function block_index (line 20) | fn block_index() -> u64; function block_timestamp (line 21) | fn block_timestamp() -> u64; function epoch_height (line 22) | fn epoch_height() -> u64; function storage_usage (line 23) | fn storage_usage() -> u64; function account_balance (line 27) | fn account_balance(balance_ptr: u64); function attached_deposit (line 28) | fn attached_deposit(balance_ptr: u64); function prepaid_gas (line 29) | fn prepaid_gas() -> u64; function used_gas (line 30) | fn used_gas() -> u64; function random_seed (line 34) | fn random_seed(register_id: u64); function sha256 (line 35) | fn sha256(value_len: u64, value_ptr: u64, register_id: u64); function value_return (line 39) | fn value_return(value_len: u64, value_ptr: u64); function panic (line 40) | fn panic(); function panic_utf8 (line 41) | fn panic_utf8(len: u64, ptr: u64); function log_utf8 (line 42) | fn log_utf8(len: u64, ptr: u64); function log_utf16 (line 43) | fn log_utf16(len: u64, ptr: u64); function abort (line 44) | fn abort(msg_ptr: u32, filename_ptr: u32, line: u32, col: u32); function promise_create (line 48) | fn promise_create( function promise_then (line 58) | fn promise_then( function promise_and (line 69) | fn promise_and(promise_idx_ptr: u64, promise_idx_count: u64) -> u64; function promise_batch_create (line 70) | fn promise_batch_create(account_id_len: u64, account_id_ptr: u64) -> u64; function promise_batch_then (line 71) | fn promise_batch_then(promise_index: u64, account_id_len: u64, account_i... function promise_batch_action_create_account (line 75) | fn promise_batch_action_create_account(promise_index: u64); function promise_batch_action_deploy_contract (line 76) | fn promise_batch_action_deploy_contract(promise_index: u64, code_len: u6... function promise_batch_action_function_call (line 77) | fn promise_batch_action_function_call( function promise_batch_action_transfer (line 86) | fn promise_batch_action_transfer(promise_index: u64, amount_ptr: u64); function promise_batch_action_stake (line 87) | fn promise_batch_action_stake( function promise_batch_action_add_key_with_full_access (line 93) | fn promise_batch_action_add_key_with_full_access( function promise_batch_action_add_key_with_function_call (line 99) | fn promise_batch_action_add_key_with_function_call( function promise_batch_action_delete_key (line 110) | fn promise_batch_action_delete_key( function promise_batch_action_delete_account (line 115) | fn promise_batch_action_delete_account( function promise_results_count (line 123) | fn promise_results_count() -> u64; function promise_result (line 124) | fn promise_result(result_idx: u64, register_id: u64) -> u64; function promise_return (line 125) | fn promise_return(promise_id: u64); function storage_write (line 129) | fn storage_write( function storage_read (line 136) | fn storage_read(key_len: u64, key_ptr: u64, register_id: u64) -> u64; function storage_remove (line 137) | fn storage_remove(key_len: u64, key_ptr: u64, register_id: u64) -> u64; function storage_has_key (line 138) | fn storage_has_key(key_len: u64, key_ptr: u64) -> u64; function storage_iter_prefix (line 139) | fn storage_iter_prefix(prefix_len: u64, prefix_ptr: u64) -> u64; function storage_iter_range (line 140) | fn storage_iter_range(start_len: u64, start_ptr: u64, end_len: u64, end_... function storage_iter_next (line 141) | fn storage_iter_next(iterator_id: u64, key_register_id: u64, value_regis... function validator_stake (line 145) | fn validator_stake(account_id_len: u64, account_id_ptr: u64, pledge_ptr:... function validator_total_stake (line 146) | fn validator_total_stake(pledge_ptr: u64); function alt_bn128_g1_multiexp (line 150) | fn alt_bn128_g1_multiexp(value_len: u64, value_ptr: u64, register_id: u64); function alt_bn128_g1_sum (line 151) | fn alt_bn128_g1_sum(value_len: u64, value_ptr: u64, register_id: u64); function alt_bn128_pairing_check (line 152) | fn alt_bn128_pairing_check(value_len: u64, value_ptr: u64) -> u64; function number_from_input (line 156) | pub unsafe fn number_from_input() { function count_sum (line 164) | pub unsafe fn count_sum() { function sum_of_numbers (line 189) | pub unsafe fn sum_of_numbers() { function noop (line 248) | pub fn noop() {} function data_producer (line 251) | pub unsafe fn data_producer() { function data_receipt_with_size (line 262) | pub unsafe fn data_receipt_with_size() { FILE: runtime/unc-test-contracts/estimator-contract/src/lib.rs function panic (line 7) | pub fn panic(_info: &::core::panic::PanicInfo) -> ! { function read_register (line 16) | fn read_register(register_id: u64, ptr: u64); function register_len (line 17) | fn register_len(register_id: u64) -> u64; function write_register (line 18) | fn write_register(register_id: u64, data_len: u64, data_ptr: u64); function current_account_id (line 22) | fn current_account_id(register_id: u64); function signer_account_id (line 23) | fn signer_account_id(register_id: u64); function signer_account_pk (line 24) | fn signer_account_pk(register_id: u64); function predecessor_account_id (line 25) | fn predecessor_account_id(register_id: u64); function input (line 26) | fn input(register_id: u64); function block_index (line 27) | fn block_index() -> u64; function storage_usage (line 28) | fn storage_usage() -> u64; function epoch_height (line 29) | fn epoch_height() -> u64; function account_balance (line 33) | fn account_balance(balance_ptr: u64); function attached_deposit (line 34) | fn attached_deposit(balance_ptr: u64); function prepaid_gas (line 35) | fn prepaid_gas() -> u64; function used_gas (line 36) | fn used_gas() -> u64; function alt_bn128_g1_multiexp (line 40) | fn alt_bn128_g1_multiexp(value_len: u64, value_ptr: u64, register_id: u64); function alt_bn128_g1_sum (line 41) | fn alt_bn128_g1_sum(value_len: u64, value_ptr: u64, register_id: u64); function alt_bn128_pairing_check (line 42) | fn alt_bn128_pairing_check(value_len: u64, value_ptr: u64) -> u64; function random_seed (line 43) | fn random_seed(register_id: u64); function sha256 (line 44) | fn sha256(value_len: u64, value_ptr: u64, register_id: u64); function keccak256 (line 45) | fn keccak256(value_len: u64, value_ptr: u64, register_id: u64); function keccak512 (line 46) | fn keccak512(value_len: u64, value_ptr: u64, register_id: u64); function ripemd160 (line 47) | fn ripemd160(value_len: u64, value_ptr: u64, register_id: u64); function ecrecover (line 48) | fn ecrecover( function ed25519_verify (line 57) | fn ed25519_verify( function value_return (line 68) | fn value_return(value_len: u64, value_ptr: u64); function log_utf8 (line 69) | fn log_utf8(len: u64, ptr: u64); function log_utf16 (line 70) | fn log_utf16(len: u64, ptr: u64); function abort (line 71) | fn abort(msg_ptr: u32, filename_ptr: u32, line: u32, col: u32); function promise_create (line 75) | fn promise_create( function promise_then (line 85) | fn promise_then( function promise_and (line 96) | fn promise_and(promise_idx_ptr: u64, promise_idx_count: u64) -> u64; function promise_batch_create (line 97) | fn promise_batch_create(account_id_len: u64, account_id_ptr: u64) -> u64; function promise_batch_then (line 98) | fn promise_batch_then(promise_index: u64, account_id_len: u64, account_i... function promise_batch_action_create_account (line 102) | fn promise_batch_action_create_account(promise_index: u64); function promise_batch_action_deploy_contract (line 103) | fn promise_batch_action_deploy_contract(promise_index: u64, code_len: u6... function promise_batch_action_function_call (line 104) | fn promise_batch_action_function_call( function promise_batch_action_transfer (line 113) | fn promise_batch_action_transfer(promise_index: u64, amount_ptr: u64); function promise_batch_action_stake (line 114) | fn promise_batch_action_stake( function promise_batch_action_add_key_with_full_access (line 120) | fn promise_batch_action_add_key_with_full_access( function promise_batch_action_add_key_with_function_call (line 126) | fn promise_batch_action_add_key_with_function_call( function promise_batch_action_delete_key (line 137) | fn promise_batch_action_delete_key( function promise_batch_action_delete_account (line 142) | fn promise_batch_action_delete_account( function promise_results_count (line 150) | fn promise_results_count() -> u64; function promise_result (line 151) | fn promise_result(result_idx: u64, register_id: u64) -> u64; function promise_return (line 152) | fn promise_return(promise_id: u64); function storage_write (line 156) | fn storage_write( function storage_read (line 163) | fn storage_read(key_len: u64, key_ptr: u64, register_id: u64) -> u64; function storage_remove (line 164) | fn storage_remove(key_len: u64, key_ptr: u64, register_id: u64) -> u64; function storage_has_key (line 165) | fn storage_has_key(key_len: u64, key_ptr: u64) -> u64; function noop (line 170) | pub fn noop() {} function base_1M (line 174) | pub unsafe fn base_1M() { function read_memory_10b_10k (line 183) | pub unsafe fn read_memory_10b_10k() { function read_memory_1Mib_10k (line 193) | pub unsafe fn read_memory_1Mib_10k() { function write_memory_10b_10k (line 203) | pub unsafe fn write_memory_10b_10k() { function write_memory_1Mib_10k (line 214) | pub unsafe fn write_memory_1Mib_10k() { function read_register_10b_10k (line 225) | pub unsafe fn read_register_10b_10k() { function read_register_1Mib_10k (line 236) | pub unsafe fn read_register_1Mib_10k() { function write_register_10b_10k (line 247) | pub unsafe fn write_register_10b_10k() { function write_register_1Mib_10k (line 257) | pub unsafe fn write_register_1Mib_10k() { function utf8_log_10b_10k (line 268) | pub unsafe fn utf8_log_10b_10k() { function utf8_log_10kib_1k (line 279) | pub unsafe fn utf8_log_10kib_1k() { function nul_utf8_log_10b_10k (line 291) | pub unsafe fn nul_utf8_log_10b_10k() { function nul_utf8_log_10kib_1k (line 304) | pub unsafe fn nul_utf8_log_10kib_1k() { function utf16_log_10b_10k (line 316) | pub unsafe fn utf16_log_10b_10k() { function utf16_log_10kib_1k (line 327) | pub unsafe fn utf16_log_10kib_1k() { function nul_utf16_log_10b_10k (line 339) | pub unsafe fn nul_utf16_log_10b_10k() { function nul_utf16_log_10kib_1k (line 353) | pub unsafe fn nul_utf16_log_10kib_1k() { function sha256_10b_10k (line 367) | pub unsafe fn sha256_10b_10k() { function sha256_10kib_10k (line 378) | pub unsafe fn sha256_10kib_10k() { function keccak256_10b_10k (line 390) | pub unsafe fn keccak256_10b_10k() { function keccak256_10kib_10k (line 401) | pub unsafe fn keccak256_10kib_10k() { function keccak512_10b_10k (line 413) | pub unsafe fn keccak512_10b_10k() { function keccak512_10kib_10k (line 424) | pub unsafe fn keccak512_10kib_10k() { function ripemd160_10b_10k (line 436) | pub unsafe fn ripemd160_10b_10k() { function ripemd160_10kib_10k (line 447) | pub unsafe fn ripemd160_10kib_10k() { function ecrecover_10k (line 459) | pub unsafe fn ecrecover_10k() { function ed25519_verify_32b_500 (line 483) | pub unsafe fn ed25519_verify_32b_500() { function ed25519_verify_16kib_64 (line 521) | pub unsafe fn ed25519_verify_16kib_64() { type MultiexpElem (line 555) | struct MultiexpElem([u8; 64], [u8; 32]); function alt_bn128_g1_multiexp_1_10 (line 562) | pub unsafe fn alt_bn128_g1_multiexp_1_10() { function alt_bn128_g1_multiexp_10_10 (line 581) | pub unsafe fn alt_bn128_g1_multiexp_10_10() { type SumElem (line 615) | struct SumElem(u8, [u8; 64]); function alt_bn128_g1_sum_1_1k (line 622) | pub unsafe fn alt_bn128_g1_sum_1_1k() { function alt_bn128_g1_sum_10_1k (line 641) | pub unsafe fn alt_bn128_g1_sum_10_1k() { type PairingElem (line 665) | struct PairingElem([u8; 64], [u8; 128]); function alt_bn128_pairing_check_1_10 (line 672) | pub unsafe fn alt_bn128_pairing_check_1_10() { function alt_bn128_pairing_check_10_10 (line 690) | pub unsafe fn alt_bn128_pairing_check_10_10() { function promise_and_100k (line 829) | pub unsafe fn promise_and_100k() { function promise_and_100k_on_1k_and (line 841) | pub unsafe fn promise_and_100k_on_1k_and() { function promise_return_100k (line 854) | pub unsafe fn promise_return_100k() { function data_producer_10b (line 866) | pub unsafe fn data_producer_10b() { function data_producer_100kib (line 873) | pub unsafe fn data_producer_100kib() { function data_receipt_10b_1000 (line 881) | pub unsafe fn data_receipt_10b_1000() { function data_receipt_base_10b_1000 (line 922) | pub unsafe fn data_receipt_base_10b_1000() { function data_receipt_100kib_1000 (line 951) | pub unsafe fn data_receipt_100kib_1000() { function cpu_ram_soak_test (line 990) | pub unsafe fn cpu_ram_soak_test() { constant MAX_ARG_LEN (line 1004) | const MAX_ARG_LEN: u64 = 1024 * 1024 - 4096; function account_storage_insert_key (line 1008) | pub unsafe fn account_storage_insert_key() { function account_storage_has_key (line 1028) | pub unsafe fn account_storage_has_key() { FILE: runtime/unc-test-contracts/src/lib.rs function wat_contract (line 9) | pub fn wat_contract(wat: &str) -> Vec { function trivial_contract (line 14) | pub fn trivial_contract() -> &'static [u8] { function sized_contract (line 20) | pub fn sized_contract(size: usize) -> Vec { function rs_contract (line 48) | pub fn rs_contract() -> &'static [u8] { function nightly_rs_contract (line 54) | pub fn nightly_rs_contract() -> &'static [u8] { function ts_contract (line 59) | pub fn ts_contract() -> &'static [u8] { function fuzzing_contract (line 64) | pub fn fuzzing_contract() -> &'static [u8] { function ft_contract (line 78) | pub fn ft_contract() -> &'static [u8] { function smallest_rs_contract (line 86) | pub fn smallest_rs_contract() -> &'static [u8] { function estimator_contract (line 109) | pub fn estimator_contract() -> &'static [u8] { function read_contract (line 120) | fn read_contract(file_name: &str) -> Vec { function smoke_test (line 130) | fn smoke_test() { type LargeContract (line 140) | pub struct LargeContract { method make (line 159) | pub fn make(&self) -> Vec { method default (line 147) | fn default() -> Self { function function_with_a_lot_of_nop (line 205) | pub fn function_with_a_lot_of_nop(nops: u64) -> Vec { function arbitrary_contract (line 232) | pub fn arbitrary_contract(seed: u64) -> Vec { FILE: runtime/unc-test-contracts/test-contract-rs/src/lib.rs function read_register (line 10) | fn read_register(register_id: u64, ptr: u64); function register_len (line 11) | fn register_len(register_id: u64) -> u64; function current_account_id (line 15) | fn current_account_id(register_id: u64); function signer_account_id (line 16) | fn signer_account_id(register_id: u64); function signer_account_pk (line 17) | fn signer_account_pk(register_id: u64); function predecessor_account_id (line 18) | fn predecessor_account_id(register_id: u64); function input (line 19) | fn input(register_id: u64); function block_index (line 20) | fn block_index() -> u64; function block_timestamp (line 21) | fn block_timestamp() -> u64; function epoch_height (line 22) | fn epoch_height() -> u64; function storage_usage (line 23) | fn storage_usage() -> u64; function account_balance (line 27) | fn account_balance(balance_ptr: u64); function attached_deposit (line 28) | fn attached_deposit(balance_ptr: u64); function prepaid_gas (line 29) | fn prepaid_gas() -> u64; function used_gas (line 30) | fn used_gas() -> u64; function random_seed (line 34) | fn random_seed(register_id: u64); function sha256 (line 35) | fn sha256(value_len: u64, value_ptr: u64, register_id: u64); function value_return (line 39) | fn value_return(value_len: u64, value_ptr: u64); function panic (line 40) | fn panic(); function panic_utf8 (line 41) | fn panic_utf8(len: u64, ptr: u64); function log_utf8 (line 42) | fn log_utf8(len: u64, ptr: u64); function log_utf16 (line 43) | fn log_utf16(len: u64, ptr: u64); function abort (line 44) | fn abort(msg_ptr: u32, filename_ptr: u32, line: u32, col: u32); function promise_create (line 48) | fn promise_create( function promise_then (line 58) | fn promise_then( function promise_and (line 69) | fn promise_and(promise_idx_ptr: u64, promise_idx_count: u64) -> u64; function promise_batch_create (line 70) | fn promise_batch_create(account_id_len: u64, account_id_ptr: u64) -> u64; function promise_batch_then (line 71) | fn promise_batch_then(promise_index: u64, account_id_len: u64, account_i... function promise_batch_action_create_account (line 75) | fn promise_batch_action_create_account(promise_index: u64); function promise_batch_action_deploy_contract (line 76) | fn promise_batch_action_deploy_contract(promise_index: u64, code_len: u6... function promise_batch_action_function_call (line 77) | fn promise_batch_action_function_call( function promise_batch_action_function_call_weight (line 87) | fn promise_batch_action_function_call_weight( function promise_batch_action_transfer (line 97) | fn promise_batch_action_transfer(promise_index: u64, amount_ptr: u64); function promise_batch_action_stake (line 98) | fn promise_batch_action_stake( function promise_batch_action_add_key_with_full_access (line 104) | fn promise_batch_action_add_key_with_full_access( function promise_batch_action_add_key_with_function_call (line 110) | fn promise_batch_action_add_key_with_function_call( function promise_batch_action_delete_key (line 121) | fn promise_batch_action_delete_key( function promise_batch_action_delete_account (line 126) | fn promise_batch_action_delete_account( function promise_results_count (line 134) | fn promise_results_count() -> u64; function promise_result (line 135) | fn promise_result(result_idx: u64, register_id: u64) -> u64; function promise_return (line 136) | fn promise_return(promise_id: u64); function storage_write (line 140) | fn storage_write( function storage_read (line 147) | fn storage_read(key_len: u64, key_ptr: u64, register_id: u64) -> u64; function storage_remove (line 148) | fn storage_remove(key_len: u64, key_ptr: u64, register_id: u64) -> u64; function storage_has_key (line 149) | fn storage_has_key(key_len: u64, key_ptr: u64) -> u64; function storage_iter_prefix (line 150) | fn storage_iter_prefix(prefix_len: u64, prefix_ptr: u64) -> u64; function storage_iter_range (line 151) | fn storage_iter_range(start_len: u64, start_ptr: u64, end_len: u64, end_... function storage_iter_next (line 152) | fn storage_iter_next(iterator_id: u64, key_register_id: u64, value_regis... function gas (line 153) | fn gas(ops: u32); function validator_stake (line 157) | fn validator_stake(account_id_len: u64, account_id_ptr: u64, stake_ptr: ... function validator_total_stake (line 158) | fn validator_total_stake(stake_ptr: u64); function ripemd160 (line 163) | fn ripemd160(value_len: u64, value_ptr: u64, register_id: u64); function alt_bn128_g1_multiexp (line 168) | fn alt_bn128_g1_multiexp(value_len: u64, value_ptr: u64, register_id: u64); function alt_bn128_g1_sum (line 170) | fn alt_bn128_g1_sum(value_len: u64, value_ptr: u64, register_id: u64); function alt_bn128_pairing_check (line 172) | fn alt_bn128_pairing_check(value_len: u64, value_ptr: u64) -> u64; function ext_sha256 (line 226) | pub unsafe fn ext_sha256() { function ext_used_gas (line 237) | pub unsafe fn ext_used_gas() { function ext_validator_stake (line 253) | pub unsafe fn ext_validator_stake() { function write_key_value (line 270) | pub unsafe fn write_key_value() { function write_block_height (line 290) | pub unsafe fn write_block_height() { function write_random_value (line 299) | pub unsafe fn write_random_value() { function read_value (line 308) | pub unsafe fn read_value() { function log_something (line 324) | pub unsafe fn log_something() { function loop_forever (line 330) | pub unsafe fn loop_forever() { function abort_with_zero (line 335) | pub unsafe fn abort_with_zero() { function panic_with_message (line 341) | pub unsafe fn panic_with_message() { function panic_after_logging (line 347) | pub unsafe fn panic_after_logging() { function run_test (line 355) | pub unsafe fn run_test() { function run_test_with_storage_change (line 361) | pub unsafe fn run_test_with_storage_change() { function sum_with_input (line 368) | pub unsafe fn sum_with_input() { function benchmark_storage_8b (line 388) | pub unsafe fn benchmark_storage_8b() { function generate_data (line 414) | fn generate_data(data: &mut [u8]) { function benchmark_storage_10kib (line 422) | pub unsafe fn benchmark_storage_10kib() { function pass_through (line 454) | pub unsafe fn pass_through() { function sum_n (line 466) | pub unsafe fn sum_n() { function fibonacci (line 492) | pub unsafe fn fibonacci() { function fib (line 503) | fn fib(n: u8) -> u64 { function insert_strings (line 512) | pub unsafe fn insert_strings() { function delete_strings (line 542) | pub unsafe fn delete_strings() { function recurse (line 565) | pub unsafe fn recurse() { function internal_recurse (line 582) | fn internal_recurse(n: u64) -> u64 { function out_of_memory (line 596) | pub fn out_of_memory() { function log_u64 (line 605) | fn log_u64(msg: u64) { function from_base64 (line 611) | pub fn from_base64(s: &str) -> Vec { function max_self_recursion_delay (line 623) | pub unsafe fn max_self_recursion_delay() { function call_promise (line 653) | fn call_promise() { function attach_unspent_gas_but_burn_all_gas (line 824) | fn attach_unspent_gas_but_burn_all_gas() { function attach_unspent_gas_but_use_all_gas (line 853) | fn attach_unspent_gas_but_use_all_gas() { function do_ripemd (line 894) | fn do_ripemd() { function noop (line 902) | pub unsafe fn noop() {} function insert_account_id_prefix (line 904) | fn insert_account_id_prefix( function sanity_check (line 915) | pub unsafe fn sanity_check() { function sanity_check_promise_results (line 1268) | pub unsafe fn sanity_check_promise_results() { function sanity_check_panic (line 1274) | pub unsafe fn sanity_check_panic() { function sanity_check_panic_utf8 (line 1279) | pub unsafe fn sanity_check_panic_utf8() { FILE: runtime/unc-vm-runner/fuzz/fuzz_targets/diffrunner.rs function run_fuzz (line 20) | fn run_fuzz(code: &ContractCode, vm_kind: VMKind) -> VMOutcome { FILE: runtime/unc-vm-runner/fuzz/fuzz_targets/runner.rs function run_fuzz (line 19) | fn run_fuzz(code: &ContractCode, config: Arc) -> VMOutcome { FILE: runtime/unc-vm-runner/fuzz/src/lib.rs function find_entry_point (line 7) | pub fn find_entry_point(contract: &ContractCode) -> Option { function create_context (line 31) | pub fn create_context(input: Vec) -> VMContext { type ModuleConfig (line 58) | pub struct ModuleConfig {} method available_imports (line 66) | fn available_imports(&self) -> Option> { type ArbitraryModule (line 72) | pub struct ArbitraryModule(pub wasm_smith::ConfiguredModule); method arbitrary (line 75) | fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result... method fmt (line 81) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: runtime/unc-vm-runner/src/cache.rs type ContractCacheKey (line 14) | enum ContractCacheKey { function vm_hash (line 26) | fn vm_hash(vm_kind: VMKind) -> u64 { function get_contract_cache_key (line 47) | pub fn get_contract_cache_key(code: &ContractCode, config: &Config) -> C... type MockCompiledContractCache (line 59) | pub struct MockCompiledContractCache { method len (line 64) | pub fn len(&self) -> usize { method fmt (line 81) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method put (line 70) | fn put(&self, key: &CryptoHash, value: CompiledContract) -> std::io::Res... method get (line 75) | fn get(&self, key: &CryptoHash) -> std::io::Result, hash: Option) -> ContractCode { method code (line 16) | pub fn code(&self) -> &[u8] { method into_code (line 20) | pub fn into_code(self) -> Vec { method hash (line 24) | pub fn hash(&self) -> &CryptoHash { FILE: runtime/unc-vm-runner/src/errors.rs type ContractPrecompilatonResult (line 2) | pub enum ContractPrecompilatonResult { FILE: runtime/unc-vm-runner/src/features.rs constant REFERENCE_TYPES (line 1) | const REFERENCE_TYPES: bool = false; constant MULTI_VALUE (line 2) | const MULTI_VALUE: bool = false; constant BULK_MEMORY (line 3) | const BULK_MEMORY: bool = false; constant SIMD (line 4) | const SIMD: bool = false; constant THREADS (line 5) | const THREADS: bool = false; constant TAIL_CALL (line 6) | const TAIL_CALL: bool = false; constant MULTI_MEMORY (line 7) | const MULTI_MEMORY: bool = false; constant MEMORY64 (line 8) | const MEMORY64: bool = false; constant SATURATING_FLOAT_TO_INT (line 9) | const SATURATING_FLOAT_TO_INT: bool = false; constant EXCEPTIONS (line 10) | const EXCEPTIONS: bool = false; constant RELAXED_SIMD (line 11) | const RELAXED_SIMD: bool = false; constant EXTENDED_COST (line 12) | const EXTENDED_COST: bool = false; constant COMPONENT_MODEL (line 13) | const COMPONENT_MODEL: bool = false; constant GC (line 14) | const GC: bool = false; constant FUNCTION_REFERENCES (line 15) | const FUNCTION_REFERENCES: bool = false; constant MEMORY_CONTROL (line 16) | const MEMORY_CONTROL: bool = false; type WasmFeatures (line 19) | pub(crate) struct WasmFeatures { method from (line 24) | fn from(version: crate::logic::ContractPrepareVersion) -> Self { function from (line 35) | fn from(f: WasmFeatures) -> Self { function from (line 63) | fn from(_: WasmFeatures) -> Self { function from (line 101) | fn from(f: crate::features::WasmFeatures) -> Self { function from (line 122) | fn from(_: crate::features::WasmFeatures) -> Self { function from (line 153) | fn from(_: WasmFeatures) -> Self { FILE: runtime/unc-vm-runner/src/imports.rs type ImportReference (line 269) | struct ImportReference(pub *mut c_void); function build (line 273) | pub(crate) fn build( type Wasmer2Imports (line 331) | pub(crate) struct Wasmer2Imports<'engine, 'vmlogic, 'vmlogic_refs> { type Wasmer2Type (line 339) | trait Wasmer2Type { method to_wasmer (line 341) | fn to_wasmer(self) -> Self::Wasmer; method ty (line 342) | fn ty() -> wasmer_types::Type; method resolve (line 375) | fn resolve(&self, _index: u32, module: &str, field: &str) -> Option( type UncVmImports (line 484) | pub(crate) struct UncVmImports<'engine, 'vmlogic, 'vmlogic_refs> { type UncVmType (line 492) | trait UncVmType { method to_unc_vm (line 494) | fn to_unc_vm(self) -> Self::UncVm; method ty (line 495) | fn ty() -> unc_vm_types::Type; method resolve (line 528) | fn resolve(&self, _index: u32, module: &str, field: &str) -> Option( type ErrorContainer (line 637) | pub(crate) struct ErrorContainer(std::sync::Mutex>); method take (line 639) | pub(crate) fn take(&self) -> Option { method fmt (line 646) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function link (line 655) | pub(crate) fn link<'a, 'b>( function str_eq (line 712) | const fn str_eq(s1: &str, s2: &str) -> bool { FILE: runtime/unc-vm-runner/src/instrument/gas/mod.rs function update_call_index (line 15) | pub fn update_call_index(instructions: &mut elements::Instructions, inse... type ControlBlock (line 45) | struct ControlBlock { type MeteredBlock (line 68) | pub(crate) struct MeteredBlock { type Counter (line 77) | struct Counter { method new (line 90) | fn new() -> Counter { method begin_control_block (line 95) | fn begin_control_block(&mut self, cursor: usize, is_loop: bool) { method finalize_control_block (line 106) | fn finalize_control_block(&mut self, cursor: usize) -> Result<(), ()> { method finalize_metered_block (line 141) | fn finalize_metered_block(&mut self, cursor: usize) -> Result<(), ()> { method branch (line 178) | fn branch(&mut self, cursor: usize, indices: &[usize]) -> Result<(), (... method active_control_block_index (line 200) | fn active_control_block_index(&self) -> Option { method active_metered_block (line 205) | fn active_metered_block(&mut self) -> Result<&mut MeteredBlock, ()> { method increment (line 211) | fn increment(&mut self, val: u32) -> Result<(), ()> { function inject_grow_counter (line 218) | fn inject_grow_counter(instructions: &mut elements::Instructions, grow_c... function add_grow_counter (line 230) | fn add_grow_counter( function determine_metered_blocks (line 268) | pub(crate) fn determine_metered_blocks( function inject_counter (line 342) | pub fn inject_counter( function insert_metering_calls (line 352) | fn insert_metering_calls( function inject_gas_counter (line 430) | pub fn inject_gas_counter( function get_function_body (line 518) | pub fn get_function_body( function simple_grow (line 529) | fn simple_grow() { function grow_no_gas_no_track (line 567) | fn grow_no_gas_no_track() { function call_index (line 601) | fn call_index() { function parse_wat (line 664) | fn parse_wat(source: &str) -> elements::Module { FILE: runtime/unc-vm-runner/src/instrument/gas/validation.rs type NodeId (line 18) | type NodeId = usize; type ControlFlowNode (line 23) | struct ControlFlowNode { type ControlFlowGraph (line 50) | pub struct ControlFlowGraph { method new (line 55) | fn new() -> Self { method get_node (line 59) | fn get_node(&self, node_id: NodeId) -> &ControlFlowNode { method get_node_mut (line 63) | fn get_node_mut(&mut self, node_id: NodeId) -> &mut ControlFlowNode { method add_node (line 67) | fn add_node(&mut self) -> NodeId { method increment_actual_cost (line 72) | fn increment_actual_cost(&mut self, node_id: NodeId, cost: u32) { method increment_charged_cost (line 76) | fn increment_charged_cost(&mut self, node_id: NodeId, cost: u32) { method set_first_instr_pos (line 80) | fn set_first_instr_pos(&mut self, node_id: NodeId, first_instr_pos: us... method new_edge (line 84) | fn new_edge(&mut self, from_id: NodeId, target_frame: &ControlFrame) { method new_forward_edge (line 92) | fn new_forward_edge(&mut self, from_id: NodeId, to_id: NodeId) { method new_loopback_edge (line 96) | fn new_loopback_edge(&mut self, from_id: NodeId, to_id: NodeId) { type ControlFrame (line 104) | struct ControlFrame { method new (line 112) | fn new(entry_node_id: NodeId, exit_node_id: NodeId, is_loop: bool) -> ... function build_control_flow_graph (line 125) | fn build_control_flow_graph( function validate_graph_gas_costs (line 268) | fn validate_graph_gas_costs(graph: &ControlFlowGraph) -> bool { function validate_metering_injections (line 319) | fn validate_metering_injections( function check (line 336) | fn check(bytes: &[u8]) { function test_build_control_flow_graph (line 352) | fn test_build_control_flow_graph() { function test_build_control_flow_graph_failure (line 368) | fn test_build_control_flow_graph_failure() { FILE: runtime/unc-vm-runner/src/instrument/rules.rs type UnknownInstruction (line 6) | pub struct UnknownInstruction; type Rules (line 9) | pub trait Rules { method instruction_cost (line 15) | fn instruction_cost(&self, instruction: &Instruction) -> Option; method memory_grow_cost (line 25) | fn memory_grow_cost(&self) -> Option; method instruction_cost (line 320) | fn instruction_cost(&self, instruction: &Instruction) -> Option { method memory_grow_cost (line 328) | fn memory_grow_cost(&self) -> Option { type MemoryGrowCost (line 30) | pub enum MemoryGrowCost { type Metering (line 37) | pub enum Metering { type InstructionType (line 44) | pub enum InstructionType { method op (line 99) | pub fn op(instruction: &Instruction) -> Self { type Err (line 69) | type Err = UnknownInstruction; method from_str (line 71) | fn from_str(s: &str) -> Result { type Set (line 296) | pub struct Set { method new (line 309) | pub fn new(regular: u32, entries: Map) -> S... method with_grow_cost (line 313) | pub fn with_grow_cost(mut self, val: u32) -> Self { method default (line 303) | fn default() -> Self { FILE: runtime/unc-vm-runner/src/instrument/stack_height/max_height.rs type Frame (line 6) | struct Frame { type Stack (line 28) | struct Stack { method new (line 34) | fn new() -> Stack { method height (line 39) | fn height(&self) -> u32 { method frame (line 45) | fn frame(&self, rel_depth: u32) -> Result<&Frame, Error> { method mark_unreachable (line 59) | fn mark_unreachable(&mut self) -> Result<(), Error> { method push_frame (line 67) | fn push_frame(&mut self, frame: Frame) { method pop_frame (line 74) | fn pop_frame(&mut self) -> Result { method trunc (line 79) | fn trunc(&mut self, new_height: u32) { method push_values (line 86) | fn push_values(&mut self, value_count: u32) -> Result<(), Error> { method pop_values (line 96) | fn pop_values(&mut self, value_count: u32) -> Result<(), Error> { function compute (line 122) | pub(crate) fn compute(func_idx: u32, module_ctx: &ModuleCtx<'_>) -> Resu... function parse_wat (line 409) | fn parse_wat(source: &str) -> elements::Module { function simple_test (line 415) | fn simple_test() { function implicit_and_explicit_return (line 437) | fn implicit_and_explicit_return() { function dont_count_in_unreachable (line 455) | fn dont_count_in_unreachable() { function yet_another_test (line 474) | fn yet_another_test() { function call_indirect (line 503) | fn call_indirect() { function breaks (line 528) | fn breaks() { function if_else_works (line 551) | fn if_else_works() { FILE: runtime/unc-vm-runner/src/instrument/stack_height/mod.rs type Error (line 94) | pub struct Error(String); type Context (line 96) | pub(crate) struct Context { method stack_height_global_idx (line 104) | fn stack_height_global_idx(&self) -> u32 { method stack_cost (line 109) | fn stack_cost(&self, func_idx: u32) -> Option { method stack_limit (line 114) | fn stack_limit(&self) -> u32 { function inject_limiter (line 126) | pub fn inject_limiter( function generate_stack_height_global (line 143) | fn generate_stack_height_global(module: &mut elements::Module) -> u32 { type ModuleCtx (line 162) | pub(crate) struct ModuleCtx<'a> { function new (line 169) | fn new(module: &'a elements::Module) -> Self { function resolve_func_type (line 190) | fn resolve_func_type(&self, func_idx: u32) -> Result<&'a elements::Funct... function compute_stack_costs (line 207) | fn compute_stack_costs(module: &elements::Module) -> Result, Er... function compute_stack_cost (line 226) | fn compute_stack_cost(func_idx: u32, module_ctx: &ModuleCtx<'_>) -> Resu... function instrument_functions (line 256) | fn instrument_functions(ctx: &Context, module: &mut elements::Module) ->... function instrument_function (line 294) | fn instrument_function(ctx: &Context, func: &mut Instructions) -> Result... function parse_wat (line 366) | fn parse_wat(source: &str) -> elements::Module { function validate_module (line 371) | fn validate_module(module: elements::Module) { function test_with_params_and_result (line 377) | fn test_with_params_and_result() { FILE: runtime/unc-vm-runner/src/instrument/stack_height/thunk.rs type Thunk (line 8) | struct Thunk { function generate_thunks (line 15) | pub(crate) fn generate_thunks( FILE: runtime/unc-vm-runner/src/logic/alt_bn128.rs constant BOOL_SIZE (line 4) | const BOOL_SIZE: usize = 1; constant SCALAR_SIZE (line 5) | const SCALAR_SIZE: usize = 256 / 8; constant POINT_SIZE (line 6) | const POINT_SIZE: usize = SCALAR_SIZE * 2; type InvalidInput (line 8) | pub(super) struct InvalidInput { method new (line 13) | fn new(msg: &str, bad_value: &[u8]) -> InvalidInput { method from (line 20) | fn from(err: InvalidInput) -> Self { function split_elements (line 25) | pub(super) fn split_elements( constant G1_MULTIEXP_ELEMENT_SIZE (line 31) | const G1_MULTIEXP_ELEMENT_SIZE: usize = POINT_SIZE + SCALAR_SIZE; function g1_multiexp (line 33) | pub(super) fn g1_multiexp( constant G1_SUM_ELEMENT_SIZE (line 51) | const G1_SUM_ELEMENT_SIZE: usize = BOOL_SIZE + POINT_SIZE; function g1_sum (line 53) | pub(super) fn g1_sum( constant PAIRING_CHECK_ELEMENT_SIZE (line 75) | const PAIRING_CHECK_ELEMENT_SIZE: usize = POINT_SIZE + POINT_SIZE * 2; function pairing_check (line 77) | pub(super) fn pairing_check( function encode_g1 (line 95) | fn encode_g1(val: bn::G1) -> [u8; POINT_SIZE] { function encode_fq (line 104) | fn encode_fq(val: bn::Fq) -> [u8; SCALAR_SIZE] { function encode_u256 (line 108) | fn encode_u256(val: bn::arith::U256) -> [u8; SCALAR_SIZE] { function decode_g1 (line 113) | fn decode_g1(raw: &[u8; POINT_SIZE]) -> Result { function decode_fq (line 126) | fn decode_fq(raw: &[u8; SCALAR_SIZE]) -> Result { function decode_g2 (line 131) | fn decode_g2(raw: &[u8; 2 * POINT_SIZE]) -> Result { function decode_fq2 (line 144) | fn decode_fq2(raw: &[u8; 2 * SCALAR_SIZE]) -> Result Result { function decode_u256 (line 156) | fn decode_u256(raw: &[u8; SCALAR_SIZE]) -> bn::arith::U256 { function decode_bool (line 163) | fn decode_bool(raw: &[u8; BOOL_SIZE]) -> Result { FILE: runtime/unc-vm-runner/src/logic/context.rs type VMContext (line 7) | pub struct VMContext { method is_view (line 54) | pub fn is_view(&self) -> bool { FILE: runtime/unc-vm-runner/src/logic/dependencies.rs type MemSlice (line 18) | pub struct MemSlice { method len (line 27) | pub fn len>(&self) -> Result { method end (line 32) | pub fn end>(&self) -> Result { method range (line 37) | pub fn range>(&self) -> Result, ()> { type MemoryLike (line 45) | pub trait MemoryLike { method fits_memory (line 52) | fn fits_memory(&self, slice: MemSlice) -> Result<(), ()>; method view_memory (line 58) | fn view_memory(&self, slice: MemSlice) -> Result, ()>; method read_memory (line 95) | fn read_memory(&self, offset: u64, buffer: &mut [u8]) -> Result<(), ()>; method write_memory (line 101) | fn write_memory(&mut self, offset: u64, buffer: &[u8]) -> Result<(), ()>; type Result (line 104) | pub type Result = ::std::result::Result; type ValuePtr (line 109) | pub trait ValuePtr { method len (line 111) | fn len(&self) -> u32; method deref (line 117) | fn deref(&self) -> Result>; type External (line 121) | pub trait External { method storage_set (line 135) | fn storage_set(&mut self, key: &[u8], value: &[u8]) -> Result<()>; method storage_get (line 160) | fn storage_get<'a>( method storage_remove (line 186) | fn storage_remove(&mut self, key: &[u8]) -> Result<()>; method storage_remove_subtree (line 213) | fn storage_remove_subtree(&mut self, prefix: &[u8]) -> Result<()>; method storage_has_key (line 240) | fn storage_has_key(&mut self, key: &[u8], mode: StorageGetMode) -> Res... method generate_data_id (line 242) | fn generate_data_id(&mut self) -> CryptoHash; method get_trie_nodes_count (line 245) | fn get_trie_nodes_count(&self) -> TrieNodesCount; method validator_stake (line 249) | fn validator_stake(&self, account_id: &AccountId) -> Result Result Result; method validator_total_power (line 254) | fn validator_total_power(&self) -> Result; method create_receipt (line 267) | fn create_receipt( method append_action_create_account (line 282) | fn append_action_create_account( method append_action_deploy_contract (line 297) | fn append_action_deploy_contract( method append_action_function_call_weight (line 323) | fn append_action_function_call_weight( method append_action_transfer (line 343) | fn append_action_transfer( method append_action_pledge (line 360) | fn append_action_pledge( method append_action_add_key_with_full_access (line 378) | fn append_action_add_key_with_full_access( method append_action_add_key_with_function_call (line 402) | fn append_action_add_key_with_function_call( method append_action_delete_key (line 422) | fn append_action_delete_key(&mut self, receipt_index: ReceiptIndex, pu... method append_action_delete_account (line 434) | fn append_action_delete_account( method get_receipt_receiver (line 443) | fn get_receipt_receiver(&self, receipt_index: ReceiptIndex) -> &Accoun... FILE: runtime/unc-vm-runner/src/logic/errors.rs type VMRunnerError (line 11) | pub enum VMRunnerError { type FunctionCallError (line 42) | pub enum FunctionCallError { method from (line 244) | fn from(err: PrepareError) -> Self { type Error (line 258) | type Error = VMRunnerError; method try_from (line 259) | fn try_from(err: VMLogicError) -> Result { method fmt (line 294) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { type CacheError (line 57) | pub enum CacheError { type WasmTrap (line 69) | pub enum WasmTrap { method fmt (line 306) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { type MethodResolveError (line 91) | pub enum MethodResolveError { method fmt (line 340) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { type CompilationError (line 98) | pub enum CompilationError { method fmt (line 326) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { type PrepareError (line 113) | pub enum PrepareError { method fmt (line 277) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { type HostError (line 142) | pub enum HostError { method fmt (line 357) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... type VMLogicError (line 212) | pub enum VMLogicError { method from (line 232) | fn from(err: HostError) -> Self { method from (line 238) | fn from(err: InconsistentStateError) -> Self { method fmt (line 271) | fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> { type InconsistentStateError (line 226) | pub enum InconsistentStateError { method fmt (line 346) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... type AnyError (line 447) | pub struct AnyError { method new (line 456) | pub fn new(err: E) -> AnyError { method downcast (line 459) | pub fn downcast(self) -> Result) -> fmt::Result { type DowncastFailedError (line 453) | pub struct DowncastFailedError; method eq (line 468) | fn eq(&self, other: &Self) -> bool { type AnyEq (line 481) | trait AnyEq: Any + Send + Sync { method any_eq (line 482) | fn any_eq(&self, rhs: &dyn AnyEq) -> bool; method as_any (line 483) | fn as_any(&self) -> &dyn Any; method into_any (line 484) | fn into_any(self: Box) -> Box; method any_eq (line 488) | fn any_eq(&self, rhs: &dyn AnyEq) -> bool { method as_any (line 494) | fn as_any(&self) -> &dyn Any { method into_any (line 497) | fn into_any(self: Box) -> Box { function test_display (line 509) | fn test_display() { FILE: runtime/unc-vm-runner/src/logic/gas_counter.rs function with_ext_cost_counter (line 10) | pub fn with_ext_cost_counter(f: impl FnOnce(&mut HashMap)) { type Result (line 23) | type Result = ::std::result::Result; type FastGasCounter (line 29) | pub struct FastGasCounter { type GasCounter (line 45) | pub struct GasCounter { method new (line 63) | pub fn new( method deduct_gas (line 96) | fn deduct_gas(&mut self, gas_burnt: Gas, gas_used: Gas) -> Result<()> { method burn_gas (line 122) | pub fn burn_gas(&mut self, gas_burnt: Gas) -> Result<()> { method process_gas_limit (line 141) | pub fn process_gas_limit(&mut self, new_burnt_gas: Gas, new_used_gas: ... method gas_counter_raw_ptr (line 192) | pub fn gas_counter_raw_ptr(&mut self) -> *mut FastGasCounter { method inc_ext_costs_counter (line 198) | fn inc_ext_costs_counter(&mut self, cost: ExtCosts, value: u64) { method update_profile_host (line 203) | fn update_profile_host(&mut self, cost: ExtCosts, value: u64) { method update_profile_action (line 208) | fn update_profile_action(&mut self, action: ActionCosts, value: u64) { method pay_per (line 213) | pub fn pay_per(&mut self, cost: ExtCosts, num: u64) -> Result<()> { method pay_base (line 225) | pub fn pay_base(&mut self, cost: ExtCosts) -> Result<()> { method pay_action_accumulated (line 239) | pub fn pay_action_accumulated( method add_trie_fees (line 254) | pub fn add_trie_fees(&mut self, count: &TrieNodesCount) -> Result<()> { method prepay_gas (line 260) | pub fn prepay_gas(&mut self, use_gas: Gas) -> Result<()> { method burnt_gas (line 264) | pub fn burnt_gas(&self) -> Gas { method used_gas (line 269) | pub fn used_gas(&self) -> Gas { method unused_gas (line 274) | pub fn unused_gas(&self) -> Gas { method profile_data (line 278) | pub fn profile_data(&self) -> ProfileDataV3 { constant MAX_GAS (line 290) | const MAX_GAS: u64 = 300_000_000_000_000; function make_test_counter (line 292) | fn make_test_counter(max_burnt: Gas, prepaid: Gas, is_view: bool) -> sup... function test_deduct_gas (line 297) | fn test_deduct_gas() { function test_burn_gas_must_be_lt_use_gas (line 306) | fn test_burn_gas_must_be_lt_use_gas() { function test_burn_gas_must_be_lt_use_gas_view (line 312) | fn test_burn_gas_must_be_lt_use_gas_view() { function test_burn_too_much (line 317) | fn test_burn_too_much() { function test_deduct_too_much (line 333) | fn test_deduct_too_much() { function test_profile_compute_cost_is_accurate (line 354) | fn test_profile_compute_cost_is_accurate() { function test_profile_compute_cost_ext_over_limit (line 367) | fn test_profile_compute_cost_ext_over_limit() { function test_profile_compute_cost_action_over_limit (line 386) | fn test_profile_compute_cost_action_over_limit() { FILE: runtime/unc-vm-runner/src/logic/logic.rs type Result (line 22) | pub type Result = ::std::result::Result; function base64 (line 25) | fn base64(s: &[u8]) -> String { type VMLogic (line 30) | pub struct VMLogic<'a> { type Promise (line 79) | enum Promise { type PublicKeyBuffer (line 115) | struct PublicKeyBuffer(Result); method new (line 118) | fn new(data: &[u8]) -> Self { method decode (line 122) | fn decode(self) -> Result { function new (line 128) | pub fn new( function logs (line 173) | pub fn logs(&self) -> &[String] { function gas_counter (line 178) | pub(super) fn gas_counter(&self) -> &GasCounter { function config (line 183) | pub(super) fn config(&self) -> &Config { function memory (line 188) | pub(super) fn memory(&mut self) -> &mut super::vmstate::Memory<'a> { function registers (line 193) | pub(super) fn registers(&mut self) -> &mut super::vmstate::Registers { function finite_wasm_gas (line 200) | pub fn finite_wasm_gas(&mut self, gas: u64) -> Result<()> { function finite_wasm_stack (line 204) | pub fn finite_wasm_stack(&mut self, operand_size: u64, frame_size: u64) ... function finite_wasm_unstack (line 214) | pub fn finite_wasm_unstack(&mut self, operand_size: u64, frame_size: u64... function wrapped_internal_write_register (line 228) | pub fn wrapped_internal_write_register(&mut self, register_id: u64, data... function read_register (line 252) | pub fn read_register(&mut self, register_id: u64, ptr: u64) -> Result<()> { function register_len (line 269) | pub fn register_len(&mut self, register_id: u64) -> Result { function write_register (line 287) | pub fn write_register(&mut self, register_id: u64, data_len: u64, data_p... function get_utf8_string (line 315) | fn get_utf8_string(&mut self, len: u64, ptr: u64) -> Result { function sandbox_get_utf8_string (line 348) | fn sandbox_get_utf8_string(&mut self, len: u64, ptr: u64) -> Result Result { function get_nul_terminated_utf16_len (line 396) | fn get_nul_terminated_utf16_len(&mut self, ptr: u64, max_len: u64) -> Re... function check_can_add_a_log_message (line 415) | fn check_can_add_a_log_message(&self) -> Result<()> { function checked_push_promise (line 426) | fn checked_push_promise(&mut self, promise: Promise) -> Result Result<()> { function total_log_length_exceeded (line 452) | fn total_log_length_exceeded(&self, add_len: u64) -> Result { function get_public_key (line 460) | fn get_public_key(&mut self, ptr: u64, len: u64) -> Result Result<()> { function signer_account_id (line 500) | pub fn signer_account_id(&mut self, register_id: u64) -> Result<()> { function signer_account_pk (line 529) | pub fn signer_account_pk(&mut self, register_id: u64) -> Result<()> { function predecessor_account_id (line 558) | pub fn predecessor_account_id(&mut self, register_id: u64) -> Result<()> { function input (line 582) | pub fn input(&mut self, register_id: u64) -> Result<()> { function block_index (line 601) | pub fn block_index(&mut self) -> Result { function block_timestamp (line 611) | pub fn block_timestamp(&mut self) -> Result { function epoch_height (line 621) | pub fn epoch_height(&mut self) -> Result { function validator_stake (line 632) | pub fn validator_stake( function validator_power (line 645) | pub fn validator_power( function validator_total_stake (line 666) | pub fn validator_total_stake(&mut self, stake_ptr: u64) -> Result<()> { function validator_total_power (line 672) | pub fn validator_total_power(&mut self, power_ptr: u64) -> Result<()> { function storage_usage (line 689) | pub fn storage_usage(&mut self) -> Result { function account_balance (line 704) | pub fn account_balance(&mut self, balance_ptr: u64) -> Result<()> { function account_locked_balance (line 714) | pub fn account_locked_balance(&mut self, balance_ptr: u64) -> Result<()> { function attached_deposit (line 733) | pub fn attached_deposit(&mut self, balance_ptr: u64) -> Result<()> { function prepaid_gas (line 748) | pub fn prepaid_gas(&mut self) -> Result { function used_gas (line 767) | pub fn used_gas(&mut self) -> Result { function alt_bn128_g1_multiexp (line 806) | pub fn alt_bn128_g1_multiexp( function alt_bn128_g1_sum (line 849) | pub fn alt_bn128_g1_sum( function alt_bn128_pairing_check (line 893) | pub fn alt_bn128_pairing_check(&mut self, value_len: u64, value_ptr: u64... function random_seed (line 914) | pub fn random_seed(&mut self, register_id: u64) -> Result<()> { function sha256 (line 934) | pub fn sha256(&mut self, value_len: u64, value_ptr: u64, register_id: u6... function keccak256 (line 960) | pub fn keccak256(&mut self, value_len: u64, value_ptr: u64, register_id:... function keccak512 (line 986) | pub fn keccak512(&mut self, value_len: u64, value_ptr: u64, register_id:... function ripemd160 (line 1014) | pub fn ripemd160(&mut self, value_len: u64, value_ptr: u64, register_id:... function ecrecover (line 1058) | pub fn ecrecover( function ed25519_verify (line 1160) | pub fn ed25519_verify( function gas (line 1219) | pub fn gas(&mut self, gas: Gas) -> Result<()> { function gas_opcodes (line 1223) | pub fn gas_opcodes(&mut self, opcodes: u32) -> Result<()> { function gas_seen_from_wasm (line 1233) | pub fn gas_seen_from_wasm(&mut self, gas: u32) -> Result<()> { function pay_gas_for_new_receipt (line 1255) | fn pay_gas_for_new_receipt(&mut self, sir: bool, data_dependencies: &[bo... function deduct_balance (line 1276) | fn deduct_balance(&mut self, amount: Balance) -> Result<()> { function promise_create (line 1301) | pub fn promise_create( function promise_then (line 1344) | pub fn promise_then( function promise_and (line 1395) | pub fn promise_and( function promise_batch_create (line 1468) | pub fn promise_batch_create( function promise_batch_then (line 1509) | pub fn promise_batch_then( function promise_idx_to_receipt_idx_with_sir (line 1548) | fn promise_idx_to_receipt_idx_with_sir( function promise_batch_action_create_account (line 1580) | pub fn promise_batch_action_create_account(&mut self, promise_idx: u64) ... function promise_batch_action_deploy_contract (line 1613) | pub fn promise_batch_action_deploy_contract( function promise_batch_action_function_call (line 1661) | pub fn promise_batch_action_function_call( function promise_batch_action_function_call_weight (line 1719) | pub fn promise_batch_action_function_call_weight( function promise_batch_action_transfer (line 1783) | pub fn promise_batch_action_transfer( function promise_batch_action_stake (line 1839) | pub fn promise_batch_action_stake( function promise_batch_action_add_key_with_full_access (line 1878) | pub fn promise_batch_action_add_key_with_full_access( function promise_batch_action_add_key_with_function_call (line 1918) | pub fn promise_batch_action_add_key_with_function_call( function promise_batch_action_delete_key (line 1979) | pub fn promise_batch_action_delete_key( function promise_batch_action_delete_account (line 2015) | pub fn promise_batch_action_delete_account( function promise_results_count (line 2052) | pub fn promise_results_count(&mut self) -> Result { function promise_result (line 2085) | pub fn promise_result(&mut self, result_idx: u64, register_id: u64) -> R... function promise_return (line 2122) | pub fn promise_return(&mut self, promise_idx: u64) -> Result<()> { function value_return (line 2158) | pub fn value_return(&mut self, value_len: u64, value_ptr: u64) -> Result... function panic (line 2207) | pub fn panic(&mut self) -> Result<()> { function panic_utf8 (line 2223) | pub fn panic_utf8(&mut self, len: u64, ptr: u64) -> Result<()> { function log_utf8 (line 2243) | pub fn log_utf8(&mut self, len: u64, ptr: u64) -> Result<()> { function log_utf16 (line 2267) | pub fn log_utf16(&mut self, len: u64, ptr: u64) -> Result<()> { function abort (line 2292) | pub fn abort(&mut self, msg_ptr: u32, filename_ptr: u32, line: u32, col:... function read_and_parse_account_id (line 2330) | fn read_and_parse_account_id(&mut self, ptr: u64, len: u64) -> Result( function storage_read (line 2494) | pub fn storage_read(&mut self, key_len: u64, key_ptr: u64, register_id: ... function storage_remove (line 2559) | pub fn storage_remove(&mut self, key_len: u64, key_ptr: u64, register_id... function storage_has_key (line 2637) | pub fn storage_has_key(&mut self, key_len: u64, key_ptr: u64) -> Result<... function sandbox_debug_log (line 2681) | pub fn sandbox_debug_log(&mut self, len: u64, ptr: u64) -> Result<()> { function storage_iter_prefix (line 2704) | pub fn storage_iter_prefix(&mut self, _prefix_len: u64, _prefix_ptr: u64... function storage_iter_range (line 2727) | pub fn storage_iter_range( function storage_iter_next (line 2767) | pub fn storage_iter_next( function compute_outcome (line 2783) | pub fn compute_outcome(self) -> VMOutcome { function add_contract_loading_fee (line 2811) | pub fn add_contract_loading_fee(&mut self, code_len: u64) -> Result<()> { function gas_counter_pointer (line 2817) | pub fn gas_counter_pointer(&mut self) -> *mut FastGasCounter { function process_gas_limit (line 2822) | pub fn process_gas_limit(&mut self) -> HostError { function pay_action_base (line 2829) | pub fn pay_action_base(&mut self, action: ActionCosts, sir: bool) -> Res... function pay_action_per_byte (line 2838) | pub fn pay_action_per_byte( function before_loading_executable (line 2860) | pub fn before_loading_executable( function after_loading_executable (line 2882) | pub fn after_loading_executable( type VMOutcome (line 2898) | pub struct VMOutcome { method abort (line 2914) | pub fn abort(logic: VMLogic, error: FunctionCallError) -> VMOutcome { method ok (line 2922) | pub fn ok(logic: VMLogic) -> VMOutcome { method nop_outcome (line 2927) | pub fn nop_outcome(error: FunctionCallError) -> VMOutcome { method abort_but_nop_outcome_in_old_protocol (line 2946) | pub fn abort_but_nop_outcome_in_old_protocol( method fmt (line 2959) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: runtime/unc-vm-runner/src/logic/mocks/mock_external.rs type GasWeightSer (line 11) | struct GasWeightSer(u64); type MockAction (line 14) | pub enum MockAction { type MockedExternal (line 69) | pub struct MockedExternal { method new (line 100) | pub fn new() -> Self { type MockedValuePtr (line 76) | pub struct MockedValuePtr { method new (line 81) | pub fn new(value: T) -> Self method len (line 90) | fn len(&self) -> u32 { method deref (line 94) | fn deref(&self) -> crate::logic::dependencies::Result> { method storage_set (line 108) | fn storage_set(&mut self, key: &[u8], value: &[u8]) -> Result<()> { method storage_get (line 113) | fn storage_get(&self, key: &[u8], _mode: StorageGetMode) -> Result Result<()> { method storage_remove_subtree (line 125) | fn storage_remove_subtree(&mut self, prefix: &[u8]) -> Result<()> { method storage_has_key (line 130) | fn storage_has_key(&mut self, key: &[u8], _mode: StorageGetMode) -> Resu... method generate_data_id (line 134) | fn generate_data_id(&mut self) -> CryptoHash { method get_trie_nodes_count (line 142) | fn get_trie_nodes_count(&self) -> TrieNodesCount { method validator_stake (line 146) | fn validator_stake(&self, account_id: &AccountId) -> Result Result { method validator_power (line 159) | fn validator_power(&self, account_id: &AccountId) -> Result Result { method create_receipt (line 172) | fn create_receipt( method append_action_create_account (line 182) | fn append_action_create_account( method append_action_deploy_contract (line 190) | fn append_action_deploy_contract( method append_action_function_call_weight (line 199) | fn append_action_function_call_weight( method append_action_transfer (line 219) | fn append_action_transfer( method append_action_pledge (line 228) | fn append_action_pledge( method append_action_add_key_with_full_access (line 237) | fn append_action_add_key_with_full_access( method append_action_add_key_with_function_call (line 246) | fn append_action_add_key_with_function_call( method append_action_delete_key (line 266) | fn append_action_delete_key( method append_action_delete_account (line 274) | fn append_action_delete_account( method get_receipt_receiver (line 283) | fn get_receipt_receiver(&self, receipt_index: ReceiptIndex) -> &AccountId { FILE: runtime/unc-vm-runner/src/logic/mocks/mock_memory.rs type MockedMemory (line 5) | pub struct MockedMemory(Box<[u8]>); constant MEMORY_SIZE (line 8) | pub const MEMORY_SIZE: u64 = 64 * 1024; method default (line 12) | fn default() -> Self { function make_range (line 17) | fn make_range(ptr: u64, len: usize) -> Result, (... method fits_memory (line 24) | fn fits_memory(&self, slice: MemSlice) -> Result<(), ()> { method view_memory (line 31) | fn view_memory(&self, slice: MemSlice) -> Result, ()> { method read_memory (line 35) | fn read_memory(&self, ptr: u64, buffer: &mut [u8]) -> Result<(), ()> { method write_memory (line 41) | fn write_memory(&mut self, ptr: u64, buffer: &[u8]) -> Result<(), ()> { function test_memory_like (line 49) | fn test_memory_like() { FILE: runtime/unc-vm-runner/src/logic/mod.rs type CompiledContract (line 30) | pub enum CompiledContract { type CompiledContractCache (line 36) | pub trait CompiledContractCache: Send + Sync { method put (line 37) | fn put(&self, key: &CryptoHash, value: CompiledContract) -> std::io::R... method get (line 38) | fn get(&self, key: &CryptoHash) -> std::io::Result std::io::Result { function fmt (line 45) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type TrieNodesCount (line 52) | pub struct TrieNodesCount { method checked_sub (line 61) | pub fn checked_sub(self, other: &Self) -> Option { type DataReceiver (line 82) | pub struct DataReceiver { FILE: runtime/unc-vm-runner/src/logic/test_utils.rs function test_memory_like (line 10) | pub fn test_memory_like(factory: impl FnOnce() -> Box) { FILE: runtime/unc-vm-runner/src/logic/tests/alt_bn128.rs function parse_le_bytes (line 21) | fn parse_le_bytes(s: &str, buf: &mut Vec) { function render_le_bytes (line 40) | fn render_le_bytes(p: &[u8]) -> String { function assert_eq_points (line 60) | fn assert_eq_points(left: &[u8], right: &[u8]) { function check_result (line 71) | fn check_result( function test_alt_bn128_g1_multiexp (line 87) | fn test_alt_bn128_g1_multiexp() { function test_alt_bn128_g1_sum (line 151) | fn test_alt_bn128_g1_sum() { function test_alt_bn128_pairing_check (line 215) | fn test_alt_bn128_pairing_check() { FILE: runtime/unc-vm-runner/src/logic/tests/context.rs function test_attached_deposit_view (line 89) | fn test_attached_deposit_view() { FILE: runtime/unc-vm-runner/src/logic/tests/ed25519_verify.rs constant SIGNATURE (line 9) | const SIGNATURE: [u8; 64] = [ constant BAD_SIGNATURE (line 16) | const BAD_SIGNATURE: [u8; 64] = [1; 64]; constant FORGED_SIGNATURE (line 20) | const FORGED_SIGNATURE: [u8; 64] = { constant PUBLIC_KEY (line 26) | const PUBLIC_KEY: [u8; 32] = [ constant FORGED_PUBLIC_KEY (line 33) | const FORGED_PUBLIC_KEY: [u8; 32] = { constant MESSAGE (line 40) | const MESSAGE: [u8; 32] = [ function check_ed25519_verify (line 46) | fn check_ed25519_verify( function test_ed25519_verify_behavior_and_errors (line 95) | fn test_ed25519_verify_behavior_and_errors() { function test_ed25519_verify_check_registers (line 217) | fn test_ed25519_verify_check_registers() { FILE: runtime/unc-vm-runner/src/logic/tests/gas_counter.rs function test_dont_burn_gas_when_exceeding_attached_gas_limit (line 11) | fn test_dont_burn_gas_when_exceeding_attached_gas_limit() { function test_limit_wasm_gas_after_attaching_gas (line 30) | fn test_limit_wasm_gas_after_attaching_gas() { function test_cant_burn_more_than_max_gas_burnt_gas (line 51) | fn test_cant_burn_more_than_max_gas_burnt_gas() { function test_cant_burn_more_than_prepaid_gas (line 68) | fn test_cant_burn_more_than_prepaid_gas() { function test_hit_max_gas_burnt_limit (line 85) | fn test_hit_max_gas_burnt_limit() { function test_hit_prepaid_gas_limit (line 103) | fn test_hit_prepaid_gas_limit() { function function_call_no_weight_refund (line 121) | fn function_call_no_weight_refund() { function test_overflowing_burn_gas_with_promises_gas (line 140) | fn test_overflowing_burn_gas_with_promises_gas() { function test_overflowing_burn_gas_with_promises_gas_2 (line 176) | fn test_overflowing_burn_gas_with_promises_gas_2() { function check_action_gas_exceeds_limit (line 232) | fn check_action_gas_exceeds_limit( function check_action_gas_exceeds_attached (line 283) | fn check_action_gas_exceeds_attached( function out_of_gas_new_action_receipt (line 341) | fn out_of_gas_new_action_receipt() { function out_of_gas_new_data_receipt (line 370) | fn out_of_gas_new_data_receipt() { function out_of_gas_new_data_receipt_byte (line 387) | fn out_of_gas_new_data_receipt_byte() { function out_of_gas_create_account (line 409) | fn out_of_gas_create_account() { function out_of_gas_delete_account (line 429) | fn out_of_gas_delete_account() { function out_of_gas_deploy_contract_base (line 451) | fn out_of_gas_deploy_contract_base() { function out_of_gas_deploy_contract_byte (line 464) | fn out_of_gas_deploy_contract_byte() { function deploy_contract (line 476) | fn deploy_contract(logic: &mut TestVMLogic) -> Result<(), VMLogicError> { function out_of_gas_function_call_base (line 486) | fn out_of_gas_function_call_base() { function out_of_gas_function_call_byte (line 510) | fn out_of_gas_function_call_byte() { function cross_contract_call (line 534) | fn cross_contract_call(logic: &mut TestVMLogic) -> Result<(), VMLogicErr... function cross_contract_call_gas_weight (line 546) | fn cross_contract_call_gas_weight(logic: &mut TestVMLogic) -> Result<(),... function out_of_gas_transfer (line 568) | fn out_of_gas_transfer() { function out_of_gas_pledge (line 589) | fn out_of_gas_pledge() { function out_of_gas_add_full_access_key (line 611) | fn out_of_gas_add_full_access_key() { function out_of_gas_add_function_call_key_base (line 633) | fn out_of_gas_add_function_call_key_base() { function out_of_gas_add_function_call_key_byte (line 650) | fn out_of_gas_add_function_call_key_byte() { function promise_function_key (line 667) | fn promise_function_key(logic: &mut TestVMLogic) -> Result<(), VMLogicEr... function out_of_gas_delete_key (line 688) | fn out_of_gas_delete_key() { function create_promise_dependency (line 708) | fn create_promise_dependency(logic: &mut TestVMLogic) -> Result<(), VMLo... function op_limit (line 718) | fn op_limit(gas_limit: Gas) -> u32 { function test_pk (line 722) | fn test_pk() -> Vec { function write_test_pk (line 732) | fn write_test_pk(logic: &mut TestVMLogic) -> MemSlice { FILE: runtime/unc-vm-runner/src/logic/tests/helpers.rs type Result (line 7) | type Result = ::std::result::Result; function promise_create (line 9) | pub(super) fn promise_create( function promise_batch_create (line 32) | pub(super) fn promise_batch_create(logic: &mut TestVMLogic, account_id: ... function promise_batch_action_function_call (line 37) | pub(super) fn promise_batch_action_function_call( function promise_batch_action_function_call_ext (line 53) | pub(super) fn promise_batch_action_function_call_ext( function promise_batch_action_function_call_weight (line 76) | pub(super) fn promise_batch_action_function_call_weight( function promise_batch_action_function_call_weight_ext (line 94) | pub(super) fn promise_batch_action_function_call_weight_ext( function promise_batch_action_add_key_with_function_call (line 119) | pub(super) fn promise_batch_action_add_key_with_function_call( function promise_batch_action_add_key_with_full_access (line 146) | pub(super) fn promise_batch_action_add_key_with_full_access( function reset_costs_counter (line 175) | pub(super) fn reset_costs_counter() { function assert_costs (line 180) | pub(super) fn assert_costs(expected: HashMap) { FILE: runtime/unc-vm-runner/src/logic/tests/iterators.rs function test_iterator_deprecated (line 5) | fn test_iterator_deprecated() { FILE: runtime/unc-vm-runner/src/logic/tests/logs.rs function test_valid_utf8 (line 9) | fn test_valid_utf8() { function test_invalid_utf8 (line 29) | fn test_invalid_utf8() { function test_valid_null_terminated_utf8 (line 46) | fn test_valid_null_terminated_utf8() { function test_log_max_limit (line 69) | fn test_log_max_limit() { function test_log_total_length_limit (line 92) | fn test_log_total_length_limit() { function test_log_number_limit (line 115) | fn test_log_number_limit() { function append_utf16 (line 148) | fn append_utf16(dst: &mut Vec, string: &str) { function test_log_utf16_number_limit (line 155) | fn test_log_utf16_number_limit() { function test_log_total_length_limit_mixed (line 193) | fn test_log_total_length_limit_mixed() { function test_log_utf8_max_limit_null_terminated (line 224) | fn test_log_utf8_max_limit_null_terminated() { function test_valid_log_utf16 (line 249) | fn test_valid_log_utf16() { function test_valid_log_utf16_max_log_len_not_even (line 274) | fn test_valid_log_utf16_max_log_len_not_even() { function test_log_utf8_max_limit_null_terminated_fail (line 315) | fn test_log_utf8_max_limit_null_terminated_fail() { function test_valid_log_utf16_null_terminated (line 331) | fn test_valid_log_utf16_null_terminated() { function test_invalid_log_utf16 (line 357) | fn test_invalid_log_utf16() { function test_valid_log_utf16_null_terminated_fail (line 377) | fn test_valid_log_utf16_null_terminated_fail() { function check (line 401) | fn check(read_ok: bool, test: fn(&mut VMLogic<'_>, MemSlice) -> Result<(... function test_good_read (line 412) | fn test_good_read() { function test_read_past_end (line 426) | fn test_read_past_end() { function test_nul_past_end (line 440) | fn test_nul_past_end() { function check (line 457) | fn check(read_ok: bool, test: fn(&mut VMLogic<'_>, MemSlice) -> Result<(... function test_good_read (line 471) | fn test_good_read() { function test_read_past_end (line 485) | fn test_read_past_end() { function test_nul_past_end (line 499) | fn test_nul_past_end() { FILE: runtime/unc-vm-runner/src/logic/tests/miscs.rs function test_sha256 (line 12) | fn test_sha256() { function test_keccak256 (line 41) | fn test_keccak256() { function test_keccak512 (line 70) | fn test_keccak512() { function test_ripemd160 (line 101) | fn test_ripemd160() { type EcrecoverTest (line 127) | struct EcrecoverTest { function deserialize_option_hex (line 138) | fn deserialize_option_hex<'de, D, T>(deserializer: D) -> Result(ext: &'a MockedExternal) -> Vec Self { method build (line 39) | pub fn build(&mut self) -> TestVMLogic<'_> { method free (line 51) | pub fn free() -> Self { method default (line 18) | fn default() -> Self { function get_context (line 67) | fn get_context() -> VMContext { type TestVMLogic (line 89) | pub(super) struct TestVMLogic<'a> { function from (line 96) | fn from(logic: VMLogic<'a>) -> Self { type Target (line 102) | type Target = VMLogic<'a>; function deref (line 103) | fn deref(&self) -> &Self::Target { function deref_mut (line 109) | fn deref_mut(&mut self) -> &mut Self::Target { function internal_mem_write (line 120) | pub(super) fn internal_mem_write(&mut self, data: &[u8]) -> MemSlice { function internal_mem_write_at (line 127) | pub(super) fn internal_mem_write_at(&mut self, ptr: u64, data: &[u8]) ->... function internal_mem_read (line 133) | pub(super) fn internal_mem_read(&mut self, ptr: u64, len: u64) -> Vec { function assert_read_register (line 148) | pub(super) fn assert_read_register(&mut self, want: &[u8], register_id: ... function compute_outcome (line 156) | pub fn compute_outcome(self) -> crate::logic::VMOutcome { FILE: runtime/unc-vm-runner/src/logic/types.rs type PublicKey (line 3) | pub type PublicKey = Vec; type PromiseIndex (line 4) | pub type PromiseIndex = u64; type ReceiptIndex (line 5) | pub type ReceiptIndex = u64; type IteratorIndex (line 6) | pub type IteratorIndex = u64; type ReturnData (line 9) | pub enum ReturnData { method as_value (line 23) | pub fn as_value(self) -> Option> { type PromiseResult (line 34) | pub enum PromiseResult { FILE: runtime/unc-vm-runner/src/logic/utils.rs function split_method_names (line 6) | pub(super) fn split_method_names(method_names: &[u8]) -> Result = ::std::result::Result; type Memory (line 22) | pub(super) struct Memory<'a>(&'a mut dyn MemoryLike); function new (line 52) | pub(super) fn new(mem: &'a mut dyn MemoryLike) -> Self { function view (line 60) | pub(super) fn view<'s>( function view_for_free (line 71) | pub(super) fn view_for_free(&self, slice: MemSlice) -> Result> { function get_into (line 76) | fn get_into(&self, gas_counter: &mut GasCounter, offset: u64, buf: &mut ... function set (line 84) | pub(super) fn set( function set_for_free (line 96) | pub(super) fn set_for_free(&mut self, offset: u64, buf: &[u8]) -> Result... type Registers (line 114) | pub(super) struct Registers { method get (line 132) | pub(super) fn get<'s>( method get_for_free (line 148) | pub(super) fn get_for_free<'s>(&'s self, register_id: u64) -> Option<&... method get_len (line 153) | pub(super) fn get_len(&self, register_id: u64) -> Option { method set (line 161) | pub(super) fn set( method check_set_register (line 193) | fn check_set_register<'a>( function get_memory_or_register (line 240) | pub(super) fn get_memory_or_register<'a, 'b>( type RegistersTestContext (line 263) | struct RegistersTestContext { method new (line 270) | fn new() -> Self { method assert_set_success (line 280) | fn assert_set_success(&mut self, register_id: u64, value: &str) { method assert_set_failure (line 286) | fn assert_set_failure(&mut self, register_id: u64, value: &str) { method assert_read (line 293) | fn assert_read(&mut self, register_id: u64, value: Option<&str>) { method assert_used_gas (line 305) | fn assert_used_gas(&self, gas: u64) { function registers_set (line 312) | fn registers_set() { function registers_max_number_limit (line 323) | fn registers_max_number_limit() { function registers_register_size_limit (line 343) | fn registers_register_size_limit() { function registers_usage_limit (line 353) | fn registers_usage_limit() { FILE: runtime/unc-vm-runner/src/memory.rs type WasmerMemory (line 9) | pub struct WasmerMemory(Memory); method new (line 12) | pub fn new(initial_memory_pages: u32, max_memory_pages: u32) -> Self { method clone (line 26) | pub fn clone(&self) -> Memory { method with_memory (line 32) | fn with_memory(&self, offset: u64, len: usize, func: F) -> Resul... method fits_memory (line 43) | fn fits_memory(&self, slice: MemSlice) -> Result<(), ()> { method view_memory (line 47) | fn view_memory(&self, slice: MemSlice) -> Result, ()> { method read_memory (line 53) | fn read_memory(&self, offset: u64, buffer: &mut [u8]) -> Result<(), ()> { method write_memory (line 59) | fn write_memory(&mut self, offset: u64, buffer: &[u8]) -> Result<(), ()> { function test_memory_like (line 67) | fn test_memory_like() { FILE: runtime/unc-vm-runner/src/prepare.rs function prepare_contract (line 22) | pub fn prepare_contract( function parse_and_prepare_wat (line 56) | fn parse_and_prepare_wat( function internal_memory_declaration (line 66) | fn internal_memory_declaration() { function memory_imports (line 75) | fn memory_imports() { function multiple_valid_memory_are_disabled (line 120) | fn multiple_valid_memory_are_disabled() { function imports (line 147) | fn imports() { FILE: runtime/unc-vm-runner/src/prepare/prepare_v0.rs function prepare_contract (line 9) | pub(crate) fn prepare_contract( type ContractModule (line 22) | struct ContractModule<'a> { function init (line 28) | fn init(original_code: &[u8], config: &'a Config) -> Result Self { function ensure_no_internal_memory (line 63) | fn ensure_no_internal_memory(self) -> Result { function inject_gas_metering (line 71) | fn inject_gas_metering(self) -> Result { function inject_stack_height_metering (line 84) | fn inject_stack_height_metering(self) -> Result { function scan_imports (line 99) | fn scan_imports(self) -> Result { function into_wasm_code (line 153) | fn into_wasm_code(self) -> Result, PrepareError> { FILE: runtime/unc-vm-runner/src/prepare/prepare_v1.rs function prepare_contract (line 19) | pub(crate) fn prepare_contract( type ContractModule (line 32) | pub(crate) struct ContractModule<'a> { function init (line 38) | pub(crate) fn init(original_code: &[u8], config: &'a Config) -> Result Self { function ensure_no_internal_memory (line 73) | pub(crate) fn ensure_no_internal_memory(self) -> Result Result { function inject_stack_height_metering (line 94) | fn inject_stack_height_metering(self) -> Result { function scan_imports (line 111) | pub(crate) fn scan_imports(self) -> Result { function into_wasm_code (line 149) | pub(crate) fn into_wasm_code(self) -> Result, PrepareError> { function wasmparser_decode (line 159) | fn wasmparser_decode( function validate_contract (line 207) | pub(crate) fn validate_contract( function v1_preparation_generates_valid_contract_fuzzer (line 241) | fn v1_preparation_generates_valid_contract_fuzzer() { FILE: runtime/unc-vm-runner/src/prepare/prepare_v2.rs type PrepareContext (line 6) | struct PrepareContext<'a> { function new (line 18) | fn new(code: &'a [u8], features: crate::features::WasmFeatures, config: ... function run (line 40) | fn run(&mut self) -> Result, PrepareError> { function transform_import_section (line 202) | fn transform_import_section( function ensure_import_section (line 232) | fn ensure_import_section(&mut self) { function memory_import (line 242) | fn memory_import(&self) -> wasm_encoder::EntityType { function copy_section (line 251) | fn copy_section( function copy (line 262) | fn copy(&mut self, range: std::ops::Range) -> Result<(), PrepareE... function prepare_contract (line 267) | pub(crate) fn prepare_contract( type SimpleMaxStackCfg (line 298) | struct SimpleMaxStackCfg; method size_of_value (line 301) | fn size_of_value(&self, ty: wp::ValType) -> u8 { method size_of_function_activation (line 312) | fn size_of_function_activation( type SimpleGasCostCfg (line 332) | struct SimpleGasCostCfg(u64); type Output (line 358) | type Output = u64; function v2_preparation_wasmtime_generates_valid_contract_fuzzer (line 369) | fn v2_preparation_wasmtime_generates_valid_contract_fuzzer() { function v2_preparation_unc_vm_generates_valid_contract_fuzzer (line 396) | fn v2_preparation_unc_vm_generates_valid_contract_fuzzer() { FILE: runtime/unc-vm-runner/src/profile.rs type ProfileDataV3 (line 14) | pub struct ProfileDataV3 { method new (line 31) | pub fn new() -> Self { method test (line 40) | pub fn test() -> Self { method merge (line 52) | pub fn merge(&mut self, other: &ProfileDataV3) { method add_action_cost (line 67) | pub fn add_action_cost(&mut self, action: ActionCosts, value: Gas) { method add_ext_cost (line 72) | pub fn add_ext_cost(&mut self, ext: ExtCosts, value: Gas) { method compute_wasm_instruction_cost (line 84) | pub fn compute_wasm_instruction_cost(&mut self, total_gas_burnt: Gas) { method get_action_cost (line 89) | pub fn get_action_cost(&self, action: ActionCosts) -> Gas { method get_ext_cost (line 93) | pub fn get_ext_cost(&self, ext: ExtCosts) -> Gas { method get_wasm_cost (line 97) | pub fn get_wasm_cost(&self) -> Gas { method host_gas (line 101) | fn host_gas(&self) -> Gas { method action_gas (line 105) | pub fn action_gas(&self) -> Gas { method total_compute_usage (line 110) | pub fn total_compute_usage(&self, ext_costs_config: &ExtCostsConfig) -... method fmt (line 206) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method default (line 24) | fn default() -> ProfileDataV3 { method deserialize_reader (line 138) | fn deserialize_reader(rd: &mut R) -> std::io::Result(&self, writer: &mut W) -> Result<(), std... function borsh_action_index (line 186) | const fn borsh_action_index(action: ActionCosts) -> usize { function borsh_ext_index (line 200) | const fn borsh_ext_index(ext: ExtCosts) -> usize { function test_profile_data_debug (line 245) | fn test_profile_data_debug() { function test_profile_data_debug_no_data (line 340) | fn test_profile_data_debug_no_data() { function test_no_panic_on_overflow (line 347) | fn test_no_panic_on_overflow() { function test_merge (line 357) | fn test_merge() { function test_total_compute_usage (line 372) | fn test_total_compute_usage() { function test_borsh_ser_deser (line 392) | fn test_borsh_ser_deser() { function test_borsh_incomplete_profile (line 409) | fn test_borsh_incomplete_profile() { function test_borsh_larger_profile_than_current (line 428) | fn test_borsh_larger_profile_than_current() { function manually_encode_profile_v2 (line 450) | fn manually_encode_profile_v2( FILE: runtime/unc-vm-runner/src/profile/profile_v2.rs type ProfileDataV2 (line 20) | pub struct ProfileDataV2 { method get_ext_cost (line 32) | pub fn get_ext_cost(&self, ext: ExtCosts) -> u64 { method get_wasm_cost (line 36) | pub fn get_wasm_cost(&self) -> u64 { method host_gas (line 41) | fn host_gas(&self) -> u64 { method legacy_action_costs (line 48) | pub fn legacy_action_costs(&self) -> Vec<(&'static str, Gas)> { method action_gas (line 63) | pub fn action_gas(&self) -> u64 { method test (line 68) | pub fn test() -> Self { method fmt (line 82) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 122) | type Output = u64; method index (line 124) | fn index(&self, cost: ActionCosts) -> &Self::Output { type Output (line 150) | type Output = u64; method index (line 152) | fn index(&self, cost: ExtCosts) -> &Self::Output { type DataArray (line 25) | struct DataArray(Box<[u64; Self::LEN]>); constant LEN (line 28) | const LEN: usize = 72; type Output (line 114) | type Output = u64; method index (line 116) | fn index(&self, index: usize) -> &Self::Output { method deserialize_reader (line 224) | fn deserialize_reader(rd: &mut R) -> std::io::Result(&self, writer: &mut W) -> Result<(), std... method default (line 240) | fn default() -> Self { function test_profile_data_debug (line 253) | fn test_profile_data_debug() { function test_profile_data_debug_no_data (line 338) | fn test_profile_data_debug_no_data() { FILE: runtime/unc-vm-runner/src/runner.rs type VMResult (line 24) | pub(crate) type VMResult = Result; function run (line 42) | pub fn run( type VM (line 74) | pub trait VM { method run (line 89) | fn run( method precompile (line 106) | fn precompile( type VMKindExt (line 113) | pub trait VMKindExt { method runtime (line 118) | fn runtime(&self, config: Config) -> Option>; method runtime (line 123) | fn runtime(&self, config: Config) -> Option> { FILE: runtime/unc-vm-runner/src/tests.rs constant CURRENT_ACCOUNT_ID (line 16) | const CURRENT_ACCOUNT_ID: &str = "alice"; constant SIGNER_ACCOUNT_ID (line 17) | const SIGNER_ACCOUNT_ID: &str = "bob"; constant SIGNER_ACCOUNT_PK (line 18) | const SIGNER_ACCOUNT_PK: [u8; 3] = [0, 1, 2]; constant PREDECESSOR_ACCOUNT_ID (line 19) | const PREDECESSOR_ACCOUNT_ID: &str = "carol"; function test_vm_config (line 21) | pub(crate) fn test_vm_config() -> unc_parameters::vm::Config { function with_vm_variants (line 30) | pub(crate) fn with_vm_variants( function create_context (line 49) | fn create_context(input: Vec) -> VMContext { FILE: runtime/unc-vm-runner/src/tests/cache.rs function test_caches_compilation_error (line 24) | fn test_caches_compilation_error() { function test_does_not_cache_io_error (line 48) | fn test_does_not_cache_io_error() { function make_cached_contract_call_vm (line 78) | fn make_cached_contract_call_vm( function test_wasmer2_artifact_output_stability (line 105) | fn test_wasmer2_artifact_output_stability() { function test_unc_vm_artifact_output_stability (line 174) | fn test_unc_vm_artifact_output_stability() { type FaultingCompiledContractCache (line 246) | struct FaultingCompiledContractCache { method set_read_fault (line 253) | fn set_read_fault(&mut self, yes: bool) { method set_write_fault (line 257) | fn set_write_fault(&mut self, yes: bool) { method put (line 263) | fn put(&self, key: &CryptoHash, value: CompiledContract) -> std::io::Res... method get (line 270) | fn get(&self, key: &CryptoHash) -> std::io::Result Vec { function test_function_type_not_defined_contract_1 (line 64) | fn test_function_type_not_defined_contract_1() { function test_function_type_not_defined_contract_2 (line 84) | fn test_function_type_not_defined_contract_2() { function test_garbage_contract (line 103) | fn test_garbage_contract() { function test_evil_function_index (line 121) | fn test_evil_function_index() { function test_limit_contract_functions_number (line 141) | fn test_limit_contract_functions_number() { function test_limit_locals (line 262) | fn test_limit_locals() { function test_limit_locals_global (line 321) | fn test_limit_locals_global() { function test_stabilized_host_function (line 376) | pub fn test_stabilized_host_function() { function test_sandbox_only_function (line 406) | fn test_sandbox_only_function() { function extension_saturating_float_to_int (line 431) | fn extension_saturating_float_to_int() { function extension_signext (line 454) | fn extension_signext() { FILE: runtime/unc-vm-runner/src/tests/fuzzers.rs function find_entry_point (line 15) | pub fn find_entry_point(contract: &ContractCode) -> Option { function create_context (line 42) | pub fn create_context(input: Vec) -> VMContext { type ModuleConfig (line 69) | pub struct ModuleConfig {} method available_imports (line 77) | fn available_imports(&self) -> Option> { method canonicalize_nans (line 84) | fn canonicalize_nans(&self) -> bool { type ArbitraryModule (line 90) | pub struct ArbitraryModule(pub wasm_smith::ConfiguredModule); method arbitrary (line 93) | fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result... method fmt (line 99) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function run_fuzz (line 109) | fn run_fuzz(code: &ContractCode, vm_kind: VMKind) -> VMResult { function current_vm_does_not_crash_fuzzer (line 150) | fn current_vm_does_not_crash_fuzzer() { function unc_vm_and_wasmtime_agree_fuzzer (line 160) | fn unc_vm_and_wasmtime_agree_fuzzer() { function unc_vm_is_reproducible_fuzzer (line 171) | fn unc_vm_is_reproducible_fuzzer() { FILE: runtime/unc-vm-runner/src/tests/regression_tests.rs function memory_size_alignment_issue (line 5) | fn memory_size_alignment_issue() { function finite_wasm_gas_was_being_traced_and_thus_slow (line 35) | fn finite_wasm_gas_was_being_traced_and_thus_slow() { function gas_intrinsic_did_not_multiply_by_opcode_cost (line 61) | fn gas_intrinsic_did_not_multiply_by_opcode_cost() { FILE: runtime/unc-vm-runner/src/tests/rs_contract.rs function encode (line 20) | fn encode(xs: &[u64]) -> Vec { function test_contract (line 24) | fn test_contract(vm_kind: VMKind) -> ContractCode { function assert_run_result (line 35) | fn assert_run_result(result: VMResult, expected_value: u64) { function test_read_write (line 49) | pub fn test_read_write() { function run_test_ext (line 115) | fn run_test_ext( function ext_used_gas (line 162) | pub fn ext_used_gas() { function test_out_of_memory (line 220) | pub fn test_out_of_memory() { function function_call_weight_contract (line 252) | fn function_call_weight_contract() -> ContractCode { function attach_unspent_gas_but_use_all_gas (line 257) | fn attach_unspent_gas_but_use_all_gas() { FILE: runtime/unc-vm-runner/src/tests/runtime_errors.rs constant FIX_CONTRACT_LOADING_COST (line 6) | const FIX_CONTRACT_LOADING_COST: u32 = 129; function test_infinite_initializer (line 16) | fn test_infinite_initializer() { function test_infinite_initializer_export_not_found (line 27) | fn test_infinite_initializer_export_not_found() { function test_simple_contract (line 47) | fn test_simple_contract() { function test_imported_memory (line 64) | fn test_imported_memory() { function test_multiple_memories (line 86) | fn test_multiple_memories() { function test_export_not_found (line 104) | fn test_export_not_found() { function test_empty_method (line 121) | fn test_empty_method() { function test_trap_contract (line 129) | fn test_trap_contract() { function test_trap_initializer (line 149) | fn test_trap_initializer() { function test_div_by_zero_contract (line 176) | fn test_div_by_zero_contract() { function test_float_to_int_contract (line 207) | fn test_float_to_int_contract() { function test_indirect_call_to_null_contract (line 239) | fn test_indirect_call_to_null_contract() { function test_indirect_call_to_wrong_signature_contract (line 272) | fn test_indirect_call_to_wrong_signature_contract() { function test_wrong_signature_contract (line 308) | fn test_wrong_signature_contract() { function test_export_wrong_type (line 325) | fn test_export_wrong_type() { function test_guest_panic (line 342) | fn test_guest_panic() { function test_panic_re_export (line 368) | fn test_panic_re_export() { function test_stack_overflow (line 384) | fn test_stack_overflow() { function test_stack_instrumentation_protocol_upgrade (line 405) | fn test_stack_instrumentation_protocol_upgrade() { function test_memory_grow (line 478) | fn test_memory_grow() { function bad_import_global (line 500) | fn bad_import_global(env: &str) -> Vec { function bad_import_func (line 511) | fn bad_import_func(env: &str) -> Vec { function test_bad_import_1 (line 526) | fn test_bad_import_1() { function test_bad_import_2 (line 543) | fn test_bad_import_2() { function test_bad_import_3 (line 560) | fn test_bad_import_3() { function test_bad_import_4 (line 585) | fn test_bad_import_4() { function test_initializer_no_gas (line 593) | fn test_initializer_no_gas() { function test_bad_many_imports (line 610) | fn test_bad_many_imports() { function test_external_call_ok (line 639) | fn test_external_call_ok() { function test_external_call_error (line 656) | fn test_external_call_error() { function test_external_call_indirect (line 664) | fn test_external_call_indirect() { function test_address_overflow (line 697) | fn test_address_overflow() { function test_nan_sign (line 752) | fn test_nan_sign() { function test_gas_exceed_loading (line 805) | fn test_gas_exceed_loading() { function gas_overflow_direct_call (line 817) | fn gas_overflow_direct_call() { function gas_overflow_indirect_call (line 836) | fn gas_overflow_indirect_call() { function test_fn_loading_gas_protocol_upgrade (line 876) | fn test_fn_loading_gas_protocol_upgrade() { function test_fn_loading_gas_protocol_upgrade_exceed_loading (line 899) | fn test_fn_loading_gas_protocol_upgrade_exceed_loading() { function test_fn_loading_gas_protocol_upgrade_exceed_executing (line 920) | fn test_fn_loading_gas_protocol_upgrade_exceed_executing() { function test_fn_loading_gas_protocol_upgrade_fail_preparing (line 942) | fn test_fn_loading_gas_protocol_upgrade_fail_preparing() { function test_regression_9393 (line 1034) | fn test_regression_9393() { FILE: runtime/unc-vm-runner/src/tests/test_builder.rs function test_builder (line 12) | pub(crate) fn test_builder() -> TestBuilder { type TestBuilder (line 48) | pub(crate) struct TestBuilder { method wat (line 59) | pub(crate) fn wat(mut self, wat: &str) -> Self { method wasm (line 66) | pub(crate) fn wasm(mut self, wasm: &[u8]) -> Self { method get_wasm (line 72) | pub(crate) fn get_wasm(&self) -> &[u8] { method method (line 76) | pub(crate) fn method(mut self, method: &str) -> Self { method gas (line 81) | pub(crate) fn gas(mut self, gas: Gas) -> Self { method opaque_error (line 86) | pub(crate) fn opaque_error(mut self) -> Self { method opaque_outcome (line 91) | pub(crate) fn opaque_outcome(mut self) -> Self { method skip_wasmtime (line 98) | pub(crate) fn skip_wasmtime(mut self) -> Self { method skip_wasmer0 (line 103) | pub(crate) fn skip_wasmer0(mut self) -> Self { method skip_wasmer2 (line 108) | pub(crate) fn skip_wasmer2(mut self) -> Self { method skip_unc_vm (line 113) | pub(crate) fn skip_unc_vm(mut self) -> Self { method only_wasmtime (line 119) | pub(crate) fn only_wasmtime(self) -> Self { method only_wasmer0 (line 123) | pub(crate) fn only_wasmer0(self) -> Self { method only_wasmer2 (line 128) | pub(crate) fn only_wasmer2(self) -> Self { method only_unc_vm (line 132) | pub(crate) fn only_unc_vm(self) -> Self { method protocol_features (line 144) | pub(crate) fn protocol_features( method protocol_version (line 155) | pub(crate) fn protocol_version(mut self, protocol_version: ProtocolVer... method only_protocol_versions (line 160) | pub(crate) fn only_protocol_versions( method expect (line 169) | pub(crate) fn expect(self, want: &expect_test::Expect) { method configs (line 173) | pub(crate) fn configs(&self) -> impl Iterator(mut self, wants: I) function fmt_outcome_without_abort (line 271) | fn fmt_outcome_without_abort( FILE: runtime/unc-vm-runner/src/tests/ts_contract.rs function test_ts_contract (line 13) | pub fn test_ts_contract() { FILE: runtime/unc-vm-runner/src/tests/wasm_validation.rs function ensure_fails_verification (line 103) | fn ensure_fails_verification() { function ensure_fails_execution (line 116) | fn ensure_fails_execution() { FILE: runtime/unc-vm-runner/src/unc_vm_runner.rs type UncVmMemory (line 32) | pub struct UncVmMemory(Arc); method new (line 35) | fn new( method get_ptr (line 54) | unsafe fn get_ptr(&self, offset: u64, len: usize) -> Result<*mut u8, (... method get (line 72) | unsafe fn get(&self, offset: u64, len: usize) -> Result<&[u8], ()> { method get_mut (line 83) | unsafe fn get_mut(&mut self, offset: u64, len: usize) -> Result<&mut [... method vm (line 92) | pub(crate) fn vm(&self) -> VMMemory { method fits_memory (line 98) | fn fits_memory(&self, slice: MemSlice) -> Result<(), ()> { method view_memory (line 104) | fn view_memory(&self, slice: MemSlice) -> Result, ()> { method read_memory (line 112) | fn read_memory(&self, offset: u64, buffer: &mut [u8]) -> Result<(), ()> { method write_memory (line 118) | fn write_memory(&mut self, offset: u64, buffer: &[u8]) -> Result<(), ()> { function get_entrypoint_index (line 125) | fn get_entrypoint_index( function translate_runtime_error (line 147) | fn translate_runtime_error( type UncVmEngine (line 188) | enum UncVmEngine { type UncVmCompiler (line 196) | enum UncVmCompiler { type UncVmConfig (line 203) | struct UncVmConfig { method config_hash (line 210) | fn config_hash(self: Self) -> u64 { constant VM_CONFIG (line 219) | const VM_CONFIG: UncVmConfig = UncVmConfig { function unc_vm_vm_hash (line 225) | pub(crate) fn unc_vm_vm_hash() -> u64 { type VMArtifact (line 229) | pub(crate) type VMArtifact = Arc Self { method compile_uncached (line 298) | pub(crate) fn compile_uncached( method compile_and_cache (line 320) | fn compile_and_cache( method compile_and_load (line 344) | fn compile_and_load( method run_method (line 403) | fn run_method( method run (line 653) | fn run( method precompile (line 702) | fn precompile( function memory_style (line 523) | fn memory_style(&self, memory: &MemoryType) -> MemoryStyle { function table_style (line 530) | fn table_style(&self, _table: &unc_vm_types::TableType) -> unc_vm_vm::Ta... function create_host_memory (line 534) | fn create_host_memory( function create_vm_memory (line 544) | unsafe fn create_vm_memory( function create_host_table (line 555) | fn create_host_table( function create_vm_table (line 563) | unsafe fn create_vm_table( function stack_init_gas_cost (line 573) | fn stack_init_gas_cost(&self, stack_size: u64) -> u64 { function stack_limiter_cfg (line 578) | fn stack_limiter_cfg(&self) -> Box Box u8 { method size_of_function_activation (line 602) | fn size_of_function_activation( type GasCostCfg (line 622) | struct GasCostCfg(u64); type Output (line 648) | type Output = u64; function test_memory_like (line 717) | fn test_memory_like() { FILE: runtime/unc-vm-runner/src/utils.rs function stable_hash (line 5) | pub(crate) fn stable_hash(value: T) -> u64 { FILE: runtime/unc-vm-runner/src/wasmer2_runner.rs type Wasmer2Memory (line 33) | pub struct Wasmer2Memory(Arc); method new (line 36) | fn new( method get_ptr (line 55) | unsafe fn get_ptr(&self, offset: u64, len: usize) -> Result<*mut u8, (... method get (line 73) | unsafe fn get(&self, offset: u64, len: usize) -> Result<&[u8], ()> { method get_mut (line 84) | unsafe fn get_mut(&mut self, offset: u64, len: usize) -> Result<&mut [... method vm (line 93) | pub(crate) fn vm(&self) -> VMMemory { method fits_memory (line 99) | fn fits_memory(&self, slice: MemSlice) -> Result<(), ()> { method view_memory (line 105) | fn view_memory(&self, slice: MemSlice) -> Result, ()> { method read_memory (line 113) | fn read_memory(&self, offset: u64, buffer: &mut [u8]) -> Result<(), ()> { method write_memory (line 119) | fn write_memory(&mut self, offset: u64, buffer: &[u8]) -> Result<(), ()> { function get_entrypoint_index (line 126) | fn get_entrypoint_index( function translate_runtime_error (line 148) | fn translate_runtime_error( type WasmerEngine (line 189) | enum WasmerEngine { type WasmerCompiler (line 197) | enum WasmerCompiler { type Wasmer2Config (line 204) | struct Wasmer2Config { method config_hash (line 211) | fn config_hash(self: Self) -> u64 { constant WASMER2_CONFIG (line 220) | const WASMER2_CONFIG: Wasmer2Config = Wasmer2Config { function wasmer2_vm_hash (line 226) | pub(crate) fn wasmer2_vm_hash() -> u64 { type VMArtifact (line 230) | pub(crate) type VMArtifact = Arc Self { method compile_uncached (line 271) | pub(crate) fn compile_uncached( method compile_and_cache (line 293) | fn compile_and_cache( method compile_and_load (line 317) | fn compile_and_load( method run_method (line 388) | fn run_method( method run (line 562) | fn run( method precompile (line 611) | fn precompile( function memory_style (line 510) | fn memory_style(&self, memory: &MemoryType) -> MemoryStyle { function table_style (line 517) | fn table_style(&self, _table: &wasmer_types::TableType) -> wasmer_vm::Ta... function create_host_memory (line 521) | fn create_host_memory( function create_vm_memory (line 531) | unsafe fn create_vm_memory( function create_host_table (line 542) | fn create_host_table( function create_vm_table (line 550) | unsafe fn create_vm_table( function test_memory_like (line 626) | fn test_memory_like() { FILE: runtime/unc-vm-runner/src/wasmer_runner.rs function check_method (line 17) | fn check_method(module: &Module, method_name: &str) -> Result<(), Functi... type IntoVMError (line 33) | trait IntoVMError { method into_vm_error (line 34) | fn into_vm_error(self) -> Result; method into_vm_error (line 38) | fn into_vm_error(self) -> Result { method into_vm_error (line 58) | fn into_vm_error(self) -> Result { method into_vm_error (line 68) | fn into_vm_error(self) -> Result { method into_vm_error (line 85) | fn into_vm_error(self) -> Result { function run_method (line 196) | fn run_method( function wasmer0_vm_hash (line 230) | pub(crate) fn wasmer0_vm_hash() -> u64 { type Wasmer0VM (line 235) | pub(crate) struct Wasmer0VM { method new (line 240) | pub(crate) fn new(config: Config) -> Self { method compile_uncached (line 244) | pub(crate) fn compile_uncached( method compile_and_cache (line 263) | pub(crate) fn compile_and_cache( method compile_and_load (line 288) | pub(crate) fn compile_and_load( method run (line 346) | fn run( method precompile (line 416) | fn precompile( FILE: runtime/unc-vm-runner/src/wasmtime_runner.rs type Caller (line 19) | type Caller = wasmtime::Caller<'static, ()>; type WasmtimeMemory (line 23) | pub struct WasmtimeMemory(Memory); method new (line 26) | pub fn new( function with_caller (line 38) | fn with_caller(func: impl FnOnce(&mut Caller) -> T) -> T { method fits_memory (line 43) | fn fits_memory(&self, slice: MemSlice) -> Result<(), ()> { method view_memory (line 52) | fn view_memory(&self, slice: MemSlice) -> Result, ()> { method read_memory (line 59) | fn read_memory(&self, offset: u64, buffer: &mut [u8]) -> Result<(), ()> { method write_memory (line 69) | fn write_memory(&mut self, offset: u64, buffer: &[u8]) -> Result<(), ()> { type IntoVMError (line 80) | trait IntoVMError { method into_vm_error (line 81) | fn into_vm_error(self) -> Result; method into_vm_error (line 85) | fn into_vm_error(self) -> Result { function get_engine (line 126) | pub fn get_engine(config: &mut wasmtime::Config) -> Engine { function get_engine (line 131) | pub fn get_engine(config: &mut wasmtime::Config) -> Engine { function wasmtime_vm_hash (line 135) | pub(crate) fn wasmtime_vm_hash() -> u64 { type WasmtimeVM (line 140) | pub(crate) struct WasmtimeVM { method new (line 145) | pub(crate) fn new(config: Config) -> Self { method default_wasmtime_config (line 149) | pub(crate) fn default_wasmtime_config(&self) -> wasmtime::Config { method run (line 159) | fn run( method precompile (line 248) | fn precompile( FILE: runtime/unc-vm/compiler-singlepass/src/address_map.rs function get_function_address_map (line 3) | pub fn get_function_address_map<'data>( FILE: runtime/unc-vm/compiler-singlepass/src/codegen_x64.rs type Assembler (line 26) | type Assembler = VecAssembler; type FuncGen (line 29) | pub(crate) struct FuncGen<'a> { type SpecialLabelSet (line 103) | struct SpecialLabelSet { type FloatValue (line 117) | struct FloatValue { method new (line 126) | fn new(depth: usize) -> Self { method cncl_f32 (line 130) | fn cncl_f32(depth: usize) -> Self { method cncl_f64 (line 134) | fn cncl_f64(depth: usize) -> Self { method promote (line 138) | fn promote(self, depth: usize) -> FloatValue { method demote (line 149) | fn demote(self, depth: usize) -> FloatValue { type CanonicalizeType (line 164) | enum CanonicalizeType { method to_size (line 170) | fn to_size(&self) -> Size { type PopMany (line 178) | trait PopMany { method peek1 (line 179) | fn peek1(&self) -> Result<&T, CodegenError>; method pop1 (line 180) | fn pop1(&mut self) -> Result; method pop2 (line 181) | fn pop2(&mut self) -> Result<(T, T), CodegenError>; function peek1 (line 185) | fn peek1(&self) -> Result<&T, CodegenError> { function pop1 (line 189) | fn pop1(&mut self) -> Result { function pop2 (line 193) | fn pop2(&mut self) -> Result<(T, T), CodegenError> { type WpTypeExt (line 204) | trait WpTypeExt { method is_float (line 205) | fn is_float(&self) -> bool; method is_float (line 209) | fn is_float(&self) -> bool { type ControlFrame (line 218) | pub(crate) struct ControlFrame { type IfElseState (line 235) | pub(crate) enum IfElseState { type CodegenError (line 242) | pub(crate) struct CodegenError { type I2O1 (line 248) | struct I2O1 { function set_srcloc (line 256) | pub(crate) fn set_srcloc(&mut self, offset: u32) { function get_location_released (line 260) | fn get_location_released(&mut self, loc: Location) -> Location { function pop_value_released (line 265) | fn pop_value_released(&mut self) -> Location { function i2o1_prepare (line 271) | fn i2o1_prepare(&mut self, ty: WpType) -> I2O1 { function emit_call (line 279) | fn emit_call(&mut self, function: FunctionIndex) -> Result<(), CodegenEr... function emit_gas_const (line 351) | fn emit_gas_const(&mut self, cost: u64) { function emit_gas (line 376) | fn emit_gas(&mut self, cost_location: Location) { function emit_trap (line 432) | fn emit_trap(&mut self, code: TrapCode) { function canonicalize_nan (line 450) | fn canonicalize_nan(&mut self, sz: Size, input: Location, output: Locati... function emit_relaxed_xdiv (line 491) | fn emit_relaxed_xdiv(&mut self, signed: bool, sz: Size, loc: Location) { function emit_relaxed_zx_sx (line 549) | fn emit_relaxed_zx_sx( function emit_relaxed_binop (line 605) | fn emit_relaxed_binop( function emit_relaxed_avx (line 676) | fn emit_relaxed_avx( function emit_relaxed_avx_base (line 693) | fn emit_relaxed_avx_base( function emit_binop_i32 (line 775) | fn emit_binop_i32(&mut self, f: fn(&mut Assembler, Size, Location, Locat... function emit_binop_i64 (line 790) | fn emit_binop_i64(&mut self, f: fn(&mut Assembler, Size, Location, Locat... function emit_cmpop_i32_dynamic_b (line 806) | fn emit_cmpop_i32_dynamic_b( function emit_cmpop_i32 (line 840) | fn emit_cmpop_i32(&mut self, c: Condition) -> Result<(), CodegenError> { function emit_cmpop_i64_dynamic_b (line 847) | fn emit_cmpop_i64_dynamic_b( function emit_cmpop_i64 (line 881) | fn emit_cmpop_i64(&mut self, c: Condition) -> Result<(), CodegenError> { function emit_xcnt_i32 (line 888) | fn emit_xcnt_i32( function emit_xcnt_i64 (line 930) | fn emit_xcnt_i64( function emit_shift_i32 (line 972) | fn emit_shift_i32(&mut self, f: fn(&mut Assembler, Size, Location, Locat... function emit_shift_i64 (line 985) | fn emit_shift_i64(&mut self, f: fn(&mut Assembler, Size, Location, Locat... function emit_fp_binop_avx (line 997) | fn emit_fp_binop_avx( function emit_fp_cmpop_avx (line 1008) | fn emit_fp_cmpop_avx( function emit_fp_unop_avx (line 1023) | fn emit_fp_unop_avx( function emit_call_native (line 1040) | fn emit_call_native, F: FnOnce(&mut Self)>( function emit_memory_op (line 1224) | fn emit_memory_op Result<(), CodegenError>>( function emit_compare_and_swap (line 1334) | fn emit_compare_and_swap( function emit_f32_int_conv_check (line 1384) | fn emit_f32_int_conv_check( function emit_f32_int_conv_check_trap (line 1429) | fn emit_f32_int_conv_check_trap(&mut self, reg: XMM, lower_bound: f32, u... function emit_f32_int_conv_check_sat (line 1447) | fn emit_f32_int_conv_check_sat< function emit_f64_int_conv_check (line 1502) | fn emit_f64_int_conv_check( function emit_f64_int_conv_check_trap (line 1547) | fn emit_f64_int_conv_check_trap(&mut self, reg: XMM, lower_bound: f64, u... function emit_f64_int_conv_check_sat (line 1565) | fn emit_f64_int_conv_check_sat< function emit_head (line 1619) | pub(crate) fn emit_head(&mut self) -> Result<(), CodegenError> { function mark_instruction_address_end (line 1674) | fn mark_instruction_address_end(&mut self, begin: usize) { function new (line 1683) | pub(crate) fn new( function has_control_frames (line 1744) | pub(crate) fn has_control_frames(&self) -> bool { function feed_local (line 1751) | pub(crate) fn feed_local(&mut self, local_count: u32, local_type: WpType) { function local_count (line 1762) | pub(crate) fn local_count(&self) -> u32 { function local_type (line 1773) | pub(crate) fn local_type(&self, index: u32) -> WpType { function consume_gas_offset (line 1778) | fn consume_gas_offset(&mut self /*, should_be_unreachable: bool */) -> O... function feed_operator (line 1790) | pub(crate) fn feed_operator(&mut self, op: Operator) -> Result<(), Codeg... function finalize (line 7651) | pub(crate) fn finalize(mut self, data: &FunctionBodyData) -> CompiledFun... function type_to_wp_type (line 7701) | fn type_to_wp_type(ty: Type) -> WpType { function sort_call_movs (line 7715) | fn sort_call_movs(movs: &mut [(Location, GPR)]) { function gen_std_trampoline (line 7764) | pub(crate) fn gen_std_trampoline( function gen_std_dynamic_import_trampoline (line 7857) | pub(crate) fn gen_std_dynamic_import_trampoline( function gen_import_call_trampoline (line 7975) | pub(crate) fn gen_import_call_trampoline( constant GEF32_LT_I32_MIN (line 8134) | const GEF32_LT_I32_MIN: f32 = -2147483904.0; constant LEF32_GT_I32_MAX (line 8136) | const LEF32_GT_I32_MAX: f32 = 2147483648.0; constant GEF32_LT_I64_MIN (line 8138) | const GEF32_LT_I64_MIN: f32 = -9223373136366403584.0; constant LEF32_GT_I64_MAX (line 8140) | const LEF32_GT_I64_MAX: f32 = 9223372036854775808.0; constant GEF32_LT_U32_MIN (line 8142) | const GEF32_LT_U32_MIN: f32 = -1.0; constant LEF32_GT_U32_MAX (line 8144) | const LEF32_GT_U32_MAX: f32 = 4294967296.0; constant GEF32_LT_U64_MIN (line 8146) | const GEF32_LT_U64_MIN: f32 = -1.0; constant LEF32_GT_U64_MAX (line 8148) | const LEF32_GT_U64_MAX: f32 = 18446744073709551616.0; constant GEF64_LT_I32_MIN (line 8151) | const GEF64_LT_I32_MIN: f64 = -2147483649.0; constant LEF64_GT_I32_MAX (line 8153) | const LEF64_GT_I32_MAX: f64 = 2147483648.0; constant GEF64_LT_I64_MIN (line 8155) | const GEF64_LT_I64_MIN: f64 = -9223372036854777856.0; constant LEF64_GT_I64_MAX (line 8157) | const LEF64_GT_I64_MAX: f64 = 9223372036854775808.0; constant GEF64_LT_U32_MIN (line 8159) | const GEF64_LT_U32_MIN: f64 = -1.0; constant LEF64_GT_U32_MAX (line 8161) | const LEF64_GT_U32_MAX: f64 = 4294967296.0; constant GEF64_LT_U64_MIN (line 8163) | const GEF64_LT_U64_MIN: f64 = -1.0; constant LEF64_GT_U64_MAX (line 8165) | const LEF64_GT_U64_MAX: f64 = 18446744073709551616.0; FILE: runtime/unc-vm/compiler-singlepass/src/compiler.rs type SinglepassCompiler (line 25) | pub struct SinglepassCompiler { method new (line 31) | pub fn new(config: Singlepass) -> Self { method config (line 36) | fn config(&self) -> &Singlepass { method compile_module (line 45) | fn compile_module( type ToCompileError (line 216) | trait ToCompileError { method to_compile_error (line 217) | fn to_compile_error(self) -> CompileError; method to_compile_error (line 221) | fn to_compile_error(self) -> CompileError { function to_compile_error (line 226) | fn to_compile_error(x: T) -> CompileError { function dummy_compilation_ingredients (line 238) | fn dummy_compilation_ingredients<'a>() -> ( function errors_for_unsupported_targets (line 261) | fn errors_for_unsupported_targets() { FILE: runtime/unc-vm/compiler-singlepass/src/config.rs type IntrinsicKind (line 12) | pub(crate) enum IntrinsicKind { type Intrinsic (line 17) | pub(crate) struct Intrinsic { method is_params_ok (line 100) | pub(crate) fn is_params_ok(&self, params: &SmallVec<[Location; 8]>) ->... type Singlepass (line 24) | pub struct Singlepass { method new (line 35) | pub fn new() -> Self { method enable_stack_check (line 55) | pub fn enable_stack_check(&mut self, enable: bool) -> &mut Self { method enable_nan_canonicalization (line 60) | fn enable_nan_canonicalization(&mut self) { method set_9393_fix (line 64) | pub fn set_9393_fix(&mut self, enable: bool) { method canonicalize_nans (line 68) | pub fn canonicalize_nans(&mut self, enable: bool) -> &mut Self { method enable_pic (line 75) | fn enable_pic(&mut self) { method compiler (line 81) | fn compiler(self: Box) -> Box { method default_features_for_target (line 86) | fn default_features_for_target(&self, _target: &Target) -> Features { method default (line 94) | fn default() -> Singlepass { FILE: runtime/unc-vm/compiler-singlepass/src/emitter_x64.rs type Assembler (line 9) | type Assembler = VecAssembler; type Location (line 26) | pub(crate) enum Location { type Condition (line 39) | pub(crate) enum Condition { type Size (line 57) | pub(crate) enum Size { type XMMOrMemory (line 65) | pub(crate) enum XMMOrMemory { type GPROrMemory (line 72) | pub(crate) enum GPROrMemory { type Emitter (line 77) | pub(crate) trait Emitter { method get_label (line 81) | fn get_label(&mut self) -> Self::Label; method get_offset (line 82) | fn get_offset(&self) -> Self::Offset; method get_jmp_instr_size (line 83) | fn get_jmp_instr_size(&self) -> u8; method finalize_function (line 85) | fn finalize_function(&mut self) {} method emit_bytes (line 87) | fn emit_bytes(&mut self, bytes: &[u8]); method emit_label (line 89) | fn emit_label(&mut self, label: Self::Label); method emit_nop_n (line 93) | fn emit_nop_n(&mut self, n: usize); method emit_mov (line 95) | fn emit_mov(&mut self, sz: Size, src: Location, dst: Location); method emit_lea (line 96) | fn emit_lea(&mut self, sz: Size, src: Location, dst: Location); method emit_lea_label (line 97) | fn emit_lea_label(&mut self, label: Self::Label, dst: Location); method emit_cdq (line 98) | fn emit_cdq(&mut self); method emit_cqo (line 99) | fn emit_cqo(&mut self); method emit_xor (line 100) | fn emit_xor(&mut self, sz: Size, src: Location, dst: Location); method emit_jmp (line 101) | fn emit_jmp(&mut self, condition: Condition, label: Self::Label); method emit_jmp_location (line 102) | fn emit_jmp_location(&mut self, loc: Location); method emit_set (line 103) | fn emit_set(&mut self, condition: Condition, dst: GPR); method emit_push (line 104) | fn emit_push(&mut self, sz: Size, src: Location); method emit_pop (line 105) | fn emit_pop(&mut self, sz: Size, dst: Location); method emit_cmp (line 106) | fn emit_cmp(&mut self, sz: Size, left: Location, right: Location); method emit_add (line 107) | fn emit_add(&mut self, sz: Size, src: Location, dst: Location); method emit_sub (line 108) | fn emit_sub(&mut self, sz: Size, src: Location, dst: Location); method emit_neg (line 109) | fn emit_neg(&mut self, sz: Size, value: Location); method emit_imul (line 110) | fn emit_imul(&mut self, sz: Size, src: Location, dst: Location); method emit_imul_imm32_gpr64 (line 111) | fn emit_imul_imm32_gpr64(&mut self, src: u32, dst: GPR); method emit_div (line 112) | fn emit_div(&mut self, sz: Size, divisor: Location); method emit_idiv (line 113) | fn emit_idiv(&mut self, sz: Size, divisor: Location); method emit_shl (line 114) | fn emit_shl(&mut self, sz: Size, src: Location, dst: Location); method emit_shr (line 115) | fn emit_shr(&mut self, sz: Size, src: Location, dst: Location); method emit_sar (line 116) | fn emit_sar(&mut self, sz: Size, src: Location, dst: Location); method emit_rol (line 117) | fn emit_rol(&mut self, sz: Size, src: Location, dst: Location); method emit_ror (line 118) | fn emit_ror(&mut self, sz: Size, src: Location, dst: Location); method emit_and (line 119) | fn emit_and(&mut self, sz: Size, src: Location, dst: Location); method emit_or (line 120) | fn emit_or(&mut self, sz: Size, src: Location, dst: Location); method emit_bsr (line 121) | fn emit_bsr(&mut self, sz: Size, src: Location, dst: Location); method emit_bsf (line 122) | fn emit_bsf(&mut self, sz: Size, src: Location, dst: Location); method emit_popcnt (line 123) | fn emit_popcnt(&mut self, sz: Size, src: Location, dst: Location); method emit_movzx (line 124) | fn emit_movzx(&mut self, sz_src: Size, src: Location, sz_dst: Size, ds... method emit_movsx (line 125) | fn emit_movsx(&mut self, sz_src: Size, src: Location, sz_dst: Size, ds... method emit_xchg (line 126) | fn emit_xchg(&mut self, sz: Size, src: Location, dst: Location); method emit_lock_xadd (line 127) | fn emit_lock_xadd(&mut self, sz: Size, src: Location, dst: Location); method emit_lock_cmpxchg (line 128) | fn emit_lock_cmpxchg(&mut self, sz: Size, src: Location, dst: Location); method emit_rep_stosq (line 129) | fn emit_rep_stosq(&mut self); method emit_btc_gpr_imm8_32 (line 131) | fn emit_btc_gpr_imm8_32(&mut self, src: u8, dst: GPR); method emit_btc_gpr_imm8_64 (line 132) | fn emit_btc_gpr_imm8_64(&mut self, src: u8, dst: GPR); method emit_cmovae_gpr_64 (line 134) | fn emit_cmovae_gpr_64(&mut self, src: GPR, dst: GPR); method emit_vmovaps (line 136) | fn emit_vmovaps(&mut self, src: XMMOrMemory, dst: XMMOrMemory); method emit_vmovapd (line 137) | fn emit_vmovapd(&mut self, src: XMMOrMemory, dst: XMMOrMemory); method emit_vxorps (line 138) | fn emit_vxorps(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vxorpd (line 139) | fn emit_vxorpd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vaddss (line 141) | fn emit_vaddss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vaddsd (line 142) | fn emit_vaddsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vsubss (line 143) | fn emit_vsubss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vsubsd (line 144) | fn emit_vsubsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vmulss (line 145) | fn emit_vmulss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vmulsd (line 146) | fn emit_vmulsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vdivss (line 147) | fn emit_vdivss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vdivsd (line 148) | fn emit_vdivsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vmaxss (line 149) | fn emit_vmaxss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vmaxsd (line 150) | fn emit_vmaxsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vminss (line 151) | fn emit_vminss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vminsd (line 152) | fn emit_vminsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpeqss (line 154) | fn emit_vcmpeqss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpeqsd (line 155) | fn emit_vcmpeqsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpneqss (line 157) | fn emit_vcmpneqss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpneqsd (line 158) | fn emit_vcmpneqsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpltss (line 160) | fn emit_vcmpltss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpltsd (line 161) | fn emit_vcmpltsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpless (line 163) | fn emit_vcmpless(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmplesd (line 164) | fn emit_vcmplesd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpgtss (line 166) | fn emit_vcmpgtss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpgtsd (line 167) | fn emit_vcmpgtsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpgess (line 169) | fn emit_vcmpgess(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpgesd (line 170) | fn emit_vcmpgesd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpunordss (line 172) | fn emit_vcmpunordss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcmpunordsd (line 173) | fn emit_vcmpunordsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vsqrtss (line 175) | fn emit_vsqrtss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vsqrtsd (line 176) | fn emit_vsqrtsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vroundss_uncest (line 178) | fn emit_vroundss_uncest(&mut self, src1: XMM, src2: XMMOrMemory, dst: ... method emit_vroundss_floor (line 179) | fn emit_vroundss_floor(&mut self, src1: XMM, src2: XMMOrMemory, dst: X... method emit_vroundss_ceil (line 180) | fn emit_vroundss_ceil(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vroundss_trunc (line 181) | fn emit_vroundss_trunc(&mut self, src1: XMM, src2: XMMOrMemory, dst: X... method emit_vroundsd_uncest (line 182) | fn emit_vroundsd_uncest(&mut self, src1: XMM, src2: XMMOrMemory, dst: ... method emit_vroundsd_floor (line 183) | fn emit_vroundsd_floor(&mut self, src1: XMM, src2: XMMOrMemory, dst: X... method emit_vroundsd_ceil (line 184) | fn emit_vroundsd_ceil(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vroundsd_trunc (line 185) | fn emit_vroundsd_trunc(&mut self, src1: XMM, src2: XMMOrMemory, dst: X... method emit_vcvtss2sd (line 187) | fn emit_vcvtss2sd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_vcvtsd2ss (line 188) | fn emit_vcvtsd2ss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); method emit_ucomiss (line 190) | fn emit_ucomiss(&mut self, src: XMMOrMemory, dst: XMM); method emit_ucomisd (line 191) | fn emit_ucomisd(&mut self, src: XMMOrMemory, dst: XMM); method emit_cvttss2si_32 (line 193) | fn emit_cvttss2si_32(&mut self, src: XMMOrMemory, dst: GPR); method emit_cvttss2si_64 (line 194) | fn emit_cvttss2si_64(&mut self, src: XMMOrMemory, dst: GPR); method emit_cvttsd2si_32 (line 195) | fn emit_cvttsd2si_32(&mut self, src: XMMOrMemory, dst: GPR); method emit_cvttsd2si_64 (line 196) | fn emit_cvttsd2si_64(&mut self, src: XMMOrMemory, dst: GPR); method emit_vcvtsi2ss_32 (line 198) | fn emit_vcvtsi2ss_32(&mut self, src1: XMM, src2: GPROrMemory, dst: XMM); method emit_vcvtsi2ss_64 (line 199) | fn emit_vcvtsi2ss_64(&mut self, src1: XMM, src2: GPROrMemory, dst: XMM); method emit_vcvtsi2sd_32 (line 200) | fn emit_vcvtsi2sd_32(&mut self, src1: XMM, src2: GPROrMemory, dst: XMM); method emit_vcvtsi2sd_64 (line 201) | fn emit_vcvtsi2sd_64(&mut self, src1: XMM, src2: GPROrMemory, dst: XMM); method emit_vblendvps (line 203) | fn emit_vblendvps(&mut self, src1: XMM, src2: XMMOrMemory, mask: XMM, ... method emit_vblendvpd (line 204) | fn emit_vblendvpd(&mut self, src1: XMM, src2: XMMOrMemory, mask: XMM, ... method emit_test_gpr_64 (line 206) | fn emit_test_gpr_64(&mut self, reg: GPR); method emit_ret (line 208) | fn emit_ret(&mut self); method emit_call_location (line 209) | fn emit_call_location(&mut self, loc: Location); method emit_call_register (line 211) | fn emit_call_register(&mut self, reg: GPR); method emit_host_redirection (line 213) | fn emit_host_redirection(&mut self, target: GPR); method arch_has_itruncf (line 215) | fn arch_has_itruncf(&self) -> bool { method arch_emit_i32_trunc_sf32 (line 218) | fn arch_emit_i32_trunc_sf32(&mut self, _src: XMM, _dst: GPR) { method arch_emit_i32_trunc_sf64 (line 221) | fn arch_emit_i32_trunc_sf64(&mut self, _src: XMM, _dst: GPR) { method arch_emit_i32_trunc_uf32 (line 224) | fn arch_emit_i32_trunc_uf32(&mut self, _src: XMM, _dst: GPR) { method arch_emit_i32_trunc_uf64 (line 227) | fn arch_emit_i32_trunc_uf64(&mut self, _src: XMM, _dst: GPR) { method arch_emit_i64_trunc_sf32 (line 230) | fn arch_emit_i64_trunc_sf32(&mut self, _src: XMM, _dst: GPR) { method arch_emit_i64_trunc_sf64 (line 233) | fn arch_emit_i64_trunc_sf64(&mut self, _src: XMM, _dst: GPR) { method arch_emit_i64_trunc_uf32 (line 236) | fn arch_emit_i64_trunc_uf32(&mut self, _src: XMM, _dst: GPR) { method arch_emit_i64_trunc_uf64 (line 239) | fn arch_emit_i64_trunc_uf64(&mut self, _src: XMM, _dst: GPR) { method arch_has_fconverti (line 243) | fn arch_has_fconverti(&self) -> bool { method arch_emit_f32_convert_si32 (line 246) | fn arch_emit_f32_convert_si32(&mut self, _src: GPR, _dst: XMM) { method arch_emit_f32_convert_si64 (line 249) | fn arch_emit_f32_convert_si64(&mut self, _src: GPR, _dst: XMM) { method arch_emit_f32_convert_ui32 (line 252) | fn arch_emit_f32_convert_ui32(&mut self, _src: GPR, _dst: XMM) { method arch_emit_f32_convert_ui64 (line 255) | fn arch_emit_f32_convert_ui64(&mut self, _src: GPR, _dst: XMM) { method arch_emit_f64_convert_si32 (line 258) | fn arch_emit_f64_convert_si32(&mut self, _src: GPR, _dst: XMM) { method arch_emit_f64_convert_si64 (line 261) | fn arch_emit_f64_convert_si64(&mut self, _src: GPR, _dst: XMM) { method arch_emit_f64_convert_ui32 (line 264) | fn arch_emit_f64_convert_ui32(&mut self, _src: GPR, _dst: XMM) { method arch_emit_f64_convert_ui64 (line 267) | fn arch_emit_f64_convert_ui64(&mut self, _src: GPR, _dst: XMM) { method arch_has_fneg (line 271) | fn arch_has_fneg(&self) -> bool { method arch_emit_f32_neg (line 274) | fn arch_emit_f32_neg(&mut self, _src: XMM, _dst: XMM) { method arch_emit_f64_neg (line 277) | fn arch_emit_f64_neg(&mut self, _src: XMM, _dst: XMM) { method arch_has_xzcnt (line 281) | fn arch_has_xzcnt(&self, _cpu: &EnumSet) -> bool { method arch_emit_lzcnt (line 284) | fn arch_emit_lzcnt(&mut self, _sz: Size, _src: Location, _dst: Locatio... method arch_emit_tzcnt (line 287) | fn arch_emit_tzcnt(&mut self, _sz: Size, _src: Location, _dst: Locatio... method arch_supports_canonicalize_nan (line 291) | fn arch_supports_canonicalize_nan(&self) -> bool { method arch_requires_indirect_call_trampoline (line 295) | fn arch_requires_indirect_call_trampoline(&self) -> bool { method arch_emit_indirect_call_with_trampoline (line 299) | fn arch_emit_indirect_call_with_trampoline(&mut self, _loc: Location) { method arch_mov64_imm_offset (line 305) | fn arch_mov64_imm_offset(&self) -> usize { type Label (line 627) | type Label = DynamicLabel; type Offset (line 628) | type Offset = AssemblyOffset; method get_label (line 630) | fn get_label(&mut self) -> DynamicLabel { method get_offset (line 634) | fn get_offset(&self) -> AssemblyOffset { method get_jmp_instr_size (line 638) | fn get_jmp_instr_size(&self) -> u8 { method finalize_function (line 642) | fn finalize_function(&mut self) { method emit_bytes (line 654) | fn emit_bytes(&mut self, bytes: &[u8]) { method emit_label (line 660) | fn emit_label(&mut self, label: Self::Label) { method emit_nop_n (line 664) | fn emit_nop_n(&mut self, mut n: usize) { method emit_mov (line 696) | fn emit_mov(&mut self, sz: Size, src: Location, dst: Location) { method emit_lea (line 782) | fn emit_lea(&mut self, sz: Size, src: Location, dst: Location) { method emit_lea_label (line 799) | fn emit_lea_label(&mut self, label: Self::Label, dst: Location) { method emit_cdq (line 807) | fn emit_cdq(&mut self) { method emit_cqo (line 810) | fn emit_cqo(&mut self) { method emit_xor (line 813) | fn emit_xor(&mut self, sz: Size, src: Location, dst: Location) { method emit_jmp (line 818) | fn emit_jmp(&mut self, condition: Condition, label: Self::Label) { method emit_jmp_location (line 836) | fn emit_jmp_location(&mut self, loc: Location) { method emit_set (line 843) | fn emit_set(&mut self, condition: Condition, dst: GPR) { method emit_push (line 861) | fn emit_push(&mut self, sz: Size, src: Location) { method emit_pop (line 871) | fn emit_pop(&mut self, sz: Size, dst: Location) { method emit_cmp (line 880) | fn emit_cmp(&mut self, sz: Size, left: Location, right: Location) { method emit_add (line 904) | fn emit_add(&mut self, sz: Size, src: Location, dst: Location) { method emit_sub (line 913) | fn emit_sub(&mut self, sz: Size, src: Location, dst: Location) { method emit_neg (line 922) | fn emit_neg(&mut self, sz: Size, value: Location) { method emit_imul (line 943) | fn emit_imul(&mut self, sz: Size, src: Location, dst: Location) { method emit_imul_imm32_gpr64 (line 950) | fn emit_imul_imm32_gpr64(&mut self, src: u32, dst: GPR) { method emit_div (line 953) | fn emit_div(&mut self, sz: Size, divisor: Location) { method emit_idiv (line 958) | fn emit_idiv(&mut self, sz: Size, divisor: Location) { method emit_shl (line 963) | fn emit_shl(&mut self, sz: Size, src: Location, dst: Location) { method emit_shr (line 968) | fn emit_shr(&mut self, sz: Size, src: Location, dst: Location) { method emit_sar (line 973) | fn emit_sar(&mut self, sz: Size, src: Location, dst: Location) { method emit_rol (line 978) | fn emit_rol(&mut self, sz: Size, src: Location, dst: Location) { method emit_ror (line 983) | fn emit_ror(&mut self, sz: Size, src: Location, dst: Location) { method emit_and (line 988) | fn emit_and(&mut self, sz: Size, src: Location, dst: Location) { method emit_or (line 993) | fn emit_or(&mut self, sz: Size, src: Location, dst: Location) { method emit_bsr (line 998) | fn emit_bsr(&mut self, sz: Size, src: Location, dst: Location) { method emit_bsf (line 1005) | fn emit_bsf(&mut self, sz: Size, src: Location, dst: Location) { method emit_popcnt (line 1012) | fn emit_popcnt(&mut self, sz: Size, src: Location, dst: Location) { method emit_movzx (line 1019) | fn emit_movzx(&mut self, sz_src: Size, src: Location, sz_dst: Size, ds... method emit_movsx (line 1050) | fn emit_movsx(&mut self, sz_src: Size, src: Location, sz_dst: Size, ds... method emit_xchg (line 1088) | fn emit_xchg(&mut self, sz: Size, src: Location, dst: Location) { method emit_lock_xadd (line 1130) | fn emit_lock_xadd(&mut self, sz: Size, src: Location, dst: Location) { method emit_lock_cmpxchg (line 1148) | fn emit_lock_cmpxchg(&mut self, sz: Size, src: Location, dst: Location) { method emit_rep_stosq (line 1166) | fn emit_rep_stosq(&mut self) { method emit_btc_gpr_imm8_32 (line 1169) | fn emit_btc_gpr_imm8_32(&mut self, src: u8, dst: GPR) { method emit_btc_gpr_imm8_64 (line 1173) | fn emit_btc_gpr_imm8_64(&mut self, src: u8, dst: GPR) { method emit_cmovae_gpr_64 (line 1177) | fn emit_cmovae_gpr_64(&mut self, src: GPR, dst: GPR) { method emit_vmovaps (line 1181) | fn emit_vmovaps(&mut self, src: XMMOrMemory, dst: XMMOrMemory) { method emit_vmovapd (line 1196) | fn emit_vmovapd(&mut self, src: XMMOrMemory, dst: XMMOrMemory) { method emit_vblendvps (line 1273) | fn emit_vblendvps(&mut self, src1: XMM, src2: XMMOrMemory, mask: XMM, ... method emit_vblendvpd (line 1284) | fn emit_vblendvpd(&mut self, src1: XMM, src2: XMMOrMemory, mask: XMM, ... method emit_ucomiss (line 1295) | fn emit_ucomiss(&mut self, src: XMMOrMemory, dst: XMM) { method emit_ucomisd (line 1304) | fn emit_ucomisd(&mut self, src: XMMOrMemory, dst: XMM) { method emit_cvttss2si_32 (line 1313) | fn emit_cvttss2si_32(&mut self, src: XMMOrMemory, dst: GPR) { method emit_cvttss2si_64 (line 1322) | fn emit_cvttss2si_64(&mut self, src: XMMOrMemory, dst: GPR) { method emit_cvttsd2si_32 (line 1331) | fn emit_cvttsd2si_32(&mut self, src: XMMOrMemory, dst: GPR) { method emit_cvttsd2si_64 (line 1340) | fn emit_cvttsd2si_64(&mut self, src: XMMOrMemory, dst: GPR) { method emit_test_gpr_64 (line 1349) | fn emit_test_gpr_64(&mut self, reg: GPR) { method emit_ret (line 1353) | fn emit_ret(&mut self) { method emit_call_location (line 1357) | fn emit_call_location(&mut self, loc: Location) { method emit_call_register (line 1365) | fn emit_call_register(&mut self, reg: GPR) { method emit_host_redirection (line 1369) | fn emit_host_redirection(&mut self, target: GPR) { method arch_has_xzcnt (line 1373) | fn arch_has_xzcnt(&self, cpu: &EnumSet) -> bool { method arch_emit_lzcnt (line 1377) | fn arch_emit_lzcnt(&mut self, sz: Size, src: Location, dst: Location) { method arch_emit_tzcnt (line 1385) | fn arch_emit_tzcnt(&mut self, sz: Size, src: Location, dst: Location) { method arch_mov64_imm_offset (line 1393) | fn arch_mov64_imm_offset(&self) -> usize { FILE: runtime/unc-vm/compiler-singlepass/src/machine.rs constant NATIVE_PAGE_SIZE (line 8) | const NATIVE_PAGE_SIZE: usize = 4096; type MachineStackOffset (line 11) | struct MachineStackOffset(usize); type Machine (line 13) | pub(crate) struct Machine { method new (line 39) | pub(crate) fn new() -> Self { method get_stack_offset (line 49) | pub(crate) fn get_stack_offset(&self) -> usize { method get_used_in (line 53) | fn get_used_in(mut v: u32, to_return_type: impl Fn(u8) -> T) -> Vec... method get_used_gprs (line 65) | pub(crate) fn get_used_gprs(&self) -> Vec { method get_used_xmms (line 69) | pub(crate) fn get_used_xmms(&self) -> Vec { method get_vmctx_reg (line 73) | pub(crate) fn get_vmctx_reg() -> GPR { method pick_one_in (line 77) | fn pick_one_in(v: u32) -> Option { method pick_gpr (line 85) | pub(crate) fn pick_gpr(&self) -> Option { method pick_temp_gpr (line 94) | pub(crate) fn pick_temp_gpr(&self) -> Option { method get_gpr_used (line 100) | fn get_gpr_used(&self, r: GPR) -> bool { method set_gpr_used (line 108) | fn set_gpr_used(&mut self, r: GPR) { method set_gpr_unused (line 112) | fn set_gpr_unused(&mut self, r: GPR) { method get_xmm_used (line 116) | fn get_xmm_used(&self, r: XMM) -> bool { method set_xmm_used (line 124) | fn set_xmm_used(&mut self, r: XMM) { method set_xmm_unused (line 128) | fn set_xmm_unused(&mut self, r: XMM) { method acquire_temp_gpr (line 133) | pub(crate) fn acquire_temp_gpr(&mut self) -> Option { method release_temp_gpr (line 142) | pub(crate) fn release_temp_gpr(&mut self, gpr: GPR) { method reserve_unused_temp_gpr (line 148) | pub(crate) fn reserve_unused_temp_gpr(&mut self, gpr: GPR) -> GPR { method pick_xmm (line 157) | pub(crate) fn pick_xmm(&self) -> Option { method pick_temp_xmm (line 166) | pub(crate) fn pick_temp_xmm(&self) -> Option { method acquire_temp_xmm (line 173) | pub(crate) fn acquire_temp_xmm(&mut self) -> Option { method release_temp_xmm (line 182) | pub(crate) fn release_temp_xmm(&mut self, xmm: XMM) { method increase_rsp (line 187) | fn increase_rsp(&mut self, a: &mut impl Emitter, sz: usize) { method decrease_rsp (line 192) | fn decrease_rsp(&mut self, a: &mut impl Emitter, sz: usize) { method acquire_locations (line 201) | pub(crate) fn acquire_locations( method release_locations (line 244) | pub(crate) fn release_locations(&mut self, assembler: &mut... method release_locations_only_regs (line 276) | pub(crate) fn release_locations_only_regs(&mut self, locs: &[Location]) { method release_locations_only_stack (line 292) | pub(crate) fn release_locations_only_stack( method release_locations_keep_state (line 317) | pub(crate) fn release_locations_keep_state( constant LOCAL_REGISTERS (line 347) | const LOCAL_REGISTERS: &'static [GPR] = &[GPR::R12, GPR::R13, GPR::R14... method get_local_location (line 349) | pub(crate) fn get_local_location(&self, idx: u32) -> Location { method setup_registers (line 383) | pub(crate) fn setup_registers( method init_locals (line 469) | pub(crate) fn init_locals( method finalize_locals (line 520) | pub(crate) fn finalize_locals(&mut self, a: &mut E) { method restore_registers (line 529) | pub(crate) fn restore_registers( method get_param_location (line 549) | pub(crate) fn get_param_location( constant _GPRS_FIT_IN_U32 (line 34) | const _GPRS_FIT_IN_U32: () = assert!(GPR::num_gprs() <= 32); constant _XMMS_FIT_IN_U32 (line 36) | const _XMMS_FIT_IN_U32: () = assert!(XMM::num_xmms() <= 32); type Assembler (line 579) | type Assembler = VecAssembler; function test_release_locations_keep_state_nopanic (line 582) | fn test_release_locations_keep_state_nopanic() { FILE: runtime/unc-vm/compiler-singlepass/src/x64_decl.rs type GPR (line 8) | pub(crate) enum GPR { method num_gprs (line 44) | pub const fn num_gprs() -> usize { type XMM (line 52) | pub(crate) enum XMM { method num_xmms (line 88) | pub const fn num_xmms() -> usize { type X64Register (line 95) | pub(crate) enum X64Register { method _from_dwarf_regnum (line 104) | pub(crate) fn _from_dwarf_regnum(x: u16) -> Option { method _prefix_mov_to_stack (line 139) | pub(crate) fn _prefix_mov_to_stack(&self) -> Option<&'static [u8]> { type ArgumentRegisterAllocator (line 167) | pub(crate) struct ArgumentRegisterAllocator { method next (line 174) | pub(crate) fn next( FILE: runtime/unc-vm/compiler-test-derive/build.rs function main (line 1) | fn main() { FILE: runtime/unc-vm/compiler-test-derive/src/ignores.rs constant CFG_TARGET_OS (line 6) | pub const CFG_TARGET_OS: &'static str = env!("CFG_TARGET_OS"); constant CFG_TARGET_ARCH (line 7) | pub const CFG_TARGET_ARCH: &'static str = env!("CFG_TARGET_ARCH"); constant CFG_TARGET_ENV (line 8) | pub const CFG_TARGET_ENV: &'static str = env!("CFG_TARGET_ENV"); type IgnorePattern (line 11) | struct IgnorePattern { method should_ignore (line 21) | fn should_ignore( type Ignores (line 40) | pub struct Ignores { method should_ignore (line 47) | pub fn should_ignore( method should_ignore_host (line 62) | pub fn should_ignore_host(&self, engine: &str, compiler: &str, canonic... method build_from_path (line 74) | pub fn build_from_path(path: PathBuf) -> Ignores { function features_match (line 159) | fn features_match() -> Result<(), ()> { FILE: runtime/unc-vm/compiler-test-derive/src/lib.rs function compiler_test (line 32) | pub fn compiler_test(attrs: TokenStream, input: TokenStream) -> TokenStr... FILE: runtime/unc-vm/compiler/src/address_map.rs type InstructionAddressMap (line 9) | pub struct InstructionAddressMap { type FunctionAddressMap (line 24) | pub struct FunctionAddressMap { FILE: runtime/unc-vm/compiler/src/compiler.rs type CompilerConfig (line 17) | pub trait CompilerConfig { method enable_pic (line 23) | fn enable_pic(&mut self) { method enable_verifier (line 32) | fn enable_verifier(&mut self) { method enable_nan_canonicalization (line 42) | fn enable_nan_canonicalization(&mut self) { method canonicalize_nans (line 51) | fn canonicalize_nans(&mut self, _enable: bool) { method compiler (line 57) | fn compiler(self: Box) -> Box; method default_features_for_target (line 60) | fn default_features_for_target(&self, _target: &Target) -> Features { function from (line 69) | fn from(other: T) -> Self { type Compiler (line 75) | pub trait Compiler: Send { method validate_module (line 79) | fn validate_module<'data>( method compile_module (line 111) | fn compile_module<'data, 'module>( method experimental_native_compile_module (line 124) | fn experimental_native_compile_module<'data, 'module>( type Symbol (line 141) | pub enum Symbol { type SymbolRegistry (line 156) | pub trait SymbolRegistry: Send + Sync { method symbol_to_name (line 158) | fn symbol_to_name(&self, symbol: Symbol) -> String; method name_to_symbol (line 163) | fn name_to_symbol(&self, name: &str) -> Option; FILE: runtime/unc-vm/compiler/src/error.rs type CompileError (line 12) | pub enum CompileError { method from (line 48) | fn from(original: WasmError) -> Self { type MiddlewareError (line 56) | pub struct MiddlewareError { method new (line 65) | pub fn new, B: Into>(name: A, message: B) -> S... type WasmError (line 75) | pub enum WasmError { method from (line 108) | fn from(original: MiddlewareError) -> Self { type ParseCpuFeatureError (line 116) | pub enum ParseCpuFeatureError { type WasmResult (line 123) | pub type WasmResult = Result; function middleware_error_can_be_created (line 130) | fn middleware_error_can_be_created() { function middleware_error_be_converted_to_wasm_error (line 138) | fn middleware_error_be_converted_to_wasm_error() { FILE: runtime/unc-vm/compiler/src/function.rs type CompiledFunctionFrameInfo (line 21) | pub struct CompiledFunctionFrameInfo { type FunctionBody (line 33) | pub struct FunctionBody { type FunctionBodyRef (line 40) | pub struct FunctionBodyRef<'a> { function from (line 46) | fn from(body: &'a FunctionBody) -> Self { function from (line 52) | fn from(body: &'a ArchivedFunctionBody) -> Self { type CompiledFunction (line 63) | pub struct CompiledFunction { type Functions (line 78) | pub type Functions = PrimaryMap; type CustomSections (line 81) | pub type CustomSections = PrimaryMap; type Dwarf (line 90) | pub struct Dwarf { method new (line 99) | pub fn new(eh_frame: SectionIndex) -> Self { type TrampolinesSection (line 106) | pub struct TrampolinesSection { method new (line 117) | pub fn new(section_index: SectionIndex, slots: usize, size: usize) -> ... type Compilation (line 124) | pub struct Compilation { FILE: runtime/unc-vm/compiler/src/jump_table.rs type JumpTable (line 17) | pub struct JumpTable(u32); method with_number (line 26) | pub fn with_number(n: u32) -> Option { type JumpTableOffsets (line 36) | pub type JumpTableOffsets = SecondaryMap; FILE: runtime/unc-vm/compiler/src/lib.rs type CodeOffset (line 73) | pub type CodeOffset = u32; type Addend (line 76) | pub type Addend = i64; constant VERSION (line 79) | pub const VERSION: &str = env!("CARGO_PKG_VERSION"); FILE: runtime/unc-vm/compiler/src/module.rs type CompileModuleInfo (line 12) | pub struct CompileModuleInfo { FILE: runtime/unc-vm/compiler/src/relocation.rs type RelocationKind (line 22) | pub enum RelocationKind { method fmt (line 62) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Relocation (line 85) | pub struct Relocation { method for_address (line 114) | pub fn for_address(&self, start: usize, target_func_address: u64) -> (... type RelocationTarget (line 98) | pub enum RelocationTarget { type Relocations (line 169) | pub type Relocations = PrimaryMap>; FILE: runtime/unc-vm/compiler/src/section.rs type SectionIndex (line 16) | pub struct SectionIndex(u32); type CustomSectionProtection (line 26) | pub enum CustomSectionProtection { type CustomSection (line 39) | pub struct CustomSection { type CustomSectionRef (line 59) | pub struct CustomSectionRef<'a> { function from (line 68) | fn from(section: &'a CustomSection) -> Self { function from (line 74) | fn from(section: &'a ArchivedCustomSection) -> Self { type SectionBody (line 88) | pub struct SectionBody(Vec); method new_with_vec (line 92) | pub fn new_with_vec(contents: Vec) -> Self { method as_ptr (line 97) | pub fn as_ptr(&self) -> *const u8 { method len (line 102) | pub fn len(&self) -> usize { method as_slice (line 107) | pub fn as_slice(&self) -> &[u8] { method is_empty (line 112) | pub fn is_empty(&self) -> bool { FILE: runtime/unc-vm/compiler/src/sourceloc.rs type SourceLoc (line 19) | pub struct SourceLoc(u32); method new (line 23) | pub fn new(bits: u32) -> Self { method is_default (line 28) | pub fn is_default(self) -> bool { method bits (line 33) | pub fn bits(self) -> u32 { method fmt (line 45) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method default (line 39) | fn default() -> Self { function display (line 60) | fn display() { FILE: runtime/unc-vm/compiler/src/target.rs type CpuFeature (line 25) | pub enum CpuFeature { method for_host (line 48) | pub fn for_host() -> EnumSet { method for_host (line 97) | pub fn for_host() -> EnumSet { method set (line 103) | pub fn set() -> EnumSet { type Err (line 116) | type Err = ParseCpuFeatureError; method from_str (line 118) | fn from_str(s: &str) -> Result { method to_string (line 140) | fn to_string(&self) -> String { type Target (line 164) | pub struct Target { method new (line 171) | pub fn new(triple: Triple, cpu_features: EnumSet) -> Self { method triple (line 176) | pub fn triple(&self) -> &Triple { method cpu_features (line 181) | pub fn cpu_features(&self) -> &EnumSet { method default (line 188) | fn default() -> Self { FILE: runtime/unc-vm/compiler/src/translator/environ.rs type FunctionBodyData (line 23) | pub struct FunctionBodyData<'a> { type ModuleEnvironment (line 35) | pub struct ModuleEnvironment<'data> { function new (line 51) | pub fn new() -> Self { function translate (line 63) | pub fn translate(mut self, data: &'data [u8]) -> WasmResult WasmResult<()> { function declare_signature (line 97) | pub(crate) fn declare_signature(&mut self, sig: FunctionType) -> WasmRes... function declare_func_import (line 103) | pub(crate) fn declare_func_import( function declare_table_import (line 124) | pub(crate) fn declare_table_import( function declare_memory_import (line 145) | pub(crate) fn declare_memory_import( function declare_global_import (line 166) | pub(crate) fn declare_global_import( function finish_imports (line 187) | pub(crate) fn finish_imports(&mut self) -> WasmResult<()> { function reserve_func_types (line 191) | pub(crate) fn reserve_func_types(&mut self, num: u32) -> WasmResult<()> { function declare_func_type (line 197) | pub(crate) fn declare_func_type(&mut self, sig_index: SignatureIndex) ->... function reserve_tables (line 202) | pub(crate) fn reserve_tables(&mut self, num: u32) -> WasmResult<()> { function declare_table (line 207) | pub(crate) fn declare_table(&mut self, table: TableType) -> WasmResult<(... function reserve_memories (line 212) | pub(crate) fn reserve_memories(&mut self, num: u32) -> WasmResult<()> { function declare_memory (line 217) | pub(crate) fn declare_memory(&mut self, memory: MemoryType) -> WasmResul... function reserve_globals (line 225) | pub(crate) fn reserve_globals(&mut self, num: u32) -> WasmResult<()> { function declare_global (line 230) | pub(crate) fn declare_global( function reserve_exports (line 240) | pub(crate) fn reserve_exports(&mut self, num: u32) -> WasmResult<()> { function declare_func_export (line 245) | pub(crate) fn declare_func_export( function declare_table_export (line 253) | pub(crate) fn declare_table_export( function declare_memory_export (line 261) | pub(crate) fn declare_memory_export( function declare_global_export (line 269) | pub(crate) fn declare_global_export( function declare_start_function (line 277) | pub(crate) fn declare_start_function(&mut self, func_index: FunctionInde... function reserve_table_initializers (line 283) | pub(crate) fn reserve_table_initializers(&mut self, num: u32) -> WasmRes... function declare_table_initializers (line 288) | pub(crate) fn declare_table_initializers( function declare_passive_element (line 304) | pub(crate) fn declare_passive_element( function define_function_body (line 318) | pub(crate) fn define_function_body( function reserve_data_initializers (line 329) | pub(crate) fn reserve_data_initializers(&mut self, num: u32) -> WasmResu... function declare_data_initialization (line 334) | pub(crate) fn declare_data_initialization( function reserve_passive_data (line 348) | pub(crate) fn reserve_passive_data(&mut self, _count: u32) -> WasmResult... function declare_passive_data (line 353) | pub(crate) fn declare_passive_data( function declare_module_name (line 366) | pub(crate) fn declare_module_name(&mut self, name: &'data str) -> WasmRe... function declare_function_name (line 371) | pub(crate) fn declare_function_name( function reserve_imports (line 382) | pub(crate) fn reserve_imports(&mut self, _num: u32) -> WasmResult<()> { function finish_exports (line 387) | pub(crate) fn finish_exports(&mut self) -> WasmResult<()> { function custom_section (line 392) | pub(crate) fn custom_section(&mut self, name: &'data str, data: &'data [... FILE: runtime/unc-vm/compiler/src/translator/error.rs method from (line 12) | fn from(original: BinaryReaderError) -> Self { method from (line 18) | fn from(original: BinaryReaderError) -> Self { function can_convert_binary_reader_error_to_wasm_error (line 31) | fn can_convert_binary_reader_error_to_wasm_error() { function can_convert_binary_reader_error_to_compile_error (line 44) | fn can_convert_binary_reader_error_to_compile_error() { FILE: runtime/unc-vm/compiler/src/translator/module.rs function translate_module (line 19) | pub fn translate_module<'data>( FILE: runtime/unc-vm/compiler/src/translator/sections.rs function wptype_to_type (line 38) | pub fn wptype_to_type(ty: WPValType) -> WasmResult { function parse_type_section (line 51) | pub fn parse_type_section( function parse_import_section (line 89) | pub fn parse_import_section<'data>( function parse_function_section (line 150) | pub fn parse_function_section( function parse_table_section (line 171) | pub fn parse_table_section( function parse_memory_section (line 190) | pub fn parse_memory_section( function parse_global_section (line 211) | pub fn parse_global_section( function parse_export_section (line 248) | pub fn parse_export_section<'data>( function parse_start_section (line 275) | pub fn parse_start_section(index: u32, environ: &mut ModuleEnvironment) ... function read_elems (line 280) | fn read_elems(items: &ElementItems) -> WasmResult> { function parse_element_section (line 308) | pub fn parse_element_section<'data>( function parse_data_section (line 353) | pub fn parse_data_section<'data>( function parse_name_section (line 394) | pub fn parse_name_section<'data>( function parse_function_name_subsection (line 426) | fn parse_function_name_subsection( FILE: runtime/unc-vm/compiler/src/translator/state.rs type WasmTypes (line 10) | pub(crate) type WasmTypes = type ModuleTranslationState (line 20) | pub struct ModuleTranslationState { method new (line 33) | pub fn new() -> Self { method build_import_map (line 39) | pub fn build_import_map(&mut self, module: &ModuleInfo) { FILE: runtime/unc-vm/compiler/src/trap.rs type TrapInformation (line 6) | pub struct TrapInformation { FILE: runtime/unc-vm/engine/src/engine.rs type EngineId (line 8) | pub struct EngineId { method id (line 14) | pub fn id(&self) -> String { method clone (line 20) | fn clone(&self) -> Self { method default (line 26) | fn default() -> Self { FILE: runtime/unc-vm/engine/src/error.rs type DeserializeError (line 11) | pub enum DeserializeError { type ImportError (line 35) | pub enum ImportError { type LinkError (line 55) | pub enum LinkError { type InstantiationError (line 77) | pub enum InstantiationError { FILE: runtime/unc-vm/engine/src/lib.rs constant VERSION (line 30) | pub const VERSION: &str = env!("CARGO_PKG_VERSION"); FILE: runtime/unc-vm/engine/src/resolver.rs function is_compatible_table (line 15) | fn is_compatible_table(ex: &TableType, im: &TableType) -> bool { function is_compatible_memory (line 22) | fn is_compatible_memory(ex: &MemoryType, im: &MemoryType) -> bool { function resolve_imports (line 33) | pub fn resolve_imports( FILE: runtime/unc-vm/engine/src/trap/error.rs type RuntimeError (line 11) | pub struct RuntimeError { method new (line 56) | pub fn new>(message: I) -> Self { method from_trap (line 68) | pub fn from_trap(trap: Trap) -> Self { method raise (line 103) | pub fn raise(error: Box) -> ! { method new_with_trace (line 107) | fn new_with_trace( method message (line 145) | pub fn message(&self) -> String { method trace (line 151) | pub fn trace(&self) -> &[FrameInfo] { method downcast (line 156) | pub fn downcast(self) -> Result { method to_trap (line 170) | pub fn to_trap(self) -> Option { method is (line 179) | pub fn is(&self) -> bool { method fmt (line 188) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 198) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method source (line 223) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { method from (line 233) | fn from(trap: Trap) -> Self { type RuntimeErrorSource (line 17) | enum RuntimeErrorSource { method fmt (line 25) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type RuntimeErrorInner (line 35) | struct RuntimeErrorInner { function _assert_trap_is_sync_and_send (line 44) | fn _assert_trap_is_sync_and_send(t: &Trap) -> (&dyn Sync, &dyn Send) { FILE: runtime/unc-vm/engine/src/trap/frame_info.rs type GlobalFrameInfo (line 30) | pub struct GlobalFrameInfo { method lookup_frame_info (line 86) | pub fn lookup_frame_info(&self, pc: usize) -> Option { method lookup_trap_info (line 138) | pub fn lookup_trap_info(&self, pc: usize) -> Option<&TrapInformation> { method module_info (line 149) | fn module_info(&self, pc: usize) -> Option<&ModuleInfoFrameInfo> { type GlobalFrameInfoRegistration (line 45) | pub struct GlobalFrameInfoRegistration { type ModuleInfoFrameInfo (line 52) | struct ModuleInfoFrameInfo { method function_debug_info (line 60) | fn function_debug_info(&self, local_index: LocalFunctionIndex) -> &Com... method function_info (line 65) | fn function_info(&self, pc: usize) -> Option<&FunctionInfo> { type FunctionInfo (line 76) | struct FunctionInfo { method drop (line 160) | fn drop(&mut self) { type FrameInfo (line 176) | pub struct FrameInfo { method func_index (line 189) | pub fn func_index(&self) -> u32 { method module_name (line 202) | pub fn module_name(&self) -> &str { method function_name (line 220) | pub fn function_name(&self) -> Option<&str> { method module_offset (line 229) | pub fn module_offset(&self) -> usize { method func_offset (line 239) | pub fn func_offset(&self) -> usize { FILE: runtime/unc-vm/engine/src/universal/artifact.rs type UniversalArtifact (line 21) | pub struct UniversalArtifact { method function_extent (line 45) | pub fn function_extent(&self, index: LocalFunctionIndex) -> Option &super::UniversalEngine { type Error (line 57) | type Error = InstantiationError; method instantiate (line 59) | unsafe fn instantiate( method offsets (line 135) | fn offsets(&self) -> &unc_vm_vm::VMOffsets { method import_counts (line 139) | fn import_counts(&self) -> &ImportCounts { method functions (line 143) | fn functions(&self) -> &BoxedSlice { method passive_elements (line 147) | fn passive_elements(&self) -> &BTreeMap> { method element_segments (line 151) | fn element_segments(&self) -> &[OwnedTableInitializer] { method data_segments (line 155) | fn data_segments(&self) -> &[OwnedDataInitializer] { method globals (line 159) | fn globals(&self) -> &[(GlobalType, GlobalInit)] { method start_function (line 163) | fn start_function(&self) -> Option { method export_field (line 167) | fn export_field(&self, name: &str) -> Option { method signatures (line 171) | fn signatures(&self) -> &[unc_vm_vm::VMSharedSignatureIndex] { method function_signature (line 175) | fn function_signature(&self, index: FunctionIndex) -> Option(compiler_config: T) -> Self method headless (line 28) | pub fn headless() -> Self { method target (line 33) | pub fn target(mut self, target: Target) -> Self { method features (line 39) | pub fn features(mut self, features: Features) -> Self { method code_memory_pool (line 45) | pub fn code_memory_pool(mut self, pool: super::LimitedMemoryPool) -> S... method engine (line 51) | pub fn engine(self) -> UniversalEngine { FILE: runtime/unc-vm/engine/src/universal/code_memory.rs constant ARCH_FUNCTION_ALIGNMENT (line 14) | pub(crate) const ARCH_FUNCTION_ALIGNMENT: u16 = 16; constant DATA_SECTION_ALIGNMENT (line 18) | pub(crate) const DATA_SECTION_ALIGNMENT: u16 = 64; function round_up (line 20) | fn round_up(size: usize, multiple: usize) -> usize { type CodeMemoryWriter (line 25) | pub struct CodeMemoryWriter<'a> { function write_data (line 39) | pub fn write_data(&mut self, mut alignment: u16, input: &[u8]) -> Result... function write_executable (line 53) | pub fn write_executable( function write_inner (line 67) | fn write_inner(&mut self, alignment: u16, input: &[u8]) -> Result usize { type CodeMemory (line 92) | pub struct CodeMemory { method create (line 110) | fn create(size: usize) -> rustix::io::Result { method as_slice_mut (line 125) | fn as_slice_mut(&mut self) -> &mut [u8] { method resize (line 137) | pub fn resize(mut self, size: usize) -> rustix::io::Result { method writer (line 164) | pub unsafe fn writer(&mut self) -> CodeMemoryWriter<'_> { method publish (line 174) | pub unsafe fn publish(&mut self) -> Result<(), CompileError> { method executable_address (line 188) | pub unsafe fn executable_address(&self, offset: usize) -> *const u8 { method writable_address (line 197) | pub unsafe fn writable_address(&self, offset: usize) -> *mut u8 { method drop (line 205) | fn drop(&mut self) { type LimitedMemoryPool (line 250) | pub struct LimitedMemoryPool { method new (line 256) | pub fn new(count: usize, default_memory_size: usize) -> rustix::io::Re... method get (line 268) | pub fn get(&self, size: usize) -> rustix::io::Result { function _assert (line 282) | fn _assert() { FILE: runtime/unc-vm/engine/src/universal/engine.rs type UniversalEngine (line 30) | pub struct UniversalEngine { method new (line 39) | pub fn new( method headless (line 71) | pub fn headless(memory_allocator: super::LimitedMemoryPool) -> Self { method inner (line 85) | pub(crate) fn inner(&self) -> std::sync::MutexGuard<'_, UniversalEngin... method inner_mut (line 89) | pub(crate) fn inner_mut(&self) -> std::sync::MutexGuard<'_, UniversalE... method compile_universal (line 95) | pub fn compile_universal( method load_universal_executable (line 185) | pub fn load_universal_executable( method load_universal_executable_ref (line 307) | pub fn load_universal_executable_ref( method target (line 453) | pub fn target(&self) -> &Target { method register_signature (line 458) | pub fn register_signature(&self, func_type: FunctionType) -> VMSharedS... method register_function_metadata (line 463) | pub fn register_function_metadata(&self, func_data: VMCallerCheckedAny... method lookup_signature (line 468) | pub fn lookup_signature(&self, sig: VMSharedSignatureIndex) -> Option<... method validate (line 474) | pub fn validate(&self, binary: &[u8]) -> Result<(), CompileError> { method id (line 479) | pub fn id(&self) -> &EngineId { type UniversalEngineInner (line 485) | pub struct UniversalEngineInner { method compiler (line 503) | pub fn compiler(&self) -> Result<&dyn Compiler, CompileError> { method validate (line 511) | pub fn validate<'data>(&self, data: &'data [u8]) -> Result<(), Compile... method features (line 516) | pub fn features(&self) -> &Features { method allocate (line 522) | pub(crate) fn allocate<'a>( method func_data (line 677) | pub(crate) fn func_data(&self) -> &Arc { function round_up (line 682) | fn round_up(size: usize, multiple: usize) -> usize { function function_allocation_size (line 687) | fn function_allocation_size(func: FunctionBodyRef<'_>) -> usize { FILE: runtime/unc-vm/engine/src/universal/executable.rs constant MAGIC_HEADER (line 16) | const MAGIC_HEADER: [u8; 32] = { type UniversalExecutableRef (line 24) | pub struct UniversalExecutableRef<'a> { type Target (line 29) | type Target = ArchivedUniversalExecutable; function deref (line 30) | fn deref(&self) -> &Self::Target { function verify_serialized (line 37) | pub fn verify_serialized(data: &[u8]) -> Result<(), &'static str> { function deserialize (line 61) | pub unsafe fn deserialize( function to_owned (line 79) | pub fn to_owned(self) -> Result { type UniversalExecutable (line 92) | pub struct UniversalExecutable { method serialize (line 125) | pub fn serialize( type ExecutableSerializeError (line 111) | pub enum ExecutableSerializeError { function function_name (line 152) | pub fn function_name(&self, index: FunctionIndex) -> Option<&str> { function unrkyv (line 174) | pub(crate) fn unrkyv(archive: &T::Archived) -> T FILE: runtime/unc-vm/engine/src/universal/link.rs function trampolines_add (line 14) | fn trampolines_add( function use_trampoline (line 31) | fn use_trampoline( function fill_trampoline_map (line 48) | fn fill_trampoline_map( function apply_relocation (line 70) | fn apply_relocation( function link_module (line 169) | pub fn link_module( FILE: runtime/unc-vm/test-api/build.rs function main (line 15) | fn main() -> anyhow::Result<()> { FILE: runtime/unc-vm/test-api/src/sys/env.rs type HostEnvInitError (line 8) | pub enum HostEnvInitError { method from (line 16) | fn from(other: ExportError) -> Self { type WasmerEnv (line 32) | pub trait WasmerEnv: Clone + Send + Sync { method init_with_instance (line 38) | fn init_with_instance(&mut self, _instance: &Instance) -> Result<(), H... method init_with_instance (line 71) | fn init_with_instance(&mut self, instance: &Instance) -> Result<(), Ho... method init_with_instance (line 77) | fn init_with_instance(&mut self, instance: &Instance) -> Result<(), Ho... type LazyInit (line 84) | pub struct LazyInit { function new (line 93) | pub fn new() -> Self { function get_unchecked (line 99) | pub unsafe fn get_unchecked(&self) -> &T { function get_ref (line 104) | pub fn get_ref(&self) -> Option<&T> { function initialize (line 113) | pub fn initialize(&mut self, value: T) -> bool { function fmt (line 126) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { method clone (line 132) | fn clone(&self) -> Self { method drop (line 142) | fn drop(&mut self) { method default (line 153) | fn default() -> Self { FILE: runtime/unc-vm/test-api/src/sys/exports.rs type ExportError (line 13) | pub enum ExportError { type Exports (line 28) | pub struct Exports { method new (line 34) | pub fn new() -> Self { method insert (line 39) | pub fn insert(&mut self, name: S, value: E) method get_namespace_export (line 49) | fn get_namespace_export(&self, name: &str) -> Option { method get_namespace_exports (line 53) | fn get_namespace_exports(&self) -> Vec<(String, Export)> { type Exportable (line 61) | pub trait Exportable<'a>: Sized { method to_export (line 66) | fn to_export(&self) -> Export; FILE: runtime/unc-vm/test-api/src/sys/externals/function.rs type Function (line 40) | pub struct Function { method write_value_to (line 47) | unsafe fn write_value_to(&self, p: *mut i128) { method read_value_from (line 56) | unsafe fn read_value_from(store: &dyn std::any::Any, p: *const i128) -... method from_vm_funcref (line 77) | pub unsafe fn from_vm_funcref(store: &Store, func_ref: VMFuncRef) -> O... method new (line 184) | pub fn new(store: &Store, ty: FT, func: F) -> Self method new_with_env (line 241) | pub fn new_with_env(store: &Store, ty: FT, env: Env, func:... method new_native (line 306) | pub fn new_native(store: &Store, func: F) -> Self method new_native_with_env (line 363) | pub fn new_native_with_env(store: &Store, env: Env... method ty (line 414) | pub fn ty(&self) -> FunctionType { method store (line 422) | pub fn store(&self) -> &Store { method call_wasm (line 426) | fn call_wasm( method param_arity (line 507) | pub fn param_arity(&self) -> usize { method result_arity (line 527) | pub fn result_arity(&self) -> usize { method call (line 560) | pub fn call(&self, params: &[Val]) -> Result, RuntimeError> { method from_vm_export (line 583) | pub(crate) fn from_vm_export(store: &Store, unc_vm_export: ExportFunct... method vm_funcref (line 587) | pub(crate) fn vm_funcref(&self) -> VMFuncRef { method native (line 671) | pub fn native(&self) -> Result, Run... method closures_unsupported_panic (line 703) | fn closures_unsupported_panic() -> ! { method get_vm_function (line 715) | pub unsafe fn get_vm_function(&self) -> &VMFunction { method to_export (line 721) | fn to_export(&self) -> Export { method fmt (line 736) | fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { method from (line 104) | fn from(f: Function) -> Self { function build_export_function_metadata (line 109) | fn build_export_function_metadata( method clone (line 727) | fn clone(&self) -> Self { type VMDynamicFunction (line 742) | pub(crate) trait VMDynamicFunction: Send + Sync { method call (line 743) | fn call(&self, args: &[Val]) -> Result, RuntimeError>; method function_type (line 744) | fn function_type(&self) -> &FunctionType; method store (line 745) | fn store(&self) -> &Store; method call (line 774) | fn call(&self, args: &[Val]) -> Result, RuntimeError> { method function_type (line 777) | fn function_type(&self) -> &FunctionType { method store (line 780) | fn store(&self) -> &Store { type DynamicFunction (line 748) | pub(crate) struct DynamicFunction method clone (line 760) | fn clone(&self) -> Self { type VMDynamicFunctionCall (line 785) | trait VMDynamicFunctionCall { method from_context (line 786) | fn from_context(ctx: T) -> Self; method address_ptr (line 787) | fn address_ptr() -> *const VMFunctionBody; method func_wrapper (line 788) | unsafe fn func_wrapper(&self, values_vec: *mut i128); function from_context (line 792) | fn from_context(ctx: T) -> Self { function address_ptr (line 796) | fn address_ptr() -> *const VMFunctionBody { function func_wrapper (line 802) | unsafe fn func_wrapper( type FromToNativeWasmType (line 862) | pub unsafe trait FromToNativeWasmType method from_native (line 875) | fn from_native(native: Self::Native) -> Self; method to_native (line 883) | fn to_native(self) -> Self::Native; function test_to_native (line 949) | fn test_to_native() { function test_to_native_same_size (line 958) | fn test_to_native_same_size() { type WasmTypeList (line 971) | pub trait WasmTypeList method from_array (line 985) | fn from_array(array: Self::Array) -> Self; method from_slice (line 993) | fn from_slice(slice: &[i128]) -> Result; method into_array (line 997) | fn into_array(self) -> Self::Array; method empty_array (line 1002) | fn empty_array() -> Self::Array; method from_c_struct (line 1006) | fn from_c_struct(c_struct: Self::CStruct) -> Self; method into_c_struct (line 1010) | fn into_c_struct(self) -> Self::CStruct; method wasm_types (line 1014) | fn wasm_types() -> &'static [Type]; type CStruct (line 1405) | type CStruct = Self; type Array (line 1406) | type Array = [i128; 0]; method from_array (line 1408) | fn from_array(_: Self::Array) -> Self { method from_slice (line 1412) | fn from_slice(_: &[i128]) -> Result { method into_array (line 1416) | fn into_array(self) -> Self::Array { method empty_array (line 1420) | fn empty_array() -> Self::Array { method from_c_struct (line 1424) | fn from_c_struct(_: Self::CStruct) -> Self { method into_c_struct (line 1428) | fn into_c_struct(self) -> Self::CStruct { method wasm_types (line 1432) | fn wasm_types() -> &'static [Type] { type IntoResult (line 1022) | pub trait IntoResult method into_result (line 1030) | fn into_result(self) -> Result; type Error (line 1039) | type Error = Infallible; method into_result (line 1041) | fn into_result(self) -> Result { type Error (line 1051) | type Error = E; function into_result (line 1053) | fn into_result(self) -> Self { function test_into_result_over_t (line 1064) | fn test_into_result_over_t() { function test_into_result_over_result (line 1072) | fn test_into_result_over_result() { type HostFunction (line 1106) | pub trait HostFunction method function_body_ptr (line 1115) | fn function_body_ptr(self) -> *const VMFunctionBody; type HostFunctionKind (line 1125) | pub trait HostFunctionKind {} type WithEnv (line 1129) | pub struct WithEnv; type WithoutEnv (line 1136) | pub struct WithoutEnv; type Function (line 1144) | pub struct Function { method write_value_to (line 47) | unsafe fn write_value_to(&self, p: *mut i128) { method read_value_from (line 56) | unsafe fn read_value_from(store: &dyn std::any::Any, p: *const i128) -... method from_vm_funcref (line 77) | pub unsafe fn from_vm_funcref(store: &Store, func_ref: VMFuncRef) -> O... method new (line 184) | pub fn new(store: &Store, ty: FT, func: F) -> Self method new_with_env (line 241) | pub fn new_with_env(store: &Store, ty: FT, env: Env, func:... method new_native (line 306) | pub fn new_native(store: &Store, func: F) -> Self method new_native_with_env (line 363) | pub fn new_native_with_env(store: &Store, env: Env... method ty (line 414) | pub fn ty(&self) -> FunctionType { method store (line 422) | pub fn store(&self) -> &Store { method call_wasm (line 426) | fn call_wasm( method param_arity (line 507) | pub fn param_arity(&self) -> usize { method result_arity (line 527) | pub fn result_arity(&self) -> usize { method call (line 560) | pub fn call(&self, params: &[Val]) -> Result, RuntimeError> { method from_vm_export (line 583) | pub(crate) fn from_vm_export(store: &Store, unc_vm_export: ExportFunct... method vm_funcref (line 587) | pub(crate) fn vm_funcref(&self) -> VMFuncRef { method native (line 671) | pub fn native(&self) -> Result, Run... method closures_unsupported_panic (line 703) | fn closures_unsupported_panic() -> ! { method get_vm_function (line 715) | pub unsafe fn get_vm_function(&self) -> &VMFunction { method to_export (line 721) | fn to_export(&self) -> Export { method fmt (line 736) | fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { function new (line 1157) | pub fn new(function: F) -> Self function ty (line 1167) | pub fn ty(&self) -> FunctionType { function address (line 1172) | pub fn address(&self) -> *const VMFunctionBody { function test_from_array (line 1443) | fn test_from_array() { function test_into_array (line 1459) | fn test_into_array() { function test_empty_array (line 1470) | fn test_empty_array() { function test_from_c_struct (line 1477) | fn test_from_c_struct() { function test_wasm_types_for_uni_values (line 1488) | fn test_wasm_types_for_uni_values() { function test_wasm_types_for_multi_values (line 1496) | fn test_wasm_types_for_multi_values() { function func (line 1515) | fn func() {} function func__i32 (line 1516) | fn func__i32() -> i32 { function func_i32 (line 1519) | fn func_i32(_a: i32) {} function func_i32__i32 (line 1520) | fn func_i32__i32(a: i32) -> i32 { function func_i32_i32__i32 (line 1523) | fn func_i32_i32__i32(a: i32, b: i32) -> i32 { function func_i32_i32__i32_i32 (line 1526) | fn func_i32_i32__i32_i32(a: i32, b: i32) -> (i32, i32) { function func_f32_i32__i32_f32 (line 1529) | fn func_f32_i32__i32_f32(a: f32, b: i32) -> (i32, f32) { function test_function_types (line 1534) | fn test_function_types() { function test_function_pointer (line 1557) | fn test_function_pointer() { FILE: runtime/unc-vm/test-api/src/sys/externals/global.rs type Global (line 17) | pub struct Global { method new (line 24) | pub fn new(store: &Store, val: Val) -> Self { method new_mut (line 29) | pub fn new_mut(store: &Store, val: Val) -> Self { method from_value (line 34) | fn from_value(store: &Store, val: Val, mutability: Mutability) -> Resu... method ty (line 52) | pub fn ty(&self) -> &GlobalType { method store (line 68) | pub fn store(&self) -> &Store { method get (line 84) | pub fn get(&self) -> Val { method set (line 129) | pub fn set(&self, val: Val) -> Result<(), RuntimeError> { method from_vm_export (line 139) | pub(crate) fn from_vm_export(store: &Store, vm_global: VMGlobal) -> Se... method fmt (line 154) | fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { method to_export (line 164) | fn to_export(&self) -> Export { method clone (line 145) | fn clone(&self) -> Self { FILE: runtime/unc-vm/test-api/src/sys/externals/memory.rs type Memory (line 24) | pub struct Memory { method new (line 34) | pub fn new(store: &Store, ty: MemoryType) -> Result { method from_vmmemory (line 51) | pub fn from_vmmemory(store: &Store, vm_memory: VMMemory) -> Self { method ty (line 56) | pub fn ty(&self) -> MemoryType { method store (line 61) | pub fn store(&self) -> &Store { method data_unchecked (line 72) | pub unsafe fn data_unchecked(&self) -> &[u8] { method data_unchecked_mut (line 86) | pub unsafe fn data_unchecked_mut(&self) -> &mut [u8] { method data_ptr (line 93) | pub fn data_ptr(&self) -> *mut u8 { method data_size (line 100) | pub fn data_size(&self) -> u64 { method size (line 107) | pub fn size(&self) -> Pages { method view (line 122) | pub fn view(&self) -> MemoryView { method from_vm_export (line 130) | pub(crate) fn from_vm_export(store: &Store, vm_memory: VMMemory) -> Se... method get_vm_memory (line 142) | pub unsafe fn get_vm_memory(&self) -> &VMMemory { method to_export (line 157) | fn to_export(&self) -> Export { method clone (line 148) | fn clone(&self) -> Self { FILE: runtime/unc-vm/test-api/src/sys/externals/mod.rs type Extern (line 22) | pub enum Extern { method from_vm_export (line 35) | pub fn from_vm_export(store: &Store, export: Export) -> Self { method to_export (line 46) | fn to_export(&self) -> Export { method fmt (line 69) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 84) | fn from(r: Function) -> Self { method from (line 90) | fn from(r: Global) -> Self { method from (line 96) | fn from(r: Memory) -> Self { method from (line 102) | fn from(r: Table) -> Self { method comes_from_same_store (line 57) | fn comes_from_same_store(&self, store: &Store) -> bool { FILE: runtime/unc-vm/test-api/src/sys/externals/table.rs type Table (line 18) | pub struct Table { method new (line 38) | pub fn new(store: &Store, ty: TableType, init: Val) -> Result &TableType { method store (line 58) | pub fn store(&self) -> &Store { method size (line 63) | pub fn size(&self) -> u32 { method from_vm_export (line 67) | pub(crate) fn from_vm_export(store: &Store, vm_table: VMTable) -> Self { method same (line 72) | pub fn same(&self, other: &Self) -> bool { method get_vm_table (line 84) | pub unsafe fn get_vm_table(&self) -> &VMTable { method to_export (line 99) | fn to_export(&self) -> Export { function set_table_item (line 23) | fn set_table_item( method clone (line 90) | fn clone(&self) -> Self { FILE: runtime/unc-vm/test-api/src/sys/import_object.rs type LikeNamespace (line 14) | pub trait LikeNamespace { method get_namespace_export (line 16) | fn get_namespace_export(&self, name: &str) -> Option; method get_namespace_exports (line 18) | fn get_namespace_exports(&self) -> Vec<(String, Export)>; type ImportObject (line 43) | pub struct ImportObject { method new (line 49) | pub fn new() -> Self { method get_export (line 61) | pub fn get_export(&self, module: &str, name: &str) -> Option { method contains_namespace (line 71) | pub fn contains_namespace(&self, name: &str) -> bool { method register (line 86) | pub fn register(&mut self, name: S, namespace: N) -> Option VecDeque<((String, String), Export)> { method fmt (line 143) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method resolve_by_name (line 116) | fn resolve_by_name(&self, module: &str, name: &str) -> Option { type ImportObjectIterator (line 122) | pub struct ImportObjectIterator { type Item (line 127) | type Item = ((String, String), Export); method next (line 128) | fn next(&mut self) -> Option { type IntoIter (line 134) | type IntoIter = ImportObjectIterator; type Item (line 135) | type Item = ((String, String), Export); method into_iter (line 137) | fn into_iter(self) -> Self::IntoIter { function chaining_works (line 248) | fn chaining_works() { function extending_conflict_overwrites (line 279) | fn extending_conflict_overwrites() { function namespace (line 333) | fn namespace() { function imports_macro_allows_trailing_comma_and_none (line 353) | fn imports_macro_allows_trailing_comma_and_none() { FILE: runtime/unc-vm/test-api/src/sys/instance.rs type Instance (line 22) | pub struct Instance { method new_with_config (line 106) | pub fn new_with_config( method lookup (line 133) | pub fn lookup(&self, field: &str) -> Option { method lookup_function (line 139) | pub fn lookup_function(&self, field: &str) -> Option( method handle (line 169) | pub fn handle(&self) -> std::sync::MutexGuard<'_, InstanceHandle> { type InstantiationError (line 36) | pub enum InstantiationError { method from (line 56) | fn from(other: unc_vm_engine::InstantiationError) -> Self { method from (line 66) | fn from(other: HostEnvInitError) -> Self { FILE: runtime/unc-vm/test-api/src/sys/module.rs type IoCompileError (line 17) | pub enum IoCompileError { type Module (line 35) | pub struct Module { method new (line 102) | pub fn new(store: &Store, bytes: impl AsRef<[u8]>) -> Result Result &Store { method fmt (line 158) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: runtime/unc-vm/test-api/src/sys/native.rs type NativeFunc (line 24) | pub struct NativeFunc { function new (line 37) | pub(crate) fn new(store: Store, exported: ExportFunction) -> Self { function is_host (line 41) | pub(crate) fn is_host(&self) -> bool { function vmctx (line 45) | pub(crate) fn vmctx(&self) -> VMFunctionEnvironment { function address (line 49) | pub(crate) fn address(&self) -> *const VMFunctionBody { function arg_kind (line 53) | pub(crate) fn arg_kind(&self) -> VMFunctionKind { method clone (line 78) | fn clone(&self) -> Self { method from (line 91) | fn from(other: &NativeFunc) -> Self { method from (line 101) | fn from(other: NativeFunc) -> Self { FILE: runtime/unc-vm/test-api/src/sys/ptr.rs type Item (line 15) | pub struct Item; type WasmPtr (line 20) | pub struct WasmPtr { type Native (line 26) | type Native = i32; method to_native (line 28) | fn to_native(self) -> Self::Native { method from_native (line 31) | fn from_native(n: Self::Native) -> Self { method clone (line 39) | fn clone(&self) -> Self { FILE: runtime/unc-vm/test-api/src/sys/store.rs type Store (line 20) | pub struct Store { method new (line 27) | pub fn new(engine: Arc) -> Self { method new_with_tunables (line 32) | pub fn new_with_tunables( method tunables (line 40) | pub fn tunables(&self) -> &dyn Tunables { method engine (line 45) | pub fn engine(&self) -> Arc { method same (line 52) | pub fn same(a: &Self, b: &Self) -> bool { method fmt (line 108) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method eq (line 58) | fn eq(&self, other: &Self) -> bool { method default (line 69) | fn default() -> Self { type StoreObject (line 114) | pub trait StoreObject { method comes_from_same_store (line 116) | fn comes_from_same_store(&self, store: &Store) -> bool; FILE: runtime/unc-vm/test-api/src/sys/tunables.rs type BaseTunables (line 22) | pub struct BaseTunables { method for_target (line 38) | pub fn for_target(target: &Target) -> Self { method set_regular_op_cost (line 73) | pub fn set_regular_op_cost(&mut self, cost: u64) -> &mut Self { method memory_style (line 81) | fn memory_style(&self, memory: &MemoryType) -> MemoryStyle { method table_style (line 99) | fn table_style(&self, _table: &TableType) -> TableStyle { method create_host_memory (line 104) | fn create_host_memory( method create_vm_memory (line 117) | unsafe fn create_vm_memory( method create_host_table (line 127) | fn create_host_table( method create_vm_table (line 140) | unsafe fn create_vm_table( method stack_init_gas_cost (line 149) | fn stack_init_gas_cost(&self, stack_size: u64) -> u64 { method stack_limiter_cfg (line 154) | fn stack_limiter_cfg(&self) -> Box Box u8 { method size_of_function_activation (line 178) | fn size_of_function_activation( type SimpleGasCostCfg (line 190) | struct SimpleGasCostCfg(u64); type Output (line 216) | type Output = u64; function memory_style (line 225) | fn memory_style() { FILE: runtime/unc-vm/test-api/src/sys/types.rs type Val (line 16) | pub type Val = Value; method from (line 31) | fn from(val: Function) -> Self { method comes_from_same_store (line 19) | fn comes_from_same_store(&self, store: &Store) -> bool { type ValFuncRef (line 38) | pub trait ValFuncRef { method into_vm_funcref (line 39) | fn into_vm_funcref(&self, store: &Store) -> Result Self; method into_table_reference (line 43) | fn into_table_reference(&self, store: &Store) -> Result Result Self { method into_table_reference (line 65) | fn into_table_reference(&self, store: &Store) -> Result anyhow... function test_directory (line 45) | pub fn test_directory( function extract_name (line 70) | pub fn extract_name(path: impl AsRef) -> String { function with_test_module (line 80) | pub fn with_test_module( FILE: runtime/unc-vm/test-generator/src/processors.rs function wast_processor (line 7) | pub fn wast_processor(_out: &mut Testsuite, p: PathBuf) -> Option { function emscripten_processor (line 29) | pub fn emscripten_processor(_out: &mut Testsuite, p: PathBuf) -> Option<... function wasi_processor (line 60) | pub fn wasi_processor( FILE: runtime/unc-vm/tests/compilers/compilation.rs function slow_to_compile_contract (line 8) | fn slow_to_compile_contract(n_fns: usize, n_locals: usize) -> Vec { function compile_uncached (line 14) | fn compile_uncached<'a>( function compilation_test (line 35) | fn compilation_test() { function profiling (line 68) | fn profiling() { FILE: runtime/unc-vm/tests/compilers/config.rs type Compiler (line 6) | pub enum Compiler { type Engine (line 11) | pub enum Engine { type Config (line 16) | pub struct Config { method new (line 24) | pub fn new(engine: Engine, compiler: Compiler) -> Self { method set_features (line 28) | pub fn set_features(&mut self, features: Features) { method set_nan_canonicalization (line 32) | pub fn set_nan_canonicalization(&mut self, canonicalize_nans: bool) { method store (line 36) | pub fn store(&self) -> Store { method headless_store (line 42) | pub fn headless_store(&self) -> Store { method engine (line 47) | pub fn engine(&self, compiler_config: Box) -> Univ... method engine_headless (line 58) | pub fn engine_headless(&self) -> UniversalEngine { method compiler_config (line 62) | pub fn compiler_config(&self, canonicalize_nans: bool) -> Box Result<()> { function deterministic_empty (line 26) | fn deterministic_empty() -> Result<()> { function deterministic_table (line 37) | fn deterministic_table() -> Result<()> { FILE: runtime/unc-vm/tests/compilers/imports.rs function get_module (line 15) | fn get_module(store: &Store) -> Result { function dynamic_function (line 49) | fn dynamic_function(config: crate::Config) -> Result<()> { function dynamic_function_with_env (line 90) | fn dynamic_function_with_env(config: crate::Config) -> Result<()> { function static_function (line 146) | fn static_function(config: crate::Config) -> Result<()> { function static_function_with_results (line 186) | fn static_function_with_results(config: crate::Config) -> Result<()> { function static_function_with_env (line 225) | fn static_function_with_env(config: crate::Config) -> Result<()> { function static_function_that_fails (line 275) | fn static_function_that_fails(config: crate::Config) -> Result<()> { function get_module2 (line 312) | fn get_module2(store: &Store) -> Result { function dynamic_function_with_env_wasmer_env_init_works (line 327) | fn dynamic_function_with_env_wasmer_env_init_works(config: crate::Config... function regression_import_trampolines (line 372) | fn regression_import_trampolines(config: crate::Config) -> Result<()> { FILE: runtime/unc-vm/tests/compilers/issues.rs type Env (line 6) | struct Env { function issue_2329 (line 19) | fn issue_2329(mut config: crate::Config) -> Result<()> { function regression_gpr_exhaustion_for_calls (line 79) | fn regression_gpr_exhaustion_for_calls(mut config: crate::Config) -> Res... FILE: runtime/unc-vm/tests/compilers/multi_value_imports.rs type ExpectedExpr (line 87) | trait ExpectedExpr { method expected_value (line 88) | fn expected_value(n: i32) -> Self; method expected_val (line 89) | fn expected_val(n: i32) -> wasmer::Val; method expected_valtype (line 90) | fn expected_valtype() -> wasmer::ValType; method expected_value (line 93) | fn expected_value(n: i32) -> i32 { method expected_val (line 96) | fn expected_val(n: i32) -> wasmer::Val { method expected_valtype (line 99) | fn expected_valtype() -> wasmer::ValType { method expected_value (line 104) | fn expected_value(n: i32) -> i64 { method expected_val (line 107) | fn expected_val(n: i32) -> wasmer::Val { method expected_valtype (line 110) | fn expected_valtype() -> wasmer::ValType { method expected_value (line 115) | fn expected_value(n: i32) -> f32 { method expected_val (line 118) | fn expected_val(n: i32) -> wasmer::Val { method expected_valtype (line 121) | fn expected_valtype() -> wasmer::ValType { method expected_value (line 126) | fn expected_value(n: i32) -> f64 { method expected_val (line 129) | fn expected_val(n: i32) -> wasmer::Val { method expected_valtype (line 132) | fn expected_valtype() -> wasmer::ValType { FILE: runtime/unc-vm/tests/compilers/native_functions.rs function long_f (line 7) | fn long_f(a: u32, b: u32, c: u32, d: u32, e: u32, f: u16, g: u64, h: u64... function long_f_dynamic (line 20) | fn long_f_dynamic(values: &[Value]) -> Result, RuntimeError> { function native_function_works_for_wasm (line 36) | fn native_function_works_for_wasm(config: crate::Config) -> anyhow::Resu... function native_host_function_closure_panics (line 87) | fn native_host_function_closure_panics(config: crate::Config) { function native_with_env_host_function_closure_panics (line 99) | fn native_with_env_host_function_closure_panics(config: crate::Config) { function non_native_functions_and_closures_with_no_env_work (line 109) | fn non_native_functions_and_closures_with_no_env_work(config: crate::Con... function native_function_works_for_wasm_function_manyparams (line 171) | fn native_function_works_for_wasm_function_manyparams(config: crate::Con... function native_function_works_for_wasm_function_manyparams_dynamic (line 213) | fn native_function_works_for_wasm_function_manyparams_dynamic( function static_host_function_without_env (line 257) | fn static_host_function_without_env(config: crate::Config) -> anyhow::Re... function static_host_function_with_env (line 318) | fn static_host_function_with_env(config: crate::Config) -> anyhow::Resul... function dynamic_host_function_without_env (line 382) | fn dynamic_host_function_without_env(config: crate::Config) -> anyhow::R... function dynamic_host_function_with_env (line 409) | fn dynamic_host_function_with_env(config: crate::Config) -> anyhow::Resu... FILE: runtime/unc-vm/tests/compilers/serialize.rs function test_serialize (line 5) | fn test_serialize(config: crate::Config) -> Result<()> { FILE: runtime/unc-vm/tests/compilers/stack_limiter.rs function get_store (line 7) | fn get_store() -> Store { function stack_limit_hit (line 15) | fn stack_limit_hit() { function stack_limit_operand_stack (line 52) | fn stack_limit_operand_stack() { constant OK_WAT (line 92) | const OK_WAT: &str = r#" function stack_limit_ok (line 120) | fn stack_limit_ok() { function stack_limit_huge_limit (line 134) | fn stack_limit_huge_limit() { function stack_limit_no_args (line 150) | fn stack_limit_no_args() { function deep_but_sane (line 177) | fn deep_but_sane() { FILE: runtime/unc-vm/tests/compilers/traps.rs function test_trap_return (line 7) | fn test_trap_return(config: crate::Config) -> Result<()> { function test_trap_trace (line 40) | fn test_trap_trace(config: crate::Config) -> Result<()> { function test_trap_trace_cb (line 73) | fn test_trap_trace_cb(config: crate::Config) -> Result<()> { function test_trap_stack_overflow (line 115) | fn test_trap_stack_overflow(config: crate::Config) -> Result<()> { function trap_display_pretty (line 147) | fn trap_display_pretty(config: crate::Config) -> Result<()> { function trap_display_multi_module (line 181) | fn trap_display_multi_module(config: crate::Config) -> Result<()> { function trap_start_function_import (line 235) | fn trap_start_function_import(config: crate::Config) -> Result<()> { function rust_panic_import (line 271) | fn rust_panic_import(config: crate::Config) -> Result<()> { function rust_panic_start_function (line 317) | fn rust_panic_start_function(config: crate::Config) -> Result<()> { function mismatched_arguments (line 361) | fn mismatched_arguments(config: crate::Config) -> Result<()> { function call_signature_mismatch (line 393) | fn call_signature_mismatch(config: crate::Config) -> Result<()> { function start_trap_pretty (line 425) | fn start_trap_pretty(config: crate::Config) -> Result<()> { function present_after_module_drop (line 457) | fn present_after_module_drop(config: crate::Config) -> Result<()> { FILE: runtime/unc-vm/tests/compilers/wast.rs function run_wast (line 19) | pub fn run_wast(mut config: crate::Config, wast_path: &str) -> anyhow::R... FILE: runtime/unc-vm/types/src/archives.rs type ArchivableIndexMap (line 7) | pub struct ArchivableIndexMap { function iter (line 12) | pub fn iter(&self) -> core::slice::Iter<'_, (K::Archived, V::Archived)> { function from (line 20) | fn from(it: IndexMap) -> Self { function into (line 32) | fn into(self) -> IndexMap { FILE: runtime/unc-vm/types/src/entity/boxed_slice.rs type BoxedSlice (line 19) | pub struct BoxedSlice function from_raw (line 37) | pub unsafe fn from_raw(raw: *mut [V]) -> Self { function is_valid (line 42) | pub fn is_valid(&self, k: K) -> bool { function get (line 47) | pub fn get(&self, k: K) -> Option<&V> { function get_mut (line 52) | pub fn get_mut(&mut self, k: K) -> Option<&mut V> { function is_empty (line 57) | pub fn is_empty(&self) -> bool { function len (line 62) | pub fn len(&self) -> usize { function keys (line 67) | pub fn keys(&self) -> Keys { function values (line 72) | pub fn values(&self) -> slice::Iter { function values_mut (line 77) | pub fn values_mut(&mut self) -> slice::IterMut { function iter (line 82) | pub fn iter(&self) -> Iter { function iter_mut (line 87) | pub fn iter_mut(&mut self) -> IterMut { function last (line 92) | pub fn last(&self) -> Option<&V> { type Output (line 103) | type Output = V; function index (line 105) | fn index(&self, k: K) -> &V { function index_mut (line 115) | fn index_mut(&mut self, k: K) -> &mut V { type Item (line 124) | type Item = (K, &'a V); type IntoIter (line 125) | type IntoIter = Iter<'a, K, V>; method into_iter (line 127) | fn into_iter(self) -> Self::IntoIter { type Item (line 136) | type Item = (K, &'a mut V); type IntoIter (line 137) | type IntoIter = IterMut<'a, K, V>; method into_iter (line 139) | fn into_iter(self) -> Self::IntoIter { type E (line 152) | struct E(u32); method new (line 155) | fn new(i: usize) -> Self { method index (line 158) | fn index(self) -> usize { function basic (line 164) | fn basic() { function iter (line 178) | fn iter() { function iter_rev (line 207) | fn iter_rev() { function keys (line 236) | fn keys() { function keys_rev (line 250) | fn keys_rev() { function values (line 264) | fn values() { function values_rev (line 291) | fn values_rev() { FILE: runtime/unc-vm/types/src/entity/iter.rs type Iter (line 13) | pub struct Iter<'a, K: EntityRef, V> function new (line 24) | pub fn new(iter: slice::Iter<'a, V>) -> Self { type Item (line 30) | type Item = (K, &'a V); method next (line 32) | fn next(&mut self) -> Option { method size_hint (line 36) | fn size_hint(&self) -> (usize, Option) { method next_back (line 42) | fn next_back(&mut self) -> Option { type IterMut (line 50) | pub struct IterMut<'a, K: EntityRef, V> function new (line 61) | pub fn new(iter: slice::IterMut<'a, V>) -> Self { type Item (line 67) | type Item = (K, &'a mut V); method next (line 69) | fn next(&mut self) -> Option { method size_hint (line 73) | fn size_hint(&self) -> (usize, Option) { method next_back (line 79) | fn next_back(&mut self) -> Option { type IntoIter (line 87) | pub struct IntoIter { function new (line 95) | pub fn new(iter: vec::IntoIter) -> Self { type Item (line 101) | type Item = (K, V); method next (line 103) | fn next(&mut self) -> Option { method size_hint (line 107) | fn size_hint(&self) -> (usize, Option) { method next_back (line 113) | fn next_back(&mut self) -> Option { FILE: runtime/unc-vm/types/src/entity/keys.rs type Keys (line 13) | pub struct Keys { function with_len (line 21) | pub fn with_len(len: usize) -> Self { type Item (line 27) | type Item = K; method next (line 29) | fn next(&mut self) -> Option { method size_hint (line 39) | fn size_hint(&self) -> (usize, Option) { method next_back (line 46) | fn next_back(&mut self) -> Option { FILE: runtime/unc-vm/types/src/entity/mod.rs type EntityRef (line 6) | pub trait EntityRef: Copy + Eq { method new (line 9) | fn new(_: usize) -> Self; method index (line 12) | fn index(self) -> usize; FILE: runtime/unc-vm/types/src/entity/packed_option.rs type ReservedValue (line 17) | pub trait ReservedValue { method reserved_value (line 19) | fn reserved_value() -> Self; method is_reserved_value (line 21) | fn is_reserved_value(&self) -> bool; method reserved_value (line 125) | fn reserved_value() -> Self { method is_reserved_value (line 129) | fn is_reserved_value(&self) -> bool { method reserved_value (line 151) | fn reserved_value() -> Self { method is_reserved_value (line 155) | fn is_reserved_value(&self) -> bool { type PackedOption (line 26) | pub struct PackedOption(T); function is_none (line 30) | pub fn is_none(&self) -> bool { function is_some (line 35) | pub fn is_some(&self) -> bool { function expand (line 40) | pub fn expand(self) -> Option { function map (line 49) | pub fn map(self, f: F) -> Option function unwrap (line 57) | pub fn unwrap(self) -> T { function expect (line 62) | pub fn expect(self, msg: &str) -> T { function take (line 67) | pub fn take(&mut self) -> Option { method default (line 74) | fn default() -> Self { function from (line 81) | fn from(t: T) -> Self { function from (line 89) | fn from(opt: Option) -> Self { function into (line 98) | fn into(self) -> Option { function fmt (line 107) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type NoC (line 122) | struct NoC(u32); function moves (line 135) | fn moves() { type Ent (line 148) | struct Ent(u32); function copies (line 161) | fn copies() { FILE: runtime/unc-vm/types/src/entity/primary_map.rs type PrimaryMap (line 34) | pub struct PrimaryMap function new (line 47) | pub fn new() -> Self { function with_capacity (line 52) | pub fn with_capacity(capacity: usize) -> Self { function is_valid (line 57) | pub fn is_valid(&self, k: K) -> bool { function get (line 62) | pub fn get(&self, k: K) -> Option<&V> { function get_mut (line 67) | pub fn get_mut(&mut self, k: K) -> Option<&mut V> { function is_empty (line 72) | pub fn is_empty(&self) -> bool { function len (line 77) | pub fn len(&self) -> usize { function keys (line 82) | pub fn keys(&self) -> Keys { function values (line 87) | pub fn values(&self) -> slice::Iter { function values_mut (line 92) | pub fn values_mut(&mut self) -> slice::IterMut { function iter (line 97) | pub fn iter(&self) -> Iter { function iter_mut (line 102) | pub fn iter_mut(&mut self) -> IterMut { function clear (line 107) | pub fn clear(&mut self) { function next_key (line 112) | pub fn next_key(&self) -> K { function push (line 117) | pub fn push(&mut self, v: V) -> K { function last (line 124) | pub fn last(&self) -> Option<&V> { function reserve (line 129) | pub fn reserve(&mut self, additional: usize) { function reserve_exact (line 134) | pub fn reserve_exact(&mut self, additional: usize) { function shrink_to_fit (line 139) | pub fn shrink_to_fit(&mut self) { function into_boxed_slice (line 144) | pub fn into_boxed_slice(self) -> BoxedSlice { method default (line 153) | fn default() -> Self { type Output (line 164) | type Output = V; function index (line 166) | fn index(&self, k: K) -> &V { function index_mut (line 176) | fn index_mut(&mut self, k: K) -> &mut V { type Item (line 185) | type Item = (K, V); type IntoIter (line 186) | type IntoIter = IntoIter; method into_iter (line 188) | fn into_iter(self) -> Self::IntoIter { type Item (line 197) | type Item = (K, &'a V); type IntoIter (line 198) | type IntoIter = Iter<'a, K, V>; method into_iter (line 200) | fn into_iter(self) -> Self::IntoIter { type Item (line 209) | type Item = (K, &'a mut V); type IntoIter (line 210) | type IntoIter = IterMut<'a, K, V>; method into_iter (line 212) | fn into_iter(self) -> Self::IntoIter { function from_iter (line 221) | fn from_iter(iter: T) -> Self function len (line 235) | pub fn len(&self) -> usize { function values (line 240) | pub fn values(&self) -> slice::Iter> { function iter (line 245) | pub fn iter(&self) -> Iter> { type Output (line 258) | type Output = ::Archived; function index (line 260) | fn index(&self, k: &K::Archived) -> &Self::Output { type E (line 271) | struct E(u32); method new (line 274) | fn new(i: usize) -> Self { method index (line 277) | fn index(self) -> usize { function basic (line 283) | fn basic() { function push (line 296) | fn push() { function iter (line 309) | fn iter() { function iter_rev (line 337) | fn iter_rev() { function keys (line 365) | fn keys() { function keys_rev (line 378) | fn keys_rev() { function values (line 391) | fn values() { function values_rev (line 417) | fn values_rev() { function from_iter (line 443) | fn from_iter() { FILE: runtime/unc-vm/types/src/entity/secondary_map.rs type SecondaryMap (line 25) | pub struct SecondaryMap function new (line 42) | pub fn new() -> Self function with_capacity (line 52) | pub fn with_capacity(capacity: usize) -> Self function with_default (line 66) | pub fn with_default(default: V) -> Self { function capacity (line 71) | pub fn capacity(&self) -> usize { function get (line 77) | pub fn get(&self, k: K) -> Option<&V> { function is_empty (line 83) | pub fn is_empty(&self) -> bool { function clear (line 89) | pub fn clear(&mut self) { function iter (line 94) | pub fn iter(&self) -> Iter { function iter_mut (line 99) | pub fn iter_mut(&mut self) -> IterMut { function keys (line 104) | pub fn keys(&self) -> Keys { function values (line 109) | pub fn values(&self) -> slice::Iter { function values_mut (line 114) | pub fn values_mut(&mut self) -> slice::IterMut { function resize (line 119) | pub fn resize(&mut self, n: usize) { method default (line 129) | fn default() -> Self { type Output (line 142) | type Output = V; function index (line 145) | fn index(&self, k: K) -> &V { type Output (line 159) | type Output = ::Archived; function index (line 161) | fn index(&self, k: &K::Archived) -> &Self::Output { function index_mut (line 175) | fn index_mut(&mut self, k: K) -> &mut V { method eq (line 189) | fn eq(&self, other: &Self) -> bool { type E (line 211) | struct E(u32); method new (line 214) | fn new(i: usize) -> Self { method index (line 217) | fn index(self) -> usize { function basic (line 223) | fn basic() { FILE: runtime/unc-vm/types/src/extern_ref.rs type VMExternRef (line 9) | pub struct VMExternRef(*const VMExternRefInner); constant MAX_REFCOUNT (line 13) | const MAX_REFCOUNT: usize = std::usize::MAX - 1; method is_null (line 16) | pub fn is_null(&self) -> bool { method null (line 21) | pub const fn null() -> Self { method to_binary (line 27) | pub(crate) fn to_binary(self) -> i128 { method from_binary (line 38) | pub(crate) unsafe fn from_binary(bits: i128) -> Self { method new (line 43) | pub fn new(value: T) -> Self method downcast (line 51) | pub fn downcast(&self) -> Option<&T> method sanity_check_ref_count (line 67) | fn sanity_check_ref_count(old_size: usize, growth_amount: usize) { method ref_inc_by (line 88) | pub fn ref_inc_by(&self, val: usize) { method ref_clone (line 102) | pub fn ref_clone(&self) -> Self { method ref_drop (line 121) | pub fn ref_drop(&mut self) { method strong_count (line 137) | fn strong_count(&self) -> usize { method from (line 260) | fn from(other: ExternRef) -> Self { type VMExternRefInner (line 148) | pub(crate) struct VMExternRefInner { method new (line 156) | fn new(value: T) -> Self method increment_ref_count (line 165) | fn increment_ref_count(&self, val: usize) -> usize { method decrement_and_drop (line 184) | fn decrement_and_drop(&self) -> bool { type ExternRef (line 217) | pub struct ExternRef { method is_null (line 235) | pub fn is_null(&self) -> bool { method null (line 240) | pub fn null() -> Self { method new (line 245) | pub fn new(value: T) -> Self method from (line 254) | fn from(other: VMExternRef) -> Self { method clone (line 222) | fn clone(&self) -> Self { method drop (line 228) | fn drop(&mut self) { FILE: runtime/unc-vm/types/src/features.rs type Features (line 6) | pub struct Features { method new (line 35) | pub fn new() -> Self { method threads (line 69) | pub fn threads(&mut self, enable: bool) -> &mut Self { method reference_types (line 87) | pub fn reference_types(&mut self, enable: bool) -> &mut Self { method simd (line 110) | pub fn simd(&mut self, enable: bool) -> &mut Self { method bulk_memory (line 127) | pub fn bulk_memory(&mut self, enable: bool) -> &mut Self { method multi_value (line 150) | pub fn multi_value(&mut self, enable: bool) -> &mut Self { method tail_call (line 168) | pub fn tail_call(&mut self, enable: bool) -> &mut Self { method multi_memory (line 187) | pub fn multi_memory(&mut self, enable: bool) -> &mut Self { method memory64 (line 206) | pub fn memory64(&mut self, enable: bool) -> &mut Self { method default (line 213) | fn default() -> Self { function default_features (line 222) | fn default_features() { function enable_threads (line 244) | fn enable_threads() { function enable_reference_types (line 252) | fn enable_reference_types() { function enable_simd (line 260) | fn enable_simd() { function enable_multi_value (line 267) | fn enable_multi_value() { function enable_bulk_memory (line 274) | fn enable_bulk_memory() { function disable_bulk_memory (line 281) | fn disable_bulk_memory() { function enable_tail_call (line 289) | fn enable_tail_call() { function enable_multi_memory (line 296) | fn enable_multi_memory() { function enable_memory64 (line 303) | fn enable_memory64() { FILE: runtime/unc-vm/types/src/indexes.rs type LocalFunctionIndex (line 21) | pub struct LocalFunctionIndex(u32); type LocalTableIndex (line 26) | pub struct LocalTableIndex(u32); type LocalMemoryIndex (line 31) | pub struct LocalMemoryIndex(u32); type LocalGlobalIndex (line 50) | pub struct LocalGlobalIndex(u32); type FunctionIndex (line 69) | pub struct FunctionIndex(u32); type TableIndex (line 88) | pub struct TableIndex(u32); type GlobalIndex (line 107) | pub struct GlobalIndex(u32); type MemoryIndex (line 126) | pub struct MemoryIndex(u32); type SignatureIndex (line 145) | pub struct SignatureIndex(u32); type DataIndex (line 164) | pub struct DataIndex(u32); type ElemIndex (line 183) | pub struct ElemIndex(u32); type CustomSectionIndex (line 202) | pub struct CustomSectionIndex(u32); type ExportIndex (line 220) | pub enum ExportIndex { type ImportIndex (line 246) | pub enum ImportIndex { FILE: runtime/unc-vm/types/src/initializers.rs type OwnedTableInitializer (line 6) | pub struct OwnedTableInitializer { type DataInitializerLocation (line 20) | pub struct DataInitializerLocation { type DataInitializer (line 33) | pub struct DataInitializer<'data> { type OwnedDataInitializer (line 44) | pub struct OwnedDataInitializer { method new (line 54) | pub fn new(borrowed: &DataInitializer<'_>) -> Self { method from (line 76) | fn from(init: DataInitializer<'a>) -> Self { function from (line 60) | fn from(init: &'a OwnedDataInitializer) -> Self { function from (line 66) | fn from(init: &'a ArchivedOwnedDataInitializer) -> Self { FILE: runtime/unc-vm/types/src/lib.rs constant VERSION (line 73) | pub const VERSION: &str = env!("CARGO_PKG_VERSION"); FILE: runtime/unc-vm/types/src/memory_view.rs type Atomic (line 11) | pub trait Atomic { type Atomically (line 39) | pub struct Atomically; type NonAtomically (line 42) | pub struct NonAtomically; type MemoryView (line 45) | pub struct MemoryView<'a, T: 'a, A = NonAtomically> { function new (line 58) | pub unsafe fn new(ptr: *mut T, length: u32) -> Self { function subarray (line 63) | pub fn subarray(&self, start: u32, end: u32) -> Self { function copy_from (line 83) | pub unsafe fn copy_from(&self, src: &[T]) { function atomically (line 94) | pub fn atomically(&self) -> MemoryView<'a, T::Output, Atomically> { type Target (line 100) | type Target = [Cell]; method deref (line 101) | fn deref(&self) -> &[Cell] { type Target (line 109) | type Target = [T]; method deref (line 110) | fn deref(&self) -> &[T] { FILE: runtime/unc-vm/types/src/module.rs type ModuleId (line 27) | pub struct ModuleId { method id (line 32) | pub fn id(&self) -> String { method default (line 38) | fn default() -> Self { type ImportCounts (line 49) | pub struct ImportCounts { method make_local (line 64) | fn make_local(idx: I, imports: u32) -> Res... method local_function_index (line 69) | pub fn local_function_index( method local_table_index (line 77) | pub fn local_table_index(&self, idx: TableIndex) -> Result Result Result(idx: I, imports: u32) -> R { method function_index (line 97) | pub fn function_index(&self, idx: LocalFunctionIndex) -> FunctionIndex { method table_index (line 102) | pub fn table_index(&self, idx: LocalTableIndex) -> TableIndex { method memory_index (line 107) | pub fn memory_index(&self, idx: LocalMemoryIndex) -> MemoryIndex { method global_index (line 112) | pub fn global_index(&self, idx: LocalGlobalIndex) -> GlobalIndex { type ModuleInfo (line 120) | pub struct ModuleInfo { method from (line 234) | fn from(it: ArchivableModuleInfo) -> Self { method serialize (line 276) | fn serialize(&self, serializer: &mut S) -> Result Self { method get_passive_element (line 323) | pub fn get_passive_element(&self, index: ElemIndex) -> Option<&[Functi... method exported_signatures (line 328) | pub fn exported_signatures(&self) -> Vec { method custom_sections (line 343) | pub fn custom_sections<'a>(&'a self, name: &'a str) -> impl Iterator FunctionIn... method local_func_index (line 359) | pub fn local_func_index(&self, func: FunctionIndex) -> Option bool { method table_index (line 369) | pub fn table_index(&self, local_table: LocalTableIndex) -> TableIndex { method local_table_index (line 375) | pub fn local_table_index(&self, table: TableIndex) -> Option bool { method memory_index (line 385) | pub fn memory_index(&self, local_memory: LocalMemoryIndex) -> MemoryIn... method local_memory_index (line 391) | pub fn local_memory_index(&self, memory: MemoryIndex) -> Option bool { method global_index (line 401) | pub fn global_index(&self, local_global: LocalGlobalIndex) -> GlobalIn... method local_global_index (line 407) | pub fn local_global_index(&self, global: GlobalIndex) -> Option bool { method name (line 417) | pub fn name(&self) -> String { method imported_function_types (line 425) | pub fn imported_function_types<'a>(&'a self) -> impl Iterator) -> fmt::Result { type ArchivableModuleInfo (line 189) | pub struct ArchivableModuleInfo { method from (line 210) | fn from(it: ModuleInfo) -> Self { method from (line 259) | fn from(it: &ModuleInfo) -> Self { type Archived (line 265) | type Archived = ::Archived; type Resolver (line 266) | type Resolver = ::Resolver; method resolve (line 268) | unsafe fn resolve(&self, pos: usize, resolver: Self::Resolver, out: *mut... function deserialize (line 284) | fn deserialize(&self, deserializer: &mut D) -> Result bool { FILE: runtime/unc-vm/types/src/native.rs type NativeWasmType (line 24) | pub trait NativeWasmType: Sized { constant WASM_TYPE (line 29) | const WASM_TYPE: Type; method from_abi (line 32) | fn from_abi(abi: Self::Abi) -> Self; method into_abi (line 35) | fn into_abi(self) -> Self::Abi; method to_binary (line 38) | fn to_binary(self) -> i128; method to_value (line 41) | fn to_value(self) -> Value { method from_binary (line 51) | fn from_binary(binary: i128) -> Self; constant WASM_TYPE (line 55) | const WASM_TYPE: Type = Type::I32; type Abi (line 56) | type Abi = Self; method from_abi (line 59) | fn from_abi(abi: Self::Abi) -> Self { method into_abi (line 64) | fn into_abi(self) -> Self::Abi { method to_binary (line 69) | fn to_binary(self) -> i128 { method from_binary (line 74) | fn from_binary(bits: i128) -> Self { constant WASM_TYPE (line 80) | const WASM_TYPE: Type = Type::I64; type Abi (line 81) | type Abi = Self; method from_abi (line 84) | fn from_abi(abi: Self::Abi) -> Self { method into_abi (line 89) | fn into_abi(self) -> Self::Abi { method to_binary (line 94) | fn to_binary(self) -> i128 { method from_binary (line 99) | fn from_binary(bits: i128) -> Self { constant WASM_TYPE (line 105) | const WASM_TYPE: Type = Type::F32; type Abi (line 106) | type Abi = Self; method from_abi (line 109) | fn from_abi(abi: Self::Abi) -> Self { method into_abi (line 114) | fn into_abi(self) -> Self::Abi { method to_binary (line 119) | fn to_binary(self) -> i128 { method from_binary (line 124) | fn from_binary(bits: i128) -> Self { constant WASM_TYPE (line 130) | const WASM_TYPE: Type = Type::F64; type Abi (line 131) | type Abi = Self; method from_abi (line 134) | fn from_abi(abi: Self::Abi) -> Self { method into_abi (line 139) | fn into_abi(self) -> Self::Abi { method to_binary (line 144) | fn to_binary(self) -> i128 { method from_binary (line 149) | fn from_binary(bits: i128) -> Self { constant WASM_TYPE (line 155) | const WASM_TYPE: Type = Type::V128; type Abi (line 156) | type Abi = Self; method from_abi (line 159) | fn from_abi(abi: Self::Abi) -> Self { method into_abi (line 164) | fn into_abi(self) -> Self::Abi { method to_binary (line 169) | fn to_binary(self) -> i128 { method from_binary (line 174) | fn from_binary(bits: i128) -> Self { constant WASM_TYPE (line 180) | const WASM_TYPE: Type = Type::ExternRef; type Abi (line 181) | type Abi = Self; method from_abi (line 184) | fn from_abi(abi: Self::Abi) -> Self { method into_abi (line 189) | fn into_abi(self) -> Self::Abi { method to_binary (line 194) | fn to_binary(self) -> i128 { method from_binary (line 199) | fn from_binary(bits: i128) -> Self { function test_wasm_types (line 211) | fn test_wasm_types() { function test_roundtrip (line 220) | fn test_roundtrip() { type ValueType (line 256) | pub unsafe trait ValueType: Copy FILE: runtime/unc-vm/types/src/partial_sum_map.rs type PartialSumMap (line 21) | pub struct PartialSumMap { function new (line 32) | pub fn new() -> Self { function push (line 39) | pub fn push(&mut self, count: K, value: V) -> Result<(), Error> { function max_index (line 53) | pub fn max_index(&self) -> Option { function size (line 62) | pub fn size(&self) -> &K { function find (line 69) | pub fn find(&self, index: K) -> Option<&V> { type Error (line 86) | pub enum Error { method fmt (line 93) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function empty_partial_map (line 105) | fn empty_partial_map() { function basic_function (line 112) | fn basic_function() { function zero_count (line 129) | fn zero_count() { function close_to_limit (line 143) | fn close_to_limit() { FILE: runtime/unc-vm/types/src/types.rs type Type (line 21) | pub enum Type { method is_num (line 41) | pub fn is_num(self) -> bool { method is_ref (line 46) | pub fn is_ref(self) -> bool { method fmt (line 52) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type V128 (line 62) | pub struct V128(pub(crate) [u8; 16]); method bytes (line 66) | pub fn bytes(&self) -> &[u8; 16] { method iter (line 70) | pub fn iter(&self) -> impl Iterator { method to_vec (line 75) | pub fn to_vec(self) -> Vec { method as_slice (line 80) | pub fn as_slice(&self) -> &[u8] { method from (line 86) | fn from(array: [u8; 16]) -> Self { method from (line 92) | fn from(slice: &[u8]) -> Self { type ExternType (line 108) | pub enum ExternType { type FunctionType (line 159) | pub struct FunctionType { method new (line 168) | pub fn new(params: Params, returns: Returns) -> Self method params (line 177) | pub fn params(&self) -> &[Type] { method results (line 182) | pub fn results(&self) -> &[Type] { method fmt (line 188) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 224) | fn from(as_ref: &Self) -> Self { type FunctionTypeRef (line 230) | pub struct FunctionTypeRef<'a> { function new (line 239) | pub fn new(params: &'a [Type], results: &'a [Type]) -> Self { function params (line 244) | pub fn params(&self) -> &[Type] { function results (line 249) | pub fn results(&self) -> &[Type] { function from (line 255) | fn from(FunctionType { params, results }: &'a FunctionType) -> Self { function from (line 261) | fn from(ArchivedFunctionType { params, results }: &'a ArchivedFunctionTy... type Mutability (line 271) | pub enum Mutability { method is_mutable (line 280) | pub fn is_mutable(self) -> bool { type GlobalType (line 293) | pub struct GlobalType { method new (line 318) | pub fn new(ty: Type, mutability: Mutability) -> Self { method fmt (line 324) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type GlobalInit (line 336) | pub enum GlobalInit { method from_value (line 362) | pub fn from_value(value: Value) -> Self { method to_value (line 372) | pub fn to_value(&self) -> Value { type TableType (line 393) | pub struct TableType { method new (line 405) | pub fn new(ty: Type, minimum: u32, maximum: Option) -> Self { method fmt (line 411) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type MemoryType (line 429) | pub struct MemoryType { method new (line 441) | pub fn new(minimum: IntoPages, maximum: Option, ... method fmt (line 450) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Import (line 469) | pub struct Import { function new (line 479) | pub fn new(module: S, name: S, index: u32, ty: T) -> Self { function module (line 484) | pub fn module(&self) -> &str { function name (line 490) | pub fn name(&self) -> &str { function index (line 495) | pub fn index(&self) -> u32 { function ty (line 500) | pub fn ty(&self) -> &T { type ExportType (line 517) | pub struct ExportType { function new (line 525) | pub fn new(name: &str, ty: T) -> Self { function name (line 530) | pub fn name(&self) -> &str { function ty (line 535) | pub fn ty(&self) -> &T { type FastGasCounter (line 545) | pub struct FastGasCounter { method new (line 560) | pub fn new(limit: u64) -> Self { method burnt (line 564) | pub fn burnt(&self) -> u64 { method fmt (line 570) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type InstanceConfig (line 577) | pub struct InstanceConfig { method with_stack_limit (line 587) | pub fn with_stack_limit(stack_limit: u32) -> Self { method with_counter (line 595) | pub unsafe fn with_counter(mut self, gas_counter: *mut FastGasCounter)... constant VOID_TO_VOID (line 606) | const VOID_TO_VOID: ([Type; 0], [Type; 0]) = ([], []); constant I32_I32_TO_VOID (line 607) | const I32_I32_TO_VOID: ([Type; 2], [Type; 0]) = ([Type::I32, Type::I32],... constant V128_I64_TO_I32 (line 608) | const V128_I64_TO_I32: ([Type; 2], [Type; 1]) = ([Type::V128, Type::I64]... constant NINE_V128_TO_NINE_I32 (line 609) | const NINE_V128_TO_NINE_I32: ([Type; 9], [Type; 9]) = ([Type::V128; 9], ... function convert_tuple_to_functiontype (line 612) | fn convert_tuple_to_functiontype() { FILE: runtime/unc-vm/types/src/units.rs constant WASM_PAGE_SIZE (line 11) | pub const WASM_PAGE_SIZE: usize = 0x10000; constant WASM_MAX_PAGES (line 14) | pub const WASM_MAX_PAGES: u32 = 0x10000; constant WASM_MIN_PAGES (line 17) | pub const WASM_MIN_PAGES: u32 = 0x100; type Pages (line 34) | pub struct Pages(pub u32); method max_value (line 41) | pub const fn max_value() -> Self { method checked_add (line 47) | pub fn checked_add(self, rhs: Self) -> Option { method bytes (line 57) | pub fn bytes(self) -> Bytes { method fmt (line 63) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 69) | fn from(other: u32) -> Self { type Output (line 106) | type Output = Self; method sub (line 107) | fn sub(self, rhs: T) -> Self { type Output (line 116) | type Output = Self; method add (line 117) | fn add(self, rhs: T) -> Self { type Error (line 128) | type Error = PageCountOutOfRange; method try_from (line 130) | fn try_from(bytes: Bytes) -> Result { type Bytes (line 76) | pub struct Bytes(pub usize); method fmt (line 79) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 85) | fn from(pages: Pages) -> Self { method from (line 91) | fn from(other: usize) -> Self { method from (line 97) | fn from(other: u32) -> Self { type Output (line 140) | type Output = Self; method sub (line 141) | fn sub(self, rhs: T) -> Self { type Output (line 150) | type Output = Self; method add (line 151) | fn add(self, rhs: T) -> Self { type PageCountOutOfRange (line 125) | pub struct PageCountOutOfRange; function convert_bytes_to_pages (line 161) | fn convert_bytes_to_pages() { FILE: runtime/unc-vm/types/src/values.rs type Value (line 11) | pub enum Value { type WasmValueType (line 66) | pub trait WasmValueType: std::fmt::Debug + 'static { method write_value_to (line 68) | unsafe fn write_value_to(&self, p: *mut i128); method read_value_from (line 75) | unsafe fn read_value_from(store: &dyn std::any::Any, p: *const i128) -... method write_value_to (line 79) | unsafe fn write_value_to(&self, _p: *mut i128) {} method read_value_from (line 81) | unsafe fn read_value_from(_store: &dyn std::any::Any, _p: *const i128)... function null (line 91) | pub fn null() -> Self { function ty (line 96) | pub fn ty(&self) -> Type { function write_value_to (line 114) | pub unsafe fn write_value_to(&self, p: *mut i128) { function read_value_from (line 134) | pub unsafe fn read_value_from(store: &dyn std::any::Any, p: *const i128,... function fmt (line 172) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method to_string (line 190) | fn to_string(&self) -> String { function from (line 207) | fn from(val: i32) -> Self { function from (line 216) | fn from(val: u32) -> Self { function from (line 226) | fn from(val: i64) -> Self { function from (line 235) | fn from(val: u64) -> Self { function from (line 245) | fn from(val: f32) -> Self { function from (line 254) | fn from(val: f64) -> Self { function from (line 263) | fn from(val: ExternRef) -> Self { constant NOT_I32 (line 274) | const NOT_I32: &str = "Value is not of Wasm type i32"; constant NOT_I64 (line 275) | const NOT_I64: &str = "Value is not of Wasm type i64"; constant NOT_F32 (line 276) | const NOT_F32: &str = "Value is not of Wasm type f32"; constant NOT_F64 (line 277) | const NOT_F64: &str = "Value is not of Wasm type f64"; type Error (line 283) | type Error = &'static str; function try_from (line 285) | fn try_from(value: Value) -> Result { type Error (line 294) | type Error = &'static str; function try_from (line 296) | fn try_from(value: Value) -> Result { type Error (line 305) | type Error = &'static str; function try_from (line 307) | fn try_from(value: Value) -> Result { type Error (line 316) | type Error = &'static str; function try_from (line 318) | fn try_from(value: Value) -> Result { type Error (line 327) | type Error = &'static str; function try_from (line 329) | fn try_from(value: Value) -> Result { type Error (line 338) | type Error = &'static str; function try_from (line 340) | fn try_from(value: Value) -> Result { function test_value_i32_from_u32 (line 350) | fn test_value_i32_from_u32() { function test_value_i64_from_u64 (line 369) | fn test_value_i64_from_u64() { function convert_value_to_i32 (line 388) | fn convert_value_to_i32() { function convert_value_to_u32 (line 403) | fn convert_value_to_u32() { function convert_value_to_i64 (line 418) | fn convert_value_to_i64() { function convert_value_to_u64 (line 433) | fn convert_value_to_u64() { function convert_value_to_f32 (line 448) | fn convert_value_to_f32() { function convert_value_to_f64 (line 463) | fn convert_value_to_f64() { FILE: runtime/unc-vm/types/tests/partial-sum-map/main.rs function partial_sum_map_fuzzer (line 4) | fn partial_sum_map_fuzzer() { FILE: runtime/unc-vm/vm/build.rs function main (line 5) | fn main() { FILE: runtime/unc-vm/vm/src/artifact.rs type Instantiatable (line 9) | pub trait Instantiatable: Artifact { method instantiate (line 18) | unsafe fn instantiate( type Artifact (line 34) | pub trait Artifact: Send { method offsets (line 36) | fn offsets(&self) -> &crate::VMOffsets; method import_counts (line 39) | fn import_counts(&self) -> &ImportCounts; method functions (line 44) | fn functions(&self) -> &BoxedSlice; method passive_elements (line 47) | fn passive_elements(&self) -> &BTreeMap>; method element_segments (line 50) | fn element_segments(&self) -> &[OwnedTableInitializer]; method data_segments (line 54) | fn data_segments(&self) -> &[OwnedDataInitializer]; method globals (line 57) | fn globals(&self) -> &[(GlobalType, GlobalInit)]; method start_function (line 60) | fn start_function(&self) -> Option; method export_field (line 63) | fn export_field(&self, name: &str) -> Option; method signatures (line 66) | fn signatures(&self) -> &[VMSharedSignatureIndex]; method function_signature (line 69) | fn function_signature(&self, index: FunctionIndex) -> Option Self { method from (line 132) | fn from(table: VMTable) -> Self { method from (line 187) | fn from(memory: VMMemory) -> Self { method from (line 232) | fn from(global: VMGlobal) -> Self { type VMFunction (line 31) | pub struct VMFunction { method upgrade_instance_ref (line 60) | pub fn upgrade_instance_ref(&mut self) -> Option<()> { type VMTable (line 84) | pub struct VMTable { method ty (line 107) | pub fn ty(&self) -> &TableType { method style (line 112) | pub fn style(&self) -> &TableStyle { method same (line 117) | pub fn same(&self, other: &Self) -> bool { method upgrade_instance_ref (line 123) | pub fn upgrade_instance_ref(&mut self) -> Option<()> { type VMMemory (line 139) | pub struct VMMemory { method ty (line 162) | pub fn ty(&self) -> MemoryType { method style (line 167) | pub fn style(&self) -> &MemoryStyle { method same (line 172) | pub fn same(&self, other: &Self) -> bool { method upgrade_instance_ref (line 178) | pub fn upgrade_instance_ref(&mut self) -> Option<()> { type VMGlobal (line 194) | pub struct VMGlobal { method same (line 217) | pub fn same(&self, other: &Self) -> bool { method upgrade_instance_ref (line 223) | pub fn upgrade_instance_ref(&mut self) -> Option<()> { FILE: runtime/unc-vm/vm/src/func_data_registry.rs type FuncDataRegistry (line 13) | pub struct FuncDataRegistry { method new (line 97) | pub fn new() -> Self { method register (line 102) | pub fn register(&self, anyfunc: VMCallerCheckedAnyfunc) -> VMFuncRef { type VMFuncRef (line 29) | pub struct VMFuncRef(pub(crate) *const VMCallerCheckedAnyfunc); constant WASM_TYPE (line 32) | const WASM_TYPE: unc_vm_types::Type = unc_vm_types::Type::FuncRef; type Abi (line 33) | type Abi = Self; method from_abi (line 36) | fn from_abi(abi: Self::Abi) -> Self { method into_abi (line 41) | fn into_abi(self) -> Self::Abi { method to_binary (line 46) | fn to_binary(self) -> i128 { method from_binary (line 51) | fn from_binary(bits: i128) -> Self { method is_null (line 60) | pub fn is_null(&self) -> bool { method null (line 65) | pub const fn null() -> Self { type Target (line 71) | type Target = *const VMCallerCheckedAnyfunc; method deref (line 73) | fn deref(&self) -> &Self::Target { method deref_mut (line 79) | fn deref_mut(&mut self) -> &mut Self::Target { type Inner (line 90) | struct Inner { FILE: runtime/unc-vm/vm/src/global.rs type Global (line 10) | pub struct Global { method new (line 46) | pub fn new(global_type: GlobalType) -> Self { method ty (line 55) | pub fn ty(&self) -> &GlobalType { method vmglobal (line 60) | pub fn vmglobal(&self) -> NonNull { method get (line 70) | pub fn get(&self, store: &dyn std::any::Any) -> Valu... method set (line 98) | pub unsafe fn set(&self, val: Value) -> Result<()... method set_unchecked (line 115) | pub unsafe fn set_unchecked(&self, val: Value) ->... type GlobalError (line 28) | pub enum GlobalError { FILE: runtime/unc-vm/vm/src/imports.rs type VMImportType (line 11) | pub enum VMImportType { type VMImport (line 28) | pub struct VMImport { type Imports (line 43) | pub struct Imports { method new (line 71) | pub fn new( method none (line 88) | pub fn none() -> Self { method get_imported_function_envs (line 103) | pub fn get_imported_function_envs(&mut self) -> BoxedSlice Layout { method memory_definition_locations (line 122) | unsafe fn memory_definition_locations(&self) -> Vec Vec Instance... method drop (line 47) | fn drop(&mut self) { FILE: runtime/unc-vm/vm/src/instance/mod.rs type ImportInitializerFuncPtr (line 52) | pub type ImportInitializerFuncPtr = type Instance (line 62) | pub struct Instance { method fmt (line 173) | fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { method vmctx_plus_offset (line 182) | unsafe fn vmctx_plus_offset(&self, offset: u32) -> *mut T { method offsets (line 187) | fn offsets(&self) -> &VMOffsets { method signature_ids_ptr (line 192) | fn signature_ids_ptr(&self) -> *mut VMSharedSignatureIndex { method imported_function (line 197) | fn imported_function(&self, index: FunctionIndex) -> &VMFunctionImport { method imported_functions_ptr (line 203) | fn imported_functions_ptr(&self) -> *mut VMFunctionImport { method imported_table (line 208) | fn imported_table(&self, index: TableIndex) -> &VMTableImport { method imported_tables_ptr (line 214) | fn imported_tables_ptr(&self) -> *mut VMTableImport { method imported_memory (line 219) | fn imported_memory(&self, index: MemoryIndex) -> &VMMemoryImport { method imported_memories_ptr (line 231) | fn imported_memories_ptr(&self) -> *mut VMMemoryImport { method imported_global (line 236) | fn imported_global(&self, index: GlobalIndex) -> &VMGlobalImport { method imported_globals_ptr (line 242) | fn imported_globals_ptr(&self) -> *mut VMGlobalImport { method table (line 248) | fn table(&self, index: LocalTableIndex) -> VMTableDefinition { method set_table (line 254) | fn set_table(&self, index: LocalTableIndex, table: &VMTableDefinition) { method table_ptr (line 261) | fn table_ptr(&self, index: LocalTableIndex) -> NonNull *mut VMTableDefinition { method memory_definition (line 272) | fn memory_definition(&self, index: MemoryIndex) -> &VMMemoryDefinition { method set_memory (line 281) | fn set_memory(&self, index: LocalMemoryIndex, mem: &VMMemoryDefinition) { method memory_ptr (line 288) | fn memory_ptr(&self, index: LocalMemoryIndex) -> NonNull *mut VMMemoryDefinition { method global (line 299) | fn global(&self, index: GlobalIndex) -> &VMGlobalDefinition { method set_global (line 308) | fn set_global(&self, index: LocalGlobalIndex, global: &VMGlobalDefinit... method global_ptr (line 315) | fn global_ptr(&self, index: LocalGlobalIndex) -> NonNull *mut *mut VMGlobalDefinition { method builtin_functions_ptr (line 327) | fn builtin_functions_ptr(&self) -> *mut VMBuiltinFunctionsArray { method vmctx (line 332) | fn vmctx(&self) -> &VMContext { method vmctx_ptr (line 337) | fn vmctx_ptr(&self) -> *mut VMContext { method host_state (line 343) | pub fn host_state(&self) -> &dyn Any { method trap_catcher_ptr (line 348) | fn trap_catcher_ptr(&self) -> *mut *const u8 { method gas_counter_ptr (line 353) | pub fn gas_counter_ptr(&self) -> *mut *const FastGasCounter { method stack_limit_initial_ptr (line 358) | pub fn stack_limit_initial_ptr(&self) -> *mut u32 { method stack_limit_ptr (line 363) | pub fn stack_limit_ptr(&self) -> *mut u32 { method invoke_start_function (line 368) | fn invoke_start_function(&self) -> Result<(), Trap> { method reset_stack_meter (line 386) | pub fn reset_stack_meter(&self) { method vmctx_offset (line 394) | pub(crate) fn vmctx_offset() -> isize { method table_index (line 399) | pub(crate) fn table_index(&self, table: &VMTableDefinition) -> LocalTa... method memory_index (line 411) | pub(crate) fn memory_index(&self, memory: &VMMemoryDefinition) -> Loca... method memory_grow (line 426) | pub(crate) fn memory_grow( method imported_memory_grow (line 449) | pub(crate) unsafe fn imported_memory_grow( method memory_size (line 462) | pub(crate) fn memory_size(&self, memory_index: LocalMemoryIndex) -> Pa... method imported_memory_size (line 474) | pub(crate) unsafe fn imported_memory_size(&self, memory_index: MemoryI... method table_size (line 479) | pub(crate) fn table_size(&self, table_index: LocalTableIndex) -> u32 { method imported_table_size (line 487) | pub(crate) unsafe fn imported_table_size(&self, table_index: TableInde... method table_grow (line 495) | pub(crate) fn table_grow( method imported_table_grow (line 514) | pub(crate) unsafe fn imported_table_grow( method table_get (line 525) | pub(crate) fn table_get( method imported_table_get (line 540) | pub(crate) unsafe fn imported_table_get( method table_set (line 550) | pub(crate) fn table_set( method imported_table_set (line 566) | pub(crate) unsafe fn imported_table_set( method func_ref (line 576) | pub(crate) fn func_ref(&self, function_index: FunctionIndex) -> Option... method get_vm_funcref (line 581) | fn get_vm_funcref(&self, index: FunctionIndex) -> VMFuncRef { method table_init (line 595) | pub(crate) fn table_init( method table_fill (line 629) | pub(crate) fn table_fill( method elem_drop (line 655) | pub(crate) fn elem_drop(&self, elem_index: ElemIndex) { method local_memory_copy (line 670) | pub(crate) fn local_memory_copy( method imported_memory_copy (line 684) | pub(crate) fn imported_memory_copy( method local_memory_fill (line 701) | pub(crate) fn local_memory_fill( method imported_memory_fill (line 718) | pub(crate) fn imported_memory_fill( method memory_init (line 737) | pub(crate) fn memory_init( method data_drop (line 769) | pub(crate) fn data_drop(&self, data_index: DataIndex) { method get_table (line 776) | pub(crate) fn get_table(&self, table_index: TableIndex) -> &dyn Table { method get_local_table (line 784) | pub(crate) fn get_local_table(&self, index: LocalTableIndex) -> &dyn T... method get_foreign_table (line 789) | pub(crate) fn get_foreign_table(&self, index: TableIndex) -> &dyn Table { type ImportFunctionEnv (line 109) | pub enum ImportFunctionEnv { method clone (line 140) | fn clone(&self) -> Self { method drop (line 157) | fn drop(&mut self) { type InstanceHandle (line 801) | pub struct InstanceHandle { method new (line 830) | pub unsafe fn new( method instance (line 935) | pub fn instance(&self) -> &InstanceRef { method finish_instantiation (line 944) | pub unsafe fn finish_instantiation(&self) -> Result<(), Trap> { method invoke_function (line 958) | pub unsafe fn invoke_function( method vmctx (line 974) | pub fn vmctx(&self) -> &VMContext { method vmctx_ptr (line 979) | pub fn vmctx_ptr(&self) -> *mut VMContext { method vmoffsets (line 986) | pub fn vmoffsets(&self) -> &VMOffsets { method function_by_index (line 991) | pub fn function_by_index(&self, idx: FunctionIndex) -> Option Option Option { method global_by_index (line 1051) | pub fn global_by_index(&self, index: GlobalIndex) -> Option { method lookup (line 1064) | pub fn lookup(&self, field: &str) -> Option { method host_state (line 1075) | pub fn host_state(&self) -> &dyn Any { method memory_index (line 1080) | pub fn memory_index(&self, memory: &VMMemoryDefinition) -> LocalMemory... method memory_grow (line 1088) | pub fn memory_grow( method table_index (line 1100) | pub fn table_index(&self, table: &VMTableDefinition) -> LocalTableIndex { method table_grow (line 1108) | pub fn table_grow( method table_get (line 1120) | pub fn table_get(&self, table_index: LocalTableIndex, index: u32) -> O... method table_set (line 1127) | pub fn table_set( method get_local_table (line 1137) | pub fn get_local_table(&self, index: LocalTableIndex) -> &dyn Table { function initialize_host_envs (line 1150) | pub unsafe fn initialize_host_envs( function get_memory_init_start (line 1178) | fn get_memory_init_start(init: &DataInitializer<'_>, instance: &Instance... function get_memory_slice (line 1189) | unsafe fn get_memory_slice<'instance>( function get_table_init_start (line 1198) | fn get_table_init_start(init: &OwnedTableInitializer, instance: &Instanc... function initialize_tables (line 1208) | fn initialize_tables(instance: &Instance) -> Result<(), Trap> { function initialize_passive_elements (line 1229) | fn initialize_passive_elements(instance: &Instance) { function initialize_memories (line 1249) | fn initialize_memories<'a>( function initialize_globals (line 1272) | fn initialize_globals(instance: &Instance) { function build_funcrefs (line 1295) | pub fn build_funcrefs<'a>( FILE: runtime/unc-vm/vm/src/instance/ref.rs type InstanceInner (line 18) | struct InstanceInner { method deallocate_instance (line 42) | unsafe fn deallocate_instance(&mut self) { method as_ref (line 51) | pub(crate) fn as_ref(&self) -> &Instance { method as_mut (line 59) | pub(super) fn as_mut(&mut self) -> &mut Instance { method eq (line 67) | fn eq(&self, other: &Self) -> bool { method drop (line 74) | fn drop(&mut self) { type InstanceRef (line 108) | pub struct InstanceRef(Arc); method new (line 121) | pub(super) unsafe fn new(instance: NonNull, instance_layout:... method as_ref (line 127) | pub fn as_ref(&self) -> &Instance { method as_mut (line 133) | pub(super) fn as_mut(&mut self) -> Option<&mut Instance> { method as_mut_unchecked (line 145) | pub(super) unsafe fn as_mut_unchecked(&mut self) -> &mut Instance { type Error (line 203) | type Error = &'static str; method try_from (line 204) | fn try_from(value: WeakOrStrongInstanceRef) -> Result); method upgrade (line 165) | pub fn upgrade(&self) -> Option { method from (line 215) | fn from(value: WeakOrStrongInstanceRef) -> Self { method eq (line 158) | fn eq(&self, other: &Self) -> bool { type WeakOrStrongInstanceRef (line 176) | pub enum WeakOrStrongInstanceRef { method upgrade (line 186) | pub fn upgrade(&self) -> Option { method downgrade (line 194) | pub fn downgrade(&self) -> Self { method from (line 224) | fn from(value: WeakInstanceRef) -> Self { method from (line 230) | fn from(value: InstanceRef) -> Self { FILE: runtime/unc-vm/vm/src/lib.rs constant VERSION (line 72) | pub const VERSION: &str = env!("CARGO_PKG_VERSION"); FILE: runtime/unc-vm/vm/src/libcalls.rs function unc_vm_f32_ceil (line 54) | pub extern "C" fn unc_vm_f32_ceil(x: f32) -> f32 { function unc_vm_f32_floor (line 60) | pub extern "C" fn unc_vm_f32_floor(x: f32) -> f32 { function unc_vm_f32_trunc (line 66) | pub extern "C" fn unc_vm_f32_trunc(x: f32) -> f32 { function unc_vm_f32_nearest (line 73) | pub extern "C" fn unc_vm_f32_nearest(x: f32) -> f32 { function unc_vm_f64_ceil (line 99) | pub extern "C" fn unc_vm_f64_ceil(x: f64) -> f64 { function unc_vm_f64_floor (line 105) | pub extern "C" fn unc_vm_f64_floor(x: f64) -> f64 { function unc_vm_f64_trunc (line 111) | pub extern "C" fn unc_vm_f64_trunc(x: f64) -> f64 { function unc_vm_f64_nearest (line 118) | pub extern "C" fn unc_vm_f64_nearest(x: f64) -> f64 { function unc_vm_memory32_grow (line 148) | pub unsafe extern "C" fn unc_vm_memory32_grow( function unc_vm_imported_memory32_grow (line 165) | pub unsafe extern "C" fn unc_vm_imported_memory32_grow( function unc_vm_memory32_size (line 185) | pub unsafe extern "C" fn unc_vm_memory32_size(vmctx: *mut VMContext, mem... function unc_vm_imported_memory32_size (line 198) | pub unsafe extern "C" fn unc_vm_imported_memory32_size( function unc_vm_table_copy (line 214) | pub unsafe extern "C" fn unc_vm_table_copy( function unc_vm_table_init (line 241) | pub unsafe extern "C" fn unc_vm_table_init( function unc_vm_table_fill (line 266) | pub unsafe extern "C" fn unc_vm_table_fill( function unc_vm_table_size (line 295) | pub unsafe extern "C" fn unc_vm_table_size(vmctx: *mut VMContext, table_... function unc_vm_imported_table_size (line 308) | pub unsafe extern "C" fn unc_vm_imported_table_size( function unc_vm_table_get (line 324) | pub unsafe extern "C" fn unc_vm_table_get( function unc_vm_imported_table_get (line 345) | pub unsafe extern "C" fn unc_vm_imported_table_get( function unc_vm_table_set (line 369) | pub unsafe extern "C" fn unc_vm_table_set( function unc_vm_imported_table_set (line 399) | pub unsafe extern "C" fn unc_vm_imported_table_set( function unc_vm_table_grow (line 424) | pub unsafe extern "C" fn unc_vm_table_grow( function unc_vm_imported_table_grow (line 446) | pub unsafe extern "C" fn unc_vm_imported_table_grow( function unc_vm_func_ref (line 469) | pub unsafe extern "C" fn unc_vm_func_ref(vmctx: *mut VMContext, function... function unc_vm_externref_inc (line 484) | pub unsafe extern "C" fn unc_vm_externref_inc(externref: VMExternRef) { function unc_vm_externref_dec (line 497) | pub unsafe extern "C" fn unc_vm_externref_dec(mut externref: VMExternRef) { function unc_vm_elem_drop (line 507) | pub unsafe extern "C" fn unc_vm_elem_drop(vmctx: *mut VMContext, elem_in... function unc_vm_memory32_copy (line 519) | pub unsafe extern "C" fn unc_vm_memory32_copy( function unc_vm_imported_memory32_copy (line 542) | pub unsafe extern "C" fn unc_vm_imported_memory32_copy( function unc_vm_memory32_fill (line 565) | pub unsafe extern "C" fn unc_vm_memory32_fill( function unc_vm_imported_memory32_fill (line 588) | pub unsafe extern "C" fn unc_vm_imported_memory32_fill( function unc_vm_memory32_init (line 611) | pub unsafe extern "C" fn unc_vm_memory32_init( function unc_vm_data_drop (line 636) | pub unsafe extern "C" fn unc_vm_data_drop(vmctx: *mut VMContext, data_in... function unc_vm_raise_trap (line 649) | pub unsafe extern "C" fn unc_vm_raise_trap(trap_code: TrapCode) -> ! { type LibCall (line 669) | pub enum LibCall { method function_pointer (line 767) | pub fn function_pointer(self) -> usize { method to_function_name (line 804) | pub fn to_function_name(&self) -> &str { method fmt (line 847) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { FILE: runtime/unc-vm/vm/src/memory.rs type MemoryError (line 22) | pub enum MemoryError { type MemoryStyle (line 64) | pub enum MemoryStyle { method offset_guard_size (line 87) | pub fn offset_guard_size(&self) -> u64 { type Memory (line 96) | pub trait Memory: fmt::Debug + Send + Sync { method ty (line 98) | fn ty(&self) -> MemoryType; method style (line 101) | fn style(&self) -> &MemoryStyle; method size (line 104) | fn size(&self) -> Pages; method grow (line 107) | fn grow(&self, delta: Pages) -> Result; method vmmemory (line 112) | fn vmmemory(&self) -> NonNull; method ty (line 286) | fn ty(&self) -> MemoryType { method style (line 295) | fn style(&self) -> &MemoryStyle { method size (line 300) | fn size(&self) -> Pages { method grow (line 313) | fn grow(&self, delta: Pages) -> Result { method vmmemory (line 384) | fn vmmemory(&self) -> NonNull { type LinearMemory (line 117) | pub struct LinearMemory { method new (line 176) | pub fn new(memory: &MemoryType, style: &MemoryStyle) -> Result NonNull usize { type Mmap (line 21) | pub struct Mmap { method new (line 32) | pub fn new() -> Self { method with_at_least (line 41) | pub fn with_at_least(size: usize) -> Result { method accessible_reserved (line 51) | pub fn accessible_reserved( method accessible_reserved (line 114) | pub fn accessible_reserved( method make_accessible (line 170) | pub fn make_accessible(&mut self, start: usize, len: usize) -> Result<... method make_accessible (line 186) | pub fn make_accessible(&mut self, start: usize, len: usize) -> Result<... method as_slice (line 209) | pub fn as_slice(&self) -> &[u8] { method as_mut_slice (line 214) | pub fn as_mut_slice(&mut self) -> &mut [u8] { method as_ptr (line 219) | pub fn as_ptr(&self) -> *const u8 { method as_mut_ptr (line 224) | pub fn as_mut_ptr(&mut self) -> *mut u8 { method len (line 229) | pub fn len(&self) -> usize { method is_empty (line 234) | pub fn is_empty(&self) -> bool { method drop (line 241) | fn drop(&mut self) { method drop (line 249) | fn drop(&mut self) { function _assert (line 260) | fn _assert() { function test_round_up_to_page_size (line 270) | fn test_round_up_to_page_size() { FILE: runtime/unc-vm/vm/src/resolver.rs type Export (line 7) | pub enum Export { method from (line 33) | fn from(other: VMExtern) -> Self { method from (line 140) | fn from(func: ExportFunction) -> Self { method from (line 146) | fn from(table: VMTable) -> Self { method from (line 152) | fn from(memory: VMMemory) -> Self { method from (line 158) | fn from(global: VMGlobal) -> Self { method from (line 22) | fn from(other: Export) -> Self { type ExportFunctionMetadata (line 54) | pub struct ExportFunctionMetadata { method new (line 102) | pub unsafe fn new( method drop (line 115) | fn drop(&mut self) { type ExportFunction (line 130) | pub struct ExportFunction { type Resolver (line 165) | pub trait Resolver { method resolve (line 185) | fn resolve(&self, _index: u32, module: &str, field: &str) -> Option Option Option Option; method resolve_by_name (line 211) | fn resolve_by_name(&self, module: &str, field: &str) -> Option { method resolve_by_name (line 217) | fn resolve_by_name(&self, module: &str, field: &str) -> Option { method resolve_by_name (line 224) | fn resolve_by_name(&self, _module: &str, _field: &str) -> Option Option { type NullResolver (line 230) | pub struct NullResolver {} type NamedResolverChain (line 239) | pub struct NamedResolverChain(self, other: U) -> NamedResolverChain method chain_back (line 292) | fn chain_back(self, other: U) -> NamedResolverChain method clone (line 318) | fn clone(&self) -> Self { FILE: runtime/unc-vm/vm/src/sig_registry.rs type VMSharedSignatureIndex (line 15) | pub struct VMSharedSignatureIndex(u32); method new (line 19) | pub fn new(value: u32) -> Self { type SignatureRegistry (line 29) | pub struct SignatureRegistry { method new (line 36) | pub fn new() -> Self { method register (line 41) | pub fn register(&mut self, sig: FunctionType) -> VMSharedSignatureIndex { method lookup (line 69) | pub fn lookup(&self, idx: VMSharedSignatureIndex) -> Option<&FunctionT... FILE: runtime/unc-vm/vm/src/table.rs type TableStyle (line 22) | pub enum TableStyle { type Table (line 28) | pub trait Table: fmt::Debug + Send + Sync { method style (line 30) | fn style(&self) -> &TableStyle; method ty (line 33) | fn ty(&self) -> &TableType; method size (line 36) | fn size(&self) -> u32; method grow (line 42) | fn grow(&self, delta: u32, init_value: TableElement) -> Option; method get (line 47) | fn get(&self, index: u32) -> Option; method set (line 54) | fn set(&self, index: u32, reference: TableElement) -> Result<(), Trap>; method vmtable (line 57) | fn vmtable(&self) -> NonNull; method copy (line 65) | fn copy( method ty (line 273) | fn ty(&self) -> &TableType { method style (line 278) | fn style(&self) -> &TableStyle { method size (line 283) | fn size(&self) -> u32 { method grow (line 296) | fn grow(&self, delta: u32, init_value: TableElement) -> Option { method get (line 338) | fn get(&self, index: u32) -> Option { method set (line 355) | fn set(&self, index: u32, reference: TableElement) -> Result<(), Trap> { method vmtable (line 387) | fn vmtable(&self) -> NonNull { type TableElement (line 105) | pub enum TableElement { method from (line 115) | fn from(other: TableElement) -> Self { function table_element_size_test (line 132) | fn table_element_size_test() { method fmt (line 139) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method default (line 145) | fn default() -> Self { method default (line 151) | fn default() -> Self { type LinearTable (line 158) | pub struct LinearTable { method new (line 192) | pub fn new(table: &TableType, style: &TableStyle) -> Result NonNull { type VMTableDefinitionOwnership (line 172) | enum VMTableDefinitionOwnership { FILE: runtime/unc-vm/vm/src/trap/handlers.c function unc_vm_register_setjmp (line 41) | int unc_vm_register_setjmp( function unc_vm_unwind (line 63) | void unc_vm_unwind(void *JmpBuf) { FILE: runtime/unc-vm/vm/src/trap/trapcode.rs type TrapCode (line 26) | pub enum TrapCode { method message (line 76) | pub fn message(&self) -> &str { method fmt (line 96) | fn fmt(&self, f: &mut Formatter) -> fmt::Result { type Err (line 117) | type Err = (); method from_str (line 119) | fn from_str(s: &str) -> Result { constant CODES (line 143) | const CODES: [TrapCode; 12] = [ function display (line 159) | fn display() { FILE: runtime/unc-vm/vm/src/trap/traphandlers.rs function unc_vm_register_setjmp (line 18) | fn unc_vm_register_setjmp( function unc_vm_unwind (line 23) | fn unc_vm_unwind(jmp_buf: *const u8) -> !; function raise_user_trap (line 38) | pub unsafe fn raise_user_trap(data: Box) -> ! { function raise_lib_trap (line 53) | pub unsafe fn raise_lib_trap(trap: Trap) -> ! { function resume_panic (line 65) | pub unsafe fn resume_panic(payload: Box) -> ! { type Trap (line 71) | pub enum Trap { method wasm (line 110) | pub fn wasm(pc: usize, backtrace: Backtrace, signal_trap: Option Self { method oom (line 125) | pub fn oom() -> Self { function unc_vm_call_trampoline (line 146) | pub unsafe fn unc_vm_call_trampoline( function catch_traps (line 165) | pub unsafe fn catch_traps(mut closure: F) -> Result<(), Trap> function catch_traps_with_result (line 194) | pub unsafe fn catch_traps_with_result(mut closure: F) -> Result Self { method with (line 234) | fn with(self, closure: impl FnOnce(&Self) -> i32) -> Result<(), Trap> { method unwind_with (line 253) | fn unwind_with(&self, reason: UnwindReason) -> ! { type UnwindReason (line 213) | enum UnwindReason { type Ptr (line 291) | pub type Ptr = *const CallThreadState; function replace (line 301) | pub fn replace(val: Ptr) -> Result { function get (line 313) | pub fn get() -> Ptr { type TlsRestore (line 320) | pub struct TlsRestore(raw::Ptr); method take (line 330) | pub unsafe fn take() -> Result { method replace (line 349) | pub unsafe fn replace(self) -> Result<(), super::Trap> { function set (line 363) | pub fn set(state: &CallThreadState, closure: impl FnOnce() -> R) -> R... function with (line 386) | pub fn with(closure: impl FnOnce(Option<&CallThreadState>) -> R) -> R { function signal_less_trap_handler (line 392) | extern "C" fn signal_less_trap_handler(pc: *const u8, trap: TrapCode) { function get_trap_handler (line 411) | pub fn get_trap_handler() -> *const u8 { FILE: runtime/unc-vm/vm/src/tunables.rs type Tunables (line 11) | pub trait Tunables: Sync { method memory_style (line 13) | fn memory_style(&self, memory: &MemoryType) -> MemoryStyle; method table_style (line 16) | fn table_style(&self, table: &TableType) -> TableStyle; method create_host_memory (line 19) | fn create_host_memory( method create_vm_memory (line 29) | unsafe fn create_vm_memory( method create_host_table (line 37) | fn create_host_table( method create_vm_table (line 47) | unsafe fn create_vm_table( method stack_limiter_cfg (line 55) | fn stack_limiter_cfg(&self) -> Box Box u64; method memory_style (line 68) | fn memory_style(&self, _memory: &MemoryType) -> MemoryStyle { method table_style (line 72) | fn table_style(&self, _table: &TableType) -> TableStyle { method create_host_memory (line 76) | fn create_host_memory( method create_vm_memory (line 84) | unsafe fn create_vm_memory( method create_host_table (line 93) | fn create_host_table( method create_vm_table (line 101) | unsafe fn create_vm_table( method stack_limiter_cfg (line 110) | fn stack_limiter_cfg(&self) -> Box Box u64 { type TestTunables (line 65) | pub struct TestTunables; FILE: runtime/unc-vm/vm/src/vmcontext.rs method is_null (line 36) | pub fn is_null(&self) -> bool { method fmt (line 42) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { method eq (line 50) | fn eq(&self, rhs: &Self) -> bool { method hash (line 56) | fn hash(&self, state: &mut H) { type FunctionExtent (line 67) | pub struct FunctionExtent { type VMFunctionImport (line 78) | pub struct VMFunctionImport { function check_vmfunction_import_offsets (line 101) | fn check_vmfunction_import_offsets() { type VMLocalFunction (line 119) | pub struct VMLocalFunction { type VMDynamicFunctionContext (line 142) | pub struct VMDynamicFunctionContext { method clone (line 161) | fn clone(&self) -> Self { function check_vmdynamicfunction_import_context_offsets (line 175) | fn check_vmdynamicfunction_import_context_offsets() { type VMFunctionBody (line 198) | pub struct VMFunctionBody(u8); function check_vmfunction_body_offsets (line 206) | fn check_vmfunction_body_offsets() { type FunctionBodyPtr (line 214) | pub struct FunctionBodyPtr(pub *const VMFunctionBody); type Target (line 217) | type Target = *const VMFunctionBody; method deref (line 219) | fn deref(&self) -> &Self::Target { type VMFunctionKind (line 235) | pub enum VMFunctionKind { type VMTableImport (line 256) | pub struct VMTableImport { function check_vmtable_import_offsets (line 273) | fn check_vmtable_import_offsets() { type VMMemoryImport (line 289) | pub struct VMMemoryImport { function check_vmmemory_import_offsets (line 306) | fn check_vmmemory_import_offsets() { type VMGlobalImport (line 322) | pub struct VMGlobalImport { function check_vmglobal_import_offsets (line 351) | fn check_vmglobal_import_offsets() { type VMMemoryDefinition (line 368) | pub struct VMMemoryDefinition { method memory_copy (line 399) | pub(crate) unsafe fn memory_copy(&self, dst: u32, src: u32, len: u32) ... method memory_fill (line 431) | pub(crate) unsafe fn memory_fill(&self, dst: u32, val: u32, len: u32) ... function check_vmmemory_definition_offsets (line 458) | fn check_vmmemory_definition_offsets() { type VMTableDefinition (line 480) | pub struct VMTableDefinition { function check_vmtable_definition_offsets (line 497) | fn check_vmtable_definition_offsets() { method fmt (line 538) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type VMGlobalDefinition (line 549) | pub struct VMGlobalDefinition { method new (line 592) | pub fn new() -> Self { method to_i32 (line 599) | pub fn to_i32(&self) -> i32 { method as_i32_mut (line 611) | pub unsafe fn as_i32_mut(&mut self) -> &mut i32 { method to_u32 (line 618) | pub fn to_u32(&self) -> u32 { method as_u32_mut (line 630) | pub unsafe fn as_u32_mut(&mut self) -> &mut u32 { method to_i64 (line 637) | pub fn to_i64(&self) -> i64 { method as_i64_mut (line 649) | pub unsafe fn as_i64_mut(&mut self) -> &mut i64 { method to_u64 (line 656) | pub fn to_u64(&self) -> u64 { method as_u64_mut (line 668) | pub unsafe fn as_u64_mut(&mut self) -> &mut u64 { method to_f32 (line 675) | pub fn to_f32(&self) -> f32 { method as_f32_mut (line 687) | pub unsafe fn as_f32_mut(&mut self) -> &mut f32 { method to_f64 (line 694) | pub fn to_f64(&self) -> f64 { method as_f64_mut (line 706) | pub unsafe fn as_f64_mut(&mut self) -> &mut f64 { method to_funcref (line 713) | pub fn to_funcref(&self) -> VMFuncRef { method as_funcref_mut (line 725) | pub unsafe fn as_funcref_mut(&mut self) -> &mut VMFuncRef { method as_externref_mut (line 737) | pub unsafe fn as_externref_mut(&mut self) -> &mut VMExternRef { method to_externref (line 744) | pub fn to_externref(&self) -> VMExternRef { method to_u128 (line 751) | pub fn to_u128(&self) -> u128 { method as_u128_mut (line 763) | pub unsafe fn as_u128_mut(&mut self) -> &mut u128 { method to_bytes (line 768) | pub fn to_bytes(&self) -> [u8; 16] { method as_bytes_mut (line 779) | pub unsafe fn as_bytes_mut(&mut self) -> &mut [u8; 16] { function check_vmglobal_definition_alignment (line 563) | fn check_vmglobal_definition_alignment() { function check_vmglobal_definition_offsets (line 573) | fn check_vmglobal_definition_offsets() { function check_vmglobal_begins_aligned (line 583) | fn check_vmglobal_begins_aligned() { function check_vmshared_signature_index (line 792) | fn check_vmshared_signature_index() { function check_target_shared_signature_index (line 802) | fn check_target_shared_signature_index() { type VMCallerCheckedAnyfunc (line 812) | pub struct VMCallerCheckedAnyfunc { function check_vmcaller_checked_anyfunc_offsets (line 831) | fn check_vmcaller_checked_anyfunc_offsets() { type VMBuiltinFunctionIndex (line 855) | pub struct VMBuiltinFunctionIndex(u32); method get_memory32_grow_index (line 859) | pub const fn get_memory32_grow_index() -> Self { method get_imported_memory32_grow_index (line 863) | pub const fn get_imported_memory32_grow_index() -> Self { method get_memory32_size_index (line 867) | pub const fn get_memory32_size_index() -> Self { method get_imported_memory32_size_index (line 871) | pub const fn get_imported_memory32_size_index() -> Self { method get_table_copy_index (line 876) | pub const fn get_table_copy_index() -> Self { method get_table_init_index (line 880) | pub const fn get_table_init_index() -> Self { method get_elem_drop_index (line 884) | pub const fn get_elem_drop_index() -> Self { method get_memory_copy_index (line 888) | pub const fn get_memory_copy_index() -> Self { method get_imported_memory_copy_index (line 892) | pub const fn get_imported_memory_copy_index() -> Self { method get_memory_fill_index (line 896) | pub const fn get_memory_fill_index() -> Self { method get_imported_memory_fill_index (line 900) | pub const fn get_imported_memory_fill_index() -> Self { method get_memory_init_index (line 904) | pub const fn get_memory_init_index() -> Self { method get_data_drop_index (line 908) | pub const fn get_data_drop_index() -> Self { method get_raise_trap_index (line 912) | pub const fn get_raise_trap_index() -> Self { method get_table_size_index (line 916) | pub const fn get_table_size_index() -> Self { method get_imported_table_size_index (line 920) | pub const fn get_imported_table_size_index() -> Self { method get_table_grow_index (line 924) | pub const fn get_table_grow_index() -> Self { method get_imported_table_grow_index (line 928) | pub const fn get_imported_table_grow_index() -> Self { method get_table_get_index (line 932) | pub const fn get_table_get_index() -> Self { method get_imported_table_get_index (line 936) | pub const fn get_imported_table_get_index() -> Self { method get_table_set_index (line 940) | pub const fn get_table_set_index() -> Self { method get_imported_table_set_index (line 944) | pub const fn get_imported_table_set_index() -> Self { method get_func_ref_index (line 948) | pub const fn get_func_ref_index() -> Self { method get_table_fill_index (line 952) | pub const fn get_table_fill_index() -> Self { method get_externref_inc_index (line 956) | pub const fn get_externref_inc_index() -> Self { method get_externref_dec_index (line 960) | pub const fn get_externref_dec_index() -> Self { method builtin_functions_total_number (line 964) | pub const fn builtin_functions_total_number() -> u32 { method index (line 969) | pub const fn index(self) -> u32 { type VMBuiltinFunctionsArray (line 977) | pub struct VMBuiltinFunctionsArray { method len (line 982) | pub const fn len() -> usize { method initialized (line 986) | pub fn initialized() -> Self { type VMContext (line 1065) | pub struct VMContext {} method instance (line 1075) | pub unsafe fn instance(&self) -> &Instance { method host_state (line 1085) | pub unsafe fn host_state(&self) -> &dyn Any { type VMTrampoline (line 1091) | pub type VMTrampoline = unsafe extern "C" fn( type SectionBodyPtr (line 1100) | pub struct SectionBodyPtr(pub *const u8); type Target (line 1103) | type Target = *const u8; method deref (line 1105) | fn deref(&self) -> &Self::Target { FILE: runtime/unc-vm/vm/src/vmoffsets.rs function cast_to_u32 (line 18) | fn cast_to_u32(sz: usize) -> u32 { function cast_to_u32 (line 22) | fn cast_to_u32(sz: usize) -> u32 { function align (line 28) | const fn align(offset: u32, width: u32) -> u32 { type VMOffsets (line 38) | pub struct VMOffsets { method new (line 81) | pub fn new(pointer_size: u8) -> Self { method for_host (line 114) | pub fn for_host() -> Self { method with_module_info (line 120) | pub fn with_module_info(mut self, module: &ModuleInfo) -> Self { method with_archived_module_info (line 136) | pub fn with_archived_module_info(mut self, module: &rkyv::Archived u32 { method num_local_memories (line 157) | pub fn num_local_memories(&self) -> u32 { method precompute (line 161) | fn precompute(&mut self) { method vmfunction_import_body (line 255) | pub const fn vmfunction_import_body(&self) -> u8 { method vmfunction_import_vmctx (line 261) | pub const fn vmfunction_import_vmctx(&self) -> u8 { method size_of_vmfunction_import (line 268) | pub const fn size_of_vmfunction_import(&self) -> u8 { method vmdynamicfunction_import_context_address (line 279) | pub const fn vmdynamicfunction_import_context_address(&self) -> u8 { method vmdynamicfunction_import_context_ctx (line 285) | pub const fn vmdynamicfunction_import_context_ctx(&self) -> u8 { method size_of_vmdynamicfunction_import_context (line 292) | pub const fn size_of_vmdynamicfunction_import_context(&self) -> u8 { method size_of_vmfunction_body_ptr (line 301) | pub const fn size_of_vmfunction_body_ptr(&self) -> u8 { method vmtable_import_definition (line 312) | pub const fn vmtable_import_definition(&self) -> u8 { method vmtable_import_from (line 318) | pub const fn vmtable_import_from(&self) -> u8 { method size_of_vmtable_import (line 325) | pub const fn size_of_vmtable_import(&self) -> u8 { method vmtable_definition_base (line 336) | pub const fn vmtable_definition_base(&self) -> u8 { method vmtable_definition_current_elements (line 342) | pub const fn vmtable_definition_current_elements(&self) -> u8 { method size_of_vmtable_definition_current_elements (line 347) | pub const fn size_of_vmtable_definition_current_elements(&self) -> u8 { method size_of_vmtable_definition (line 354) | pub const fn size_of_vmtable_definition(&self) -> u8 { method vmmemory_import_definition (line 365) | pub const fn vmmemory_import_definition(&self) -> u8 { method vmmemory_import_from (line 371) | pub const fn vmmemory_import_from(&self) -> u8 { method size_of_vmmemory_import (line 378) | pub const fn size_of_vmmemory_import(&self) -> u8 { method vmmemory_definition_base (line 389) | pub const fn vmmemory_definition_base(&self) -> u8 { method vmmemory_definition_current_length (line 395) | pub const fn vmmemory_definition_current_length(&self) -> u8 { method size_of_vmmemory_definition_current_length (line 400) | pub const fn size_of_vmmemory_definition_current_length(&self) -> u8 { method size_of_vmmemory_definition (line 407) | pub const fn size_of_vmmemory_definition(&self) -> u8 { method vmglobal_import_definition (line 418) | pub const fn vmglobal_import_definition(&self) -> u8 { method vmglobal_import_from (line 424) | pub const fn vmglobal_import_from(&self) -> u8 { method size_of_vmglobal_import (line 432) | pub const fn size_of_vmglobal_import(&self) -> u8 { method size_of_vmglobal_local (line 447) | pub const fn size_of_vmglobal_local(&self) -> u8 { method size_of_vmshared_signature_index (line 459) | pub const fn size_of_vmshared_signature_index(&self) -> u8 { method vmcaller_checked_anyfunc_func_ptr (line 470) | pub const fn vmcaller_checked_anyfunc_func_ptr(&self) -> u8 { method vmcaller_checked_anyfunc_type_index (line 476) | pub const fn vmcaller_checked_anyfunc_type_index(&self) -> u8 { method vmcaller_checked_anyfunc_vmctx (line 481) | pub const fn vmcaller_checked_anyfunc_vmctx(&self) -> u8 { method size_of_vmcaller_checked_anyfunc (line 488) | pub const fn size_of_vmcaller_checked_anyfunc(&self) -> u8 { method vm_funcref_anyfunc_ptr (line 499) | pub const fn vm_funcref_anyfunc_ptr(&self) -> u8 { method size_of_vm_funcref (line 506) | pub const fn size_of_vm_funcref(&self) -> u8 { method vmctx_signature_ids_begin (line 517) | pub fn vmctx_signature_ids_begin(&self) -> u32 { method vmctx_imported_functions_begin (line 522) | pub fn vmctx_imported_functions_begin(&self) -> u32 { method vmctx_imported_tables_begin (line 528) | pub fn vmctx_imported_tables_begin(&self) -> u32 { method vmctx_imported_memories_begin (line 533) | pub fn vmctx_imported_memories_begin(&self) -> u32 { method vmctx_imported_globals_begin (line 538) | pub fn vmctx_imported_globals_begin(&self) -> u32 { method vmctx_tables_begin (line 543) | pub fn vmctx_tables_begin(&self) -> u32 { method vmctx_memories_begin (line 548) | pub fn vmctx_memories_begin(&self) -> u32 { method vmctx_globals_begin (line 553) | pub fn vmctx_globals_begin(&self) -> u32 { method vmctx_builtin_functions_begin (line 558) | pub fn vmctx_builtin_functions_begin(&self) -> u32 { method vmctx_trap_handler_begin (line 563) | pub fn vmctx_trap_handler_begin(&self) -> u32 { method vmctx_gas_limiter_pointer (line 568) | pub fn vmctx_gas_limiter_pointer(&self) -> u32 { method vmctx_stack_limit_begin (line 573) | pub fn vmctx_stack_limit_begin(&self) -> u32 { method vmctx_stack_limit_initial_begin (line 578) | pub fn vmctx_stack_limit_initial_begin(&self) -> u32 { method size_of_vmctx (line 585) | pub fn size_of_vmctx(&self) -> u32 { method vmctx_vmshared_signature_id (line 593) | pub fn vmctx_vmshared_signature_id(&self, index: SignatureIndex) -> u32 { method vmctx_vmfunction_import (line 603) | pub fn vmctx_vmfunction_import(&self, index: FunctionIndex) -> u32 { method vmctx_vmtable_import (line 613) | pub fn vmctx_vmtable_import(&self, index: TableIndex) -> u32 { method vmctx_vmmemory_import (line 622) | pub fn vmctx_vmmemory_import(&self, index: MemoryIndex) -> u32 { method vmctx_vmglobal_import (line 632) | pub fn vmctx_vmglobal_import(&self, index: GlobalIndex) -> u32 { method vmctx_vmtable_definition (line 642) | pub fn vmctx_vmtable_definition(&self, index: LocalTableIndex) -> u32 { method vmctx_vmmemory_definition (line 651) | pub fn vmctx_vmmemory_definition(&self, index: LocalMemoryIndex) -> u32 { method vmctx_vmglobal_definition (line 660) | pub fn vmctx_vmglobal_definition(&self, index: LocalGlobalIndex) -> u32 { method vmctx_vmfunction_import_body (line 667) | pub fn vmctx_vmfunction_import_body(&self, index: FunctionIndex) -> u32 { method vmctx_vmfunction_import_vmctx (line 673) | pub fn vmctx_vmfunction_import_vmctx(&self, index: FunctionIndex) -> u... method vmctx_vmtable_import_definition (line 681) | pub fn vmctx_vmtable_import_definition(&self, index: TableIndex) -> u32 { method vmctx_vmtable_definition_base (line 689) | pub fn vmctx_vmtable_definition_base(&self, index: LocalTableIndex) ->... method vmctx_vmtable_definition_current_elements (line 697) | pub fn vmctx_vmtable_definition_current_elements(&self, index: LocalTa... method vmctx_vmmemory_import_definition (line 705) | pub fn vmctx_vmmemory_import_definition(&self, index: MemoryIndex) -> ... method vmctx_vmmemory_import_from (line 713) | pub fn vmctx_vmmemory_import_from(&self, index: MemoryIndex) -> u32 { method vmctx_vmmemory_definition_base (line 721) | pub fn vmctx_vmmemory_definition_base(&self, index: LocalMemoryIndex) ... method vmctx_vmmemory_definition_current_length (line 729) | pub fn vmctx_vmmemory_definition_current_length(&self, index: LocalMem... method vmctx_vmglobal_import_definition (line 737) | pub fn vmctx_vmglobal_import_definition(&self, index: GlobalIndex) -> ... method vmctx_builtin_function (line 743) | pub fn vmctx_builtin_function(&self, index: VMBuiltinFunctionIndex) ->... method vmctx_trap_handler (line 748) | pub fn vmctx_trap_handler(&self) -> u32 { type TargetSharedSignatureIndex (line 757) | pub struct TargetSharedSignatureIndex(u32); method new (line 761) | pub const fn new(value: u32) -> Self { method index (line 766) | pub const fn index(self) -> u32 { function alignment (line 776) | fn alignment() { FILE: runtime/unc-vm/wast/src/error.rs type DirectiveError (line 6) | pub struct DirectiveError { type DirectiveErrors (line 17) | pub struct DirectiveErrors { method fmt (line 26) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { FILE: runtime/unc-vm/wast/src/lib.rs constant VERSION (line 26) | pub const VERSION: &str = env!("CARGO_PKG_VERSION"); FILE: runtime/unc-vm/wast/src/spectest.rs function spectest_importobject (line 6) | pub fn spectest_importobject(store: &Store) -> ImportObject { FILE: runtime/unc-vm/wast/src/wast.rs type Wast (line 11) | pub struct Wast { method new (line 40) | pub fn new(store: Store, import_object: ImportObject) -> Self { method allow_instantiation_failures (line 56) | pub fn allow_instantiation_failures(&mut self, failures: &[&str]) { method allow_trap_message (line 63) | pub fn allow_trap_message(&mut self, expected: &str, allowed: &str) { method disable_assert_and_exhaustion (line 68) | pub fn disable_assert_and_exhaustion(&mut self) { method new_with_spectest (line 73) | pub fn new_with_spectest(store: Store) -> Self { method get_instance (line 78) | fn get_instance(&self, instance_name: Option<&str>) -> Result { method perform_execute (line 90) | fn perform_execute(&mut self, exec: wast::WastExecute<'_>) -> Result) -> Result>, expected: &str) -> Res... method run_directive (line 152) | fn run_directive(&mut self, test: &Path, directive: wast::WastDirectiv... method run_buffer (line 231) | pub fn run_buffer(&mut self, test: &Path, wast: &[u8]) -> Result<()> { method parse_quote_module (line 271) | fn parse_quote_module(&self, test: &Path, source: &[&[u8]]) -> Result<... method run_file (line 297) | pub fn run_file(&mut self, path: &Path) -> Result<()> { method module (line 306) | fn module(&mut self, instance_name: Option<&str>, module: &[u8]) -> Re... method instantiate (line 332) | fn instantiate(&self, module: &[u8]) -> Result { method register (line 340) | fn register(&mut self, name: Option<&str>, as_name: &str) -> Result<()> { method invoke (line 347) | fn invoke( method runtime_value (line 363) | fn runtime_value(&mut self, v: &wast::Expression<'_>) -> Result { method matches_message_assert_unlinkable (line 387) | fn matches_message_assert_unlinkable(expected: &str, actual: &str) -> ... method matches_message_assert_invalid (line 392) | fn matches_message_assert_invalid(expected: &str, actual: &str) -> bool { method matches_message_assert_trap (line 410) | fn matches_message_assert_trap(&self, expected: &str, actual: &str) ->... method val_matches (line 418) | fn val_matches(&self, actual: &Val, expected: &wast::AssertExpression)... method resolve_by_name (line 457) | fn resolve_by_name(&self, module: &str, field: &str) -> Option { function extract_lane_as_i8 (line 469) | fn extract_lane_as_i8(bytes: u128, lane: usize) -> i8 { function extract_lane_as_i16 (line 473) | fn extract_lane_as_i16(bytes: u128, lane: usize) -> i16 { function extract_lane_as_i32 (line 477) | fn extract_lane_as_i32(bytes: u128, lane: usize) -> i32 { function extract_lane_as_i64 (line 481) | fn extract_lane_as_i64(bytes: u128, lane: usize) -> i64 { function f32_matches (line 485) | fn f32_matches(actual: f32, expected: &wast::NanPattern) ... function f64_matches (line 493) | fn f64_matches(actual: f64, expected: &wast::NanPattern) ... function v128_matches (line 501) | fn v128_matches(actual: u128, expected: &wast::V128Pattern) -> bool { function v128_format (line 526) | fn v128_format(actual: u128, expected: &wast::V128Pattern) -> wast::V128... type NaNCheck (line 579) | pub trait NaNCheck { method is_arithmetic_nan (line 580) | fn is_arithmetic_nan(&self) -> bool; method is_canonical_nan (line 581) | fn is_canonical_nan(&self) -> bool; method is_arithmetic_nan (line 585) | fn is_arithmetic_nan(&self) -> bool { method is_canonical_nan (line 590) | fn is_canonical_nan(&self) -> bool { method is_arithmetic_nan (line 596) | fn is_arithmetic_nan(&self) -> bool { method is_canonical_nan (line 601) | fn is_canonical_nan(&self) -> bool { FILE: runtime/unc-wallet-contract/build.rs function main (line 8) | fn main() -> Result<()> { function build_contract (line 15) | fn build_contract(dir: &str, args: &[&str], output: &str) -> Result<()> { function cargo_build_cmd (line 43) | fn cargo_build_cmd(target_dir: &Path) -> Command { function run_checking_status (line 58) | fn run_checking_status(mut cmd: Command) -> Result<()> { FILE: runtime/unc-wallet-contract/src/lib.rs function wallet_contract (line 6) | pub fn wallet_contract() -> Arc { function read_contract (line 12) | fn read_contract() -> ContractCode { function wallet_contract_magic_bytes (line 23) | pub fn wallet_contract_magic_bytes() -> Arc { constant WALLET_CONTRACT_HASH (line 41) | const WALLET_CONTRACT_HASH: &'static str = "5wJJ2YaCq75kVSfx8zoZpevg1uLA... constant MAGIC_BYTES_HASH (line 42) | const MAGIC_BYTES_HASH: &'static str = "31PSU4diHE4cpWju91fb2zTqn5JSDRZ6... function check_wallet_contract (line 47) | fn check_wallet_contract() { function check_wallet_contract_magic_bytes (line 57) | fn check_wallet_contract_magic_bytes() { FILE: runtime/unc-wallet-contract/wallet-contract/src/lib.rs type WalletContract (line 12) | pub struct WalletContract {} method execute_rlp (line 19) | pub fn execute_rlp(&self, target: AccountId, rlp_transaction: Vec) { FILE: scripts/check_nightly.py function expensive_tests_in_file (line 40) | def expensive_tests_in_file(path: pathlib.Path) -> typing.Iterable[str]: function nightly_tests (line 81) | def nightly_tests(repo_dir: pathlib.Path) -> typing.Iterable[str]: function main (line 95) | def main() -> typing.Optional[str]: FILE: scripts/check_pytests.py function list_test_files (line 50) | def list_test_files(topdir: pathlib.Path) -> StrGenerator: function read_all_tests (line 68) | def read_all_tests(path: pathlib.Path) -> StrGenerator: function print_error (line 103) | def print_error(missing: typing.Collection[str]) -> None: function main (line 145) | def main() -> int: FILE: scripts/fix_nightly_feature_flags.py class Crate (line 12) | class Crate: method __init__ (line 14) | def __init__(self, dir): method load_toml (line 19) | def load_toml(self): method get_local_nightly_features (line 34) | def get_local_nightly_features(self): method get_local_nightly_protocol_features (line 42) | def get_local_nightly_protocol_features(self): method get_dependency_nightly_features (line 50) | def get_dependency_nightly_features(self): method get_dependency_nightly_protocol_features (line 57) | def get_dependency_nightly_protocol_features(self): method build_deps (line 65) | def build_deps(self, crates_by_name): method build_transitive_deps (line 72) | def build_transitive_deps(self): method write_toml (line 89) | def write_toml(self, apply_fix): FILE: scripts/parallel_coverage.py function grouper (line 11) | def grouper(iterable, n, fillvalue=None): function coverage (line 16) | def coverage(test_binary): function clean_coverage (line 42) | def clean_coverage(): function coverage_dir (line 48) | def coverage_dir(i): function merge_coverage (line 52) | def merge_coverage(i, to_merge, j): FILE: scripts/state/update_res.py function main (line 20) | def main(): function unc_init_genesis (line 35) | def unc_init_genesis(): function update_res (line 55) | def update_res(): function check_res (line 62) | def check_res(): FILE: scripts/testlib.py function clean_binary_tests (line 16) | def clean_binary_tests(): function build_tests (line 24) | def build_tests(nightly=False): function run_doc_tests (line 34) | def run_doc_tests(nightly=False): function test_binaries (line 44) | def test_binaries(exclude=None): function run_test (line 61) | def run_test(test_binary, isolate=True): FILE: test-utils/actix-test-utils/src/lib.rs type ShutdownableThread (line 4) | pub struct ShutdownableThread { method start (line 10) | pub fn start(_name: &'static str, f: F) -> ShutdownableThread method shutdown (line 26) | pub fn shutdown(&self) { method drop (line 32) | fn drop(&mut self) { function spawn_interruptible (line 39) | pub fn spawn_interruptible( function setup_actix (line 48) | pub fn setup_actix() -> actix_rt::SystemRunner { function block_on_interruptible (line 66) | pub fn block_on_interruptible( function run_actix (line 73) | pub fn run_actix(f: F) { FILE: test-utils/runtime-tester/fuzz/fuzz_targets_disabled/runtime_fuzzer.rs function do_fuzz (line 7) | fn do_fuzz(scenario: &Scenario) -> Result<(), String> { function fuzz (line 20) | fn fuzz(scenario: Scenario) { FILE: test-utils/runtime-tester/src/fuzzing.rs type ContractId (line 18) | pub type ContractId = usize; constant MAX_BLOCKS (line 20) | pub const MAX_BLOCKS: usize = 250; constant MAX_TXS (line 21) | pub const MAX_TXS: usize = 50; constant MAX_TX_DIFF (line 22) | pub const MAX_TX_DIFF: usize = 10; constant MAX_ACCOUNTS (line 23) | pub const MAX_ACCOUNTS: usize = 100; constant MAX_ACTIONS (line 24) | pub const MAX_ACTIONS: usize = 100; constant GAS_1 (line 26) | const GAS_1: u64 = 300_000_000_000_000; method arbitrary (line 29) | fn arbitrary(u: &mut Unstructured<'_>) -> Result { method size_hint (line 57) | fn size_hint(_depth: usize) -> (usize, Option) { method arbitrary (line 63) | fn arbitrary(u: &mut Unstructured, scope: &mut Scope) -> Result (usize, Option) { method arbitrary (line 87) | fn arbitrary(u: &mut Unstructured, scope: &mut Scope) -> Result { method size_hint (line 341) | fn size_hint(_depth: usize) -> (usize, Option) { type Scope (line 347) | pub struct Scope { method from_seeds (line 406) | fn from_seeds(seeds: &[String]) -> Self { method construct_available_contracts (line 424) | fn construct_available_contracts() -> Vec { method inc_height (line 454) | pub fn inc_height(&mut self) { method height (line 458) | pub fn height(&self) -> BlockHeight { method inc_nonce (line 462) | pub fn inc_nonce(&mut self) { method nonce (line 466) | pub fn nonce(&self) -> Nonce { method num_alive_accounts (line 470) | pub fn num_alive_accounts(&self) -> usize { method random_non_zero_alive_account_usize_id (line 474) | pub fn random_non_zero_alive_account_usize_id(&self, u: &mut Unstructu... method random_alive_account_usize_id (line 480) | pub fn random_alive_account_usize_id(&self, u: &mut Unstructured) -> R... method random_account (line 484) | pub fn random_account(&self, u: &mut Unstructured) -> Result { method random_non_zero_account (line 488) | pub fn random_non_zero_account(&self, u: &mut Unstructured) -> Result<... method usize_id (line 492) | pub fn usize_id(&self, account: &Account) -> usize { method new_test_account (line 496) | fn new_test_account(&mut self) -> Account { method new_implicit_account (line 503) | fn new_implicit_account(&mut self, u: &mut Unstructured) -> Result Result { method delete_account (line 531) | pub fn delete_account(&mut self, account_usize_id: usize) { method deploy_contract (line 535) | pub fn deploy_contract(&mut self, receiver_account: &Account, contract... method add_new_key (line 540) | pub fn add_new_key( method full_access_signer (line 575) | pub fn full_access_signer( method function_call_signer (line 594) | pub fn function_call_signer( method delete_random_key (line 614) | pub fn delete_random_key( type Account (line 358) | pub struct Account { method from_id (line 628) | pub fn from_id(id: String) -> Self { method full_access_keys (line 649) | pub fn full_access_keys(&self) -> Vec { method function_call_keys (line 659) | pub fn function_call_keys(&self, receiver_id: &str) -> Vec Result<(Nonce, Key)> { type Key (line 366) | pub struct Key { type Contract (line 372) | pub struct Contract { type Function (line 378) | pub enum Function { method arbitrary (line 681) | pub fn arbitrary(&self, u: &mut Unstructured) -> Result (usize, Option) { function do_fuzz (line 770) | fn do_fuzz(scenario: &Scenario) -> Result<(), String> { function fuzz (line 783) | fn fuzz(scenario: &Scenario) { function scenario_fuzzer (line 792) | fn scenario_fuzzer() { FILE: test-utils/runtime-tester/src/lib.rs function scenario_smoke_test (line 12) | fn scenario_smoke_test() { FILE: test-utils/runtime-tester/src/run_test.rs type ScenarioResult (line 20) | pub struct ScenarioResult { type Scenario (line 114) | pub struct Scenario { method from_file (line 30) | pub fn from_file(path: &Path) -> io::Result { method run (line 34) | pub fn run(&self) -> ScenarioResult { method process_blocks (line 77) | fn process_blocks(&self, env: &mut TestEnv) -> Result) -> std::fmt::Result { type NetworkConfig (line 123) | pub struct NetworkConfig { type RuntimeConfig (line 128) | pub struct RuntimeConfig { type BlockConfig (line 135) | pub struct BlockConfig { method at_height (line 168) | pub fn at_height(height: BlockHeight) -> Self { type TransactionConfig (line 141) | pub struct TransactionConfig { method to_signed_transaction (line 174) | fn to_signed_transaction(&self, last_block: &Block) -> SignedTransacti... type RuntimeStats (line 150) | pub struct RuntimeStats { type BlockStats (line 155) | pub struct BlockStats { method at_height (line 187) | fn at_height(height: BlockHeight) -> Self { function test_scenario_json (line 204) | fn test_scenario_json() { FILE: test-utils/runtime-tester/src/scenario_builder.rs type ScenarioBuilder (line 10) | pub struct ScenarioBuilder { method new (line 48) | pub fn new() -> Self { method number_of_accounts (line 70) | pub fn number_of_accounts(mut self, num_accounts: usize) -> Self { method max_total_prepaid_gas (line 77) | pub fn max_total_prepaid_gas(mut self, max_total_prepaid_gas: Gas) -> ... method gas_limit (line 83) | pub fn gas_limit(mut self, gas_limit: Gas) -> Self { method epoch_length (line 89) | pub fn epoch_length(mut self, epoch_length: BlockHeightDelta) -> Self { method in_memory_store (line 95) | pub fn in_memory_store(mut self, in_memory_store: bool) -> Self { method add_block (line 101) | pub fn add_block(&mut self) { method add_transaction (line 107) | pub fn add_transaction( method scenario (line 138) | pub fn scenario(&self) -> &Scenario { function id_to_seed (line 143) | fn id_to_seed(id: usize) -> String { FILE: test-utils/store-validator/src/main.rs function main (line 11) | fn main() { FILE: test-utils/testlib/src/fees_utils.rs type FeeHelper (line 7) | pub struct FeeHelper { method new (line 13) | pub fn new(rt_cfg: RuntimeConfig, gas_price: Balance) -> Self { method cfg (line 17) | pub fn cfg(&self) -> &RuntimeFeesConfig { method gas_to_balance_inflated (line 21) | pub fn gas_to_balance_inflated(&self, gas: Gas) -> Balance { method gas_to_balance (line 27) | pub fn gas_to_balance(&self, gas: Gas) -> Balance { method gas_burnt_to_reward (line 31) | pub fn gas_burnt_to_reward(&self, gas_burnt: Gas) -> Balance { method create_account_cost (line 37) | pub fn create_account_cost(&self) -> Balance { method create_account_transfer_full_key_fee (line 45) | pub fn create_account_transfer_full_key_fee(&self) -> Gas { method create_account_transfer_fee (line 57) | pub fn create_account_transfer_fee(&self) -> Gas { method create_account_transfer_full_key_cost (line 67) | pub fn create_account_transfer_full_key_cost(&self) -> Balance { method create_account_transfer_cost (line 71) | pub fn create_account_transfer_cost(&self) -> Balance { method create_account_transfer_full_key_cost_no_reward (line 75) | pub fn create_account_transfer_full_key_cost_no_reward(&self) -> Balan... method create_account_transfer_full_key_cost_fail_on_create_account (line 87) | pub fn create_account_transfer_full_key_cost_fail_on_create_account(&s... method deploy_contract_cost (line 97) | pub fn deploy_contract_cost(&self, num_bytes: u64) -> Balance { method function_call_exec_gas (line 107) | pub fn function_call_exec_gas(&self, num_bytes: u64) -> Gas { method function_call_cost (line 113) | pub fn function_call_cost(&self, num_bytes: u64, prepaid_gas: u64) -> ... method transfer_fee (line 121) | pub fn transfer_fee(&self) -> Gas { method transfer_cost (line 129) | pub fn transfer_cost(&self) -> Balance { method pledge_cost (line 133) | pub fn pledge_cost(&self) -> Balance { method add_key_cost (line 141) | pub fn add_key_cost(&self, num_bytes: u64) -> Balance { method add_key_full_cost (line 151) | pub fn add_key_full_cost(&self) -> Balance { method delete_key_cost (line 159) | pub fn delete_key_cost(&self) -> Balance { method prepaid_delete_account_cost (line 167) | pub fn prepaid_delete_account_cost(&self) -> Balance { method meta_tx_overhead_cost (line 184) | pub fn meta_tx_overhead_cost(&self, actions: &[Action], receiver: &Acc... FILE: test-utils/testlib/src/process_blocks.rs function set_no_chunk_in_block (line 5) | pub fn set_no_chunk_in_block(block: &mut Block, prev_block: &Block) { FILE: test-utils/testlib/src/runtime_utils.rs function alice_account (line 8) | pub fn alice_account() -> AccountId { function bob_account (line 11) | pub fn bob_account() -> AccountId { function carol_account (line 14) | pub fn carol_account() -> AccountId { function dan_account (line 17) | pub fn dan_account() -> AccountId { function x_dot_y_dot_z_account (line 21) | pub fn x_dot_y_dot_z_account() -> AccountId { function add_test_contract (line 29) | pub fn add_test_contract(genesis: &mut Genesis, account_id: &AccountId) { function add_contract (line 34) | pub fn add_contract(genesis: &mut Genesis, account_id: &AccountId, code:... function add_account_with_access_key (line 56) | pub fn add_account_with_access_key( FILE: tools/amend-genesis/src/cli.rs type AmendGenesisCommand (line 9) | pub struct AmendGenesisCommand { method run (line 80) | pub fn run(self) -> anyhow::Result<()> { FILE: tools/amend-genesis/src/lib.rs type AccountRecords (line 29) | struct AccountRecords { method new (line 52) | fn new(amount: Balance, pledging: Balance, power: Power, num_bytes_acc... method new_validator (line 58) | fn new_validator( method set_account (line 70) | fn set_account( method update_from_existing (line 83) | fn update_from_existing(&mut self, existing: &Account) { method push_extra_record (line 107) | fn push_extra_record(&mut self, record: StateRecord) { method write_out (line 111) | fn write_out( function set_total_balance (line 44) | fn set_total_balance(dst: &mut Account, src: &Account) { function validator_records (line 153) | fn validator_records( function parse_validators (line 169) | fn parse_validators(path: &Path) -> anyhow::Result> { function parse_extra_records (line 177) | fn parse_extra_records( function wanted_records (line 239) | fn wanted_records( type GenesisChanges (line 271) | pub struct GenesisChanges { function amend_genesis (line 285) | pub fn amend_genesis( type TestAccountInfo (line 436) | struct TestAccountInfo { method parse (line 443) | fn parse(&self) -> AccountInfo { type TestStateRecord (line 453) | enum TestStateRecord { method parse (line 472) | fn parse(&self) -> StateRecord { type ParsedTestCase (line 497) | struct ParsedTestCase { type TestCase (line 505) | struct TestCase { method parse (line 599) | fn parse(&self) -> anyhow::Result { method run (line 669) | fn run(&self) -> anyhow::Result<()> { function compare_records (line 519) | fn compare_records( function test_amend_genesis (line 1088) | fn test_amend_genesis() { FILE: tools/chainsync-loadtest/src/concurrency/once.rs function is_send (line 4) | fn is_send() {} function is_sync (line 5) | fn is_sync() {} function test (line 8) | fn test() { type Once (line 16) | pub struct Once { function new (line 22) | pub fn new() -> Once { function set (line 28) | pub fn set(&self, x: T) -> Result<(), T> { function get (line 40) | pub fn get(&self) -> Option { function wait (line 45) | pub fn wait(&self) -> impl Future + Send + '_ { FILE: tools/chainsync-loadtest/src/concurrency/rate_limiter.rs type Inner (line 5) | struct Inner { method ticks (line 14) | fn ticks(&self, t: time::Instant) -> u64 { method instant (line 17) | fn instant(&self, ticks: u64) -> time::Instant { type RateLimiter (line 27) | pub struct RateLimiter(Arc>); method new (line 30) | pub fn new(interval: time::Duration, burst: u64) -> RateLimiter { method allow (line 44) | pub async fn allow(&self) -> ctx::OrCanceled<()> { FILE: tools/chainsync-loadtest/src/concurrency/weak_map.rs type WeakMap (line 11) | pub struct WeakMap { type Ref (line 18) | pub struct Ref { type Target (line 25) | type Target = V; method deref (line 26) | fn deref(&self) -> &V { method drop (line 32) | fn drop(&mut self) { function new (line 46) | pub fn new() -> Arc { function get (line 51) | pub fn get(self: &Arc, key: &K) -> Option>> { function get_or_insert (line 58) | pub fn get_or_insert(self: &Arc, key: &K, new_value: impl Fn() -> ... FILE: tools/chainsync-loadtest/src/fetch_chain.rs function run (line 16) | pub async fn run( FILE: tools/chainsync-loadtest/src/main.rs function genesis_hash (line 23) | fn genesis_hash(chain_id: &str) -> CryptoHash { function start_with_config (line 35) | pub fn start_with_config(config: UncConfig, qps_limit: u32) -> anyhow::R... function download_configs (line 55) | fn download_configs(chain_id: &str, dir: &std::path::Path) -> anyhow::Re... type Cmd (line 73) | struct Cmd { method parse_and_run (line 85) | fn parse_and_run() -> anyhow::Result<()> { function main (line 136) | fn main() { FILE: tools/chainsync-loadtest/src/network.rs type Stats (line 33) | pub struct Stats { type NetworkData (line 48) | struct NetworkData { type Network (line 54) | pub struct Network { method new (line 74) | pub fn new( method keep_sending (line 118) | async fn keep_sending<'a>( method info (line 139) | pub async fn info(self: &Arc) -> anyhow::Result> { method fetch_block_headers (line 156) | pub async fn fetch_block_headers( method fetch_block (line 177) | pub async fn fetch_block(self: &Arc, hash: CryptoHash) -> anyhow... method fetch_chunk (line 195) | pub async fn fetch_chunk( method tx_status_request (line 230) | async fn tx_status_request( method tx_status_response (line 238) | async fn tx_status_response(&self, _tx_result: FinalExecutionOutcomeVi... method state_request_header (line 240) | async fn state_request_header( method state_request_part (line 248) | async fn state_request_part( method state_response (line 257) | async fn state_response(&self, _info: StateResponseInfo) {} method block_approval (line 259) | async fn block_approval(&self, _approval: Approval, _peer_id: PeerId) {} method transaction (line 261) | async fn transaction(&self, _transaction: SignedTransaction, _is_forwa... method block_request (line 263) | async fn block_request(&self, _hash: CryptoHash) -> Option> { method block_headers_request (line 267) | async fn block_headers_request(&self, _hashes: Vec) -> Opt... method block (line 271) | async fn block(&self, block: Block, _peer_id: PeerId, _was_requested: ... method block_headers (line 275) | async fn block_headers( method challenge (line 287) | async fn challenge(&self, _challenge: Challenge) {} method network_info (line 289) | async fn network_info(&self, info: NetworkInfo) { method announce_account (line 301) | async fn announce_account( method chunk_state_witness (line 308) | async fn chunk_state_witness(&self, _witness: ChunkStateWitness) {} method chunk_endorsement (line 310) | async fn chunk_endorsement(&self, _endorsement: ChunkEndorsement) {} FILE: tools/cold-store/src/cli.rs type ColdStoreCommand (line 21) | pub struct ColdStoreCommand { method run (line 59) | pub fn run(self, home_dir: &Path) -> anyhow::Result<()> { method get_opener (line 97) | pub fn get_opener<'a>( type SubCommand (line 32) | enum SubCommand { type CopyNextBlocksCmd (line 139) | struct CopyNextBlocksCmd { type CopyAllBlocksCmd (line 145) | struct CopyAllBlocksCmd { function check_open (line 154) | fn check_open(store: &NodeStorage) -> anyhow::Result<()> { function print_heads (line 159) | fn print_heads(store: &NodeStorage) -> anyhow::Result<()> { function copy_next_block (line 185) | fn copy_next_block(store: &NodeStorage, config: &UncConfig, epoch_manage... function copy_all_blocks (line 236) | fn copy_all_blocks(storage: &NodeStorage, batch_size: usize, check: bool) { function check_key (line 274) | fn check_key( function check_iter (line 289) | fn check_iter(first_store: &unc_store::Store, second_store: &unc_store::... function get_ser_from_store (line 300) | fn get_ser_from_store( type PrepareHotCmd (line 309) | struct PrepareHotCmd { method run (line 317) | pub fn run( method check_db_kind (line 363) | fn check_db_kind( method check_up_to_date (line 399) | fn check_up_to_date(cold_store: &Store, rpc_store: &Store) -> anyhow::... type StateRootSelector (line 459) | enum StateRootSelector { method get_hashes (line 465) | pub fn get_hashes( type PruneCondition (line 515) | struct PruneCondition { type PruneState (line 524) | struct PruneState { method new (line 532) | pub fn new() -> Self { method should_prune (line 537) | pub fn should_prune(&self, condition: &PruneCondition) -> bool { method down (line 553) | pub fn down(&mut self) { method up (line 560) | pub fn up(&mut self) { type CheckStateRootCmd (line 566) | struct CheckStateRootCmd { method run (line 578) | pub fn run(self, storage: &NodeStorage) -> anyhow::Result<()> { method check_trie (line 596) | fn check_trie( method read_state (line 641) | fn read_state<'a>( FILE: tools/crates-publish-checker/src/main.rs function main (line 6) | fn main() -> anyhow::Result<()> { FILE: tools/crates-publish-checker/src/rules.rs function has_publish_spec (line 9) | pub fn has_publish_spec(workspace: &Workspace) -> anyhow::Result<()> { function has_rust_version (line 29) | pub fn has_rust_version(workspace: &Workspace) -> anyhow::Result<()> { function has_lint_inheritance (line 56) | pub fn has_lint_inheritance(workspace: &Workspace) -> anyhow::Result<()> { function rust_version_matches_toolchain (line 81) | pub fn rust_version_matches_toolchain(workspace: &Workspace) -> anyhow::... function is_unversioned (line 112) | pub fn is_unversioned(workspace: &Workspace) -> anyhow::Result<()> { function has_unified_rust_edition (line 139) | pub fn has_unified_rust_edition(workspace: &Workspace) -> anyhow::Result... constant EXPECTED_AUTHOR (line 174) | const EXPECTED_AUTHOR: &str = "Hello Inc "; function author_is_hello (line 177) | pub fn author_is_hello(workspace: &Workspace) -> anyhow::Result<()> { function publishable_has_license (line 201) | pub fn publishable_has_license(workspace: &Workspace) -> anyhow::Result<... function publishable_has_license_file (line 227) | pub fn publishable_has_license_file(workspace: &Workspace) -> anyhow::Re... constant EXPECTED_LICENSE (line 257) | const EXPECTED_LICENSE: &str = "GPL-2.0-or-later"; function publishable_has_unified_license (line 260) | pub fn publishable_has_unified_license(workspace: &Workspace) -> anyhow:... function publishable_has_description (line 289) | pub fn publishable_has_description(workspace: &Workspace) -> anyhow::Res... function publishable_has_readme (line 309) | pub fn publishable_has_readme(workspace: &Workspace) -> anyhow::Result<(... constant EXPECTED_LINK (line 336) | const EXPECTED_LINK: &str = "https://github.com/utnet-org/utility"; function publishable_has_unc_link (line 339) | pub fn publishable_has_unc_link(workspace: &Workspace) -> anyhow::Result... function recursively_publishable (line 367) | pub fn recursively_publishable(workspace: &Workspace) -> anyhow::Result<... FILE: tools/crates-publish-checker/src/style.rs type Color (line 6) | pub enum Color { method as_ansi (line 20) | pub fn as_ansi(self, foreground: bool) -> String { function reset (line 39) | pub fn reset() -> &'static str { function bg (line 43) | pub fn bg(color: Color) -> String { function fg (line 47) | pub fn fg(color: Color) -> String { function bold (line 51) | pub fn bold() -> &'static str { FILE: tools/crates-publish-checker/src/types.rs type Package (line 9) | pub struct Package { type Workspace (line 15) | pub struct Workspace { type Manifest (line 22) | pub struct Manifest { method new (line 28) | pub fn new(this: toml::Value, parent: Option>) -> Self { method read (line 32) | pub fn read(&self, path: &[&str]) -> Option<&toml::Value> { type Outlier (line 38) | pub struct Outlier { type Expected (line 45) | pub struct Expected { type ComplianceError (line 51) | pub struct ComplianceError { method fmt (line 58) | fn fmt(&self, _: &mut fmt::Formatter<'_>) -> fmt::Result { method report (line 66) | pub fn report(&self, workspace: &Workspace) { function read_toml_with_potential_inheritance (line 113) | fn read_toml_with_potential_inheritance<'a>( function test_read_pkg (line 142) | fn test_read_pkg() { function test_workspace_inheritance (line 203) | fn test_workspace_inheritance() { FILE: tools/crates-publish-checker/src/utils.rs function read_toml (line 7) | pub fn read_toml(path: &Utf8PathBuf) -> anyhow::Result anyhow::Result { function is_publishable (line 56) | pub fn is_publishable(pkg: &Package) -> bool { function exists (line 61) | pub fn exists(pkg: &Package, file: &str) -> bool { function human_list (line 73) | pub fn human_list(i: I) -> String FILE: tools/database/src/adjust_database.rs type DbSelector (line 11) | enum DbSelector { type ChangeDbKindCommand (line 17) | pub(crate) struct ChangeDbKindCommand { method run (line 27) | pub(crate) fn run(&self, home_dir: &Path) -> anyhow::Result<()> { FILE: tools/database/src/analyse_data_size_distribution.rs type AnalyseDataSizeDistributionCommand (line 14) | pub(crate) struct AnalyseDataSizeDistributionCommand { method run (line 193) | pub(crate) fn run(&self, home: &PathBuf) -> anyhow::Result<()> { type ColumnFamilyCountAndSize (line 25) | struct ColumnFamilyCountAndSize { type DataSizeDistribution (line 30) | struct DataSizeDistribution { method new (line 38) | fn new( method print_results (line 58) | fn print_results(&self, top_k: usize) { method print_column_family_data (line 64) | fn print_column_family_data(&self) { method print_sizes_count (line 73) | fn print_sizes_count( function read_all_pairs (line 123) | fn read_all_pairs(db: &RocksDB, col_families: &Vec) -> DataSizeDi... function get_column_families (line 185) | fn get_column_families(input_col: &Option) -> anyhow::Result String { type AnalyseGasUsageCommand (line 35) | pub(crate) struct AnalyseGasUsageCommand { method run (line 50) | pub(crate) fn run(&self, home: &PathBuf) -> anyhow::Result<()> { type GasUsageInShard (line 89) | struct GasUsageInShard { method new (line 106) | pub fn new() -> GasUsageInShard { method add_used_gas (line 110) | pub fn add_used_gas(&mut self, account: AccountId, used_gas: BigGas) { method used_gas_total (line 115) | pub fn used_gas_total(&self) -> BigGas { method merge (line 123) | pub fn merge(&mut self, other: &GasUsageInShard) { method calculate_split (line 130) | pub fn calculate_split(&self) -> Option { method biggest_account (line 159) | pub fn biggest_account(&self) -> Option<(AccountId, BigGas)> { type ShardSplit (line 96) | struct ShardSplit { type GasUsageStats (line 179) | struct GasUsageStats { method new (line 184) | pub fn new() -> GasUsageStats { method add_gas_usage_in_shard (line 188) | pub fn add_gas_usage_in_shard(&mut self, shard_uid: ShardUId, shard_us... method used_gas_total (line 197) | pub fn used_gas_total(&self) -> BigGas { method merge (line 205) | pub fn merge(&mut self, other: GasUsageStats) { function get_gas_usage_in_block (line 212) | fn get_gas_usage_in_block( type BiggestAccountsFinder (line 255) | struct BiggestAccountsFinder { method new (line 261) | pub fn new(accounts_num: usize) -> BiggestAccountsFinder { method add_account_stats (line 265) | pub fn add_account_stats(&mut self, account: AccountId, used_gas: BigG... method get_biggest_accounts (line 274) | pub fn get_biggest_accounts(&self) -> impl Iterator String { function display_shard_split_stats (line 289) | fn display_shard_split_stats<'a>( function analyse_gas_usage (line 323) | fn analyse_gas_usage( function account (line 436) | fn account(name: &str) -> AccountId { function empty_shard_no_split (line 442) | fn empty_shard_no_split() { function one_account_no_split (line 449) | fn one_account_no_split() { function two_accounts_equal_split (line 459) | fn two_accounts_equal_split() { function two_accounts_first_smaller_split (line 472) | fn two_accounts_first_smaller_split() { function two_accounts_second_smaller_split (line 485) | fn two_accounts_second_smaller_split() { function many_accounts_zero_no_split (line 498) | fn many_accounts_zero_no_split() { function many_accounts_one_nonzero_no_split (line 515) | fn many_accounts_one_nonzero_no_split() { function many_accounts_split (line 532) | fn many_accounts_split() { function first_heavy_split (line 554) | fn first_heavy_split() { function last_heavy_split (line 573) | fn last_heavy_split() { FILE: tools/database/src/block_iterators/height_range.rs type BlockHeightRangeIterator (line 8) | pub struct BlockHeightRangeIterator { method new (line 19) | pub fn new( type Item (line 65) | type Item = Block; method next (line 67) | fn next(&mut self) -> Option { FILE: tools/database/src/block_iterators/last_blocks.rs type LastNBlocksIterator (line 7) | pub struct LastNBlocksIterator { method new (line 15) | pub fn new(blocks_num: u64, chain_store: Rc) -> LastNBlock... type Item (line 22) | type Item = Block; method next (line 24) | fn next(&mut self) -> Option { FILE: tools/database/src/block_iterators/mod.rs type CommandArgs (line 19) | pub struct CommandArgs { function make_block_iterator_from_command_args (line 31) | pub fn make_block_iterator_from_command_args( FILE: tools/database/src/commands.rs type DatabaseCommand (line 14) | pub struct DatabaseCommand { method run (line 52) | pub fn run(&self, home: &PathBuf) -> anyhow::Result<()> { type SubCommand (line 21) | enum SubCommand { FILE: tools/database/src/compact.rs type RunCompactionCommand (line 7) | pub(crate) struct RunCompactionCommand { method run (line 14) | pub(crate) fn run(&self, home: &PathBuf) -> anyhow::Result<()> { FILE: tools/database/src/corrupt.rs type CorruptStateSnapshotCommand (line 9) | pub(crate) struct CorruptStateSnapshotCommand { method run (line 15) | pub(crate) fn run(&self, home: &PathBuf) -> anyhow::Result<()> { function corrupt (line 43) | fn corrupt( FILE: tools/database/src/make_snapshot.rs type MakeSnapshotCommand (line 5) | pub(crate) struct MakeSnapshotCommand { method run (line 12) | pub(crate) fn run( function test (line 37) | fn test() { FILE: tools/database/src/memtrie.rs type LoadMemTrieCommand (line 15) | pub struct LoadMemTrieCommand { method run (line 21) | pub fn run(&self, unc_config: UncConfig, home: &Path) -> anyhow::Resul... FILE: tools/database/src/run_migrations.rs type RunMigrationsCommand (line 4) | pub(crate) struct RunMigrationsCommand {} method run (line 7) | pub(crate) fn run(&self, home_dir: &Path) -> anyhow::Result<()> { FILE: tools/database/src/state_perf.rs type StatePerfCommand (line 21) | pub(crate) struct StatePerfCommand { method run (line 34) | pub(crate) fn run(&self, home: &Path) -> anyhow::Result<()> { type PerfContext (line 59) | struct PerfContext { method new (line 111) | fn new() -> Self { method reset (line 121) | fn reset(&mut self) { method record (line 126) | fn record(&mut self) { method format (line 146) | fn format(&self) -> String { type Measurements (line 67) | struct Measurements { method record (line 75) | fn record( method avg_observed_latency (line 89) | fn avg_observed_latency(&self) -> Duration { method avg_read_block_latency (line 93) | fn avg_read_block_latency(&self) -> Duration { method fmt (line 99) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function generate_state_requests (line 162) | fn generate_state_requests(store: Store, samples: usize) -> Vec<(ShardUI... function format_samples (line 191) | fn format_samples(positive: usize, total: usize) -> String { FILE: tools/database/src/utils.rs function open_rocksdb (line 11) | pub(crate) fn open_rocksdb( function open_state_snapshot (line 25) | pub(crate) fn open_state_snapshot(home: &Path, mode: unc_store::Mode) ->... function resolve_column (line 49) | pub(crate) fn resolve_column(col_name: &str) -> anyhow::Result { function flat_head_state_root (line 56) | pub fn flat_head_state_root(store: &Store, shard_uid: &ShardUId) -> Cryp... function flat_head (line 67) | pub fn flat_head(store: &Store, shard_uid: &ShardUId) -> BlockInfo { FILE: tools/debug-ui/src/App.tsx function useNodeAddr (line 12) | function useNodeAddr(): string { function navLinkClassName (line 67) | function navLinkClassName({ isActive }: { isActive: boolean }) { FILE: tools/debug-ui/src/BlocksView.tsx type BlocksViewProps (line 5) | type BlocksViewProps = { function prettyTime (line 9) | function prettyTime(datetime: string): string { function printTimeInMs (line 21) | function printTimeInMs(time: number | null): string { function printDuration (line 29) | function printDuration(start: string, end: string): string { function getChunkStatusSymbol (line 38) | function getChunkStatusSymbol(chunkStatus: ChunkProcessingStatus): string { function printBlockStatus (line 51) | function printBlockStatus(blockStatus: BlockProcessingStatus): string { FILE: tools/debug-ui/src/ChainAndChunkInfoView.tsx type ChainAndChunkInfoViewProps (line 7) | type ChainAndChunkInfoViewProps = { function navLinkClassName (line 35) | function navLinkClassName({ isActive }: { isActive: boolean }) { FILE: tools/debug-ui/src/ChainInfoSummaryView.tsx type ChainInfoSummaryViewProps (line 6) | type ChainInfoSummaryViewProps = { FILE: tools/debug-ui/src/ClusterNodeView.tsx type Props (line 13) | interface Props { function syncStatusToText (line 96) | function syncStatusToText(syncStatus: SyncStatusResponse): string { function booleanArrayToIndexList (line 122) | function booleanArrayToIndexList(array: boolean[]): number[] { function trackedShardsToText (line 132) | function trackedShardsToText(trackedShards: TrackedShardsResponse): stri... FILE: tools/debug-ui/src/ClusterView.tsx type Props (line 5) | interface Props { function sortingKeyForNode (line 9) | function sortingKeyForNode(addr: string, addrToName: Map... class DiscoveryNodes (line 17) | class DiscoveryNodes { method reset (line 21) | reset(initialAddr: string) { method sorted (line 27) | sorted(): string[] { FILE: tools/debug-ui/src/ConnectionStorageView.tsx type ConnectionStorageViewProps (line 6) | type ConnectionStorageViewProps = { FILE: tools/debug-ui/src/CurrentPeersView.tsx type NetworkInfoViewProps (line 7) | type NetworkInfoViewProps = { type PeerInfo (line 11) | type PeerInfo = { function peerClass (line 18) | function peerClass(current_height: number, peer_height: number): string { function getIntersection (line 38) | function getIntersection(setA: Set, setB: Set): Set { function getDifference (line 44) | function getDifference(setA: Set, setB: Set): Set { FILE: tools/debug-ui/src/EpochInfoView.tsx type EpochInfoViewProps (line 8) | type EpochInfoViewProps = { function navLinkClassName (line 38) | function navLinkClassName({ isActive }: { isActive: boolean }) { FILE: tools/debug-ui/src/EpochShardsView.tsx function humanFileSize (line 5) | function humanFileSize(bytes: number, si = false, dp = 1): string { type EpochShardsViewProps (line 26) | type EpochShardsViewProps = { function drawShardSizeBar (line 98) | function drawShardSizeBar(size: number, maxSize: number): JSX.Element { FILE: tools/debug-ui/src/EpochValidatorsView.tsx type ProducedAndExpected (line 7) | interface ProducedAndExpected { type ValidatorRole (line 12) | type ValidatorRole = 'BlockProducer' | 'ChunkOnlyProducer' | 'None'; type CurrentValidatorInfo (line 14) | interface CurrentValidatorInfo { type NextValidatorInfo (line 21) | interface NextValidatorInfo { type ValidatorInfo (line 26) | interface ValidatorInfo { class Validators (line 35) | class Validators { method constructor (line 38) | constructor(private numEpochs: number) {} method validator (line 40) | validator(accountId: string): ValidatorInfo { method setValidatorRole (line 59) | setValidatorRole(accountId: string, epochIndex: number, role: Validato... method sorted (line 64) | sorted(): ValidatorInfo[] { type EpochValidatorViewProps (line 90) | type EpochValidatorViewProps = { function drawProducedAndExpectedBar (line 239) | function drawProducedAndExpectedBar( function drawPledgeBar (line 277) | function drawPledgeBar(pledge: number | null, maxPledge: number, totalPl... function renderRole (line 294) | function renderRole(role: ValidatorRole): JSX.Element { FILE: tools/debug-ui/src/FloatingChunksView.tsx type FloatingChunksViewProps (line 5) | type FloatingChunksViewProps = { FILE: tools/debug-ui/src/HeaderBar.tsx type Props (line 5) | type Props = { function formatDurationInSec (line 72) | function formatDurationInSec(totalSeconds: number): string { function addZeros (line 82) | function addZeros(x: number): string { FILE: tools/debug-ui/src/LatestBlocksView.tsx function ellipsify (line 7) | function ellipsify(str: string, maxLen: number): string { type HashElementProps (line 14) | type HashElementProps = { type BlockTableRowBlock (line 40) | type BlockTableRowBlock = { type BlockTableRow (line 49) | type BlockTableRow = BlockTableRowBlock | { missedHeight: MissedHeightIn... function sortBlocksAndDetermineBlockGraphLayout (line 52) | function sortBlocksAndDetermineBlockGraphLayout( type BlocksTableProps (line 132) | type BlocksTableProps = { type LatestBlockViewProps (line 265) | type LatestBlockViewProps = { FILE: tools/debug-ui/src/LogFileDrop.tsx type LogFileDropProps (line 3) | interface LogFileDropProps { FILE: tools/debug-ui/src/NetworkInfoView.tsx type NetworkInfoViewProps (line 10) | type NetworkInfoViewProps = { function navLinkClassName (line 50) | function navLinkClassName({ isActive }: { isActive: boolean }) { FILE: tools/debug-ui/src/PeerStorageView.tsx type PeerStorageViewProps (line 6) | type PeerStorageViewProps = { FILE: tools/debug-ui/src/RecentEpochsView.tsx type RecentEpochsViewProps (line 6) | type RecentEpochsViewProps = { FILE: tools/debug-ui/src/RoutingTableView.tsx type RoutingTableViewProps (line 6) | type RoutingTableViewProps = { FILE: tools/debug-ui/src/SnapshotHostsView.tsx type SnapshotHostsViewProps (line 6) | type SnapshotHostsViewProps = { FILE: tools/debug-ui/src/Tier1View.tsx type Tier1ViewProps (line 7) | type Tier1ViewProps = { FILE: tools/debug-ui/src/api.tsx type StatusResponse (line 3) | interface StatusResponse { type StatusSyncInfo (line 19) | interface StatusSyncInfo { type ValidatorInfo (line 32) | interface ValidatorInfo { type BuildInfo (line 37) | interface BuildInfo { type DetailedDebugStatus (line 43) | interface DetailedDebugStatus { type NetworkInfoView (line 52) | interface NetworkInfoView { type CatchupStatusView (line 62) | interface CatchupStatusView { type BlockStatusView (line 69) | interface BlockStatusView { type PeerInfoView (line 74) | interface PeerInfoView { type KnownProducerView (line 92) | interface KnownProducerView { type PeerAddr (line 98) | interface PeerAddr { type AccountData (line 103) | interface AccountData { type SyncStatusView (line 111) | type SyncStatusView = type ShardSyncDownloadView (line 136) | interface ShardSyncDownloadView { type DebugBlockStatusData (line 141) | interface DebugBlockStatusData { type DebugBlockStatus (line 148) | interface DebugBlockStatus { type MissedHeightInfo (line 161) | interface MissedHeightInfo { type DebugChunkStatus (line 166) | interface DebugChunkStatus { type EpochInfoView (line 174) | interface EpochInfoView { type EpochValidatorInfo (line 185) | interface EpochValidatorInfo { type CurrentEpochValidatorInfo (line 196) | interface CurrentEpochValidatorInfo { type NextEpochValidatorInfo (line 208) | interface NextEpochValidatorInfo { type ValidatorPledgeView (line 215) | interface ValidatorPledgeView { type ValidatorKickoutView (line 222) | interface ValidatorKickoutView { type ValidatorKickoutReason (line 227) | type ValidatorKickoutReason = type PeerStoreView (line 235) | interface PeerStoreView { type KnownPeerStateView (line 239) | interface KnownPeerStateView { type SyncStatusResponse (line 248) | interface SyncStatusResponse { type TrackedShardsResponse (line 254) | interface TrackedShardsResponse { type BlockStatusResponse (line 263) | interface BlockStatusResponse { type EpochInfoResponse (line 269) | interface EpochInfoResponse { type PeerStoreResponse (line 275) | interface PeerStoreResponse { type ConnectionInfoView (line 281) | interface ConnectionInfoView { type RecentOutboundConnectionsView (line 288) | interface RecentOutboundConnectionsView { type RecentOutboundConnectionsResponse (line 292) | interface RecentOutboundConnectionsResponse { type EdgeView (line 298) | interface EdgeView { type LabeledEdgeView (line 304) | interface LabeledEdgeView { type EdgeCacheView (line 310) | interface EdgeCacheView { type PeerRoutesView (line 315) | interface PeerRoutesView { type RoutingTableView (line 320) | interface RoutingTableView { type RoutingTableResponse (line 327) | interface RoutingTableResponse { type SnapshotHostInfoView (line 333) | interface SnapshotHostInfoView { type SnapshotHostsView (line 340) | interface SnapshotHostsView { type SnapshotHostsResponse (line 344) | interface SnapshotHostsResponse { type DroppedReason (line 350) | type DroppedReason = 'HeightProcessed' | 'TooManyProcessingBlocks'; type BlockProcessingStatus (line 352) | type BlockProcessingStatus = type BlockProcessingInfo (line 361) | interface BlockProcessingInfo { type PartCollectionInfo (line 372) | interface PartCollectionInfo { type ChunkProcessingStatus (line 379) | type ChunkProcessingStatus = 'NeedToRequest' | 'Requested' | 'Completed'; type ChunkProcessingInfo (line 381) | interface ChunkProcessingInfo { type ChainProcessingInfo (line 394) | interface ChainProcessingInfo { type ChainProcessingStatusResponse (line 402) | interface ChainProcessingStatusResponse { function fetchBasicStatus (line 408) | async function fetchBasicStatus(addr: string): Promise { function fetchFullStatus (line 413) | async function fetchFullStatus(addr: string): Promise { function fetchSyncStatus (line 418) | async function fetchSyncStatus(addr: string): Promise { function fetchTrackedShards (line 423) | async function fetchTrackedShards(addr: string): Promise { function fetchPeerStore (line 442) | async function fetchPeerStore(addr: string): Promise { function fetchRecentOutboundConnections (line 447) | async function fetchRecentOutboundConnections( function fetchRoutingTable (line 454) | async function fetchRoutingTable( function fetchSnapshotHosts (line 461) | async function fetchSnapshotHosts( function fetchChainProcessingStatus (line 468) | async function fetchChainProcessingStatus( type ApiEntityDataEntryValue (line 475) | type ApiEntityDataEntryValue = string | ApiEntityData; type ApiEntityData (line 476) | type ApiEntityData = { entries: ApiEntityDataEntry[] }; type ApiEntityDataEntry (line 477) | type ApiEntityDataEntry = { name: string; value: ApiEntityDataEntryValue }; function fetchEntity (line 479) | async function fetchEntity( FILE: tools/debug-ui/src/entity_debug/EntityDataRootView.tsx type EntityDataRootViewProps (line 13) | type EntityDataRootViewProps = { FILE: tools/debug-ui/src/entity_debug/EntityDataValueView.tsx type EntityDataValueViewProps (line 19) | type EntityDataValueViewProps = { type AvailableQueryKey (line 185) | type AvailableQueryKey = { type AvailableQuery (line 190) | type AvailableQuery = { function getAvailableQueries (line 202) | function getAvailableQueries(keys: EntityKey[], pinnedKeys: EntityKey[])... function visualizeNibbles (line 248) | function visualizeNibbles(nibbles: string): JSX.Element { FILE: tools/debug-ui/src/entity_debug/EntityDebugView.tsx type EntityDebugViewProps (line 11) | type EntityDebugViewProps = { FILE: tools/debug-ui/src/entity_debug/KeyInput.tsx type KeyInputProps (line 7) | type KeyInputProps = { FILE: tools/debug-ui/src/entity_debug/all_queries.tsx type AllQueriesAction (line 7) | type AllQueriesAction = type AllQueriesState (line 22) | type AllQueriesState = { function allQueriesReducer (line 29) | function allQueriesReducer( FILE: tools/debug-ui/src/entity_debug/composing_query.tsx type ComposingQuery (line 7) | type ComposingQuery = { type ComposingQueryAction (line 12) | type ComposingQueryAction = function composingQueryReducer (line 26) | function composingQueryReducer( FILE: tools/debug-ui/src/entity_debug/fetcher.tsx class Fetcher (line 13) | class Fetcher { method constructor (line 14) | constructor(private addr: string) {} method fetch (line 16) | async fetch(query: EntityQuery): Promise { method _parseApiEntityDataValue (line 28) | _parseApiEntityDataValue( FILE: tools/debug-ui/src/entity_debug/fields.tsx function stringField (line 6) | function stringField(keyType: EntityKeyType): FieldSemantic { function numericField (line 12) | function numericField(keyType: EntityKeyType): FieldSemantic { FILE: tools/debug-ui/src/entity_debug/keys.tsx class StringEntityKey (line 5) | class StringEntityKey { method constructor (line 6) | constructor(private _type: EntityKeyType, private value: string) {} method type (line 7) | type(): EntityKeyType { method toString (line 10) | toString(): string { method toJSON (line 13) | toJSON(): unknown { class NumericEntityKey (line 18) | class NumericEntityKey { method constructor (line 19) | constructor(private _type: EntityKeyType, private value: number) {} method type (line 20) | type(): EntityKeyType { method toString (line 23) | toString(): string { method toJSON (line 26) | toJSON(): unknown { function parseEntityKey (line 32) | function parseEntityKey(keyType: EntityKeyType, input: string): EntityKe... FILE: tools/debug-ui/src/entity_debug/pinned_keys.tsx type PinnedKeysAction (line 7) | type PinnedKeysAction = function pinnedKeysReducer (line 14) | function pinnedKeysReducer(keys: EntityKey[], action: PinnedKeysAction):... FILE: tools/debug-ui/src/entity_debug/types.tsx type EntityKeyType (line 2) | type EntityKeyType = type EntityType (line 19) | type EntityType = type EntityKey (line 41) | interface EntityKey { class EntityDataRootNode (line 52) | class EntityDataRootNode { method constructor (line 53) | constructor( class EntityDataStructNode (line 62) | class EntityDataStructNode { type FieldSemantic (line 67) | type FieldSemantic = type CustomFieldDisplay (line 92) | type CustomFieldDisplay = class EntityDataValueNode (line 99) | class EntityDataValueNode { method constructor (line 105) | constructor( type EntityQuery (line 120) | type EntityQuery = { type EntityQueryType (line 148) | type EntityQueryType = keyof EntityQuery; function getQueryType (line 150) | function getQueryType(query: EntityQuery): EntityQueryType { type EntityQueryKeySpec (line 183) | type EntityQueryKeySpec = { function queryKey (line 189) | function queryKey(keyType: EntityKeyType): EntityQueryKeySpec { function implicitQueryKey (line 194) | function implicitQueryKey(keyType: EntityKeyType): EntityQueryKeySpec { FILE: tools/debug-ui/src/log_visualizer/LogVisualizer.tsx constant LAYOUT_SIZES (line 10) | const LAYOUT_SIZES: SizesConfig = { function drawLine (line 219) | function drawLine( FILE: tools/debug-ui/src/log_visualizer/arrows.ts type ArrowRowPosition (line 89) | type ArrowRowPosition = 'above' | 'inbound' | 'outbound'; constant ARROW_ROW_POSITIONS (line 90) | const ARROW_ROW_POSITIONS: ArrowRowPosition[] = ['above', 'inbound', 'ou... class ArrowRow (line 92) | class ArrowRow { method constructor (line 93) | constructor(public readonly gridRow: number, public readonly positioni... method key (line 97) | get key(): number { method max (line 104) | max(other: ArrowRow): ArrowRow { method min (line 108) | min(other: ArrowRow): ArrowRow { type ArrowColumnPosition (line 116) | type ArrowColumnPosition = 'left' | 'middle'; constant ARROW_COLUMN_POSITIONS (line 117) | const ARROW_COLUMN_POSITIONS: ArrowColumnPosition[] = ['left', 'middle']; class ArrowColumn (line 119) | class ArrowColumn { method constructor (line 120) | constructor( method key (line 125) | get key(): number { method max (line 129) | max(other: ArrowColumn): ArrowColumn { method min (line 133) | min(other: ArrowColumn): ArrowColumn { class ArrowPartHorizontal (line 139) | class ArrowPartHorizontal { method constructor (line 140) | constructor( method intoItem (line 156) | public static intoItem(gridRow: number, gridColumn: number): ArrowPart... method outOfItem (line 166) | public static outOfItem(gridRow: number, gridColumn: number): ArrowPar... method acrossColumns (line 177) | public static acrossColumns( class ArrowPartVertical (line 187) | class ArrowPartVertical { method constructor (line 188) | constructor( method outOfItem (line 202) | public static outOfItem(gridRow: number, gridColumn: number): ArrowPar... method acrossRows (line 212) | public static acrossRows(fromRow: ArrowRow, toRow: ArrowRow, gridColum... type ArrowGroup (line 229) | type ArrowGroup = { function makeOutgoingArrowsForItem (line 242) | function makeOutgoingArrowsForItem( FILE: tools/debug-ui/src/log_visualizer/events.ts class EventItem (line 4) | class EventItem { method constructor (line 35) | constructor(id: number, parentId: number | null, time: number, eventDu... method isEligibleForAttachment (line 88) | get isEligibleForAttachment(): boolean { class EventItemCollection (line 95) | class EventItemCollection { method get (line 99) | public get(id: number): EventItem | null { method isAttachedToParent (line 104) | public isAttachedToParent(id: number): boolean { method getRawItemsIncludingAttachments (line 120) | public getRawItemsIncludingAttachments(): EventItem[] { method getAllNonAttachedItems (line 125) | public getAllNonAttachedItems(): EventItem[] { method getAllOutgoingEdges (line 132) | public getAllOutgoingEdges(id: number): OutgoingEdge[] { method add (line 152) | private add(item: EventItem) { method lastEvent (line 160) | private lastEvent(): EventItem | null { method parseFromLogLines (line 165) | public static parseFromLogLines(lines: string[]): EventItemCollection { type OutgoingEdge (line 210) | type OutgoingEdge = { FILE: tools/debug-ui/src/log_visualizer/interval.ts type Interval (line 1) | type Interval = { function assignLayerToOverlappingIntervals (line 21) | function assignLayerToOverlappingIntervals(intervals: Interval[]): number { FILE: tools/debug-ui/src/log_visualizer/layout.ts class OneRowLayout (line 40) | class OneRowLayout { method constructor (line 47) | constructor(public readonly time: number) {} class OneColumnLayout (line 73) | class OneColumnLayout { class ArrowLayoutStrip (line 83) | class ArrowLayoutStrip { method constructor (line 89) | constructor(numLayers: number) { method offsetFor (line 95) | offsetFor(arrowGroupId: number): number { type SizesConfig (line 102) | type SizesConfig = { class Layouts (line 112) | class Layouts { method constructor (line 118) | constructor(public sizes: SizesConfig, items: EventItemCollection) { method layoutItemsInGrid (line 124) | private layoutItemsInGrid(items: EventItemCollection) { method layoutWithArrows (line 150) | public layoutWithArrows(arrowGroups: ArrowGroup[]) { method getArrowRowYOffset (line 269) | getArrowRowYOffset(row: ArrowRow, arrowGroupId: number): number { method getArrowColumnXOffset (line 274) | getArrowColumnXOffset(column: ArrowColumn, arrowGroupId: number): numb... method getItemXOffset (line 279) | getItemXOffset(column: number): number { method getItemYOffset (line 283) | getItemYOffset(row: number): number { method getItemWidth (line 287) | getItemWidth(column: number): number { method getGridRowYOffset (line 291) | getGridRowYOffset(row: number): number { method getGridColumnXOffset (line 295) | getGridColumnXOffset(column: number): number { method getGridColumnWidth (line 299) | getGridColumnWidth(column: number): number { FILE: tools/debug-ui/src/pretty-print.ts class IndentPrinter (line 1) | class IndentPrinter { method push (line 6) | push(c: string, newlineBefore: boolean, newlineAfter: boolean) { method indent (line 19) | indent() { method unindent (line 22) | unindent() { method _nextLine (line 25) | _nextLine() { method _appendToLine (line 29) | _appendToLine(c: string) { function prettyPrint (line 41) | function prettyPrint(s: string): string { FILE: tools/debug-ui/src/utils.tsx function formatDurationInMillis (line 3) | function formatDurationInMillis(millis: number): string { function formatBytesPerSecond (line 24) | function formatBytesPerSecond(bytes_per_second: number): string { function formatTraffic (line 39) | function formatTraffic(bytes_received: number, bytes_sent: number): Reac... function addDebugPortLink (line 48) | function addDebugPortLink(peer_network_addr: string): ReactElement { function toHumanTime (line 67) | function toHumanTime(seconds: number): string { FILE: tools/epoch-sync/src/cli.rs type EpochSyncCommand (line 18) | pub struct EpochSyncCommand { method run (line 32) | pub fn run(self, home_dir: &Path) -> anyhow::Result<()> { method create_snapshot (line 41) | fn create_snapshot(home_dir: &Path) -> anyhow::Result anyhow::Result anyhow:... method amend_access_keys (line 301) | fn amend_access_keys( method set_validators (line 345) | fn set_validators( method finalize (line 396) | fn finalize(&self, unc_config: &mut UncConfig, home_dir: &Path) -> any... method get_state_roots_and_hash (line 413) | fn get_state_roots_and_hash( method reset (line 440) | fn reset(self, unc_config: &UncConfig, home_dir: &Path) -> anyhow::Res... method prepare_shard_state (line 468) | fn prepare_shard_state( method prepare_state (line 683) | fn prepare_state( method add_validator_accounts (line 714) | fn add_validator_accounts( method make_and_write_genesis (line 763) | fn make_and_write_genesis( type SubCommand (line 57) | enum SubCommand { type InitCmd (line 82) | struct InitCmd; type FinalizeCmd (line 85) | struct FinalizeCmd; type AmendAccessKeysCmd (line 88) | struct AmendAccessKeysCmd { type SetValidatorsCmd (line 94) | struct SetValidatorsCmd { type ResetCmd (line 112) | struct ResetCmd; type Validator (line 115) | struct Validator { type MakeSingleShardStorageMutatorFn (line 124) | type MakeSingleShardStorageMutatorFn = function backup_genesis_file_path (line 829) | fn backup_genesis_file_path(home_dir: &Path, genesis_file: &str) -> Path... function get_fork_heads (line 836) | fn get_fork_heads(all_shard_uids: &[ShardUId], store: Store) -> anyhow::... function backup_genesis_file (line 851) | fn backup_genesis_file(home_dir: &Path, unc_config: &UncConfig) -> anyho... function restore_backup_genesis_file (line 860) | fn restore_backup_genesis_file(home_dir: &Path, unc_config: &UncConfig) ... FILE: tools/fork-network/src/single_shard_storage_mutator.rs type SingleShardStorageMutator (line 16) | pub(crate) struct SingleShardStorageMutator { method new (line 23) | pub(crate) fn new(runtime: &NightshadeRuntime, state_root: StateRoot) ... method set (line 27) | fn set(&mut self, key: TrieKey, value: Vec) -> anyhow::Result<()> { method remove (line 32) | fn remove(&mut self, key: TrieKey) -> anyhow::Result<()> { method set_account (line 37) | pub(crate) fn set_account( method delete_account (line 45) | pub(crate) fn delete_account(&mut self, account_id: AccountId) -> anyh... method set_access_key (line 49) | pub(crate) fn set_access_key( method delete_access_key (line 58) | pub(crate) fn delete_access_key( method set_data (line 66) | pub(crate) fn set_data( method delete_data (line 78) | pub(crate) fn delete_data( method set_code (line 86) | pub(crate) fn set_code(&mut self, account_id: AccountId, value: Vec anyhow:... method set_postponed_receipt (line 94) | pub(crate) fn set_postponed_receipt(&mut self, receipt: &Receipt) -> a... method delete_postponed_receipt (line 104) | pub(crate) fn delete_postponed_receipt(&mut self, receipt: Box anyhow:... method should_commit (line 140) | pub(crate) fn should_commit(&self, batch_size: u64) -> bool { method commit (line 146) | pub(crate) fn commit( FILE: tools/fork-network/src/storage_mutator.rs type StorageMutator (line 11) | pub(crate) struct StorageMutator { method new (line 18) | pub(crate) fn new( method mutator (line 34) | fn mutator( method set_account (line 42) | pub(crate) fn set_account( method set_access_key (line 50) | pub(crate) fn set_access_key( method commit (line 59) | pub(crate) fn commit(self) -> anyhow::Result> { FILE: tools/indexer/example/src/configs.rs type Opts (line 8) | pub(crate) struct Opts { type SubCommand (line 18) | pub(crate) enum SubCommand { type InitConfigArgs (line 26) | pub(crate) struct InitConfigArgs { function from (line 68) | fn from(config_args: InitConfigArgs) -> Self { FILE: tools/indexer/example/src/main.rs function listen_blocks (line 13) | async fn listen_blocks(mut stream: mpsc::Receiver Result<()> { FILE: tools/mirror/src/chain_tracker.rs type TxSendInfo (line 29) | struct TxSendInfo { method new (line 42) | fn new( type TxId (line 80) | struct TxId { method partial_cmp (line 86) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 92) | fn cmp(&self, other: &Self) -> Ordering { function gas_pretty (line 97) | fn gas_pretty(gas: Gas) -> String { type NonceInfo (line 112) | struct NonceInfo { type SentBatch (line 122) | pub(crate) enum SentBatch { type TxTracker (line 133) | pub(crate) struct TxTracker { method new (line 163) | pub(crate) fn new<'a, I>( method next_heights (line 175) | pub(crate) async fn next_heights( method has_stop_height (line 202) | pub(crate) fn has_stop_height(&self) -> bool { method finished (line 206) | pub(crate) fn finished(&self) -> bool { method num_blocks_queued (line 216) | pub(crate) fn num_blocks_queued(&self) -> usize { method initialize_target_nonce (line 220) | async fn initialize_target_nonce<'a>( method read_target_nonce (line 259) | async fn read_target_nonce<'a>( method next_nonce (line 272) | pub(crate) async fn next_nonce<'a>( method insert_nonce (line 303) | pub(crate) async fn insert_nonce( method get_tx (line 345) | fn get_tx(&mut self, tx_ref: &TxRef) -> &mut TargetChainTx { method insert_access_key_updates (line 355) | async fn insert_access_key_updates( method queue_block (line 382) | pub(crate) async fn queue_block( method next_batch_time (line 443) | pub(crate) fn next_batch_time(&self) -> Instant { method next_batch (line 450) | pub(crate) async fn next_batch( method remove_tx (line 526) | fn remove_tx(&mut self, tx: &IndexerTransactionWithOutcome) { method record_block_timestamp (line 569) | fn record_block_timestamp(&mut self, msg: &StreamerMessage) { method log_target_block (line 576) | fn log_target_block(&self, msg: &StreamerMessage) { method tx_to_receipt (line 645) | fn tx_to_receipt( method try_set_nonces (line 694) | async fn try_set_nonces( method on_outcome_finished (line 759) | async fn on_outcome_finished( method on_target_block_tx (line 777) | async fn on_target_block_tx( method on_target_block_applied_receipt (line 812) | async fn on_target_block_applied_receipt( method on_target_block (line 865) | pub(crate) async fn on_target_block( method on_tx_sent (line 894) | async fn on_tx_sent( method second_longest_recent_block_delay (line 1010) | fn second_longest_recent_block_delay(&self) -> Option { method on_tx_skipped (line 1059) | fn on_tx_skipped( method on_txs_sent (line 1121) | pub(crate) async fn on_txs_sent( FILE: tools/mirror/src/cli.rs type MirrorCommand (line 7) | pub struct MirrorCommand { method run (line 145) | pub fn run(self) -> anyhow::Result<()> { type SubCommand (line 13) | enum SubCommand { type RunCmd (line 21) | struct RunCmd { method run (line 49) | fn run(self) -> anyhow::Result<()> { type PrepareCmd (line 94) | struct PrepareCmd { method run (line 121) | fn run(self) -> anyhow::Result<()> { function new_actix_system (line 132) | fn new_actix_system(runtime: tokio::runtime::Runtime) -> actix::SystemRu... FILE: tools/mirror/src/genesis.rs function map_records (line 13) | pub fn map_records>( FILE: tools/mirror/src/key_mapping.rs constant EXTRA_KEY (line 12) | pub const EXTRA_KEY: SecretKey = SecretKey::ED25519(ED25519SecretKey([ function ed25519_map_secret (line 19) | fn ed25519_map_secret( function map_ed25519 (line 35) | fn map_ed25519( function secp256k1_from_slice (line 55) | fn secp256k1_from_slice(buf: &mut [u8], public: &Secp256K1PublicKey) -> ... function map_secp256k1 (line 69) | fn map_secp256k1( function map_key (line 92) | pub fn map_key(key: &PublicKey, secret: Option<&[u8; crate::secret::SECR... function map_account (line 104) | pub fn map_account( FILE: tools/mirror/src/lib.rs type DBCol (line 54) | enum DBCol { method name (line 66) | fn name(&self) -> &'static str { type TxRef (line 81) | struct TxRef { method fmt (line 88) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method partial_cmp (line 94) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 100) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { type NonceUpdater (line 109) | enum NonceUpdater { function nonce_col_key (line 115) | fn nonce_col_key(account_id: &AccountId, public_key: &PublicKey) -> Vec<... type TargetNonce (line 129) | struct TargetNonce { type LatestTargetNonce (line 141) | struct LatestTargetNonce { function read_target_nonce (line 148) | fn read_target_nonce( function put_target_nonce (line 159) | fn put_target_nonce( function read_pending_outcome (line 182) | fn read_pending_outcome( function put_pending_outcome (line 194) | fn put_pending_outcome( function delete_pending_outcome (line 207) | fn delete_pending_outcome(db: &DB, id: &CryptoHash) -> anyhow::Result<()> { function set_last_source_height (line 215) | fn set_last_source_height(db: &DB, height: BlockHeight) -> anyhow::Resul... function get_last_source_height (line 231) | fn get_last_source_height(db: &DB) -> anyhow::Result> { type SourceTransaction (line 237) | enum SourceTransaction { method from (line 243) | fn from(tx: SignedTransaction) -> Self { method from (line 249) | fn from(tx: SignedTransactionView) -> Self { method hash (line 255) | fn hash(&self) -> CryptoHash { method public_key (line 262) | fn public_key(&self) -> &PublicKey { method signer_id (line 269) | fn signer_id(&self) -> &AccountId { method receiver_id (line 276) | fn receiver_id(&self) -> &AccountId { method actions (line 283) | fn actions<'a>(&'a self) -> Cow<'a, [Action]> { method is_view (line 292) | fn is_view(&self) -> bool { type SourceChunk (line 297) | struct SourceChunk { type SourceBlock (line 303) | struct SourceBlock { type ChainError (line 309) | enum ChainError { method other (line 317) | fn other(error: E) -> Se... method from (line 323) | fn from(err: GetBlockError) -> Self { method from (line 332) | fn from(err: GetChunkError) -> Self { method from (line 341) | fn from(err: unc_chain_primitives::Error) -> Self { method from (line 350) | fn from(err: GetExecutionOutcomeError) -> Self { method from (line 361) | fn from(err: GetReceiptError) -> Self { method from (line 370) | fn from(err: QueryError) -> Self { method from (line 384) | fn from(err: RuntimeQueryError) -> Self { type ChainAccess (line 395) | trait ChainAccess { method init (line 400) | async fn init( method block_height_to_hash (line 406) | async fn block_height_to_hash(&self, height: BlockHeight) -> Result Result; method get_txs (line 410) | async fn get_txs( method get_next_block_height (line 416) | async fn get_next_block_height(&self, height: BlockHeight) -> Result Result, C... method get_full_access_keys (line 451) | async fn get_full_access_keys( function execution_status_good (line 458) | fn execution_status_good(status: &ExecutionStatusView) -> bool { constant CREATE_ACCOUNT_DELTA (line 465) | const CREATE_ACCOUNT_DELTA: usize = 5; type TxMirror (line 467) | struct TxMirror { function open_db (line 484) | fn open_db>(home: P, config: &UncConfig) -> anyhow::Resul... type MappedTxProvenance (line 503) | enum MappedTxProvenance { method is_create_account (line 513) | fn is_create_account(&self) -> bool { method is_add_key (line 521) | fn is_add_key(&self) -> bool { method is_unpledge (line 528) | fn is_unpledge(&self) -> bool { method fmt (line 534) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type TxAwaitingNonce (line 569) | struct TxAwaitingNonce { method new (line 580) | fn new( type MappedTx (line 612) | struct MappedTx { method new (line 622) | fn new( method inc_nonce (line 657) | fn inc_nonce(&mut self, target_secret_key: &SecretKey) { type TargetChainTx (line 666) | enum TargetChainTx { method set_nonce (line 672) | fn set_nonce(&mut self, nonce: Nonce) { method try_set_nonce (line 695) | fn try_set_nonce(&mut self, nonce: Option) { method new_ready (line 706) | fn new_ready( method new_awaiting_nonce (line 734) | fn new_awaiting_nonce( method target_nonce (line 762) | fn target_nonce(&self) -> TargetNonce { method inc_target_nonce (line 772) | fn inc_target_nonce(&mut self, target_secret_key: &SecretKey) { type MappedChunk (line 785) | struct MappedChunk { type MappedBlock (line 791) | struct MappedBlock { function account_exists (line 797) | async fn account_exists( function fetch_access_key_nonce (line 824) | async fn fetch_access_key_nonce( function new (line 857) | fn new>( function send_transactions (line 901) | async fn send_transactions<'a, I: Iterator>( function map_actions (line 957) | async fn map_actions( function prepare_tx (line 1043) | async fn prepare_tx( function push_extra_tx (line 1120) | async fn push_extra_tx( function add_function_call_keys (line 1259) | async fn add_function_call_keys( function add_tx_function_call_keys (line 1359) | async fn add_tx_function_call_keys( function add_receipt_function_call_keys (line 1399) | async fn add_receipt_function_call_keys( function add_create_account_txs (line 1428) | async fn add_create_account_txs( function fetch_txs (line 1498) | async fn fetch_txs( function queue_txs (line 1583) | async fn queue_txs( function unpledge (line 1632) | async fn unpledge( function main_loop (line 1668) | async fn main_loop( function target_chain_syncing (line 1709) | async fn target_chain_syncing(&self) -> bool { function target_chain_head (line 1718) | async fn target_chain_head(&self) -> anyhow::Result<(BlockHeight, Crypto... function index_target_chain (line 1730) | async fn index_target_chain( function run (line 1757) | async fn run(mut self, stop_height: Option) -> anyhow::Resu... function run (line 1828) | async fn run>( FILE: tools/mirror/src/offline.rs function is_on_current_chain (line 22) | fn is_on_current_chain( type ChainAccess (line 30) | pub(crate) struct ChainAccess { method new (line 37) | pub(crate) fn new>(home: P) -> anyhow::Result { method init (line 58) | async fn init( method block_height_to_hash (line 105) | async fn block_height_to_hash(&self, height: BlockHeight) -> Result Result { method get_txs (line 113) | async fn get_txs( method get_next_block_height (line 151) | async fn get_next_block_height(&self, height: BlockHeight) -> Result Result, C... method get_full_access_keys (line 183) | async fn get_full_access_keys( FILE: tools/mirror/src/online.rs type ChainAccess (line 25) | pub(crate) struct ChainAccess { method new (line 30) | pub(crate) fn new>(home: P) -> anyhow::Result { method init (line 43) | async fn init( method block_height_to_hash (line 95) | async fn block_height_to_hash(&self, height: BlockHeight) -> Result Result { method get_txs (line 115) | async fn get_txs( method get_next_block_height (line 153) | async fn get_next_block_height( method get_outcome (line 187) | async fn get_outcome( method get_receipt (line 199) | async fn get_receipt(&self, id: &CryptoHash) -> Result, C... method get_full_access_keys (line 208) | async fn get_full_access_keys( FILE: tools/mirror/src/secret.rs constant SECRET_LEN (line 7) | pub const SECRET_LEN: usize = 64; type KeyMapSecret (line 8) | struct KeyMapSecret([u8; SECRET_LEN]); method serialize (line 16) | fn serialize( method deserialize (line 29) | fn deserialize(deserializer: D) -> Result Result { function generate (line 61) | pub(crate) fn generate>(secret_file_out: P) -> anyhow::Re... function write_empty (line 72) | pub(crate) fn write_empty>(secret_file_out: P) -> anyhow:... function load (line 80) | pub fn load>(secret_file: P) -> anyhow::Result Self { method from_file (line 54) | pub fn from_file>(path: &P) -> anyhow::Result { constant MOCK_DEFAULT_NETWORK_DELAY (line 60) | pub const MOCK_DEFAULT_NETWORK_DELAY: Duration = Duration::from_millis(1... function default_delay (line 62) | fn default_delay() -> Duration { method default (line 67) | fn default() -> Self { type PeriodicRequest (line 74) | struct PeriodicRequest { function next_request (line 79) | async fn next_request(r: Option<&mut PeriodicRequest>) -> Message { type IncomingRequests (line 91) | struct IncomingRequests { method new (line 146) | fn new( method next (line 204) | async fn next(&mut self) -> Message { function retrieve_starting_chunk_hash (line 100) | fn retrieve_starting_chunk_hash( function retrieve_incoming_block (line 127) | fn retrieve_incoming_block(chain: &Chain, head_height: BlockHeight) -> a... type InFlightMessage (line 216) | struct InFlightMessage { type InFlightMessages (line 224) | struct InFlightMessages { method new (line 232) | fn new(response_delay: Duration) -> Self { method queue_message (line 240) | fn queue_message(self: Pin<&mut Self>, message: Message) { type Output (line 256) | type Output = Message; method poll (line 258) | fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll anyhow::Result> { method incoming_message (line 412) | async fn incoming_message(&mut self, target_height: BlockHeight) -> an... method run (line 429) | async fn run(mut self, target_height: BlockHeight) -> anyhow::Result<(... function retrieve_partial_encoded_chunk (line 460) | fn retrieve_partial_encoded_chunk( FILE: tools/mock-node/src/main.rs type Cli (line 51) | struct Cli { function target_height_reached (line 88) | async fn target_height_reached(client: &JsonRpcClient, target_height: Bl... function main (line 104) | fn main() -> anyhow::Result<()> { FILE: tools/mock-node/src/setup.rs function setup_runtime (line 26) | fn setup_runtime( function setup_mock_peer (line 45) | fn setup_mock_peer( type MockNode (line 85) | pub struct MockNode { function setup_mock_node (line 107) | pub fn setup_mock_node( function test_mock_node_basic (line 306) | fn test_mock_node_basic() { FILE: tools/ping/src/cli.rs type PingCommand (line 14) | pub struct PingCommand { method run (line 147) | pub fn run(&self) -> anyhow::Result<()> { function display_stats (line 55) | fn display_stats(stats: &mut [(crate::PeerIdentifier, crate::PingStats)]... type ChainInfo (line 93) | pub struct ChainInfo { function parse_account_filter (line 115) | fn parse_account_filter>(filename: P) -> std::io::Result<... FILE: tools/ping/src/csv.rs type LatenciesCsv (line 10) | pub struct LatenciesCsv { method open (line 17) | pub fn open>(filename: P) -> io::Result { method write (line 73) | pub fn write( method write_timeout (line 90) | pub fn write_timeout( constant HEADER (line 14) | const HEADER: &'static str = "timestamp,ID,latency\n"; FILE: tools/ping/src/lib.rs type PingStats (line 23) | struct PingStats { method pong_received (line 34) | fn pong_received(&mut self, latency: time::Duration) { type Nonce (line 48) | type Nonce = u64; type PingTarget (line 51) | struct PingTarget { method partial_cmp (line 57) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 63) | fn cmp(&self, other: &Self) -> cmp::Ordering { type PingTimeout (line 80) | struct PingTimeout { method partial_cmp (line 87) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 93) | fn cmp(&self, other: &Self) -> cmp::Ordering { function peer_str (line 100) | fn peer_str(peer_id: &PeerId, account_id: Option<&AccountId>) -> String { constant MAX_PINGS_IN_FLIGHT (line 104) | const MAX_PINGS_IN_FLIGHT: usize = 10; constant PING_TIMEOUT (line 105) | const PING_TIMEOUT: time::Duration = time::Duration::seconds(100); type PingState (line 108) | struct PingState { type PingTimes (line 114) | struct PingTimes { type AppInfo (line 119) | struct AppInfo { method new (line 130) | fn new(account_filter: Option>, chain_id: &str) -> ... method pick_next_target (line 140) | fn pick_next_target(&self) -> Option { method ping_sent (line 149) | fn ping_sent(&mut self, peer_id: &PeerId, nonce: u64, chain_id: &str) { method pong_received (line 200) | fn pong_received( method pop_timeout (line 251) | fn pop_timeout(&mut self, t: &PingTimeout) { method add_peer (line 267) | fn add_peer(&mut self, peer_id: PeerId, account_id: Option) { method add_announce_accounts (line 304) | fn add_announce_accounts(&mut self, accounts: Vec) { method peer_id_to_account_id (line 310) | fn peer_id_to_account_id(&self, peer_id: &PeerId) -> Option<&AccountId> { function handle_message (line 315) | fn handle_message( type PeerIdentifier (line 344) | struct PeerIdentifier { method fmt (line 350) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt:... function collect_stats (line 358) | fn collect_stats(app_info: AppInfo, ping_stats: &mut Vec<(PeerIdentifier... function prepare_timeout (line 365) | fn prepare_timeout(sleep: Pin<&mut tokio::time::Sleep>, app_info: &AppIn... function ping_via_node (line 374) | async fn ping_via_node( FILE: tools/re-pledged/src/main.rs constant DEFAULT_WAIT_PERIOD_SEC (line 13) | const DEFAULT_WAIT_PERIOD_SEC: &str = "60"; constant DEFAULT_RPC_URL (line 14) | const DEFAULT_RPC_URL: &str = "http://localhost:3030"; function maybe_kicked_out (line 17) | fn maybe_kicked_out(validator_info: &CurrentEpochValidatorInfo) -> bool { function main (line 22) | fn main() { FILE: tools/rpctypegen/core/src/lib.rs type ErrorType (line 5) | pub struct ErrorType { function parse_rpc_error_variant (line 14) | fn parse_rpc_error_variant(input: &DeriveInput) -> String { function error_type_name (line 20) | fn error_type_name(schema: &mut BTreeMap, name: Strin... function parse_error_type (line 25) | pub fn parse_error_type(schema: &mut BTreeMap, input:... function should_merge_kind (line 102) | fn should_merge_kind() { function complex (line 165) | fn complex() { function should_not_accept_tuples (line 283) | fn should_not_accept_tuples() { FILE: tools/rpctypegen/macro/src/lib.rs type Schema (line 15) | struct Schema { function merge (line 20) | fn merge(a: &mut Value, b: &Value) { method drop (line 45) | fn drop(&mut self) { function rpc_error (line 117) | pub fn rpc_error(input: TokenStream) -> TokenStream { FILE: tools/speedy_sync/src/main.rs type BlockCheckpoint (line 24) | pub struct BlockCheckpoint { type EpochCheckpoint (line 31) | pub struct EpochCheckpoint { type SpeedyCheckpoint (line 37) | pub struct SpeedyCheckpoint { type CreateCmd (line 49) | pub struct CreateCmd { type LoadCmd (line 58) | pub struct LoadCmd { type CliSubcmd (line 67) | enum CliSubcmd { type Cli (line 74) | struct Cli { function read_block_checkpoint (line 79) | fn read_block_checkpoint(store: &Store, block_hash: &CryptoHash) -> Bloc... function write_block_checkpoint (line 98) | fn write_block_checkpoint(store_update: &mut StoreUpdate, block_checkpoi... function write_epoch_checkpoint (line 120) | fn write_epoch_checkpoint(store_update: &mut StoreUpdate, epoch_checkpoi... function create_snapshot (line 126) | fn create_snapshot(create_cmd: CreateCmd) { function load_snapshot (line 206) | fn load_snapshot(load_cmd: LoadCmd) { function main (line 279) | fn main() { FILE: tools/state-parts-dump-check/src/cli.rs constant MAX_RETRIES (line 25) | const MAX_RETRIES: u32 = 5; type StatePartsDumpCheckCommand (line 28) | pub struct StatePartsDumpCheckCommand { method run (line 79) | pub fn run(&self) -> anyhow::Result<()> { type StatePartsDumpCheckSubCommand (line 49) | pub enum StatePartsDumpCheckSubCommand { method run (line 91) | pub fn run( type LoopCheckCommand (line 57) | pub struct LoopCheckCommand { method run (line 143) | fn run( type SingleCheckCommand (line 67) | pub struct SingleCheckCommand { method run (line 111) | fn run( type StatePartsDumpCheckStatus (line 193) | enum StatePartsDumpCheckStatus { type DumpCheckIterInfo (line 201) | struct DumpCheckIterInfo { function create_external_connection (line 207) | fn create_external_connection( function validate_state_part (line 232) | fn validate_state_part(state_root: &StateRoot, part_id: PartId, part: &[... function run_loop_all_shards (line 253) | fn run_loop_all_shards( function reset_num_parts_metrics (line 368) | fn reset_num_parts_metrics(chain_id: &str, shard_id: ShardId) -> () { function run_single_check_with_3_retries (line 378) | async fn run_single_check_with_3_retries( function run_single_check (line 434) | async fn run_single_check( function process_part_with_3_retries (line 555) | async fn process_part_with_3_retries( function process_part (line 614) | async fn process_part( function get_processing_epoch_information (line 644) | async fn get_processing_epoch_information( function get_previous_epoch_last_block_response (line 673) | async fn get_previous_epoch_last_block_response( FILE: tools/state-parts/src/cli.rs type StatePartsCommand (line 8) | pub struct StatePartsCommand { method run (line 63) | pub fn run(&self) -> anyhow::Result<()> { FILE: tools/state-parts/src/lib.rs type AppInfo (line 17) | struct AppInfo { method new (line 22) | fn new() -> Self { function handle_message (line 27) | fn handle_message( function state_parts_from_node (line 73) | async fn state_parts_from_node( FILE: tools/state-viewer/src/apply_chain_range.rs function timestamp_ms (line 24) | fn timestamp_ms() -> u64 { constant TGAS (line 28) | pub const TGAS: u64 = 1024 * 1024 * 1024 * 1024; type ProgressReporter (line 30) | struct ProgressReporter { method inc_and_report_progress (line 44) | pub fn inc_and_report_progress(&self, gas_burnt: u64) { function old_outcomes (line 85) | fn old_outcomes( function maybe_add_to_csv (line 107) | fn maybe_add_to_csv(csv_file_mutex: &Mutex>, s: &str) { function apply_block_from_range (line 114) | fn apply_block_from_range( function apply_chain_range (line 331) | pub fn apply_chain_range( function smart_equals (line 427) | fn smart_equals(extra1: &ChunkExtra, extra2: &ChunkExtra) -> bool { function setup (line 487) | fn setup(epoch_length: NumBlocks) -> (Store, Genesis, TestEnv) { function safe_produce_blocks (line 517) | fn safe_produce_blocks( function test_apply_chain_range (line 549) | fn test_apply_chain_range() { function test_apply_chain_range_no_chunks (line 591) | fn test_apply_chain_range_no_chunks() { FILE: tools/state-viewer/src/apply_chunk.rs function get_incoming_receipts (line 29) | fn get_incoming_receipts( function apply_chunk (line 81) | pub(crate) fn apply_chunk( type HashType (line 163) | enum HashType { function find_tx_or_receipt (line 168) | fn find_tx_or_receipt( function apply_tx_in_block (line 198) | fn apply_tx_in_block( function apply_tx_in_chunk (line 227) | fn apply_tx_in_chunk( function apply_tx (line 295) | pub(crate) fn apply_tx( function apply_receipt_in_block (line 327) | fn apply_receipt_in_block( function apply_receipt_in_chunk (line 357) | fn apply_receipt_in_chunk( function apply_receipt (line 450) | pub(crate) fn apply_receipt( function send_txs (line 501) | fn send_txs(env: &mut TestEnv, signers: &[InMemorySigner], height: u64, ... function test_apply_chunk (line 518) | fn test_apply_chunk() { function test_apply_tx_apply_receipt (line 603) | fn test_apply_tx_apply_receipt() { FILE: tools/state-viewer/src/cli.rs type StateViewerSubCommand (line 19) | pub enum StateViewerSubCommand { method run (line 100) | pub fn run( type ApplyCmd (line 159) | pub struct ApplyCmd { method run (line 169) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type ApplyChunkCmd (line 183) | pub struct ApplyChunkCmd { method run (line 193) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type ApplyRangeCmd (line 201) | pub struct ApplyRangeCmd { method run (line 221) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type ApplyReceiptCmd (line 239) | pub struct ApplyReceiptCmd { method run (line 247) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type ApplyTxCmd (line 254) | pub struct ApplyTxCmd { method run (line 262) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type ChainCmd (line 269) | pub struct ChainCmd { method run (line 281) | pub fn run(self, unc_config: UncConfig, store: Store) { type ChunksCmd (line 287) | pub struct ChunksCmd { method run (line 293) | pub fn run(self, unc_config: UncConfig, store: Store) { type ContractAccountsCmd (line 300) | pub struct ContractAccountsCmd { method run (line 306) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type DumpAccountStorageCmd (line 312) | pub struct DumpAccountStorageCmd { method run (line 324) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type DumpCodeCmd (line 338) | pub struct DumpCodeCmd { method run (line 346) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type DumpStateCmd (line 352) | pub struct DumpStateCmd { method run (line 380) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type DumpStateRedisCmd (line 396) | pub struct DumpStateRedisCmd { method run (line 403) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type DumpTxCmd (line 409) | pub struct DumpTxCmd { method run (line 426) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type EpochInfoCmd (line 441) | pub struct EpochInfoCmd { method run (line 454) | pub fn run(self, unc_config: UncConfig, store: Store) { type PartialChunksCmd (line 466) | pub struct PartialChunksCmd { method run (line 472) | pub fn run(self, unc_config: UncConfig, store: Store) { type ReceiptsCmd (line 480) | pub struct ReceiptsCmd { method run (line 486) | pub fn run(self, unc_config: UncConfig, store: Store) { type ReplayCmd (line 492) | pub struct ReplayCmd { method run (line 500) | pub fn run(self, unc_config: UncConfig, store: Store) { type RocksDBStatsCmd (line 506) | pub struct RocksDBStatsCmd { method run (line 513) | pub fn run(self, store_dir: &Path) { type ScanDbColumnCmd (line 519) | pub struct ScanDbColumnCmd { method run (line 546) | pub fn run(self, store: Store) { method prefix (line 559) | fn prefix( type StateChangesCmd (line 577) | pub struct StateChangesCmd { method run (line 583) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type StatePartsCmd (line 589) | pub struct StatePartsCmd { method run (line 611) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type StateStatsCmd (line 626) | pub struct StateStatsCmd {} method run (line 629) | pub fn run(self, home_dir: &Path, unc_config: UncConfig, store: Store) { type ViewChainCmd (line 635) | pub struct ViewChainCmd { method run (line 645) | pub fn run(self, unc_config: UncConfig, store: Store) { type ViewTrieFormat (line 651) | pub enum ViewTrieFormat { method value_variants (line 657) | fn value_variants<'a>() -> &'a [Self] { method to_possible_value (line 661) | fn to_possible_value(&self) -> Option { type RecordType (line 672) | pub enum RecordType { method value_variants (line 685) | fn value_variants<'a>() -> &'a [Self] { method to_possible_value (line 699) | fn to_possible_value(&self) -> Option { type ViewTrieCmd (line 719) | pub struct ViewTrieCmd { method run (line 761) | pub fn run(self, store: Store) { FILE: tools/state-viewer/src/commands.rs function apply_block (line 54) | pub(crate) fn apply_block( function apply_block_at_height (line 137) | pub(crate) fn apply_block_at_height( function apply_chunk (line 171) | pub(crate) fn apply_chunk( function apply_range (line 200) | pub(crate) fn apply_range( function apply_receipt (line 234) | pub(crate) fn apply_receipt( function apply_tx (line 255) | pub(crate) fn apply_tx( function dump_account_storage (line 276) | pub(crate) fn dump_account_storage( function dump_code (line 325) | pub(crate) fn dump_code( function dump_state (line 353) | pub(crate) fn dump_state( function dump_state_redis (line 401) | pub(crate) fn dump_state_redis( function dump_tx (line 418) | pub(crate) fn dump_tx( function get_chunk (line 450) | pub(crate) fn get_chunk(chunk_hash: ChunkHash, unc_config: UncConfig, st... function get_partial_chunk (line 460) | pub(crate) fn get_partial_chunk( function get_receipt (line 474) | pub(crate) fn get_receipt(receipt_id: CryptoHash, unc_config: UncConfig,... function chunk_extras_equal (line 484) | fn chunk_extras_equal(l: &ChunkExtra, r: &ChunkExtra) -> bool { function check_apply_block_result (line 513) | pub(crate) fn check_apply_block_result( function print_chain (line 550) | pub(crate) fn print_chain( function replay_chain (line 675) | pub(crate) fn replay_chain( function resulting_chunk_extra (line 704) | pub(crate) fn resulting_chunk_extra(result: &ApplyChunkResult, gas_limit... function state (line 717) | pub(crate) fn state(home_dir: &Path, unc_config: UncConfig, store: Store) { function view_chain (line 733) | pub(crate) fn view_chain( function check_block_chunk_existence (line 808) | pub(crate) fn check_block_chunk_existence(unc_config: UncConfig, store: ... function print_epoch_info (line 835) | pub(crate) fn print_epoch_info( function get_trie (line 860) | fn get_trie(store: Store, hash: CryptoHash, shard_id: u32, shard_version... function view_trie (line 868) | pub(crate) fn view_trie( function view_trie_leaves (line 892) | pub(crate) fn view_trie_leaves( type LoadTrieMode (line 915) | enum LoadTrieMode { function load_trie (line 924) | fn load_trie( function load_trie_stop_at_height (line 932) | fn load_trie_stop_at_height( function format_hash (line 999) | fn format_hash(h: CryptoHash, show_full_hashes: bool) -> String { function chunk_mask_to_str (line 1007) | pub fn chunk_mask_to_str(mask: &[bool]) -> String { function contract_accounts (line 1011) | pub(crate) fn contract_accounts( function clear_cache (line 1057) | pub(crate) fn clear_cache(store: Store) { function print_state_stats (line 1065) | pub(crate) fn print_state_stats(home_dir: &Path, store: Store, unc_confi... function print_state_stats_for_shard_uid (line 1078) | fn print_state_stats_for_shard_uid( function get_state_stats_group_by (line 1118) | fn get_state_stats_group_by<'a>( function get_state_stats_account_iter (line 1168) | fn get_state_stats_account_iter<'a>( function read_flat_state_value (line 1190) | fn read_flat_state_value( type StateStats (line 1202) | pub struct StateStats { method fmt (line 1216) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method push (line 1246) | pub fn push(&mut self, state_stats_account: StateStatsAccount) { type StateStatsStateRecord (line 1260) | struct StateStatsStateRecord { method cmp (line 1267) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { method partial_cmp (line 1273) | fn partial_cmp(&self, other: &Self) -> Option { type StateStatsAccount (line 1281) | pub struct StateStatsAccount { method fmt (line 1299) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method cmp (line 1287) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { method partial_cmp (line 1293) | fn partial_cmp(&self, other: &Self) -> Option { function test_latest_trie_state (line 1328) | fn test_latest_trie_state() { FILE: tools/state-viewer/src/contract_accounts.rs type Result (line 14) | type Result = std::result::Result; type ContractAccountSummary (line 17) | pub(crate) struct ContractAccountSummary { method fmt (line 407) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ContractAccount (line 27) | pub(crate) struct ContractAccount { method in_trie (line 144) | pub(crate) fn in_trie( method in_tries (line 154) | pub(crate) fn in_tries( method read_streaming_fields (line 171) | fn read_streaming_fields( method fmt (line 401) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ContractInfo (line 34) | pub(crate) struct ContractInfo { type ContractAccountFilter (line 68) | pub(crate) struct ContractAccountFilter { method write_header (line 455) | pub(crate) fn write_header(&self, out: &mut impl std::io::Write) -> st... method include_account (line 472) | fn include_account(&self, account: &AccountId) -> bool { method can_stream (line 484) | pub(crate) fn can_stream(&self) -> bool { type ContractAccountIterator (line 98) | pub(crate) struct ContractAccountIterator { method new (line 193) | pub(crate) fn new(trie: Trie, filter: ContractAccountFilter) -> anyhow... type ContractAccountError (line 107) | pub(crate) enum ContractAccountError { type ActionType (line 126) | pub(crate) enum ActionType { type Summary (line 217) | pub(crate) trait Summary { method summary (line 218) | fn summary(self, store: &Store, filter: &ContractAccountFilter) -> Con... method summary (line 224) | fn summary(self, store: &Store, filter: &ContractAccountFilter) -> Con... function try_find_actions_spawned_by_receipt (line 282) | fn try_find_actions_spawned_by_receipt( type Item (line 371) | type Item = Result; method next (line 373) | fn next(&mut self) -> Option { function fmt_account_id_and_info (line 427) | fn fmt_account_id_and_info( function test_three_contract_sizes (line 510) | fn test_three_contract_sizes() { function test_simple_summary (line 541) | fn test_simple_summary() { function test_summary (line 565) | fn test_summary() { function create_trie (line 634) | fn create_trie(initial: Vec<(Vec, Option>)>) -> Trie { function create_store_and_trie (line 639) | fn create_store_and_trie( function contract_tuple (line 655) | fn contract_tuple(account: &str, num_bytes: u8) -> (Vec, Option (Vec, Option>) { function access_key_tuple (line 668) | fn access_key_tuple(account: &str, num: u8) -> (Vec, Option>) { function create_execution_outcome (line 682) | fn create_execution_outcome(receipt_ids: Vec) -> ExecutionOu... function store_tripple (line 699) | fn store_tripple( function full_filter (line 708) | fn full_filter() -> ContractAccountFilter { function create_receipt_with_actions (line 720) | fn create_receipt_with_actions(sender: &str, receiver: &str, actions: Ve... FILE: tools/state-viewer/src/epoch_info.rs type EpochSelection (line 16) | pub(crate) enum EpochSelection { function print_epoch_info (line 33) | pub(crate) fn print_epoch_info( function display_block_and_chunk_producers (line 84) | fn display_block_and_chunk_producers( function get_block_height_range (line 111) | fn get_block_height_range( function get_epoch_ids (line 162) | fn get_epoch_ids( function iterate_and_filter (line 205) | pub(crate) fn iterate_and_filter( function display_kickouts (line 227) | fn display_kickouts(epoch_info: &EpochInfo) { function display_epoch_info (line 235) | fn display_epoch_info( function display_validator_info (line 257) | fn display_validator_info( FILE: tools/state-viewer/src/rocksdb_stats.rs type SSTFileData (line 6) | struct SSTFileData { method for_sst_file (line 22) | fn for_sst_file(file_path: &Path) -> anyhow::Result { method from_sst_file_dump (line 41) | fn from_sst_file_dump(output: &str) -> anyhow::Result { method merge (line 75) | fn merge(&mut self, other: &Self) { constant SST_FILE_DUMP_LINES (line 17) | const SST_FILE_DUMP_LINES: [&str; 5] = type ColumnsData (line 84) | struct ColumnsData(HashMap); method new (line 87) | fn new() -> Self { method add_sst_data (line 91) | fn add_sst_data(&mut self, data: SSTFileData) { method into_vec (line 95) | fn into_vec(self) -> Vec { function get_rocksdb_stats (line 102) | pub fn get_rocksdb_stats(store_dir: &Path, file: Option) -> any... FILE: tools/state-viewer/src/scan_db.rs function find_db_col (line 28) | fn find_db_col(col: &str) -> DBCol { function scan_db_column (line 40) | pub(crate) fn scan_db_column( function format_key_and_value (line 65) | fn format_key_and_value<'a>( function format_block_misc_value (line 225) | fn format_block_misc_value<'a>(key: &'a [u8], value: &'a [u8]) -> Box EpochId { function get_any_block_hash_of_epoch (line 277) | fn get_any_block_hash_of_epoch(epoch_info: &EpochInfo, chain: &Chain) ->... function load_state_parts (line 307) | async fn load_state_parts( function print_state_part (line 401) | fn print_state_part(state_root: &StateRoot, _part_id: PartId, data: &[u8... function dump_state_parts (line 416) | async fn dump_state_parts( function get_first_state_record (line 489) | fn get_first_state_record(state_root: &StateRoot, data: &[u8]) -> Option... function read_state_header (line 503) | fn read_state_header( function finalize_state_sync (line 519) | fn finalize_state_sync(sync_hash: CryptoHash, shard_id: ShardId, chain: ... function get_part_ids (line 523) | fn get_part_ids(part_from: Option, part_to: Option, num_parts:... FILE: tools/state-viewer/src/trie_iteration_benchmark.rs type TrieIterationType (line 17) | pub enum TrieIterationType { method value_variants (line 23) | fn value_variants<'a>() -> &'a [Self] { method to_possible_value (line 27) | fn to_possible_value(&self) -> Option { type ColumnCountMap (line 36) | struct ColumnCountMap(HashMap); method col_to_string (line 39) | fn col_to_string(col: u8) -> &'static str { method fmt (line 56) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type TrieIterationBenchmarkStats (line 66) | pub struct TrieIterationBenchmarkStats { method new (line 72) | pub fn new() -> Self { method bump_visited (line 76) | pub fn bump_visited(&mut self, col: u8) { method bump_pruned (line 81) | pub fn bump_pruned(&mut self, col: u8) { type TrieIterationBenchmarkCmd (line 88) | pub struct TrieIterationBenchmarkCmd { method run (line 103) | pub fn run(self, unc_config: UncConfig, store: Store) { method get_trie (line 136) | fn get_trie( method iter_trie (line 153) | fn iter_trie(&self, trie: &Trie) { method shallow_iter_prune_condition (line 217) | fn shallow_iter_prune_condition( method key (line 271) | fn key(key_nibbles: &Vec) -> Vec { method partial_parse_account_id (line 280) | fn partial_parse_account_id(col: u8, key: &Vec, col_name: &str) ->... method partial_parse_account_id_from_access_key (line 294) | fn partial_parse_account_id_from_access_key(key: &Vec, col_name: &... FILE: tools/state-viewer/src/tx_dump.rs function dump_tx_from_block (line 8) | pub fn dump_tx_from_block( function should_include_signed_transaction (line 32) | fn should_include_signed_transaction( FILE: tools/storage-usage-delta-calculator/src/main.rs function main (line 14) | async fn main() -> anyhow::Result<()> { FILE: tools/undo-block/src/cli.rs type UndoBlockCommand (line 9) | pub struct UndoBlockCommand { method run (line 16) | pub fn run( FILE: tools/undo-block/src/lib.rs function undo_block (line 9) | pub fn undo_block( function undo_only_block_head (line 50) | pub fn undo_only_block_head( FILE: utils/config/src/lib.rs function strip_comments_from_json_str (line 9) | pub fn strip_comments_from_json_str(json_str: &String) -> std::io::Resul... function strip_comments_from_json_reader (line 16) | pub fn strip_comments_from_json_reader(reader: impl Read) -> impl Read { type ValidationError (line 23) | pub enum ValidationError { type ValidationErrors (line 41) | pub struct ValidationErrors(Vec); method new (line 44) | pub fn new() -> Self { method is_empty (line 48) | pub fn is_empty(&self) -> bool { method push_errors (line 52) | pub fn push_errors(&mut self, error: ValidationError) { method push_config_semantics_error (line 56) | pub fn push_config_semantics_error(&mut self, error_message: String) { method push_config_file_error (line 60) | pub fn push_config_file_error(&mut self, error_message: String) { method push_genesis_semantics_error (line 64) | pub fn push_genesis_semantics_error(&mut self, error_message: String) { method push_genesis_file_error (line 68) | pub fn push_genesis_file_error(&mut self, error_message: String) { method push_node_key_file_error (line 72) | pub fn push_node_key_file_error(&mut self, error_message: String) { method push_validator_key_file_error (line 76) | pub fn push_validator_key_file_error(&mut self, error_message: String) { method push_cross_file_semantics_error (line 80) | pub fn push_cross_file_semantics_error(&mut self, error_message: Strin... method generate_final_error_message (line 85) | fn generate_final_error_message(&self) -> Option { method generate_error_message_per_type (line 109) | pub fn generate_error_message_per_type(&self) -> Option { method return_ok_or_error (line 125) | pub fn return_ok_or_error(&self) -> anyhow::Result<()> { FILE: utils/fmt/src/lib.rs type Bytes (line 33) | pub struct Bytes<'a>(pub &'a [u8]); function fmt (line 36) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 42) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function from_str (line 55) | pub fn from_str(s: &str) -> Result, Box(pub T); function fmt (line 80) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 86) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 92) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 101) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 107) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 113) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type StorageKey (line 149) | pub struct StorageKey<'a>(pub &'a [u8]); function fmt (line 152) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 158) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Slice (line 168) | pub struct Slice<'a, T>(pub &'a [T]); function fmt (line 171) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function bytes_format (line 195) | fn bytes_format( function truncated_bytes_format (line 213) | fn truncated_bytes_format(bytes: &[u8], fmt: &mut std::fmt::Formatter<'_... function test_bytes (line 295) | fn test_bytes() { function test_truncated_bytes (line 300) | fn test_truncated_bytes() { function test_storage_key (line 305) | fn test_storage_key() { function test_slice (line 310) | fn test_slice() { FILE: utils/mainnet-res/src/lib.rs function mainnet_restored_receipts (line 5) | pub fn mainnet_restored_receipts() -> ReceiptResult { function mainnet_storage_usage_delta (line 11) | pub fn mainnet_storage_usage_delta() -> Vec<(AccountId, u64)> { function mainnet_genesis (line 16) | pub fn mainnet_genesis() -> Genesis { FILE: utils/mainnet-res/tests/load_genesis.rs function test_load_genesis (line 4) | fn test_load_genesis() { FILE: utils/stdx/src/lib.rs function split_array (line 9) | pub fn split_array( function split_array_mut (line 20) | pub fn split_array_mut( function test_split (line 31) | fn test_split() { function join_array (line 37) | pub fn join_array( function test_join (line 52) | fn test_join() { function as_chunks (line 58) | pub fn as_chunks(slice: &[T]) -> (&[[T; N]], &[T]) { type InexactChunkingError (line 73) | pub struct InexactChunkingError { method fmt (line 79) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function as_chunks_exact (line 89) | pub fn as_chunks_exact(slice: &[T]) -> Result<&[[T; N... function test_as_chunks (line 99) | fn test_as_chunks() { type AssertEqSum (line 109) | struct AssertEqSum; constant OK (line 111) | const OK: () = assert!(S == A + B); type AssertNonZero (line 115) | struct AssertNonZero; constant OK (line 117) | const OK: () = assert!(N != 0); FILE: utils/unc-cache/benches/cache.rs function bench_lru (line 8) | fn bench_lru(bench: &mut Bencher) { function bench_lru_cache (line 19) | fn bench_lru_cache(bench: &mut Bencher) { FILE: utils/unc-cache/src/cell.rs type CellLruCache (line 8) | pub struct CellLruCache { function new (line 18) | pub fn new(cap: usize) -> Self { function len (line 23) | pub fn len(&self) -> usize { function is_empty (line 28) | pub fn is_empty(&self) -> bool { function get_or_put (line 35) | pub fn get_or_put(&self, key: K, f: F) -> V function get_or_try_put (line 51) | pub fn get_or_try_put(&self, key: K, f: F) -> Result function put (line 67) | pub fn put(&self, key: K, value: V) { function pop (line 71) | pub fn pop(&self, key: &Q) -> Option function get (line 81) | pub fn get(&self, key: &Q) -> Option function test_cache (line 95) | fn test_cache() { FILE: utils/unc-cache/src/sync.rs type SyncLruCache (line 8) | pub struct SyncLruCache { function new (line 18) | pub fn new(cap: usize) -> Self { function len (line 23) | pub fn len(&self) -> usize { function is_empty (line 28) | pub fn is_empty(&self) -> bool { function get_or_put (line 35) | pub fn get_or_put(&self, key: K, f: F) -> V function get_or_try_put (line 51) | pub fn get_or_try_put(&self, key: K, f: F) -> Result function put (line 67) | pub fn put(&self, key: K, value: V) { function get (line 73) | pub fn get(&self, key: &K) -> Option { function test_cache (line 83) | fn test_cache() { FILE: utils/unc-performance-metrics-macros/src/lib.rs function perf (line 37) | pub fn perf(_attr: TokenStream, item: TokenStream) -> TokenStream { function perf_with_debug (line 72) | pub fn perf_with_debug(_attr: TokenStream, item: TokenStream) -> TokenSt... function perf_internal (line 76) | fn perf_internal(_attr: TokenStream, item: TokenStream, debug: bool) -> ... FILE: utils/unc-performance-metrics/src/actix_disabled.rs function spawn (line 3) | pub fn spawn(_class_name: &'static str, f: F) function run_later (line 10) | pub fn run_later(ctx: &mut B, dur: Duration, f: F) -> actix::Sp... FILE: utils/unc-performance-metrics/src/actix_enabled.rs function spawn (line 7) | pub fn spawn(class_name: &'static str, f: F) function run_later (line 17) | pub fn run_later(ctx: &mut B, dur: Duration, f: F) -> actix::Sp... FILE: utils/unc-performance-metrics/src/process.rs function schedule_printing_performance_stats (line 6) | pub fn schedule_printing_performance_stats(sleep_time: Duration) { FILE: utils/unc-performance-metrics/src/stats_disabled.rs function measure_performance (line 3) | pub fn measure_performance( function measure_performance_with_debug (line 14) | pub fn measure_performance_with_debug( function print_performance_stats (line 26) | pub fn print_performance_stats(_sleep_time: Duration) {} FILE: utils/unc-performance-metrics/src/stats_enabled.rs constant SLOW_CALL_THRESHOLD (line 15) | pub(crate) const SLOW_CALL_THRESHOLD: Duration = Duration::from_millis(5... constant MIN_OCCUPANCY_RATIO_THRESHOLD (line 16) | const MIN_OCCUPANCY_RATIO_THRESHOLD: f64 = 0.02; function get_thread_stats_logger (line 22) | pub fn get_thread_stats_logger() -> Arc> { type Entry (line 35) | struct Entry { type ThreadStats (line 41) | pub struct ThreadStats { method new (line 58) | fn new() -> Self { method log_add_write_buffer (line 75) | pub fn log_add_write_buffer(&mut self, bytes: usize, buf_len: usize, b... method log_drain_write_buffer (line 82) | pub fn log_drain_write_buffer(&mut self, bytes: usize, buf_len: usize,... method pre_log (line 88) | pub fn pre_log(&mut self, now: Instant) { method log (line 92) | pub fn log( method print_stats_and_clear (line 120) | fn print_stats_and_clear( method clear (line 187) | fn clear(&mut self) { type Stats (line 194) | pub(crate) struct Stats { method new (line 227) | fn new() -> Self { method add_entry (line 231) | pub(crate) fn add_entry(&mut self, local_stats: &Arc ByteSize { function get_c_memory_usage_cur_thread (line 208) | fn get_c_memory_usage_cur_thread() -> ByteSize { function get_c_memory_usage (line 213) | fn get_c_memory_usage() -> ByteSize { function get_c_memory_usage (line 222) | fn get_c_memory_usage() -> ByteSize { function measure_performance (line 262) | pub fn measure_performance( function measure_performance_with_debug (line 273) | pub fn measure_performance_with_debug( function measure_performance_internal (line 286) | pub fn measure_performance_internal( type MyFuture (line 326) | pub struct MyFuture type Output (line 340) | type Output = (); function poll (line 342) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { function print_performance_stats (line 375) | pub fn print_performance_stats(sleep_time: Duration) { FILE: utils/unc-stable-hasher/src/lib.rs type StableHasher (line 7) | pub struct StableHasher(pub SipHasher); method new (line 11) | pub fn new() -> StableHasher { method finish (line 17) | fn finish(&self) -> u64 { method write (line 20) | fn write(&mut self, bytes: &[u8]) { function test_stable_hasher (line 32) | fn test_stable_hasher() {