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
↓ 10 callers
Method
run
Drives the main networking future forward.
crates/subspace-networking/src/node_runner.rs:235
↓ 10 callers
Method
run
(self: Box<Self>)
crates/subspace-farmer/src/cluster/farmer.rs:289
↓ 10 callers
Method
segment_headers_for_block
Get segment headers that are expected to be included at specified block number.
crates/sc-consensus-subspace/src/archiver.rs:256
↓ 10 callers
Method
set_bundle_extrinsics_root
Sets bundle extrinsic root.
crates/sp-domains/src/bundle.rs:250
↓ 10 callers
Function
setup_evm_test_accounts
( ferdie_key: Sr25519Keyring, private_evm: bool, evm_owner: impl Into<Option<Sr25519Keyring>>, )
domains/client/domain-operator/src/tests.rs:182
↓ 10 callers
Method
using_encoded
(&self, f: F)
crates/subspace-core-primitives/src/pieces.rs:1029
↓ 9 callers
Method
block
The fixed block number to start creating object mappings from. If there is no fixed block number, or mappings are disabled, returns None.
crates/sc-consensus-subspace/src/archiver.rs:375
↓ 9 callers
Method
commit
Computes a `Commitment` to `polynomial`
shared/subspace-kzg/src/lib.rs:763
↓ 9 callers
Method
detach
(&self)
crates/subspace-farmer/src/farm.rs:468
↓ 9 callers
Function
fake_hash
(n: u32)
crates/sc-consensus-subspace/src/aux_schema.rs:198
↓ 9 callers
Method
generate
(&self, seed: &PosSeed)
crates/subspace-proof-of-space/src/chia.rs:23
↓ 9 callers
Function
generate_mmr_proof
Generate MMR proof for the block `to_prove` in the current best fork. The returned proof can be later used to verify stateless (without query offchai
crates/sc-domains/src/lib.rs:155
↓ 9 callers
Method
get
( &self, )
crates/subspace-farmer/src/single_disk_farm/plotted_sectors.rs:24
↓ 9 callers
Method
inboxed_bundles
Returns the inboxed bundles.
crates/sp-domains/src/execution_receipt.rs:200
↓ 9 callers
Method
inc_by
Increments the counter by specified value.
crates/sc-subspace-block-relay/src/utils.rs:157
↓ 9 callers
Method
into_inner
Extract inner value
crates/subspace-farmer-components/src/lib.rs:115
↓ 9 callers
Method
is_empty
(&self)
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:754
↓ 9 callers
Method
is_major_syncing
(&self)
domains/client/domain-operator/src/lib.rs:127
↓ 9 callers
Function
new_test_ext
()
domains/pallets/transporter/src/mock.rs:200
↓ 9 callers
Method
next_parameters_change
Get next proof of time parameters change if any
crates/sp-consensus-subspace/src/lib.rs:558
↓ 9 callers
Method
pieces
(&self)
crates/subspace-core-primitives/src/pieces.rs:1494
↓ 9 callers
Method
request_responder
Responds to requests from the given subject using the provided processing function. This will create a subscription on the subject for the given inst
crates/subspace-farmer/src/cluster/nats_client.rs:514
↓ 9 callers
Method
stream_request
Make request that expects stream response
crates/subspace-farmer/src/cluster/nats_client.rs:626
↓ 9 callers
Function
write_segment_header
Writes a segment header at the start of the piece, given the remaining object length. Returns the remaining raw data from the piece, after the segment
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:147
↓ 8 callers
Method
acquire_permit
(&self)
crates/subspace-networking/src/utils/rate_limiter.rs:53
↓ 8 callers
Method
clear
(&mut self)
crates/sp-domains/src/lib.rs:972
↓ 8 callers
Method
clone
(&self)
domains/client/domain-operator/src/fraud_proof.rs:93
↓ 8 callers
Method
clone
(&self)
domains/client/block-preprocessor/src/lib.rs:95
↓ 8 callers
Method
derive_global_randomness
(&self)
crates/subspace-core-primitives/src/pot.rs:278
↓ 8 callers
Function
derive_pot_external_entropy
( consensus_chain_config: &Configuration, maybe_pot_external_entropy: Option<String>, )
crates/subspace-node/src/main.rs:87
↓ 8 callers
Function
do_open_channel
()
domains/pallets/messenger/src/benchmarking.rs:77
↓ 8 callers
Method
extrinsics_root
Return the `bundle_extrinsics_root`
crates/sp-domains/src/bundle.rs:123
↓ 8 callers
Method
get
()
domains/pallets/evm-tracker/src/lib.rs:86
↓ 8 callers
Method
get
()
crates/pallet-subspace/src/lib.rs:154
↓ 8 callers
Method
get_closest_peers
Get closest peers by multihash key using Kademlia DHT.
crates/subspace-networking/src/node.rs:424
↓ 8 callers
Method
insert_aux
( &self, insert: I, delete: D, )
domains/client/domain-operator/src/aux_schema.rs:371
↓ 8 callers
Method
nonce
(&self)
domains/pallets/auto-id/src/lib.rs:156
↓ 8 callers
Method
objects
Returns the object mappings
crates/subspace-core-primitives/src/objects.rs:60
↓ 8 callers
Function
open_channel_between_chains
( chain_a_test_ext: &mut TestExternalities, chain_b_test_ext: &mut TestExternalities, )
domains/pallets/messenger/src/tests.rs:260
↓ 8 callers
Method
proof_of_time
(&self)
crates/sp-consensus-subspace/src/digests.rs:72
↓ 8 callers
Method
publish
Subscribe a messgo to some topic on the DSN.
crates/subspace-networking/src/node.rs:358
↓ 8 callers
Method
set
Storage: `Timestamp::Now` (r:1 w:1) Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
crates/subspace-runtime/src/weights/pallet_timestamp.rs:37
↓ 8 callers
Method
sign
Sign `msg`.
domains/test/service/src/keyring.rs:21
↓ 8 callers
Method
source_position
(&self)
crates/subspace-core-primitives/src/pieces.rs:139
↓ 7 callers
Function
block_weight_key
The aux storage key used to store the block weight of the given block hash.
crates/sc-consensus-subspace/src/aux_schema.rs:25
↓ 7 callers
Function
channel_relay_request_and_response
( chain_a_test_ext: &mut TestExternalities, chain_b_test_ext: &mut TestExternalities, channel_id:
domains/pallets/messenger/src/tests.rs:535
↓ 7 callers
Function
chernoff_threshold_fp
Chernoff lower-tail threshold r for Binomial(S, p), with false-positive at most τ. Inputs: - slots_in_epoch: S (number of slots in the epoch) - p_slo
crates/sp-domains/src/offline_operators.rs:102
↓ 7 callers
Method
clear_tx_pool
Remove all tx from the tx pool
domains/test/service/src/domain.rs:569
↓ 7 callers
Method
clone
(&self)
domains/client/domain-operator/src/domain_block_processor.rs:81
↓ 7 callers
Function
create_channel
(chain_id: ChainId, channel_id: ChannelId)
domains/pallets/messenger/src/tests.rs:34
↓ 7 callers
Method
create_witness
Computes a `Witness` of evaluation of `polynomial` at `index`
shared/subspace-kzg/src/lib.rs:771
↓ 7 callers
Method
deconstruct
(self)
crates/pallet-domains/src/staking.rs:98
↓ 7 callers
Method
derive_global_challenge
Derive global slot challenge from global randomness. TODO: Separate type for global challenge
crates/subspace-core-primitives/src/lib.rs:110
↓ 7 callers
Method
derive_piece_index
Derive piece index that should be stored in sector at `piece_offset` for specified size of blockchain history
crates/subspace-core-primitives/src/sectors.rs:72
↓ 7 callers
Method
execute_in_transaction
( &mut self, call: F, )
domains/client/block-builder/src/custom_api.rs:399
↓ 7 callers
Function
expected_staking_portion
Helper function to calculate expected staking portion
crates/pallet-domains/src/nominator_position.rs:332
↓ 7 callers
Function
extract_pre_digest
Extract the Subspace pre digest from the given header. Pre-runtime digests are mandatory, the function will return `Err` if none is found.
crates/sp-consensus-subspace/src/digests.rs:577
↓ 7 callers
Method
farmer_app_info
(&self)
crates/subspace-farmer/src/farmer_cache/tests.rs:41
↓ 7 callers
Method
final_state_root
Returns the final state root of the execution.
crates/sp-domains/src/execution_receipt.rs:176
↓ 7 callers
Method
get_backend
(&self, cache_index: CacheIndex)
crates/subspace-farmer/src/farmer_cache/piece_cache_state.rs:114
↓ 7 callers
Function
get_channel_state
Load the channel state of self_chain_id on src_chain_id.
domains/client/cross-domain-message-gossip/src/aux_schema.rs:59
↓ 7 callers
Function
get_genesis_by_spec_id
(_: SpecId)
crates/subspace-node/src/domain/auto_id_chain_spec.rs:116
↓ 7 callers
Function
get_genesis_by_spec_id
(_: SpecId)
crates/subspace-node/src/domain/evm_chain_spec.rs:123
↓ 7 callers
Function
handle_bad_receipt
(n: Linear<1, MAX_BUNDLE_PER_BLOCK>)
crates/pallet-domains/src/benchmarking.rs:218
↓ 7 callers
Method
is_consensus_chain
(&self)
crates/sp-domains/src/lib.rs:230
↓ 7 callers
Method
is_enabled
Returns true if object mappings will be created from a past or future block.
crates/sc-consensus-subspace/src/archiver.rs:384
↓ 7 callers
Method
iter_record_bitfields_mut
Iterate mutably over individual record bitfields
crates/subspace-farmer-components/src/sector.rs:402
↓ 7 callers
Function
metadata_size_bits
Metadata size in bits
crates/subspace-proof-of-space/src/chiapos/table.rs:88
↓ 7 callers
Function
new_ephemeral
( identity: Keypair, connection_timeout: Duration, behaviour: NB, )
crates/subspace-networking/src/protocols/reserved_peers/tests.rs:190
↓ 7 callers
Method
notify_new_slot_and_wait_for_bundle
Notify the executor about the new slot and wait for the bundle produced at this slot.
test/subspace-test-service/src/lib.rs:789
↓ 7 callers
Method
offset
Get implementation of [`ReadAtSync`] that add specified offset to all attempted reads
crates/subspace-farmer-components/src/lib.rs:62
↓ 7 callers
Function
parse_cpu_cores_sets
Parse space-separated set of groups of CPU cores (individual cores are coma-separated) into vector of CPU core sets that can be used for creation of p
crates/subspace-farmer/src/utils.rs:240
↓ 7 callers
Method
public_key
Public key of identity used for farm creation
crates/subspace-farmer/src/single_disk_farm.rs:210
↓ 7 callers
Method
push_chain_sink
Collect the chain sink that will be used by the gossip message worker later.
domains/client/cross-domain-message-gossip/src/gossip_worker.rs:84
↓ 7 callers
Method
serialize
(&self, serializer: S)
crates/subspace-core-primitives/src/pos.rs:67
↓ 7 callers
Method
subscribe
Subscribe to a channel through which notifications are sent.
crates/sc-consensus-subspace/src/notification.rs:63
↓ 7 callers
Function
test_invalid_state_transition_proof_creation_and_verification
This test will create and verify a invalid state transition proof that targets the receipt of a bundle that contains 2 extrinsic (including 1 inherent
domains/client/domain-operator/src/tests.rs:2784
↓ 7 callers
Method
to_raw_record_chunks
( &self, )
crates/subspace-core-primitives/src/pieces.rs:648
↓ 7 callers
Method
update_progress_and_events
Returns `true` on success and `false` if progress receiver channel is gone
crates/subspace-farmer/src/plotter/cpu.rs:475
↓ 7 callers
Method
update_progress_and_events
Returns `true` on success and `false` if progress receiver channel is gone
crates/subspace-farmer/src/plotter/gpu.rs:463
↓ 7 callers
Method
upgrade
Try to upgrade to [`FarmerPieceGetter`] if there is at least one other instance of it alive
crates/subspace-farmer/src/farmer_piece_getter.rs:502
↓ 7 callers
Method
wrapping_sub
(&self, other: &Self)
crates/subspace-core-primitives/src/lib.rs:402
↓ 7 callers
Method
write_piece
( &self, offset: PieceCacheOffset, piece_index: PieceIndex, piece: &Piece,
crates/subspace-farmer/src/cluster/cache.rs:217
↓ 6 callers
Method
add_segment_headers
Add segment headers. Multiple can be inserted for efficiency purposes.
crates/sc-consensus-subspace/src/archiver.rs:181
↓ 6 callers
Function
address_build
Returns an AccountInfo struct with a deterministic address and private key. Seed zero produces an invalid private key, so we add one to the supplied s
domains/test/utils/src/test_ethereum_tx.rs:30
↓ 6 callers
Method
advise_random_access
(&mut self)
crates/subspace-farmer-components/src/file_ext.rs:26
↓ 6 callers
Function
blake3_254_hash_to_scalar
(data: &[u8])
crates/subspace-core-primitives/src/hashes.rs:161
↓ 6 callers
Method
block_hash
Converts the BlockId to block hash
crates/sc-subspace-block-relay/src/consensus/relay.rs:523
↓ 6 callers
Method
body_length
Return the bundle body length. i.e number of extrinsics in the bundle.
crates/sp-domains/src/bundle.rs:193
↓ 6 callers
Method
consensus_transaction_byte_fee
The external function used to access the consensus transaction byte fee stored in `BlockInherentExtrinsicData`. This value is returned by the consensu
crates/pallet-domains/src/lib.rs:3001
↓ 6 callers
Function
corrupt_er
(opaque_bundle: &mut OpaqueBundleOf<Runtime>, fields: BadFieldSet)
domains/client/domain-operator/src/tests.rs:8983
↓ 6 callers
Function
create_dummy_receipt
( block_number: BlockNumber, consensus_block_hash: Hash, parent_domain_block_receipt_hash: H256,
crates/pallet-domains/src/tests.rs:99
↓ 6 callers
Function
deactivate_operator
()
crates/pallet-domains/src/benchmarking.rs:1114
↓ 6 callers
Method
dispatch_call
( &self, fn_name: &dyn Fn(RuntimeVersion) -> &'static str, input: Vec<u8>, )
domains/client/block-preprocessor/src/stateless_runtime.rs:196
↓ 6 callers
Function
encode_block
Encode block for archiving purposes. Only specific Subspace justifications are included in the encoding, determined by result of [`SubspaceJustificat
crates/sc-consensus-subspace/src/archiver.rs:515
↓ 6 callers
Method
extract_successful_bundles
( &self, consensus_block_hash: CBlock::Hash, domain_id: DomainId, consensus_ex
domains/client/domain-operator/src/fraud_proof.rs:313
↓ 6 callers
Method
generate_and_encode_pospace
Generates and encodes PoSpace on the GPU
shared/subspace-proof-of-space-gpu/src/rocm.rs:74
↓ 6 callers
Method
genesis_seed
Get genesis seed
crates/sc-proof-of-time/src/verifier.rs:59
↓ 6 callers
Method
gossip_msg_sink
Get the gossip message sink
domains/client/cross-domain-message-gossip/src/gossip_worker.rs:94
↓ 6 callers
Method
head_receipt_number
Returns the best execution chain number.
crates/pallet-domains/src/lib.rs:2873
← previous
next →
201–300 of 4,141, ranked by callers