MCPcopy Create free account

hub / github.com/autonomys/subspace / functions

Functions4,141 in github.com/autonomys/subspace

↓ 3 callersMethodflush_value
( &mut self, callback: &mut impl ProcessEncodedNode<TrieHash<T>>, target_depth: usize,
crates/sp-domains/src/valued_trie.rs:175
↓ 3 callersFunctiongenerate_protocol_name
Generate the state protocol name from the genesis hash and fork id.
crates/subspace-service/src/mmr/request_handler.rs:74
↓ 3 callersMethodget_aux
(&self, key: &[u8])
domains/client/domain-operator/src/aux_schema.rs:392
↓ 3 callersMethodget_fft_settings
Get FFT settings for specified number of values, uses internal cache to avoid derivation every time.
shared/subspace-kzg/src/lib.rs:820
↓ 3 callersFunctionget_offchain_key
(index: NodeIndex)
crates/subspace-service/src/mmr.rs:9
↓ 3 callersMethodget_piece_from_archival_storage
Get piece from archival storage (L1). The algorithm tries to get a piece from currently connected peers and falls back to random walking.
crates/subspace-networking/src/utils/piece_provider.rs:233
↓ 3 callersMethodget_piece_from_cache
Returns piece by its index from farmer's piece cache (L2)
crates/subspace-networking/src/utils/piece_provider.rs:144
↓ 3 callersMethodget_piece_slow_internal
Slow way to get piece using archival storage
crates/subspace-farmer/src/farmer_piece_getter.rs:158
↓ 3 callersMethodget_runtime_code
(&self)
crates/sp-domains/src/storage.rs:91
↓ 3 callersMethodget_stored_piece
(&self, key: &KeyWithDistance)
crates/subspace-farmer/src/farmer_cache/piece_cache_state.rs:67
↓ 3 callersMethodhash
(&self, state: &mut H)
crates/subspace-networking/src/utils/key_with_distance.rs:60
↓ 3 callersFunctionidentifier_from_x509_cert
( issuer_id: Option<Identifier>, cert: &x509_parser::prelude::X509Certificate<'_>, )
domains/pallets/auto-id/src/tests.rs:138
↓ 3 callersMethodimport_block
( &self, block: BlockImportParams<Block>, )
crates/subspace-service/src/lib.rs:191
↓ 3 callersFunctioninitialize_archiver
( segment_headers_store: &SegmentHeadersStore<AS>, subspace_link: &SubspaceLink<Block>, client: &C
crates/sc-consensus-subspace/src/archiver.rs:583
↓ 3 callersFunctioninitiate_transfer
(dst_chain_id: ChainId, account: AccountId, amount: Balance)
domains/pallets/transporter/src/tests.rs:106
↓ 3 callersFunctioninitiate_transfer_on_chain
(chain_a_ext: &mut TestExternalities)
domains/pallets/messenger/src/tests.rs:853
↓ 3 callersMethodinto_extrinsics
Returns the bundle body consuming the bundle. ie extrinsics.
crates/sp-domains/src/bundle.rs:229
↓ 3 callersMethodis_empty
(&self)
crates/sp-domains/src/valued_trie.rs:167
↓ 3 callersMethodis_enabled_for_block
Does the supplied block number need object mappings?
crates/sc-consensus-subspace/src/archiver.rs:389
↓ 3 callersFunctionis_global_address_or_dns
This test is successful only for global IP addresses and DNS names.
crates/subspace-networking/src/utils.rs:50
↓ 3 callersMethodis_output_valid
Verify sequence of proofs of time that covers `slots` slots starting at `slot` with provided initial `seed`. In case `maybe_parameters_change` is pre
crates/sc-proof-of-time/src/verifier.rs:99
↓ 3 callersMethodkey
(&self)
crates/subspace-core-primitives/src/pot.rs:191
↓ 3 callersFunctionkzg_instance
()
crates/pallet-subspace/src/mock.rs:50
↓ 3 callersMethodlast_segment_header
Returns last observed segment header
crates/sc-consensus-subspace/src/archiver.rs:168
↓ 3 callersMethodlatest_confirmed_domain_block
( domain_id: DomainId, )
crates/pallet-domains/src/lib.rs:2907
↓ 3 callersFunctionmake_transcript
Generates a domain-specific vrf transcript from given global_challenge.
crates/sp-domains/src/bundle_producer_election.rs:12
↓ 3 callersFunctionmax_supported_object_length
()
shared/subspace-data-retrieval/src/object_fetcher.rs:42
↓ 3 callersFunctionmax_table_entries
(k: u8)
crates/subspace-proof-of-space/src/chiapos/table.rs:111
↓ 3 callersMethodmetadata
(&self)
crates/subspace-farmer/src/single_disk_farm.rs:605
↓ 3 callersMethodnext_source_index
(&self)
crates/subspace-core-primitives/src/pieces.rs:175
↓ 3 callersMethodon_sector_update
( &self, callback: HandlerFn<(SectorIndex, SectorUpdate)>, )
crates/subspace-farmer/src/cluster/farmer.rs:271
↓ 3 callersMethodpartial
Return the number of partially archived bytes if the progress is not complete.
crates/subspace-core-primitives/src/segments.rs:348
↓ 3 callersMethodpiece
(&self, piece_index: PieceIndex)
crates/subspace-farmer/src/farmer_cache/tests.rs:110
↓ 3 callersMethodpiece_reader
(&self)
crates/subspace-farmer/src/cluster/farmer.rs:264
↓ 3 callersMethodplotted_sectors
(&self)
crates/subspace-farmer/src/cluster/farmer.rs:257
↓ 3 callersMethodpreallocate
(&self, len: u64)
crates/subspace-farmer-components/src/file_ext.rs:110
↓ 3 callersMethodprune_txs_from_pool
( &self, tx_hashes: &[BlockHashFor<Block>], )
test/subspace-test-service/src/lib.rs:956
↓ 3 callersMethodpush
Push a new segment header to the cache, if it is the next segment header. Otherwise, skip the push.
crates/subspace-farmer/src/node_client/caching_proxy_node_client.rs:38
↓ 3 callersMethodpush_stored_piece
( &mut self, key: KeyWithDistance, cache_offset: FarmerCacheOffset, )
crates/subspace-farmer/src/farmer_cache/piece_cache_state.rs:75
↓ 3 callersMethodread_exact_at_internal
( &self, scratch_buffer: &'a mut Vec<AlignedSectorSize>, bytes_to_read: usize,
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:187
↓ 3 callersMethodread_piece_internal
( &self, offset: u32, element: &mut [u8], )
crates/subspace-farmer/src/disk_piece_cache.rs:446
↓ 3 callersFunctionrecord_has_s_bucket_chunk
Checks if record has corresponding s-bucket chunk, returns `Some(true)` if yes and chunk is encoded, `Some(false)` if yes and chunk is not encoded, `N
crates/subspace-farmer-components/src/sector.rs:582
↓ 3 callersMethodremaining_bytes
Returns the total length of the data that has not been read.
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:759
↓ 3 callersMethodremove_known_peer_addresses
(&mut self, _peer_id: PeerId, _addresses: Vec<Multiaddr>)
crates/subspace-networking/src/behavior/persistent_parameters.rs:236
↓ 3 callersFunctionrenew_issuer_auto_id
(auto_id_identifier: Identifier)
domains/pallets/auto-id/src/tests.rs:193
↓ 3 callersFunctionrenew_leaf_auto_id
(auto_id_identifier: Identifier, issuer_id: Identifier)
domains/pallets/auto-id/src/tests.rs:225
↓ 3 callersFunctionrocm_devices
Returns [`RocmDevice`] for each available device
shared/subspace-proof-of-space-gpu/src/rocm.rs:52
↓ 3 callersMethodrun
Starts the Gossip message worker.
domains/client/cross-domain-message-gossip/src/gossip_worker.rs:166
↓ 3 callersMethodruntime_code
(&self)
domains/client/block-builder/src/custom_api.rs:270
↓ 3 callersMethodruntime_id
Returns the runtime ID for the supplied `domain_id`, if that domain exists.
crates/pallet-domains/src/lib.rs:2272
↓ 3 callersFunctionsample_cached_piece_indices
( pieces_to_download: I, cached_pieces: &HashSet<PieceIndex>, not_cached_pieces: &HashSet<PieceInd
crates/subspace-networking/src/utils/piece_provider.rs:796
↓ 3 callersFunctionsector_record_chunks_size
(pieces_in_sector: u16)
crates/subspace-farmer-components/src/sector.rs:27
↓ 3 callersMethodsegment_headers
( &self, _segment_indexes: Vec<SegmentIndex>, )
crates/subspace-farmer/src/farmer_cache/tests.rs:103
↓ 3 callersMethodsend_command
( &self, make_command: impl FnOnce(oneshot::Sender<T>) -> ConsensusCommand, )
test/subspace-farmerless-dev-node/src/manual_rpc.rs:36
↓ 3 callersMethodserial
(&self)
domains/pallets/auto-id/src/lib.rs:116
↓ 3 callersFunctionset_code
()
domains/pallets/executive/src/benchmarking.rs:19
↓ 3 callersMethodset_domain_block_number
Sets domain block number on ER
crates/sp-domains/src/execution_receipt.rs:266
↓ 3 callersMethodset_partial_archived
Sets new number of partially archived bytes.
crates/subspace-core-primitives/src/segments.rs:392
↓ 3 callersMethodshortest_object_length
Returns the shortest possible length for the object, based on potential segment padding. If the segment padding is outside the length prefix, the obj
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:615
↓ 3 callersMethodshould_include_key
(&self, peer_id: PeerId, key: PieceIndex)
crates/subspace-farmer/src/farmer_cache/piece_cache_state.rs:154
↓ 3 callersFunctionspawn_tasks
( params: SpawnTasksParams<TBl, TCl, TExPool, TRpc, TBackend>, )
crates/subspace-service/src/task_spawner.rs:37
↓ 3 callersFunctionstore_key_in_keystore
( keystore_path: PathBuf, suri: &SecretString, password: Option<SecretString>, )
crates/subspace-node/src/commands/shared.rs:42
↓ 3 callersFunctionstrip_sync_unsafe_cell
(value: Box<[SyncUnsafeCell<T>; N]>)
crates/subspace-proof-of-space/src/chiapos/table.rs:117
↓ 3 callersMethodsubmit_consensus_extrinsic
( &self, maybe_nonce: Option<Nonce>, call: RuntimeCall, )
crates/subspace-malicious-operator/src/malicious_bundle_producer.rs:365
↓ 3 callersFunctionsubspace_genesis_config
Configure initial storage state for FRAME modules.
crates/subspace-node/src/chain_spec.rs:397
↓ 3 callersMethodtake_runtime_code
(&mut self)
crates/sp-domains/src/storage.rs:97
↓ 3 callersMethodtargeted_bad_receipt_hash
(&self)
crates/sp-domains-fraud-proof/src/fraud_proof.rs:365
↓ 3 callersFunctionthread_pool_core_indices
Thread indices for each thread pool
crates/subspace-farmer/src/utils.rs:277
↓ 3 callersFunctionto_chia_seed
Chia does this for some reason 🤷
crates/subspace-proof-of-space/src/chiapos/table/tests.rs:26
↓ 3 callersMethodto_owned_er
Returns a cloned ER. Used in tests.
crates/sp-domains/src/execution_receipt.rs:121
↓ 3 callersMethodto_u64_floor
(self)
crates/sp-domains/src/offline_operators.rs:64
↓ 3 callersFunctiontotal_balance
Return the total balance of the bundle storage fund the given `operator_id`
crates/pallet-domains/src/bundle_storage_fund.rs:221
↓ 3 callersMethodtransaction_pool
( &self, is_dev: bool, )
crates/subspace-node/src/domain/cli.rs:251
↓ 3 callersMethodtrie_cache_maximum_size
Specify the trie cache maximum size.
crates/subspace-node/src/commands/run/shared.rs:108
↓ 3 callersMethodtry_lock
Try to acquire exclusive lock on the single disk farm info file, ensuring no concurrent edits by cooperating processes is done
crates/subspace-farmer/src/single_disk_farm.rs:190
↓ 3 callersMethodtry_reconstruct_object
Check the hash against all possible objects with enough data. If a possible object's data doesn't match the mapping hash, its length is removed. Retu
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:561
↓ 3 callersFunctionupgrade_domain_runtime
()
crates/pallet-domains/src/benchmarking.rs:523
↓ 3 callersFunctionvalidate_singleton_receipt
()
crates/pallet-domains/src/benchmarking.rs:995
↓ 3 callersFunctionvalidate_submit_bundle
()
crates/pallet-domains/src/benchmarking.rs:933
↓ 3 callersFunctionverify
Verify checkpoint, number of iterations is set across uniformly distributed checkpoints. Returns error if `iterations` is not a multiple of checkpoin
crates/subspace-proof-of-time/src/lib.rs:51
↓ 3 callersFunctionvote
()
crates/pallet-subspace/src/benchmarking.rs:82
↓ 3 callersMethodvrf_hash
Computes the VRF hash.
crates/sp-domains/src/lib.rs:298
↓ 3 callersMethodwake
(&self)
crates/subspace-networking/src/protocols/reserved_peers.rs:139
↓ 3 callersMethodwitness_mut
(&mut self)
crates/subspace-core-primitives/src/pieces.rs:1388
↓ 3 callersFunctionwrite_sector
Write encoded sector into sector output
crates/subspace-farmer-components/src/plotting.rs:520
↓ 2 callersMethodaccount_nonce
Get the nonce of the node account
test/subspace-test-service/src/lib.rs:1323
↓ 2 callersMethodacknowledge_archived_segment_header
( &self, segment_index: SegmentIndex, )
crates/subspace-farmer/src/farmer_cache/tests.rs:124
↓ 2 callersMethodacknowledge_archived_segment_processing
(&self, segment_index: SegmentIndex)
crates/subspace-farmer/src/farmer_cache.rs:844
↓ 2 callersMethodadd_error
(&mut self)
crates/subspace-networking/examples/benchmark.rs:191
↓ 2 callersMethodadd_farm
Add new farm with corresponding piece reader
crates/subspace-farmer/src/farm/plotted_pieces.rs:158
↓ 2 callersMethodadd_found
(&mut self)
crates/subspace-networking/examples/benchmark.rs:183
↓ 2 callersMethodadd_known_peer
(&mut self, _: PeerId, _: Vec<Multiaddr>)
crates/subspace-networking/src/behavior/persistent_parameters.rs:234
↓ 2 callersMethodadd_not_found
(&mut self)
crates/subspace-networking/examples/benchmark.rs:187
↓ 2 callersMethodadd_peer
(&mut self, peer_id: &PeerId, addresses: Vec<Multiaddr>)
crates/subspace-networking/src/utils/piece_provider.rs:383
↓ 2 callersMethodadd_piece_data_with_padding
Add data with potential padding to the end of this partial data. This method can also handle data that doesn't actually have any padding. Panics if t
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:202
↓ 2 callersFunctionadd_rewards
Helper function to add rewards to an operator
crates/pallet-domains/src/nominator_position.rs:321
↓ 2 callersMethodadvise_random_access
(&self)
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:68
↓ 2 callersFunctionappend_p2p_suffix
Appends a P2p protocol suffix to the multiaddress if required.
crates/subspace-networking/src/behavior/persistent_parameters.rs:714
↓ 2 callersMethodas_mut
(&mut self)
crates/subspace-core-primitives/src/pieces.rs:325
↓ 2 callersFunctionaudit_sector_sync
Audit a single sector and generate a stream of solutions. This is primarily helpful in test environment, prefer [`audit_plot_sync`] for auditing real
crates/subspace-farmer-components/src/auditing.rs:57
← previousnext →501–600 of 4,141, ranked by callers