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
↓ 6 callers
Method
id
ID of the farm
crates/subspace-farmer/src/single_disk_farm.rs:198
↓ 6 callers
Method
in_pieces
Size of blockchain history in pieces.
crates/subspace-core-primitives/src/segments.rs:293
↓ 6 callers
Method
into_opaque_bundle
(self)
domains/client/domain-operator/src/domain_bundle_producer.rs:55
↓ 6 callers
Method
into_solutions
Turn solution candidates into actual solutions
crates/subspace-farmer-components/src/proving.rs:163
↓ 6 callers
Method
is_major_syncing
(&self)
crates/sc-consensus-subspace/src/slot_worker.rs:88
↓ 6 callers
Function
is_piece_valid
( kzg: &Kzg, piece: &PieceArray, segment_commitment: &SegmentCommitment, position: u32, )
crates/subspace-verification/src/lib.rs:355
↓ 6 callers
Method
is_terminated
(&self)
crates/subspace-farmer/src/cluster/controller/stream_map.rs:108
↓ 6 callers
Method
maybe_generate_domain_runtime_code_proof_for_receipt
( &self, domain_id: DomainId, local_receipt: &ExecutionReceiptFor<Block, CBlock>,
domains/client/domain-operator/src/fraud_proof.rs:153
↓ 6 callers
Method
maybe_store_additional_piece
Try to store a piece in additional downloaded pieces, if there is space for it. Returns `true` if the piece was added to this cache, and `false` if it
crates/subspace-farmer/src/farmer_cache.rs:1607
↓ 6 callers
Method
objects_mut
Returns the object mappings as a mutable slice
crates/subspace-core-primitives/src/objects.rs:67
↓ 6 callers
Method
on_sync_progress
Subscribe to cache sync notifications
crates/subspace-farmer/src/farmer_cache.rs:1644
↓ 6 callers
Method
operator_id
Set the operator id
domains/test/service/src/domain.rs:684
↓ 6 callers
Method
operator_id
Return the `operator_id`
crates/sp-domains/src/bundle.rs:130
↓ 6 callers
Method
pieces_in_sector
How many pieces does one sector contain.
crates/subspace-farmer/src/single_disk_farm.rs:216
↓ 6 callers
Function
plot_sector
Plot a single sector. This is a convenient wrapper around [`download_sector`] and [`encode_sector`] functions. NOTE: Even though this function is as
crates/subspace-farmer-components/src/plotting.rs:144
↓ 6 callers
Method
produce_block_with_slot
(&mut self, slot: NewSlot)
test/subspace-test-service/src/lib.rs:1284
↓ 6 callers
Method
produce_bundle
( &mut self, operator_id: OperatorId, slot_info: OperatorSlotInfo, )
domains/client/domain-operator/src/domain_bundle_producer.rs:412
↓ 6 callers
Function
remove_known_peer_addresses_internal
Testable implementation of the `remove_known_peer_addresses`
crates/subspace-networking/src/behavior/persistent_parameters.rs:728
↓ 6 callers
Method
replace_backing_caches
Initialize replacement of backing caches
crates/subspace-farmer/src/farmer_cache.rs:1626
↓ 6 callers
Function
set_default_ss58_version
(chain_spec: &C)
crates/subspace-node/src/main.rs:64
↓ 6 callers
Method
set_execution_traces
(&mut self, execution_traces: Vec<DomainHash>)
crates/sp-domains/src/execution_receipt.rs:289
↓ 6 callers
Method
sign
(&self, key: &H256)
domains/test/utils/src/test_ethereum_tx.rs:92
↓ 6 callers
Method
slot_iterations
Number of iterations for proof of time per slot, corresponds to slot that directly follows parent block's slot and can change before slot for which bl
crates/sp-consensus-subspace/src/lib.rs:549
↓ 6 callers
Method
slot_number
(&self)
crates/sp-domains/src/lib.rs:304
↓ 6 callers
Method
stream_request_responder
Responds to stream requests from the given subject using the provided processing function. This will create a subscription on the subject for the giv
crates/subspace-farmer/src/cluster/nats_client.rs:681
↓ 6 callers
Function
strip_peer_id
Helper function. Converts multiaddresses to a tuple with peer ID removing the peer Id suffix. It logs incorrect multiaddresses.
crates/subspace-networking/src/utils.rs:64
↓ 6 callers
Method
update_status
(&mut self, new_status: OperatorStatus<DomainBlockNumber, ReceiptHash>)
crates/pallet-domains/src/staking.rs:244
↓ 6 callers
Function
verify_signature
(req: SignatureVerificationRequest)
domains/primitives/auto-id/src/host_functions.rs:57
↓ 5 callers
Function
account_id
Returns an AccountId32 with a deterministic address.
domains/pallets/evm-tracker/src/benchmarking.rs:115
↓ 5 callers
Function
algorithm_to_der
Converts Algorithm identifier to Der since x509 does not implement the ToDer :(.
domains/pallets/auto-id/src/tests.rs:105
↓ 5 callers
Function
assert_position_invariants
Helper function to assert position invariants
crates/pallet-domains/src/nominator_position.rs:375
↓ 5 callers
Function
audit_plot_sync
Audit the whole plot and generate streams of results. Each audit result contains a solution candidate that might be converted into solution (but will
crates/subspace-farmer-components/src/auditing.rs:113
↓ 5 callers
Method
ban_peer
Ban peer with specified peer ID.
crates/subspace-networking/src/node.rs:524
↓ 5 callers
Method
buckets
(&self)
crates/subspace-proof-of-space/src/chiapos/table.rs:1544
↓ 5 callers
Method
checked_div
Divides two numbers, checking for underflow, overflow and division by zero. If any of that happens, `None` is returned.
crates/subspace-core-primitives/src/lib.rs:346
↓ 5 callers
Method
clone
(&self)
domains/client/domain-operator/src/bundle_processor.rs:71
↓ 5 callers
Method
connected_peers
Returns a collection of currently connected peers.
crates/subspace-networking/src/node.rs:571
↓ 5 callers
Method
cpu_cores
Get cpu core numbers in this set
crates/subspace-farmer/src/utils.rs:76
↓ 5 callers
Method
create
Creates new identity, overrides identity that might already exist.
crates/subspace-farmer/src/single_disk_farm/identity.rs:117
↓ 5 callers
Function
decode_tbs_certificate
(certificate: DerVec)
domains/primitives/auto-id/src/host_functions.rs:38
↓ 5 callers
Function
deregister_operator
()
crates/pallet-domains/src/benchmarking.rs:674
↓ 5 callers
Method
domain_block_extrinsics_root
Returns Domain block extrinsics root.
crates/sp-domains/src/execution_receipt.rs:212
↓ 5 callers
Method
erasure_coding
Access erasure coding instance
crates/sc-consensus-subspace/src/lib.rs:130
↓ 5 callers
Function
extract_call_block_object_mapping
( mut base_offset: u32, objects: &mut Vec<BlockObject>, call: &RuntimeCall, recursion_depth_le
test/subspace-test-runtime/src/lib.rs:1252
↓ 5 callers
Function
extract_call_block_object_mapping
Extract the object mappings from `call`.
crates/subspace-runtime/src/object_mapping.rs:90
↓ 5 callers
Function
extract_raw_data_mut
Returns mutable raw data from the supplied pieces.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:126
↓ 5 callers
Method
fetch_objects
Assemble the objects in `mapping` by fetching necessary pieces using the piece getter, and putting the objects' bytes together. Checks the objects' h
shared/subspace-data-retrieval/src/object_fetcher.rs:253
↓ 5 callers
Method
first_k_bits
(self)
crates/subspace-proof-of-space/src/chiapos/table/types.rs:91
↓ 5 callers
Method
future_proof_of_time
(&self)
crates/sp-consensus-subspace/src/digests.rs:79
↓ 5 callers
Function
generate_eth_domain_sc_extrinsic
Generate a self-contained EVM domain extrinsic, which can be passed to `runtime_api().check_extrinsics_and_do_pre_dispatch()`.
crates/sp-domains-fraud-proof/src/tests.rs:36
↓ 5 callers
Method
get
(&self, key: &H::Out, prefix: Prefix)
domains/client/block-builder/src/custom_api.rs:193
↓ 5 callers
Method
get_domain_staking_summary
Returns the stake summary of the Domain.
test/subspace-test-service/src/lib.rs:1021
↓ 5 callers
Method
get_piece
(&self, piece_index: PieceIndex)
shared/subspace-data-retrieval/src/piece_getter.rs:63
↓ 5 callers
Method
get_piece
(&self, piece_index: PieceIndex)
crates/subspace-farmer/src/farmer_cache/tests.rs:144
↓ 5 callers
Function
get_pieces_individually
( // TODO: replace with AsyncFn(PieceIndex) -> anyhow::Result<Option<Piece>> once it stabilises // htt
shared/subspace-data-retrieval/src/piece_getter.rs:263
↓ 5 callers
Function
idx
Converts the supplied number to a `PieceIndex`.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:73
↓ 5 callers
Method
insert_aux
( &self, insert: I, delete: D, )
crates/sc-consensus-subspace/src/aux_schema.rs:134
↓ 5 callers
Method
is_one
(&self)
crates/sp-domains/src/valued_trie.rs:171
↓ 5 callers
Method
maybe_messenger_call
(&self)
domains/runtime/evm/src/lib.rs:1185
↓ 5 callers
Method
min_sector_lifetime
Minimum lifetime of a plotted sector, measured in archived segment.
crates/sp-consensus-subspace/src/lib.rs:340
↓ 5 callers
Method
notify
Send out a notification to all subscribers.
crates/sc-consensus-subspace/src/notification.rs:28
↓ 5 callers
Method
parent_domain_block_receipt_hash
Returns the parent's receipt hash.
crates/sp-domains/src/execution_receipt.rs:182
↓ 5 callers
Function
pick_position
( [left_position, right_position]: [Position; 2], last_5_challenge_bits: u8, table_number: u8, )
crates/subspace-proof-of-space/src/chiapos/tables.rs:27
↓ 5 callers
Method
preallocate
(&self, len: u64)
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:64
↓ 5 callers
Method
proof_of_election
Returns the proof of election on the bundle.
crates/sp-domains/src/bundle.rs:50
↓ 5 callers
Function
raise_fd_limit
Raise the file descriptor limit for the process to the maximum possible value.
shared/subspace-process/src/lib.rs:227
↓ 5 callers
Method
read_piece
( &self, offset: PieceCacheOffset, )
crates/subspace-farmer/src/cluster/cache.rs:249
↓ 5 callers
Method
recent_history_fraction
Fraction of pieces from the "recent history" (`recent_segments`) in each sector.
crates/sp-consensus-subspace/src/lib.rs:331
↓ 5 callers
Method
recent_segments
Number of latest archived segments that are considered "recent history".
crates/sp-consensus-subspace/src/lib.rs:323
↓ 5 callers
Method
reconstruct_piece
Returns the missing piece for a segment using given set of pieces of a segment of the archived history (any half of all pieces are required to be pres
crates/subspace-archiving/src/piece_reconstructor.rs:202
↓ 5 callers
Method
recover
Recovery of missing shards from given shards (at least 1/2 should be `Some`). Both in input and output source shards are interleaved with parity shar
crates/subspace-erasure-coding/src/lib.rs:59
↓ 5 callers
Function
register_leaf_auto_id
(issuer_auto_id: Identifier)
domains/pallets/auto-id/src/tests.rs:260
↓ 5 callers
Method
sector_expiration_check
History size at which expiration check for sector happens. Returns `None` on overflow.
crates/subspace-core-primitives/src/segments.rs:307
↓ 5 callers
Method
send_request
Initiates sending a request. If there is no established connection to the target peer, the behavior is determined by the choice of `connect`. An err
crates/subspace-networking/src/protocols/request_response/request_response_factory.rs:376
↓ 5 callers
Method
set_estimated_bundle_weight
Set estimated bundle weight.
crates/sp-domains/src/bundle.rs:275
↓ 5 callers
Function
setup_evm_test_nodes
( ferdie_key: Sr25519Keyring, private_evm: bool, evm_owner: impl Into<Option<Sr25519Keyring>>, )
domains/client/domain-operator/src/tests.rs:139
↓ 5 callers
Function
shutdown_signal
(process_kind: impl Display)
shared/subspace-process/src/lib.rs:196
↓ 5 callers
Function
sign_preimage
(data: Vec<u8>, issuer: bool)
domains/pallets/auto-id/src/tests.rs:293
↓ 5 callers
Function
start_prometheus_metrics_server
Start prometheus metrics server on the provided address.
shared/subspace-metrics/src/lib.rs:57
↓ 5 callers
Method
stop
Stop the domain node and wait until the parity-db lock is released, so the next call to `Db::open(...)` on the same path can succeed. This replaces a
domains/test/service/src/domain.rs:514
↓ 5 callers
Method
storage_root
Returns the latest storage root.
domains/pallets/executive/src/lib.rs:271
↓ 5 callers
Function
subject_with_instance
(subject: &'static str, instance: Option<&str>)
crates/subspace-farmer/src/cluster/nats_client.rs:1151
↓ 5 callers
Method
total_issuance
(&self)
crates/pallet-domains/src/domain_registry.rs:142
↓ 5 callers
Method
transfers
Returns the transfers of the Execution.
crates/sp-domains/src/execution_receipt.rs:224
↓ 5 callers
Method
update_sector_state
(&self, state: SectorState)
crates/subspace-farmer/src/single_disk_farm/metrics.rs:261
↓ 5 callers
Function
write_dummy_sector_metadata
( metadata_file: &File, metadata_file_path: &Path, sector_index: SectorIndex, pieces_in_sector
crates/subspace-farmer/src/single_disk_farm.rs:2340
↓ 4 callers
Method
add_piece_data_without_padding
Add padding-less `piece_data` to the end of this partial object.
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:232
↓ 4 callers
Method
add_sector
Add new sector to collect plotted pieces
crates/subspace-farmer/src/farm/plotted_pieces.rs:108
↓ 4 callers
Method
as_ref
(&self)
crates/subspace-core-primitives/src/sectors.rs:49
↓ 4 callers
Function
assert_is_terminated
(stream_map: &StreamMap<'a, u16, R>)
crates/subspace-farmer/src/cluster/controller/stream_map.rs:120
↓ 4 callers
Function
best_domain_hash_for
( backend: &Backend, consensus_hash: &CHash, )
domains/client/domain-operator/src/aux_schema.rs:284
↓ 4 callers
Function
build_swarm
( list: impl Iterator<Item = ProtocolConfig>, )
crates/subspace-networking/src/protocols/request_response/request_response_factory/tests.rs:37
↓ 4 callers
Function
calculate_threshold
Returns the election threshold based on the operator stake proportion and slot probability.
crates/sp-domains/src/bundle_producer_election.rs:23
↓ 4 callers
Method
call_function
( &self, method: &str, call_data: Vec<u8>, trie_backend: &TrieDeltaBackendFor<
domains/client/block-builder/src/custom_api.rs:278
↓ 4 callers
Function
channel_processed_state_key
( prefix: &[u8], src_chain_id: ChainId, dst_chain_id: ChainId, channel_id: ChannelId, )
domains/client/relayer/src/aux_schema.rs:16
↓ 4 callers
Method
check_extrinsics_and_do_pre_dispatch
This is a stateful runtime api call and requires setting storage keys.
domains/client/block-preprocessor/src/stateless_runtime.rs:429
↓ 4 callers
Method
checked_add
(&self, rhs: &Self)
crates/sp-domains/src/lib.rs:177
↓ 4 callers
Method
checking_order
Return the checking order of the invalid type
crates/sp-domains/src/bundle.rs:375
↓ 4 callers
Method
clone
(&self)
domains/client/domain-operator/src/domain_bundle_producer.rs:97
↓ 4 callers
Method
close_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `Messenger::Ou
crates/subspace-runtime/src/weights/pallet_messenger.rs:69
← previous
next →
301–400 of 4,141, ranked by callers