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,060 callers
Method
saturating_add
Saturating addition. Computes `self + other`, saturating at the relevant high or low boundary of the type.
crates/subspace-core-primitives/src/lib.rs:352
↓ 358 callers
Method
len
Total number of candidates
crates/subspace-farmer-components/src/proving.rs:153
↓ 335 callers
Method
iter
Produces an iterator over encoded chunks bitfields.
crates/subspace-farmer-components/src/sector.rs:204
↓ 322 callers
Method
clone
(&self)
domains/client/domain-operator/src/operator.rs:57
↓ 284 callers
Method
clone
(&self)
crates/subspace-core-primitives/src/pieces.rs:966
↓ 266 callers
Method
clone
(&self)
crates/sc-domains/src/lib.rs:117
↓ 254 callers
Method
encode
(&self)
crates/subspace-core-primitives/src/pieces.rs:1024
↓ 223 callers
Method
as_ref
(&self)
crates/subspace-core-primitives/src/lib.rs:92
↓ 214 callers
Method
push
When pushing a new task, it first checks if there is already a future for the given `index` in `in_progress`. - If there is, the task is added to `que
crates/subspace-farmer/src/cluster/controller/stream_map.rs:38
↓ 212 callers
Method
info
Info of this farm
crates/subspace-farmer/src/single_disk_farm.rs:1625
↓ 212 callers
Method
saturating_mul
Saturating multiplication. Computes `self * other`, saturating at the relevant high or low boundary of the type.
crates/subspace-core-primitives/src/lib.rs:364
↓ 177 callers
Method
runtime_api
(&self)
crates/sp-subspace-mmr/src/benchmarking.rs:85
↓ 169 callers
Method
clone
(&self)
domains/service/src/rpc.rs:53
↓ 161 callers
Method
clone
(&self)
crates/subspace-farmer/src/single_disk_farm/farming.rs:107
↓ 137 callers
Method
produce_slot_and_wait_for_bundle_submission
Produce a new slot and wait for a bundle produced at this slot.
test/subspace-test-service/src/lib.rs:801
↓ 125 callers
Method
clone
(&self)
crates/subspace-networking/src/protocols/request_response/request_response_factory.rs:84
↓ 120 callers
Method
as_ref
(&self)
domains/primitives/auto-id/src/lib.rs:112
↓ 107 callers
Method
is_empty
Returns true if no candidates inside
crates/subspace-farmer-components/src/proving.rs:158
↓ 105 callers
Method
to_account_id
Return account id
domains/test/service/src/keyring.rs:42
↓ 100 callers
Method
next
(&mut self)
crates/subspace-farmer-components/src/proving.rs:237
↓ 90 callers
Method
next
(&mut self)
crates/subspace-farmer/src/cluster/nats_client.rs:112
↓ 89 callers
Method
remove
Remove temporary ban for peer. Returns `true` if there was an entry for peer during call.
crates/subspace-networking/src/constructor/temporary_bans.rs:100
↓ 87 callers
Function
channel
Creates a new pair of receiver and sender of notifications.
crates/sc-consensus-subspace/src/notification.rs:71
↓ 83 callers
Method
build_evm_node
Build an EVM domain node
domains/test/service/src/domain.rs:725
↓ 73 callers
Method
checked_add
Adds two numbers, checking for overflow. If overflow happens, `None` is returned.
crates/subspace-core-primitives/src/lib.rs:329
↓ 71 callers
Method
checked_sub
Subtracts two numbers, checking for underflow. If underflow happens, `None` is returned.
crates/subspace-core-primitives/src/lib.rs:334
↓ 71 callers
Method
init
( directory: &PathBuf, farmer_app_info: &FarmerAppInfo, allocated_space: u64,
crates/subspace-farmer/src/single_disk_farm.rs:1228
↓ 71 callers
Function
num_buckets
Number of buckets for a given `k`
crates/subspace-proof-of-space/src/chiapos/table.rs:102
↓ 71 callers
Function
run
(run_options: RunOptions)
crates/subspace-node/src/commands/run.rs:63
↓ 68 callers
Method
hash
Returns the hash of this bundle.
crates/sp-domains/src/bundle.rs:111
↓ 66 callers
Method
as_mut
(&mut self)
crates/subspace-core-primitives/src/lib.rs:99
↓ 66 callers
Method
iter_mut
Produces a mutable iterator over encoded chunks bitfields.
crates/subspace-farmer-components/src/sector.rs:209
↓ 66 callers
Method
saturating_sub
Saturating subtraction. Computes `self - other`, saturating at the relevant high or low boundary of the type.
crates/subspace-core-primitives/src/lib.rs:358
↓ 64 callers
Method
get
(&self, r: R)
crates/subspace-proof-of-space/src/chiapos/table/rmap.rs:88
↓ 62 callers
Method
segment_index
(&self)
crates/subspace-core-primitives/src/pieces.rs:125
↓ 61 callers
Method
clone
(&self)
test/subspace-test-service/src/lib.rs:1462
↓ 60 callers
Method
len
Returns the total length of the data.
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:748
↓ 53 callers
Method
inc
Increments the counter.
crates/sc-subspace-block-relay/src/utils.rs:118
↓ 51 callers
Function
random_piece
Returns a piece filled with random data.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:82
↓ 50 callers
Function
metadata_size_bytes
Metadata size in bytes
crates/subspace-proof-of-space/src/chiapos/table.rs:83
↓ 50 callers
Method
read
(&self)
crates/subspace-farmer/src/disk_piece_cache.rs:79
↓ 50 callers
Method
sealed_header
Returns the sealed header in the Bundle.
crates/sp-domains/src/bundle.rs:222
↓ 49 callers
Method
write
(&self)
crates/subspace-farmer/src/disk_piece_cache.rs:84
↓ 47 callers
Method
encoded_size
()
crates/subspace-farmer-components/src/sector.rs:123
↓ 46 callers
Method
construct_and_send_extrinsic
Construct a signed extrinsic with the current nonce of the node account and send it to this node.
domains/test/service/src/domain.rs:365
↓ 45 callers
Method
is_empty
(&self)
crates/sp-domains/src/lib.rs:968
↓ 45 callers
Method
pre_hash
Returns the hash of the inner unsealed header.
crates/sp-domains/src/bundle.rs:36
↓ 44 callers
Method
clone
(&self)
crates/subspace-farmer/src/farmer_piece_getter.rs:64
↓ 44 callers
Method
free_balance
Get the free balance of the given account
domains/test/service/src/domain.rs:433
↓ 43 callers
Function
new_test_ext
()
domains/pallets/auto-id/src/tests.rs:92
↓ 43 callers
Method
public
Return public key.
domains/test/service/src/keyring.rs:32
↓ 43 callers
Method
send_extrinsic
Send an extrinsic to this node.
domains/test/service/src/domain.rs:425
↓ 43 callers
Method
to_bytes
(self)
crates/subspace-core-primitives/src/pieces.rs:119
↓ 42 callers
Function
bundle_to_tx
( ferdie: &MockConsensusNode, opaque_bundle: OpaqueBundleOf<Runtime>, )
domains/client/domain-operator/src/tests.rs:8800
↓ 42 callers
Method
pair
Return key pair.
domains/test/service/src/keyring.rs:27
↓ 42 callers
Method
solution
Solution contained within.
crates/sp-consensus-subspace/src/lib.rs:207
↓ 41 callers
Method
construct_and_send_extrinsic_with
Construct a signed extrinsic with the given nonce and tip for the node account and send it to this node.
domains/test/service/src/domain.rs:374
↓ 41 callers
Method
number
(&self, _block_hash: H256)
crates/sp-subspace-mmr/src/benchmarking.rs:73
↓ 41 callers
Method
set_signature
Sets signature of the bundle.
crates/sp-domains/src/bundle.rs:282
↓ 41 callers
Method
sign
( &self, operator_signing_key: &OperatorPublicKey, msg: &[u8], )
domains/client/domain-operator/src/domain_bundle_producer.rs:155
↓ 40 callers
Method
extrinsics
Returns the reference to bundle body. ie extrinsics.
crates/sp-domains/src/bundle.rs:236
↓ 38 callers
Method
build
(&self)
crates/pallet-domains/src/lib.rs:2067
↓ 38 callers
Method
clone
(&self)
domains/client/eth-service/src/rpc.rs:75
↓ 38 callers
Method
clone
(&self)
crates/subspace-farmer/src/plotter/gpu/gpu_encoders_manager.rs:62
↓ 37 callers
Method
get
( &self, )
crates/subspace-farmer/src/cluster/farmer.rs:185
↓ 37 callers
Method
receipt
Returns the receipt on the bundle.
crates/sp-domains/src/bundle.rs:57
↓ 35 callers
Method
extend
Extend sources using erasure coding. Returns parity data.
crates/subspace-erasure-coding/src/lib.rs:47
↓ 35 callers
Function
withdraw_stake
Withdraw stake in a non-proptest.
crates/pallet-domains/src/staking.rs:2604
↓ 34 callers
Method
add_block
Adds new block to internal buffer, potentially producing pieces, segment headers, and object mappings. Incremental archiving can be enabled if amorti
crates/subspace-archiving/src/archiver.rs:342
↓ 33 callers
Method
clone
(&self)
crates/sc-consensus-subspace/src/archiver.rs:117
↓ 33 callers
Function
progress_to_block
Slots will grow accordingly to blocks
crates/pallet-subspace/src/mock.rs:198
↓ 32 callers
Method
produce_blocks
(&mut self, n: u64)
test/subspace-test-service/src/lib.rs:1304
↓ 31 callers
Method
execution_traces
Returns the execution traces of the execution.
crates/sp-domains/src/execution_receipt.rs:206
↓ 31 callers
Function
new_test_ext
()
crates/pallet-domains/src/tests.rs:72
↓ 30 callers
Function
create_mapping
Creates a mapping from piece(s), start piece index, offset, and object length. Returns the mapping and object data. If supplied: - `skip_padding` is
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:271
↓ 30 callers
Function
write_object_length
Encodes an object length at the supplied offset in the piece(s). If skipping padding at `(prefix_bytes, padding_bytes)`, writes `prefix_bytes` of the
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:214
↓ 29 callers
Method
hash
Proof hash.
crates/subspace-core-primitives/src/pos.rs:108
↓ 29 callers
Function
new_test_ext_with_extensions
()
crates/pallet-domains/src/tests.rs:80
↓ 28 callers
Method
account_nonce
Get the nonce of the node account
domains/test/service/src/domain.rs:335
↓ 28 callers
Function
register_operator
( domain_id: DomainId, operator_account: <Test as frame_system::Config>::AccountId, op
crates/pallet-domains/src/staking.rs:1763
↓ 27 callers
Function
create_object_fetcher
Creates an object fetcher from a piece and piece index.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:434
↓ 27 callers
Method
into_receipt
Consumes [`Bundle`] to extract the execution receipt.
crates/sp-domains/src/bundle.rs:144
↓ 26 callers
Method
add
(&mut self, r: R, position: Position)
crates/subspace-proof-of-space/src/chiapos/table/rmap.rs:46
↓ 26 callers
Function
blake3_hash
BLAKE3 hashing of a single value.
crates/subspace-core-primitives/src/hashes.rs:120
↓ 26 callers
Function
create_signed_vote
( keypair: &Keypair, height: u64, parent_hash: BlockHashFor<Block>, slot: Slot, proof_of_t
crates/pallet-subspace/src/mock.rs:288
↓ 26 callers
Method
execution_receipt_as_mut
Returns a mutable reference to Execution receipt.
crates/sp-domains/src/bundle.rs:257
↓ 26 callers
Method
get
(&self, _key: &RecordKey)
crates/subspace-networking/src/constructor.rs:119
↓ 26 callers
Method
to_multihash
(&self)
crates/subspace-networking/src/utils/multihash.rs:49
↓ 26 callers
Method
wait_for_fraud_proof
Return a future that only resolve if a fraud proof that the given `fraud_proof_predicate` return true is submitted to the consensus tx pool
test/subspace-test-service/src/lib.rs:1041
↓ 25 callers
Method
domain_block_number
Returns the domain block number.
crates/sp-domains/src/execution_receipt.rs:164
↓ 25 callers
Method
fetch_object
Single object fetching and assembling. Each piece is initially turned into a PartialData struct. When there are enough pieces to calculate the object
shared/subspace-data-retrieval/src/object_fetcher.rs:328
↓ 25 callers
Function
new_test_ext
(pot_extension: PotExtension)
crates/pallet-subspace/src/mock.rs:230
↓ 25 callers
Method
produce_slot
Produce a slot only, without waiting for the potential slot handlers.
test/subspace-test-service/src/lib.rs:776
↓ 24 callers
Function
allow_all_pot_extension
()
crates/pallet-subspace/src/mock.rs:224
↓ 24 callers
Function
compact_encoded
Returns `len` encoded as a `Compact<u32>`.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:113
↓ 24 callers
Method
header
(&self, _block_hash: H256)
crates/sp-subspace-mmr/src/benchmarking.rs:40
↓ 24 callers
Method
segment_commitment
Segment commitment of the records in a segment.
crates/subspace-core-primitives/src/segments.rs:443
↓ 23 callers
Method
domain_block_hash
Returns the domain block hash.
crates/sp-domains/src/execution_receipt.rs:170
↓ 23 callers
Method
get
()
crates/pallet-domains/src/mock.rs:81
↓ 23 callers
Method
info
(&self)
crates/sp-subspace-mmr/src/benchmarking.rs:52
next →
1–100 of 4,141, ranked by callers