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
↓ 1 callers
Method
must_be_archived
Returns `true` if justification must be archived, implies that it is canonical
crates/sp-consensus-subspace/src/lib.rs:82
↓ 1 callers
Method
network_params
(&self)
crates/subspace-node/src/domain/cli.rs:203
↓ 1 callers
Method
new_acknowledgement_sender_stream
Subscribe the acknowledgement sender stream
test/subspace-test-service/src/lib.rs:844
↓ 1 callers
Function
new_frontier_partial
( fee_history_cache_limit: u64, )
domains/client/eth-service/src/service.rs:57
↓ 1 callers
Function
new_identify_message
(farmer_id: ClusterFarmerId)
crates/subspace-farmer/src/cluster/farmer.rs:643
↓ 1 callers
Function
new_partial
( domain_id: DomainId, config: &ServiceConfiguration, consensus_client: Arc<CClient>, domain_b
domains/service/src/domain.rs:125
↓ 1 callers
Method
new_slot_notification_stream
Subscribe the new slot notification
test/subspace-test-service/src/lib.rs:837
↓ 1 callers
Method
new_slot_notification_stream
Get stream with notifications about new slot arrival with ability to send solution back.
crates/sc-consensus-subspace/src/lib.rs:82
↓ 1 callers
Function
new_test_ext
()
domains/pallets/domain-id/src/tests.rs:23
↓ 1 callers
Function
new_test_ext
()
domains/pallets/executive/src/mock.rs:73
↓ 1 callers
Method
next_free
(&mut self)
crates/subspace-farmer/src/farmer_cache.rs:101
↓ 1 callers
Method
next_slot
Return the next slot number
test/subspace-test-service/src/lib.rs:766
↓ 1 callers
Method
no_extension
( &mut self, key_branch: &[u8], callback: &mut impl ProcessEncodedNode<TrieHash<T>>,
crates/sp-domains/src/valued_trie.rs:229
↓ 1 callers
Function
node_config
( tokio_handle: tokio::runtime::Handle, key: Sr25519Keyring, boot_nodes: Vec<MultiaddrWithPeerId>,
test/subspace-test-service/src/lib.rs:119
↓ 1 callers
Function
node_config
( domain_id: DomainId, tokio_handle: tokio::runtime::Handle, key_seed: String, nodes: Vec<Mult
domains/test/service/src/lib.rs:67
↓ 1 callers
Method
non_empty_er_exists
Returns if there are any ERs in the challenge period that have non empty extrinsics. Note that Genesis ER is also considered special and hence non emp
crates/pallet-domains/src/lib.rs:2931
↓ 1 callers
Method
normalize
Normalize polynomial by removing trailing zeroes
shared/subspace-kzg/src/lib.rs:95
↓ 1 callers
Method
note_broadcast
(&self, msg: &[u8])
domains/client/cross-domain-message-gossip/src/gossip_worker.rs:250
↓ 1 callers
Method
note_broadcasted
(&self, msg: &[u8])
domains/client/cross-domain-message-gossip/src/gossip_worker.rs:262
↓ 1 callers
Method
note_farming_error
(&self, error: &FarmingError)
crates/subspace-farmer/src/single_disk_farm/metrics.rs:249
↓ 1 callers
Method
num_encoded_record_chunks
Number of encoded chunks in each record
crates/subspace-farmer-components/src/sector.rs:392
↓ 1 callers
Method
object_mapping_notification_stream
Get stream with notifications about object mappings
crates/sc-consensus-subspace/src/lib.rs:95
↓ 1 callers
Method
offchain_worker
Wrapped `frame_executive::Executive::offchain_worker`.
domains/pallets/executive/src/lib.rs:560
↓ 1 callers
Method
on_discovered_peer
Callback is called when a routable or unraoutable peer is discovered.
crates/subspace-networking/src/node.rs:642
↓ 1 callers
Method
on_download_fail
Updates the metrics on failed download.
crates/sc-subspace-block-relay/src/consensus/types.rs:209
↓ 1 callers
Method
on_failed_request
Updates the metrics on a failed request.
crates/sc-subspace-block-relay/src/consensus/types.rs:237
↓ 1 callers
Method
on_farming_notification
( &self, callback: HandlerFn<FarmingNotification>, )
crates/subspace-farmer/src/cluster/farmer.rs:278
↓ 1 callers
Method
on_full_download_request
Handles the full download request from the client
crates/sc-subspace-block-relay/src/consensus/relay.rs:421
↓ 1 callers
Method
on_initial_request
Handles the initial request from the client
crates/sc-subspace-block-relay/src/consensus/relay.rs:377
↓ 1 callers
Method
on_proof
(&mut self, slot: Slot, checkpoints: PotCheckpoints)
crates/sc-consensus-subspace/src/slot_worker.rs:233
↓ 1 callers
Method
on_protocol_message
Handles the protocol message from the client
crates/sc-subspace-block-relay/src/consensus/relay.rs:407
↓ 1 callers
Method
on_request
Updates the metrics on a successful request.
crates/sc-subspace-block-relay/src/consensus/types.rs:232
↓ 1 callers
Method
on_solution
(&self, callback: HandlerFn<SolutionResponse>)
crates/subspace-farmer/src/cluster/farmer.rs:285
↓ 1 callers
Method
on_unreachable_address
( &mut self, _handler: HandlerFn<PeerAddressRemovedEvent>, )
crates/subspace-networking/src/behavior/persistent_parameters.rs:253
↓ 1 callers
Method
open_channels
()
domains/pallets/messenger/src/lib.rs:1399
↓ 1 callers
Method
outbox_message_unsigned
( msg: CrossDomainMessage<BlockNumberFor<T>, T::Hash, T::MmrHash>, )
domains/pallets/messenger/src/lib.rs:1497
↓ 1 callers
Method
par_iter_record_chunk_to_plot
Creates an iterator of `Option<(chunk_offset, encoded_chunk_used)>`, where each entry corresponds s-bucket/position of the chunk in the erasure coded
crates/subspace-farmer-components/src/sector.rs:479
↓ 1 callers
Method
par_source
(&self)
crates/subspace-core-primitives/src/pieces.rs:1562
↓ 1 callers
Function
parallel_benchmark
( node: Node, max_pieces: usize, start_with: usize, retries: u16, parallelism_level: u16,
crates/subspace-networking/examples/benchmark.rs:251
↓ 1 callers
Function
parse_ss58_reward_address
Some if the string is a properly encoded SS58Check address.
crates/subspace-farmer/src/utils/ss58.rs:36
↓ 1 callers
Method
peer_id
Extracts peer ID from event.
crates/subspace-networking/src/shared.rs:38
↓ 1 callers
Function
peer_id_from_keypair
(keypair: Keypair)
crates/subspace-bootstrap-node/src/main.rs:224
↓ 1 callers
Method
persistent_enabled
(&self)
crates/subspace-networking/src/behavior/persistent_parameters.rs:534
↓ 1 callers
Method
pick_farm_indices
(&self, len: usize)
crates/subspace-farmer/src/cluster/controller/farms.rs:134
↓ 1 callers
Method
piece_cache
Get piece cache instance
crates/subspace-farmer/src/single_disk_farm.rs:1645
↓ 1 callers
Function
pieces_to_solution_range
Computes the following: ```text MAX * slot_probability / chunks * s_buckets / pieces ```
crates/subspace-core-primitives/src/solutions.rs:30
↓ 1 callers
Method
pin_current_thread
Pin current thread to this NUMA node (not just one CPU core)
crates/subspace-farmer/src/utils.rs:153
↓ 1 callers
Method
plot_cache
Get plot cache instance
crates/subspace-farmer/src/single_disk_farm.rs:1650
↓ 1 callers
Function
plot_single_sector_internal
( sector_index: SectorIndex, sector_size: usize, plot_file: &Arc<DirectIoFile>, metadata_file:
crates/subspace-farmer/src/single_disk_farm/plotting.rs:520
↓ 1 callers
Function
plotter_service
Create plotter service that will be processing incoming requests. Implementation is using concurrency with multiple tokio tasks, but can be started m
crates/subspace-farmer/src/cluster/plotter.rs:727
↓ 1 callers
Function
plotting
Starts plotting process. NOTE: Returned future is async, but does blocking operations and should be running in dedicated thread.
crates/subspace-farmer/src/single_disk_farm/plotting.rs:112
↓ 1 callers
Function
plotting_scheduler
( plotting_scheduler_options: PlottingSchedulerOptions<NC>, )
crates/subspace-farmer/src/single_disk_farm/plotting.rs:710
↓ 1 callers
Method
poll
(self: Pin<&mut Self>, _: &mut Context<'_>)
crates/subspace-networking/src/behavior/tests.rs:165
↓ 1 callers
Function
pot_gossip_peers_set_config
Returns the network configuration for PoT gossip.
crates/sc-proof-of-time/src/source/gossip.rs:75
↓ 1 callers
Function
pre_dispatch_evm_transaction
Custom pre_dispatch for extrinsic verification. Most of the logic is same as `pre_dispatch_self_contained` except - we use `validate_self_contained` i
domains/test/runtime/evm/src/lib.rs:1097
↓ 1 callers
Function
pre_dispatch_evm_transaction
Custom pre_dispatch for extrinsic verification. Most of the logic is same as `pre_dispatch_self_contained` except - we use `validate_self_contained` i
domains/runtime/evm/src/lib.rs:1041
↓ 1 callers
Function
prepare_mmr_proof_and_runtime_code_proof
( tokio_handle: Handle, )
crates/sp-domains-fraud-proof/benches/fraud_proof_verification.rs:71
↓ 1 callers
Method
prepare_storage_changes_before
Returns the state before executing the extrinsic at given extrinsic index.
domains/client/block-builder/src/lib.rs:157
↓ 1 callers
Method
prepare_storage_changes_before_finalize_block
Returns the state before finalizing the block.
domains/client/block-builder/src/lib.rs:192
↓ 1 callers
Method
preprocess_consensus_block
( &self, consensus_block_hash: CBlock::Hash, parent_domain_block: (Block::Hash, Number
domains/client/block-preprocessor/src/lib.rs:167
↓ 1 callers
Method
prev_source_index
(&self)
crates/subspace-core-primitives/src/pieces.rs:182
↓ 1 callers
Function
print_disk_farm_info
(directory: PathBuf, farm_index: usize)
crates/subspace-farmer/src/bin/subspace-farmer/commands/shared.rs:147
↓ 1 callers
Method
process_bundles_at
( &self, consensus_block_info: (CBlock::Hash, NumberFor<CBlock>), parent_info: (Block:
domains/client/domain-operator/src/bundle_processor.rs:318
↓ 1 callers
Method
process_domain_block
( &self, (consensus_block_hash, consensus_block_number): (CBlock::Hash, NumberFor<CBlock>),
domains/client/domain-operator/src/domain_block_processor.rs:285
↓ 1 callers
Function
process_downloading_result
( piece_index: PieceIndex, result: DownloadedPieceFromPeer<'a>, pieces_to_download: &'b mut HashMa
crates/subspace-networking/src/utils/piece_provider.rs:682
↓ 1 callers
Method
process_incoming_request
Handles the received request from the client side
crates/sc-subspace-block-relay/src/consensus/relay.rs:336
↓ 1 callers
Function
process_piece
( piece_index: PieceIndex, piece: Piece, pieces_to_download: &mut HashMap<PieceIndex, Vec<(&mut Re
crates/subspace-farmer-components/src/plotting.rs:838
↓ 1 callers
Function
process_plot_sector_request
( nats_client: &NatsClient, plotter: &P, request: ClusterPlotterPlotSectorRequest, mut respons
crates/subspace-farmer/src/cluster/plotter.rs:834
↓ 1 callers
Function
process_plotting_result
( sector_plotting_result: SectorPlottingResult<'_>, sectors_metadata: &AsyncRwLock<Vec<SectorMetadataC
crates/subspace-farmer/src/single_disk_farm/plotting.rs:218
↓ 1 callers
Method
process_queue
Process the next task from the tasks queue for the given `index`
crates/subspace-farmer/src/cluster/controller/stream_map.rs:76
↓ 1 callers
Method
process_response_event
(&mut self, response_event: ResponseEvent)
shared/sc-subspace-sync-common/src/snap_sync_engine.rs:154
↓ 1 callers
Function
process_response_notification
( start: &Instant, free_instance: &str, progress_updater: &ProgressUpdater, progress_sender: &
crates/subspace-farmer/src/cluster/plotter.rs:560
↓ 1 callers
Method
produce_archived_segment
Take segment as an input, apply necessary transformations and produce archived segment
crates/subspace-archiving/src/archiver.rs:681
↓ 1 callers
Method
produce_blocks
(&self, count: u64, wait_for_bundle: bool)
test/subspace-farmerless-dev-node/src/manual_rpc.rs:58
↓ 1 callers
Method
produce_blocks_with_bundles
(&mut self, n: u64)
test/subspace-test-service/src/lib.rs:1314
↓ 1 callers
Function
produce_multiple_blocks
( consensus: &mut MockConsensusNode, count: u64, wait_for_bundle: bool, )
test/subspace-farmerless-dev-node/src/manual_rpc.rs:154
↓ 1 callers
Method
produce_next_segment_mappings
Produce object mappings for the buffered items for the next segment. Then remove the mappings in those items. Must only be called after all complete
crates/subspace-archiving/src/archiver.rs:617
↓ 1 callers
Method
produce_segment
Try to slice buffer contents into segments if there is enough data, producing one segment at a time
crates/subspace-archiving/src/archiver.rs:378
↓ 1 callers
Method
produce_slot_info
(&self, slot: Slot)
crates/sc-proof-of-time/src/slots.rs:38
↓ 1 callers
Method
prometheus_config
( &self, default_listen_port: u16, chain_spec: &Box<dyn ChainSpec>, )
crates/subspace-node/src/domain/cli.rs:222
↓ 1 callers
Method
propose_bundle_at
( &mut self, proof_of_election: ProofOfElection, tx_range: U256, operator_id:
domains/client/domain-operator/src/domain_bundle_proposer.rs:123
↓ 1 callers
Method
protocol_config
(&self)
crates/subspace-networking/src/protocols/request_response/request_response_factory/tests.rs:24
↓ 1 callers
Function
prove
(prove_options: ProveOptions)
crates/subspace-farmer/src/bin/subspace-farmer/commands/benchmark.rs:295
↓ 1 callers
Method
prove_execution
Returns a storage proof which can be used to reconstruct a partial state trie to re-run the execution by someone who does not own the whole state.
crates/sp-domains-fraud-proof/src/execution_prover.rs:42
↓ 1 callers
Method
provide_inherent_data
( &self, inherent_data: &mut InherentData, )
domains/primitives/messenger/src/lib.rs:217
↓ 1 callers
Method
push_dangling_free_offset
(&mut self, offset: FarmerCacheOffset)
crates/subspace-farmer/src/farmer_cache/piece_cache_state.rs:109
↓ 1 callers
Method
push_item
(&mut self, segment_item: SegmentItem)
crates/subspace-archiving/src/archiver.rs:114
↓ 1 callers
Method
read
(&mut self, buf: &mut [u8])
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:704
↓ 1 callers
Function
read_archived_segments_notifications
( node_client: &NC, archived_segments_sender: watch::Sender<SegmentHeader>, new_segment_processing
crates/subspace-farmer/src/single_disk_farm/plotting.rs:776
↓ 1 callers
Method
read_piece
( &self, sector_index: SectorIndex, piece_offset: PieceOffset, )
crates/subspace-farmer/src/cluster/farmer.rs:211
↓ 1 callers
Function
read_pieces
( public_key: PublicKey, pieces_in_sector: u16, plot_file: S, sectors_metadata: Arc<AsyncRwLoc
crates/subspace-farmer/src/single_disk_farm/piece_reader.rs:112
↓ 1 callers
Method
read_pieces
Concurrently read multiple pieces, and return them in the supplied order. The mapping is only used for error reporting.
shared/subspace-data-retrieval/src/object_fetcher.rs:498
↓ 1 callers
Method
receipt_domain_block_number
Return a reference of the execution receipt.
crates/sp-domains/src/bundle.rs:137
↓ 1 callers
Method
record_key
Returns a reference to the record key.
crates/subspace-networking/src/utils/key_with_distance.rs:36
↓ 1 callers
Function
recover_missing_piece
( piece_getter: &PG, kzg: Kzg, erasure_coding: ErasureCoding, missing_piece_index: PieceIndex,
crates/subspace-farmer-components/src/segment_reconstruction.rs:29
↓ 1 callers
Method
recover_poly
Recovery of missing shards from given shards (at least 1/2 should be `Some`) in form of normalized polynomial (allows to not do inverse FFT afterwards
crates/subspace-erasure-coding/src/lib.rs:73
↓ 1 callers
Method
recover_source
Recovery of source shards from given shards (at least 1/2 should be `Some`). The same as [`ErasureCoding::recover()`], but returns only source shards
crates/subspace-erasure-coding/src/lib.rs:88
↓ 1 callers
Function
recover_source_record_chunks
Given sector record chunks recover source record chunks in form of an iterator.
crates/subspace-farmer-components/src/reading.rs:367
↓ 1 callers
Function
recreate_genesis_segment
Derive genesis segment on demand, returns `Ok(None)` in case genesis block was already pruned
crates/sc-consensus-subspace/src/archiver.rs:471
↓ 1 callers
Function
register_domain_runtime
()
crates/pallet-domains/src/benchmarking.rs:504
← previous
next →
1,301–1,400 of 4,141, ranked by callers