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
↓ 23 callers
Function
init_logger
()
shared/subspace-process/src/lib.rs:22
↓ 23 callers
Method
position
(&self)
crates/subspace-core-primitives/src/pieces.rs:131
↓ 23 callers
Method
truncate
Will truncate list of CPU cores to this number. Truncation will take into account L2 and L3 cache topology in order to use half of the actual physica
crates/subspace-farmer/src/utils.rs:86
↓ 22 callers
Method
split
(&self)
crates/subspace-core-primitives/src/pieces.rs:1326
↓ 21 callers
Method
append
(&mut self, pos: u64, elems: Vec<NodeOf>)
crates/subspace-service/src/mmr/sync.rs:78
↓ 21 callers
Method
header
(&self, hash: Block::Hash)
domains/client/domain-operator/src/fraud_proof.rs:928
↓ 21 callers
Method
produce_block_with_slot_at
( &mut self, new_slot: NewSlot, parent_hash: BlockHashFor<Block>, maybe_extrin
test/subspace-test-service/src/lib.rs:1245
↓ 21 callers
Method
request
Make request and wait for response
crates/subspace-farmer/src/cluster/nats_client.rs:428
↓ 21 callers
Method
state_root
(&self, state_version: StateVersion)
crates/sp-domains/src/storage.rs:103
↓ 20 callers
Method
add_segment
Given a set of pieces of a segment of the archived history (any half of all pieces are required to be present, the rest will be recovered automaticall
crates/subspace-archiving/src/reconstructor.rs:163
↓ 20 callers
Method
get_segment_header
Get a single segment header
crates/sc-consensus-subspace/src/archiver.rs:243
↓ 20 callers
Method
to_be_bytes
Convert to big endian bytes
crates/subspace-core-primitives/src/lib.rs:314
↓ 19 callers
Method
consensus_block_hash
Returns the consensus block hash.
crates/sp-domains/src/execution_receipt.rs:194
↓ 19 callers
Method
consensus_block_number
Returns the consensus block number at which ER is derived.
crates/sp-domains/src/execution_receipt.rs:128
↓ 19 callers
Method
construct_extrinsic
Construct a signed extrinsic.
domains/test/service/src/domain.rs:392
↓ 19 callers
Method
construct_unsigned_extrinsic
Construct an unsigned extrinsic that can be applied to the test runtime.
domains/test/service/src/domain.rs:449
↓ 19 callers
Method
last_archived_block
Last archived block
crates/subspace-core-primitives/src/segments.rs:462
↓ 19 callers
Method
slot
Slot at which vote was created.
crates/sp-consensus-subspace/src/lib.rs:213
↓ 19 callers
Method
write_all_at
(&self, buf: &[u8], mut offset: u64)
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:122
↓ 18 callers
Function
construct
Create a new network node and node runner instances.
crates/subspace-networking/src/constructor.rs:363
↓ 18 callers
Method
subscribe
Subscribe to some topic on the DSN.
crates/subspace-networking/src/node.rs:330
↓ 18 callers
Method
to_bytes
Convert scalar into bytes
shared/subspace-kzg/src/lib.rs:205
↓ 17 callers
Method
construct_extrinsic_with_tip
Construct a signed extrinsic with the given transaction tip.
domains/test/service/src/domain.rs:408
↓ 17 callers
Method
record
(&self)
crates/subspace-core-primitives/src/pieces.rs:1358
↓ 17 callers
Method
timeout
(self)
domains/client/domain-operator/src/tests.rs:100
↓ 17 callers
Method
to_le_bytes
Convert to little endian bytes
crates/subspace-core-primitives/src/lib.rs:324
↓ 16 callers
Method
as_mut
(&mut self)
crates/subspace-farmer-components/src/lib.rs:105
↓ 16 callers
Method
audit
( &'a self, options: PlotAuditOptions<'a, 'b, PosTable>, )
crates/subspace-farmer/src/single_disk_farm/farming.rs:131
↓ 16 callers
Function
create
(seed: PotSeed, key: PotKey, checkpoint_iterations: u32)
crates/subspace-proof-of-time/src/aes.rs:15
↓ 16 callers
Function
create_archived_segment
()
crates/pallet-subspace/src/mock.rs:270
↓ 16 callers
Method
finish
(self)
crates/subspace-core-primitives/src/checksum.rs:90
↓ 16 callers
Function
generate_evm_account_list
Generate the supplied kind of account list.
domains/test/utils/src/test_ethereum.rs:25
↓ 16 callers
Method
get
(&self)
crates/sc-consensus-subspace-rpc/src/lib.rs:201
↓ 16 callers
Function
register_genesis_domain
(creator: u128, operator_number: usize)
crates/pallet-domains/src/tests.rs:211
↓ 16 callers
Method
run
(mut self)
crates/subspace-service/src/metrics.rs:54
↓ 16 callers
Method
set_extrinsics
Sets extrinsics to the bundle.
crates/sp-domains/src/bundle.rs:243
↓ 15 callers
Method
boxed
Returns an instance of `StubNetworkingParametersManager` as the `Box` reference.
crates/subspace-networking/src/behavior/persistent_parameters.rs:227
↓ 15 callers
Method
clone
(&self)
crates/subspace-farmer-components/src/proving.rs:118
↓ 15 callers
Function
operator_expected_bundles_in_epoch
Compute epoch-end expectations for an operator using the exact VRF threshold. Returns None if the operator is not throughput-relevant this epoch. Flo
crates/sp-domains/src/offline_operators.rs:193
↓ 15 callers
Method
output
(&self)
crates/subspace-core-primitives/src/pot.rs:336
↓ 15 callers
Method
read_exact_at
(&self, buf: &mut [u8], mut offset: u64)
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:83
↓ 15 callers
Function
run_future_in_dedicated_thread
Runs future on a dedicated thread with the specified name. Will block on drop until background thread with future is stopped, ensuring nothing is left
shared/subspace-process/src/lib.rs:152
↓ 15 callers
Method
update
( mut self, mut best_slot: Slot, mut best_output: PotOutput, maybe_updated_par
crates/sc-proof-of-time/src/source/state.rs:14
↓ 14 callers
Method
block_body
(&self, at: Block::Hash)
domains/client/domain-operator/src/fraud_proof.rs:940
↓ 14 callers
Function
create_dummy_bundle_with_receipts
( domain_id: DomainId, operator_id: OperatorId, bundle_extrinsics_root: H256, receipt: Executi
crates/pallet-domains/src/tests.rs:158
↓ 14 callers
Method
id
Node's own local ID.
crates/subspace-networking/src/node.rs:279
↓ 14 callers
Method
open
Opens the existing identity, returns `Ok(None)` if it doesn't exist.
crates/subspace-farmer/src/single_disk_farm/identity.rs:93
↓ 14 callers
Method
start_cross_domain_gossip_message_worker
Start the cross domain gossip message worker.
test/subspace-test-service/src/lib.rs:744
↓ 14 callers
Method
update_progress_and_events
Returns `true` on success and `false` if progress receiver channel is gone
crates/subspace-farmer/src/cluster/plotter.rs:698
↓ 13 callers
Method
chain_constants
Subspace chain constants.
crates/sc-consensus-subspace/src/lib.rs:120
↓ 13 callers
Method
checked_mul
Multiplies two numbers, checking for underflow or overflow. If underflow or overflow happens, `None` is returned.
crates/subspace-core-primitives/src/lib.rs:340
↓ 13 callers
Method
cmp
(&self, other: &Self)
crates/subspace-networking/src/utils/key_with_distance.rs:54
↓ 13 callers
Method
confirmation_depth_k
Depth `K` after which a block enters the recorded history.
crates/sp-consensus-subspace/src/lib.rs:285
↓ 13 callers
Method
find_proof
( &'a self, first_challenge_bytes: [u8; 4], )
crates/subspace-proof-of-space/src/chiapos/tables.rs:191
↓ 13 callers
Method
generate_parallel
(&self, seed: &PosSeed)
crates/subspace-proof-of-space/src/chia.rs:30
↓ 13 callers
Method
invalid_bundle_type
(&self)
crates/sp-domains-fraud-proof/src/fraud_proof.rs:558
↓ 13 callers
Method
merge
(left: &Self::Item, right: &Self::Item)
crates/subspace-service/src/mmr/sync.rs:100
↓ 13 callers
Function
pieces_to_option_of_pieces
(pieces: &FlatPieces)
crates/subspace-archiving/tests/integration/reconstructor.rs:15
↓ 13 callers
Method
pot_info
(&self)
crates/sp-consensus-subspace/src/digests.rs:50
↓ 13 callers
Method
public_key
Returns the public key of the identity.
crates/subspace-farmer/src/single_disk_farm/identity.rs:135
↓ 13 callers
Function
sector_size
(pieces_in_sector: u16)
crates/subspace-farmer-components/src/sector.rs:47
↓ 13 callers
Function
write_potential_padding
Sets the data at the end of the piece to the correct byte values for padding.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:135
↓ 12 callers
Method
as_ref
(&self)
crates/subspace-core-primitives/src/pieces.rs:318
↓ 12 callers
Method
build
Consume the builder to build a valid `Block` containing all pushed extrinsics. Returns the build `Block`, the changes to the storage and an optional
domains/client/block-builder/src/lib.rs:205
↓ 12 callers
Method
domain_id
Returns the domain_id of this bundle.
crates/sp-domains/src/bundle.rs:116
↓ 12 callers
Function
extend_block_tree_from_zero
Submit new head receipt to extend the block tree from the genesis block
crates/pallet-domains/src/tests.rs:265
↓ 12 callers
Method
on_new_listener
Callback is called when node starts listening on new address.
crates/subspace-networking/src/node.rs:555
↓ 12 callers
Function
open_xdm_channel
Open XDM channel between the consensus chain and the EVM domain
domains/client/domain-operator/src/tests.rs:218
↓ 12 callers
Method
position
(&self, position: Position)
crates/subspace-proof-of-space/src/chiapos/table.rs:936
↓ 12 callers
Function
prepare_fraud_proof
( tokio_handle: Handle, bad_receipt_maker: impl Fn(ExecutionReceiptMutRefFor) + Send + 'static, )
crates/sp-domains-fraud-proof/benches/fraud_proof_verification.rs:216
↓ 12 callers
Method
run
(&self)
crates/subspace-node/src/domain/cli.rs:327
↓ 12 callers
Method
set_len
Truncates or extends the underlying file, updating the size of this file to become `size`.
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:183
↓ 12 callers
Method
submit_transaction
Submit a tx to the tx pool
test/subspace-test-service/src/lib.rs:926
↓ 12 callers
Function
transfer
()
domains/pallets/transporter/src/benchmarking.rs:24
↓ 12 callers
Method
upgrade
Try to upgrade to [`Node`]
crates/subspace-networking/src/node.rs:672
↓ 11 callers
Method
block_fees
Returns the Block fees of the Execution.
crates/sp-domains/src/execution_receipt.rs:218
↓ 11 callers
Function
chain_spec_properties
Shared chain spec properties related to the coin.
crates/subspace-node/src/chain_spec_utils.rs:14
↓ 11 callers
Method
clear
Clears internal state before start of the next segment
crates/subspace-archiving/src/archiver/incremental_record_commitments.rs:51
↓ 11 callers
Method
derive_evaluation_seed
Derive evaluation seed
crates/subspace-core-primitives/src/sectors.rs:126
↓ 11 callers
Method
maybe_domain_chain
(&self)
crates/sp-domains/src/lib.rs:238
↓ 11 callers
Method
poly
Create polynomial from data. Data must be multiple of 32 bytes, each containing up to 254 bits of information. The resulting polynomial is in coeffic
shared/subspace-kzg/src/lib.rs:753
↓ 11 callers
Function
prove
Run PoT proving and produce checkpoints. Returns error if `iterations` is not a multiple of checkpoints times two.
crates/subspace-proof-of-time/src/lib.rs:30
↓ 11 callers
Method
read_at
(&self, _buf: &mut [u8], _offset: u64)
crates/subspace-farmer-components/src/lib.rs:77
↓ 11 callers
Method
send_generic_request
Sends the generic request to the peer and awaits the result. Optional addresses will be used for dialing if connection to peer isn't established yet.
crates/subspace-networking/src/node.rs:410
↓ 11 callers
Function
set_exit_on_panic
Install a panic handler which exits on panics, rather than unwinding. Unwinding can hang the tokio runtime waiting for stuck tasks or threads.
shared/subspace-process/src/lib.rs:250
↓ 11 callers
Function
setup_operator_with_nominator
Helper function to set up a basic operator-nominator scenario
crates/pallet-domains/src/nominator_position.rs:296
↓ 11 callers
Method
size
(&self)
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:60
↓ 11 callers
Function
y_size_bits
Compute the size of `y` in bits
crates/subspace-proof-of-space/src/chiapos/table.rs:78
↓ 10 callers
Method
add
( &mut self, farmer_id: ClusterFarmerId, farms: Vec<ClusterFarmerFarmDetails>, )
crates/subspace-farmer/src/cluster/controller/farms.rs:95
↓ 10 callers
Function
advance_epoch
Helper function to perform epoch transition
crates/pallet-domains/src/nominator_position.rs:316
↓ 10 callers
Function
blake3_hash_list
(data: &[&[u8]])
crates/subspace-core-primitives/src/hashes.rs:151
↓ 10 callers
Method
block_authoring_delay
Number of slots between slot arrival and when corresponding block can be produced.
crates/sp-consensus-subspace/src/lib.rs:300
↓ 10 callers
Method
broadcast
Send a broadcast message
crates/subspace-farmer/src/cluster/nats_client.rs:1048
↓ 10 callers
Method
consensus_mmr_proof
( &self, )
domains/primitives/messenger/src/messages.rs:206
↓ 10 callers
Function
create_execution_receipt
(consensus_block_number: BlockNumber)
domains/client/domain-operator/src/aux_schema.rs:350
↓ 10 callers
Function
expected_storage_fee
Helper function to calculate expected storage fee
crates/pallet-domains/src/nominator_position.rs:338
↓ 10 callers
Function
generate_eth_domain_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:118
↓ 10 callers
Method
max_segment_index
Returns last observed segment index
crates/sc-consensus-subspace/src/archiver.rs:173
↓ 10 callers
Method
produce_block_with_extrinsics
( &mut self, extrinsics: Vec<ExtrinsicFor<Block>>, )
test/subspace-test-service/src/lib.rs:1292
↓ 10 callers
Function
register_issuer_auto_id
()
domains/pallets/auto-id/src/tests.rs:161
← previous
next →
101–200 of 4,141, ranked by callers