Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/autonomys/subspace
/ functions
Functions
4,141 in github.com/autonomys/subspace
⨍
Functions
4,141
◇
Types & classes
1,352
↓ 2 callers
Method
best_solution_distance
(&self)
crates/subspace-farmer-components/src/proving.rs:344
↓ 2 callers
Function
bidirectional_distance
(a: &T, b: &T)
crates/subspace-core-primitives/src/solutions.rs:332
↓ 2 callers
Function
blake3_hash_with_key
(key: &[u8; 32], data: &[u8])
crates/subspace-core-primitives/src/hashes.rs:135
↓ 2 callers
Method
block_import
(&self, client: Arc<FullClient<Block, RuntimeApi>>)
domains/service/src/providers.rs:42
↓ 2 callers
Method
block_importing_notification_stream
Get stream with notifications about each imported block right BEFORE import actually happens. NOTE: all Subspace checks have already happened for thi
crates/sc-consensus-subspace/src/lib.rs:113
↓ 2 callers
Method
block_number
(&self)
crates/sp-subspace-mmr/src/lib.rs:39
↓ 2 callers
Function
block_weight_cleaned_to_key
The aux storage key recording how far the canonical-history sweep has progressed.
crates/sc-consensus-subspace/src/aux_schema.rs:30
↓ 2 callers
Method
bootstrap
Bootstraps Kademlia network
crates/subspace-networking/src/node_runner.rs:299
↓ 2 callers
Method
build
(&self)
domains/pallets/domain-id/src/lib.rs:52
↓ 2 callers
Method
build
(&self)
crates/pallet-subspace/src/lib.rs:354
↓ 2 callers
Method
build_auto_id_node
Build an Auto ID domain node
domains/test/service/src/domain.rs:756
↓ 2 callers
Function
build_network
( params: BuildNetworkParams<Block, Net, TxPool, IQ, Client>, )
domains/service/src/network.rs:26
↓ 2 callers
Method
bundles_extrinsics_roots
Returns extrinsics roots of each bundle.
crates/sp-domains/src/execution_receipt.rs:236
↓ 2 callers
Function
byte_position_in_extract_raw_data
Returns the byte position of a piece in the raw data, after checking it is valid. Returns `None` if the piece index is not in the supplied pieces.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:406
↓ 2 callers
Method
calculate_checkpoints
Derive next seed, proving might be used if necessary
crates/sc-proof-of-time/src/verifier.rs:160
↓ 2 callers
Function
calculate_left_targets
()
crates/subspace-proof-of-space/src/chiapos/table.rs:294
↓ 2 callers
Function
calculate_solution_distance
Calculates solution distance for given parameters, is used as a primitive to check whether solution distance is within solution range (see [`is_within
crates/subspace-verification/src/lib.rs:120
↓ 2 callers
Method
chain_id
(&self, is_dev: bool)
crates/subspace-node/src/domain/cli.rs:230
↓ 2 callers
Function
channel_detail_key
( src_chain_id: ChainId, self_chain_id: ChainId, channel_id: ChannelId, )
domains/client/cross-domain-message-gossip/src/aux_schema.rs:15
↓ 2 callers
Function
chronos_config
( runtime_genesis_config: RuntimeGenesisConfig, )
crates/subspace-node/src/domain/auto_id_chain_spec.rs:48
↓ 2 callers
Method
claim_bundle_slot
( &self, operator_id: OperatorId, slot_info: &OperatorSlotInfo, domain_best_nu
domains/client/domain-operator/src/domain_bundle_producer.rs:182
↓ 2 callers
Method
clone
(&self)
domains/client/domain-operator/src/domain_bundle_proposer.rs:77
↓ 2 callers
Method
clone
(&self)
crates/sc-consensus-subspace/src/block_import.rs:296
↓ 2 callers
Function
collect_sector_auditing_details
( public_key_hash: Blake3Hash, global_challenge: &Blake3Hash, sector_metadata: &SectorMetadataChec
crates/subspace-farmer-components/src/auditing.rs:198
↓ 2 callers
Method
commitment
(&self)
crates/subspace-core-primitives/src/pieces.rs:1370
↓ 2 callers
Method
commitment_mut
(&mut self)
crates/subspace-core-primitives/src/pieces.rs:1376
↓ 2 callers
Function
compare_block_objects_to_global_objects
( block_objects: impl Iterator<Item = (&'a [u8], &'a BlockObject)>, global_objects: impl Iterator<Item
crates/subspace-archiving/tests/integration/archiver.rs:49
↓ 2 callers
Function
configure_network
( protocol_prefix: String, base_path: &Path, keypair: Keypair, NetworkArgs { listen_on
crates/subspace-farmer/src/bin/subspace-farmer/commands/shared/network.rs:82
↓ 2 callers
Method
confirm_acknowledgement
Wait for all the acknowledgements before return It is used to wait for the acknowledgement of the domain worker to ensure it have finish all the prev
test/subspace-test-service/src/lib.rs:856
↓ 2 callers
Function
construct_extrinsic_raw_payload
( client: impl AsRef<Client>, function: RuntimeCallFor<Runtime>, immortal: bool, nonce: u32,
domains/test/service/src/lib.rs:228
↓ 2 callers
Method
construct_timestamp_extrinsic
( &self, moment: Moment, )
domains/client/block-preprocessor/src/stateless_runtime.rs:279
↓ 2 callers
Function
create_delta_backend_with_maybe_delta
( backend: &'a TrieBackend<S, H>, maybe_delta: Option<&'a BackendTransaction<H>>, post_delta_root:
domains/client/block-builder/src/custom_api.rs:157
↓ 2 callers
Method
create_domain_configuration
( &self, cmd: &impl CliConfiguration, base_path: &Path, tokio_handle: tokio::r
crates/subspace-node/src/domain/cli.rs:94
↓ 2 callers
Function
create_generic
(seed: PotSeed, key: PotKey, checkpoint_iterations: u32)
crates/subspace-proof-of-time/src/aes.rs:36
↓ 2 callers
Method
create_inherent_data_providers
( &self, _parent: Block::Hash, _extra_args: (), )
domains/client/block-preprocessor/src/inherents.rs:163
↓ 2 callers
Method
create_or_extend
Create temporary ban for peer or extend existing ban
crates/subspace-networking/src/constructor/temporary_bans.rs:88
↓ 2 callers
Function
create_plotting_thread_pool_manager
Create thread pools manager. Creates thread pool pairs for each of CPU core set pair with number of plotting and replotting threads corresponding to
crates/subspace-farmer/src/utils.rs:417
↓ 2 callers
Function
create_plotting_thread_pool_manager_thread_pool_pair
( thread_prefix: &'static str, thread_pool_index: usize, cpu_core_set: CpuCoreSet, thread_prio
crates/subspace-farmer/src/utils.rs:357
↓ 2 callers
Function
create_segment_header
(segment_index: SegmentIndex)
crates/pallet-subspace/src/mock.rs:258
↓ 2 callers
Function
create_thread_pool
( farming_thread_pool_size: Option<NonZeroUsize>, )
crates/subspace-farmer/src/bin/subspace-farmer/commands/benchmark.rs:88
↓ 2 callers
Method
data
Returns the `data` of this inherent data provider.
domains/primitives/messenger/src/lib.rs:209
↓ 2 callers
Method
data
Returns the `data` of this inherent data provider.
crates/sp-consensus-subspace/src/inherents.rs:78
↓ 2 callers
Function
default_consensus_proof
()
domains/pallets/messenger/src/tests.rs:97
↓ 2 callers
Function
deregister_deactivated_operator
()
crates/pallet-domains/src/benchmarking.rs:1176
↓ 2 callers
Method
derive_expiration_history_size
Derive history size when sector created at `history_size` expires. Returns `None` on overflow.
crates/subspace-core-primitives/src/sectors.rs:135
↓ 2 callers
Method
derive_identifier
Deterministically derives an identifier from the certificate. The identifier is derived by hashing the subject common name of the certificate. If the
domains/pallets/auto-id/src/lib.rs:139
↓ 2 callers
Function
derive_keypair
( suri: &SecretString, password: &Option<SecretString>, )
crates/subspace-node/src/commands/shared.rs:27
↓ 2 callers
Function
derive_libp2p_keypair
(schnorrkel_sk: &schnorrkel::SecretKey)
crates/subspace-farmer/src/bin/subspace-farmer/commands/shared.rs:136
↓ 2 callers
Function
dev_config
()
crates/subspace-node/src/chain_spec.rs:327
↓ 2 callers
Function
development_config
( runtime_genesis_config: RuntimeGenesisConfig, )
crates/subspace-node/src/domain/auto_id_chain_spec.rs:30
↓ 2 callers
Function
development_config
( runtime_genesis_config: RuntimeGenesisConfig, )
crates/subspace-node/src/domain/evm_chain_spec.rs:37
↓ 2 callers
Function
devnet_config
( runtime_genesis_config: RuntimeGenesisConfig, )
crates/subspace-node/src/domain/auto_id_chain_spec.rs:86
↓ 2 callers
Function
devnet_config_compiled
()
crates/subspace-node/src/chain_spec.rs:261
↓ 2 callers
Method
dial
(&self, address: Multiaddr)
crates/subspace-networking/src/node.rs:536
↓ 2 callers
Method
display
(&self)
crates/subspace-networking/examples/benchmark.rs:195
↓ 2 callers
Method
domain_tx_range
Returns the tx range for the domain.
crates/pallet-domains/src/lib.rs:2307
↓ 2 callers
Method
downgrade
Downgrade to [`WeakFarmerPieceGetter`] in order to break reference cycles with internally used [`Arc`]
crates/subspace-farmer/src/farmer_piece_getter.rs:200
↓ 2 callers
Function
download_pieces
Concurrently downloads the exact pieces in `piece_indexes`, returning them in that order. Each piece index must be unique. If any piece can't be down
shared/subspace-data-retrieval/src/piece_fetcher.rs:16
↓ 2 callers
Method
download_state
Downloads state and returns incoming block with state pre-populated and ready for importing
shared/sc-subspace-sync-common/src/snap_sync_engine.rs:91
↓ 2 callers
Function
dummy_proof
()
domains/pallets/messenger/src/benchmarking.rs:286
↓ 2 callers
Method
encode_records
( &mut self, sector_id: &SectorId, records: &mut [Record], abort_early: &Atomi
crates/subspace-farmer/src/plotter/gpu/rocm.rs:29
↓ 2 callers
Method
encode_to
(&self, dest: &mut O)
crates/subspace-archiving/src/archiver.rs:60
↓ 2 callers
Function
ensure_block_and_state_pruning_params
(config: &mut Configuration, supress_warning: bool)
crates/subspace-node/src/commands/run.rs:442
↓ 2 callers
Function
erasure_coding_instance
()
crates/pallet-subspace/src/mock.rs:56
↓ 2 callers
Method
estimated_weight
Returns the estimated weight of the Bundle.
crates/sp-domains/src/bundle.rs:201
↓ 2 callers
Method
execute
Storage: `Council::Members` (r:1 w:0) Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) The range of component `b`
crates/subspace-runtime/src/weights/pallet_collective.rs:68
↓ 2 callers
Method
execute_extrinsics
Execute the block's list of extrinsics.
domains/client/block-builder/src/lib.rs:128
↓ 2 callers
Function
execution_receipt_key
(block_hash: impl Encode)
domains/client/domain-operator/src/aux_schema.rs:47
↓ 2 callers
Function
expand_key
(key: &[u8; 16])
crates/subspace-proof-of-time/src/aes/aarch64.rs:125
↓ 2 callers
Method
extensions_for
( &self, _block_hash: Block::Hash, _block_number: NumberFor<Block>, )
crates/sc-domains/src/lib.rs:83
↓ 2 callers
Function
extract_raw_data
Returns the raw data from the supplied pieces.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:118
↓ 2 callers
Function
extract_signer
( extrinsics: Vec<UncheckedExtrinsic>, )
domains/runtime/evm/src/lib.rs:987
↓ 2 callers
Function
extract_signer_inner
( ext: &UncheckedExtrinsic, lookup: &Lookup, )
domains/test/runtime/evm/src/lib.rs:1048
↓ 2 callers
Function
extract_signer_inner
( ext: &UncheckedExtrinsic, lookup: &Lookup, )
domains/test/runtime/auto-id/src/lib.rs:582
↓ 2 callers
Function
extract_signer_inner
( ext: &UncheckedExtrinsic, lookup: &Lookup, )
domains/runtime/evm/src/lib.rs:967
↓ 2 callers
Function
extract_signer_inner
( ext: &UncheckedExtrinsic, lookup: &Lookup, )
domains/runtime/auto-id/src/lib.rs:629
↓ 2 callers
Method
extract_xdm_mmr_proof
( &self, extrinsic: &Block::Extrinsic, )
domains/client/block-preprocessor/src/stateless_runtime.rs:338
↓ 2 callers
Method
extrinsic_index
Return the index of the extrinsic that the invalid type points to NOTE: `InvalidBundleWeight` will return `None` since it is targeting the whole bund
crates/sp-domains/src/bundle.rs:417
↓ 2 callers
Method
extrinsic_weight
(&self, extrinsic: &Block::Extrinsic)
domains/client/block-preprocessor/src/stateless_runtime.rs:452
↓ 2 callers
Method
fetch_runtime_code
(&self)
domains/client/block-builder/src/custom_api.rs:220
↓ 2 callers
Method
fetched_data_length
Returns the longest possible amount of data that has already been fetched for the object, based on potential segment padding.
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:624
↓ 2 callers
Function
finalize_block
( client: &Client, backend: &Backend, telemetry: Option<&TelemetryHandle>, hash: Block::Hash,
crates/sc-consensus-subspace/src/archiver.rs:825
↓ 2 callers
Function
finalize_domain_epoch
(params: FinalizeDomainParams)
crates/pallet-domains/src/staking_epoch.rs:873
↓ 2 callers
Function
finalize_domain_epoch_staking
(p: Linear<0, { T::MaxPendingStakingOperation::get() }>)
crates/pallet-domains/src/benchmarking.rs:448
↓ 2 callers
Method
find_mismatched_execution_phase
Returns first mismatched ExecutionPhase between the receipts `local` and `other` if any. If local trace length > other trace length then we provide st
domains/client/domain-operator/src/fraud_proof.rs:1007
↓ 2 callers
Method
find_piece
Find piece in cache and return its retrieval details
crates/subspace-farmer/src/farmer_cache.rs:1547
↓ 2 callers
Method
find_piece_internal
( &self, caches: &PieceCachesState, piece_index: PieceIndex, )
crates/subspace-farmer/src/farmer_cache.rs:1575
↓ 2 callers
Method
find_pieces
Find pieces in cache and return their retrieval details
crates/subspace-farmer/src/farmer_cache.rs:1557
↓ 2 callers
Function
find_proof
(seed: &PosSeed, challenge_index: u32)
crates/subspace-proof-of-space/src/shim.rs:64
↓ 2 callers
Method
first_piece_index
(&self)
crates/subspace-core-primitives/src/segments.rs:91
↓ 2 callers
Method
flush_branch
( &mut self, callback: &mut impl ProcessEncodedNode<TrieHash<T>>, ref_branch: impl AsR
crates/sp-domains/src/valued_trie.rs:196
↓ 2 callers
Method
free_size
(&self)
crates/subspace-farmer/src/farmer_cache.rs:112
↓ 2 callers
Function
from_consensus_relay_message_response
()
domains/pallets/messenger/src/extensions/benchmarking_from_consensus.rs:94
↓ 2 callers
Function
from_domains_relay_message_response
()
domains/pallets/messenger/src/extensions/benchmarking_from_domains.rs:78
↓ 2 callers
Function
generate_eth_domain_sc_extrinsic
Generate a self-contained EVM domain extrinsic from a transaction. The returned extrinsic can be passed to `runtime_api().check_extrinsics_and_do_pre_
domains/client/domain-operator/src/tests.rs:134
↓ 2 callers
Function
generate_evm_account_list
Generate the supplied kind of account list.
domains/pallets/evm-tracker/src/benchmarking.rs:134
↓ 2 callers
Method
generate_invalid_block_fees_proof
( &self, domain_id: DomainId, local_receipt: &ExecutionReceiptFor<Block, CBlock>,
domains/client/domain-operator/src/fraud_proof.rs:848
↓ 2 callers
Method
generate_invalid_bundle_proof_inner
Inner function for generating invalid bundle proofs, with test support code.
domains/client/domain-operator/src/fraud_proof.rs:567
↓ 2 callers
Method
generate_invalid_domain_block_hash_proof
( &self, domain_id: DomainId, local_receipt: &ExecutionReceiptFor<Block, CBlock>,
domains/client/domain-operator/src/fraud_proof.rs:903
↓ 2 callers
Method
generate_invalid_domain_extrinsics_root_proof
( &self, domain_id: DomainId, local_receipt: &ExecutionReceiptFor<Block, CBlock>,
domains/client/domain-operator/src/fraud_proof.rs:373
← previous
next →
601–700 of 4,141, ranked by callers