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
generate_invalid_state_transition_proof
( &self, domain_id: DomainId, execution_phase: ExecutionPhase, local_receipt:
domains/client/domain-operator/src/fraud_proof.rs:205
↓ 2 callers
Method
generate_invalid_transfers_proof
( &self, domain_id: DomainId, local_receipt: &ExecutionReceiptFor<Block, CBlock>,
domains/client/domain-operator/src/fraud_proof.rs:876
↓ 2 callers
Function
generate_protocol_name
Generate the state protocol name from the genesis hash and fork id.
crates/sc-domains/src/domain_block_er/execution_receipt_protocol.rs:51
↓ 2 callers
Method
genesis_hash
Genesis hash of the chain used for farm creation
crates/subspace-farmer/src/single_disk_farm.rs:204
↓ 2 callers
Method
get
()
test/subspace-test-runtime/src/lib.rs:406
↓ 2 callers
Function
get_account_id_from_seed
Generate an account ID from seed.
crates/subspace-malicious-operator/src/chain_spec.rs:118
↓ 2 callers
Function
get_account_id_from_seed
Generate an account ID from seed.
crates/subspace-node/src/chain_spec_utils.rs:43
↓ 2 callers
Method
get_aux
(&self, key: &[u8])
crates/sc-consensus-subspace/src/aux_schema.rs:155
↓ 2 callers
Method
get_closest_peers_internal
Get closest peers by multihash key using Kademlia DHT.
crates/subspace-networking/src/node.rs:457
↓ 2 callers
Function
get_currently_connected_peer
( sync_service: &SyncingService<Block>, tried_peers: &mut HashSet<PeerId>, loop_pause: Duration,
domains/client/domain-operator/src/snap_sync.rs:473
↓ 2 callers
Function
get_dev_accounts
Development keys that will be injected automatically on polkadotjs apps
crates/subspace-node/src/domain/auto_id_chain_spec.rs:21
↓ 2 callers
Method
get_domain_block_pruning_depth
Returns the domain block pruning depth.
test/subspace-test-service/src/lib.rs:1032
↓ 2 callers
Method
get_domain_runtime
( &self, consensus_block_hash: Block::Hash, domain_id: DomainId, )
domains/primitives/messenger-host-functions/src/host_functions.rs:60
↓ 2 callers
Function
get_free_plotter_instance
Try to get free plotter instance and return `None` if it is not possible
crates/subspace-farmer/src/cluster/plotter.rs:462
↓ 2 callers
Function
get_key_for_xdm_id
(prefix: &[u8], xdm_id: XdmId)
domains/client/cross-domain-message-gossip/src/aux_schema.rs:104
↓ 2 callers
Function
get_key_for_xdm_relay
(prefix: &[u8], id: MessageKey)
domains/client/cross-domain-message-gossip/src/aux_schema.rs:143
↓ 2 callers
Function
get_key_for_xdm_relay_response
(prefix: &[u8], id: MessageKey)
domains/client/cross-domain-message-gossip/src/aux_schema.rs:147
↓ 2 callers
Method
get_open_channel_for_chain
Returns the open XDM channel for given chain
domains/test/service/src/domain.rs:441
↓ 2 callers
Method
get_partial_block
Builds the partial block response
crates/sc-subspace-block-relay/src/consensus/relay.rs:472
↓ 2 callers
Method
get_piece
Get piece from cache
crates/subspace-farmer/src/farmer_cache.rs:1167
↓ 2 callers
Method
get_piece_fast_internal
(&self, piece_index: PieceIndex)
crates/subspace-farmer/src/farmer_piece_getter.rs:102
↓ 2 callers
Function
get_piece_from_dsn_cache_with_retries
Returns piece by its index from farmer's piece cache (L2). Uses retry policy for error handling.
crates/subspace-networking/examples/benchmark.rs:31
↓ 2 callers
Method
get_pieces
( &'a self, piece_indices: Vec<PieceIndex>, )
shared/subspace-data-retrieval/src/piece_getter.rs:71
↓ 2 callers
Method
get_pieces
Get pieces from cache. Number of elements in returned stream is the same as number of unique `piece_indices`.
crates/subspace-farmer/src/farmer_cache.rs:1255
↓ 2 callers
Method
get_providers
Get item providers by its key. Initiate 'providers' Kademlia operation.
crates/subspace-networking/src/node.rs:487
↓ 2 callers
Method
get_providers_internal
( &self, key: RecordKey, acquire_permit: bool, )
crates/subspace-networking/src/node.rs:494
↓ 2 callers
Method
get_requests_batch_handle
Returns the request batch handle with common "connection permit" slot from the shared pool.
crates/subspace-networking/src/node.rs:647
↓ 2 callers
Method
get_segment_headers
Returns new segment headers known to DSN, ordered from 0 to the last known, but newer than `last_known_segment_index`
crates/subspace-service/src/sync_from_dsn/segment_header_downloader.rs:36
↓ 2 callers
Function
get_signed_extra
( current_block: u64, immortal: bool, nonce: u32, tip: BalanceOf<Runtime>, )
test/subspace-test-service/src/lib.rs:1572
↓ 2 callers
Function
get_singed_extra
(best_number: u64, immortal: bool, nonce: Nonce)
crates/subspace-malicious-operator/src/malicious_bundle_producer.rs:400
↓ 2 callers
Method
handle_command
(&mut self, command: Command)
crates/subspace-networking/src/node_runner.rs:1272
↓ 2 callers
Function
handle_error
(result: Result<(ValidTransaction, Weight), TransactionValidityError>)
crates/pallet-subspace/src/extensions/benchmarking.rs:160
↓ 2 callers
Method
handle_remove_listeners
(&mut self, removed_listeners: &[Multiaddr])
crates/subspace-networking/src/node_runner.rs:460
↓ 2 callers
Method
has_free_capacity
(&self)
crates/subspace-farmer/src/farmer_cache/piece_cache_state.rs:159
↓ 2 callers
Method
has_free_capacity
(&self)
crates/subspace-farmer/src/cluster/plotter.rs:146
↓ 2 callers
Method
has_padding
Returns true if this object has padding, or might have padding.
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:249
↓ 2 callers
Method
hash
(&self)
crates/sp-domains-fraud-proof/src/fraud_proof.rs:413
↓ 2 callers
Method
history_size
Total number of pieces in the blockchain
crates/pallet-subspace/src/lib.rs:753
↓ 2 callers
Method
import_domain_block
( &self, block_import_params: BlockImportParams<Block>, )
domains/client/domain-operator/src/domain_block_processor.rs:464
↓ 2 callers
Method
import_params
(&self)
crates/subspace-node/src/domain/cli.rs:199
↓ 2 callers
Method
inbox_response_storage_key
(message_key: MessageKey)
domains/pallets/messenger/src/lib.rs:1377
↓ 2 callers
Method
index
(&self)
crates/subspace-farmer/src/cluster/nats_client.rs:119
↓ 2 callers
Method
initialize
( &self, piece_getter: &PG, last_segment_index_internal: &mut SegmentIndex, ne
crates/subspace-farmer/src/farmer_cache.rs:277
↓ 2 callers
Method
initialize_block
( &self, header: Block::Header, backend: &TrieDeltaBackendFor<Backend::State, Block>,
domains/client/block-builder/src/custom_api.rs:320
↓ 2 callers
Function
initialize_object_fetcher
Configures and returns object fetcher and DSN node runner.
crates/subspace-gateway/src/commands.rs:57
↓ 2 callers
Method
inject_verified_checkpoints
Inject known good checkpoints into verifier
crates/sc-proof-of-time/src/verifier.rs:41
↓ 2 callers
Method
into_inner
Convert into the inner values.
domains/client/block-builder/src/lib.rs:60
↓ 2 callers
Method
into_items
(self)
crates/subspace-archiving/src/archiver.rs:131
↓ 2 callers
Method
is_banned
Checks if peer is currently banned. `false` means peer either is not banned at all or previous temporary ban has expired and new connection attempt i
crates/subspace-networking/src/constructor/temporary_bans.rs:80
↓ 2 callers
Function
is_below_threshold
(vrf_output: &VrfPreOutput, threshold: u128)
crates/sp-domains/src/bundle_producer_election.rs:48
↓ 2 callers
Method
is_bundle_empty
( &self, consensus_chain_best_hash: BlockHashFor<CBlock>, extrinsics: &[ExtrinsicFor<B
domains/client/domain-operator/src/domain_bundle_producer.rs:342
↓ 2 callers
Method
is_fatal
Whether this error is fatal and makes farm unusable
crates/subspace-farmer/src/farm.rs:364
↓ 2 callers
Method
is_invalid
(&self)
crates/sp-domains/src/bundle.rs:463
↓ 2 callers
Function
is_last_processed_nonce_valid
( client: &Arc<Client>, latest_hash: Block::Hash, processed_block_number: NumberFor<Block>, pr
domains/client/relayer/src/aux_schema.rs:216
↓ 2 callers
Method
is_output_valid_internal
( &self, mut input: PotNextSlotInput, slots: Slot, output: PotOutput,
crates/sc-proof-of-time/src/verifier.rs:122
↓ 2 callers
Method
is_segment_headers_response_valid
Validates segment headers and related segment indexes. We assume `segment_indexes` to be a sorted collection (we create it manually).
crates/subspace-service/src/sync_from_dsn/segment_header_downloader.rs:364
↓ 2 callers
Method
is_source
(&self)
crates/subspace-core-primitives/src/pieces.rs:166
↓ 2 callers
Function
is_within_solution_range
Returns `Some(solution_distance)` if solution distance is within the solution range for provided parameters.
crates/subspace-verification/src/lib.rs:150
↓ 2 callers
Method
is_within_tx_range
( &self, extrinsic: &Block::Extrinsic, bundle_vrf_hash: &U256, tx_range: &U256
domains/client/block-preprocessor/src/stateless_runtime.rs:398
↓ 2 callers
Method
items_mut
(&mut self)
crates/subspace-archiving/src/archiver.rs:125
↓ 2 callers
Function
keypair_from_entropy
(entropy: &[u8])
crates/subspace-farmer/src/single_disk_farm/identity.rs:23
↓ 2 callers
Method
last_depth
(&self)
crates/sp-domains/src/valued_trie.rs:145
↓ 2 callers
Method
last_piece_index
(&self)
crates/subspace-core-primitives/src/segments.rs:97
↓ 2 callers
Function
latest_consensus_block_hash_for
( backend: &Backend, domain_hash: &Hash, )
domains/client/domain-operator/src/aux_schema.rs:299
↓ 2 callers
Function
leaf_index_that_added_node
(position: BlockNumber)
crates/subspace-service/src/mmr/request_handler.rs:86
↓ 2 callers
Method
listen_on
( &mut self, id: ListenerId, addr: Multiaddr, )
crates/subspace-networking/src/constructor/transport.rs:83
↓ 2 callers
Method
listeners
Node's own addresses where it listens for incoming requests.
crates/subspace-networking/src/node.rs:545
↓ 2 callers
Function
load_block_weight
Load the cumulative chain-weight associated with a block.
crates/sc-consensus-subspace/src/aux_schema.rs:49
↓ 2 callers
Function
load_block_weight_cleaned_to
Load the canonical-history sweep marker. `None` on a fresh DB.
crates/sc-consensus-subspace/src/aux_schema.rs:57
↓ 2 callers
Function
load_decode
( backend: &Backend, key: &[u8], )
domains/client/cross-domain-message-gossip/src/aux_schema.rs:23
↓ 2 callers
Function
load_decode
(backend: &B, key: &[u8])
crates/sc-consensus-subspace/src/aux_schema.rs:9
↓ 2 callers
Method
load_next_receipt
Returns the receipt in the next domain bundle.
domains/client/domain-operator/src/domain_bundle_proposer.rs:363
↓ 2 callers
Method
logging_target
(&self)
crates/sc-consensus-subspace/src/slot_worker.rs:328
↓ 2 callers
Function
mainnet_compiled
()
crates/subspace-node/src/chain_spec.rs:64
↓ 2 callers
Function
mainnet_config
( runtime_genesis_config: RuntimeGenesisConfig, )
crates/subspace-node/src/domain/evm_chain_spec.rs:74
↓ 2 callers
Function
make_additional_nomination
Helper function to make additional nomination
crates/pallet-domains/src/nominator_position.rs:343
↓ 2 callers
Function
map_winning_chunks
Map all winning chunks
crates/subspace-farmer-components/src/auditing.rs:237
↓ 2 callers
Method
max_num_elements
(&self)
crates/subspace-farmer/src/cluster/cache.rs:191
↓ 2 callers
Method
max_remaining_download_length
Returns the maximum amount of data that still needs to be downloaded.
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:596
↓ 2 callers
Method
max_shards
Max number of shards supported (both source and parity together)
crates/subspace-erasure-coding/src/lib.rs:40
↓ 2 callers
Method
maybe_domains_call
(&self)
crates/subspace-runtime/src/lib.rs:1182
↓ 2 callers
Method
maybe_nested_multisig_calls
If this call is a `pallet_multisig::Call<Runtime>` call, returns the inner `RuntimeCall`. Runtimes can override this default implementation if they w
crates/subspace-runtime-primitives/src/utility.rs:65
↓ 2 callers
Method
maybe_subspace_call
(&self)
crates/subspace-runtime/src/lib.rs:1173
↓ 2 callers
Method
message_response_weight
(&self)
domains/pallets/messenger/src/mock.rs:255
↓ 2 callers
Method
metadata
(&self, position: Position)
crates/subspace-proof-of-space/src/chiapos/table.rs:1500
↓ 2 callers
Function
mock_constant_proof_of_election
Return a mock `proof_of_election` which should be a constant value, otherwise, it won't match with the hardcoded signature
crates/pallet-domains/src/benchmarking.rs:1384
↓ 2 callers
Method
network_peer_handle
( &self, protocol_name: ProtocolName, who: PeerId, )
crates/sc-subspace-block-relay/src/utils.rs:39
↓ 2 callers
Function
new_full
Builds service for a domain full node.
domains/service/src/domain.rs:280
↓ 2 callers
Method
new_reserved_peers_handler
Create a connection handler for the reserved peers protocol.
crates/subspace-networking/src/protocols/reserved_peers.rs:135
↓ 2 callers
Function
new_vec_slice_buffer
()
crates/sp-domains/src/valued_trie.rs:24
↓ 2 callers
Method
no_status
(&mut self)
crates/subspace-malicious-operator/src/malicious_bundle_producer.rs:59
↓ 2 callers
Method
notification
Make notification without waiting for response
crates/subspace-farmer/src/cluster/nats_client.rs:1030
↓ 2 callers
Method
notify_cleanup
(&mut self)
crates/subspace-farmer/src/cluster/controller/farms.rs:59
↓ 2 callers
Method
oldest_unconfirmed_receipt_number
Returns the block number of the oldest existing unconfirmed execution receipt, return `None` means there is no unconfirmed ER exist or submitted yet.
crates/pallet-domains/src/lib.rs:2879
↓ 2 callers
Method
on_consensus_block_processed
( &self, consensus_block_hash: CBlock::Hash, domain_block_result: Option<DomainBlockRe
domains/client/domain-operator/src/domain_block_processor.rs:504
↓ 2 callers
Method
operator
(operator_id: OperatorId)
crates/pallet-domains/src/lib.rs:2329
↓ 2 callers
Function
operator_reward_tax_and_restake
(n: Linear<1, MAX_BUNDLE_PER_BLOCK>)
crates/pallet-domains/src/benchmarking.rs:344
↓ 2 callers
Function
operator_share_price_does_not_exist
( domain_id: DomainId, operators: Vec<OperatorId>, epoch_index: EpochIndex, )
crates/pallet-domains/src/staking_epoch.rs:1093
↓ 2 callers
Function
operator_share_price_exists
( domain_id: DomainId, operators: Vec<OperatorId>, epoch_index: EpochIndex, )
crates/pallet-domains/src/staking_epoch.rs:1079
↓ 2 callers
Method
outbox_storage_key
(_chain_id: ChainId, _message_key: MessageKey)
domains/primitives/messenger/src/lib.rs:118
← previous
next →
701–800 of 4,141, ranked by callers