MCPcopy Create free account

hub / github.com/autonomys/subspace / functions

Functions4,141 in github.com/autonomys/subspace

↓ 1,060 callersMethodsaturating_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 callersMethodlen
Total number of candidates
crates/subspace-farmer-components/src/proving.rs:153
↓ 335 callersMethoditer
Produces an iterator over encoded chunks bitfields.
crates/subspace-farmer-components/src/sector.rs:204
↓ 322 callersMethodclone
(&self)
domains/client/domain-operator/src/operator.rs:57
↓ 284 callersMethodclone
(&self)
crates/subspace-core-primitives/src/pieces.rs:966
↓ 266 callersMethodclone
(&self)
crates/sc-domains/src/lib.rs:117
↓ 254 callersMethodencode
(&self)
crates/subspace-core-primitives/src/pieces.rs:1024
↓ 223 callersMethodas_ref
(&self)
crates/subspace-core-primitives/src/lib.rs:92
↓ 214 callersMethodpush
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 callersMethodinfo
Info of this farm
crates/subspace-farmer/src/single_disk_farm.rs:1625
↓ 212 callersMethodsaturating_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 callersMethodruntime_api
(&self)
crates/sp-subspace-mmr/src/benchmarking.rs:85
↓ 169 callersMethodclone
(&self)
domains/service/src/rpc.rs:53
↓ 161 callersMethodclone
(&self)
crates/subspace-farmer/src/single_disk_farm/farming.rs:107
↓ 137 callersMethodproduce_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 callersMethodclone
(&self)
crates/subspace-networking/src/protocols/request_response/request_response_factory.rs:84
↓ 120 callersMethodas_ref
(&self)
domains/primitives/auto-id/src/lib.rs:112
↓ 107 callersMethodis_empty
Returns true if no candidates inside
crates/subspace-farmer-components/src/proving.rs:158
↓ 105 callersMethodto_account_id
Return account id
domains/test/service/src/keyring.rs:42
↓ 100 callersMethodnext
(&mut self)
crates/subspace-farmer-components/src/proving.rs:237
↓ 90 callersMethodnext
(&mut self)
crates/subspace-farmer/src/cluster/nats_client.rs:112
↓ 89 callersMethodremove
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 callersFunctionchannel
Creates a new pair of receiver and sender of notifications.
crates/sc-consensus-subspace/src/notification.rs:71
↓ 83 callersMethodbuild_evm_node
Build an EVM domain node
domains/test/service/src/domain.rs:725
↓ 73 callersMethodchecked_add
Adds two numbers, checking for overflow. If overflow happens, `None` is returned.
crates/subspace-core-primitives/src/lib.rs:329
↓ 71 callersMethodchecked_sub
Subtracts two numbers, checking for underflow. If underflow happens, `None` is returned.
crates/subspace-core-primitives/src/lib.rs:334
↓ 71 callersMethodinit
( directory: &PathBuf, farmer_app_info: &FarmerAppInfo, allocated_space: u64,
crates/subspace-farmer/src/single_disk_farm.rs:1228
↓ 71 callersFunctionnum_buckets
Number of buckets for a given `k`
crates/subspace-proof-of-space/src/chiapos/table.rs:102
↓ 71 callersFunctionrun
(run_options: RunOptions)
crates/subspace-node/src/commands/run.rs:63
↓ 68 callersMethodhash
Returns the hash of this bundle.
crates/sp-domains/src/bundle.rs:111
↓ 66 callersMethodas_mut
(&mut self)
crates/subspace-core-primitives/src/lib.rs:99
↓ 66 callersMethoditer_mut
Produces a mutable iterator over encoded chunks bitfields.
crates/subspace-farmer-components/src/sector.rs:209
↓ 66 callersMethodsaturating_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 callersMethodget
(&self, r: R)
crates/subspace-proof-of-space/src/chiapos/table/rmap.rs:88
↓ 62 callersMethodsegment_index
(&self)
crates/subspace-core-primitives/src/pieces.rs:125
↓ 61 callersMethodclone
(&self)
test/subspace-test-service/src/lib.rs:1462
↓ 60 callersMethodlen
Returns the total length of the data.
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:748
↓ 53 callersMethodinc
Increments the counter.
crates/sc-subspace-block-relay/src/utils.rs:118
↓ 51 callersFunctionrandom_piece
Returns a piece filled with random data.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:82
↓ 50 callersFunctionmetadata_size_bytes
Metadata size in bytes
crates/subspace-proof-of-space/src/chiapos/table.rs:83
↓ 50 callersMethodread
(&self)
crates/subspace-farmer/src/disk_piece_cache.rs:79
↓ 50 callersMethodsealed_header
Returns the sealed header in the Bundle.
crates/sp-domains/src/bundle.rs:222
↓ 49 callersMethodwrite
(&self)
crates/subspace-farmer/src/disk_piece_cache.rs:84
↓ 47 callersMethodencoded_size
()
crates/subspace-farmer-components/src/sector.rs:123
↓ 46 callersMethodconstruct_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 callersMethodis_empty
(&self)
crates/sp-domains/src/lib.rs:968
↓ 45 callersMethodpre_hash
Returns the hash of the inner unsealed header.
crates/sp-domains/src/bundle.rs:36
↓ 44 callersMethodclone
(&self)
crates/subspace-farmer/src/farmer_piece_getter.rs:64
↓ 44 callersMethodfree_balance
Get the free balance of the given account
domains/test/service/src/domain.rs:433
↓ 43 callersFunctionnew_test_ext
()
domains/pallets/auto-id/src/tests.rs:92
↓ 43 callersMethodpublic
Return public key.
domains/test/service/src/keyring.rs:32
↓ 43 callersMethodsend_extrinsic
Send an extrinsic to this node.
domains/test/service/src/domain.rs:425
↓ 43 callersMethodto_bytes
(self)
crates/subspace-core-primitives/src/pieces.rs:119
↓ 42 callersFunctionbundle_to_tx
( ferdie: &MockConsensusNode, opaque_bundle: OpaqueBundleOf<Runtime>, )
domains/client/domain-operator/src/tests.rs:8800
↓ 42 callersMethodpair
Return key pair.
domains/test/service/src/keyring.rs:27
↓ 42 callersMethodsolution
Solution contained within.
crates/sp-consensus-subspace/src/lib.rs:207
↓ 41 callersMethodconstruct_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 callersMethodnumber
(&self, _block_hash: H256)
crates/sp-subspace-mmr/src/benchmarking.rs:73
↓ 41 callersMethodset_signature
Sets signature of the bundle.
crates/sp-domains/src/bundle.rs:282
↓ 41 callersMethodsign
( &self, operator_signing_key: &OperatorPublicKey, msg: &[u8], )
domains/client/domain-operator/src/domain_bundle_producer.rs:155
↓ 40 callersMethodextrinsics
Returns the reference to bundle body. ie extrinsics.
crates/sp-domains/src/bundle.rs:236
↓ 38 callersMethodbuild
(&self)
crates/pallet-domains/src/lib.rs:2067
↓ 38 callersMethodclone
(&self)
domains/client/eth-service/src/rpc.rs:75
↓ 38 callersMethodclone
(&self)
crates/subspace-farmer/src/plotter/gpu/gpu_encoders_manager.rs:62
↓ 37 callersMethodget
( &self, )
crates/subspace-farmer/src/cluster/farmer.rs:185
↓ 37 callersMethodreceipt
Returns the receipt on the bundle.
crates/sp-domains/src/bundle.rs:57
↓ 35 callersMethodextend
Extend sources using erasure coding. Returns parity data.
crates/subspace-erasure-coding/src/lib.rs:47
↓ 35 callersFunctionwithdraw_stake
Withdraw stake in a non-proptest.
crates/pallet-domains/src/staking.rs:2604
↓ 34 callersMethodadd_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 callersMethodclone
(&self)
crates/sc-consensus-subspace/src/archiver.rs:117
↓ 33 callersFunctionprogress_to_block
Slots will grow accordingly to blocks
crates/pallet-subspace/src/mock.rs:198
↓ 32 callersMethodproduce_blocks
(&mut self, n: u64)
test/subspace-test-service/src/lib.rs:1304
↓ 31 callersMethodexecution_traces
Returns the execution traces of the execution.
crates/sp-domains/src/execution_receipt.rs:206
↓ 31 callersFunctionnew_test_ext
()
crates/pallet-domains/src/tests.rs:72
↓ 30 callersFunctioncreate_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 callersFunctionwrite_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 callersMethodhash
Proof hash.
crates/subspace-core-primitives/src/pos.rs:108
↓ 29 callersFunctionnew_test_ext_with_extensions
()
crates/pallet-domains/src/tests.rs:80
↓ 28 callersMethodaccount_nonce
Get the nonce of the node account
domains/test/service/src/domain.rs:335
↓ 28 callersFunctionregister_operator
( domain_id: DomainId, operator_account: <Test as frame_system::Config>::AccountId, op
crates/pallet-domains/src/staking.rs:1763
↓ 27 callersFunctioncreate_object_fetcher
Creates an object fetcher from a piece and piece index.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:434
↓ 27 callersMethodinto_receipt
Consumes [`Bundle`] to extract the execution receipt.
crates/sp-domains/src/bundle.rs:144
↓ 26 callersMethodadd
(&mut self, r: R, position: Position)
crates/subspace-proof-of-space/src/chiapos/table/rmap.rs:46
↓ 26 callersFunctionblake3_hash
BLAKE3 hashing of a single value.
crates/subspace-core-primitives/src/hashes.rs:120
↓ 26 callersFunctioncreate_signed_vote
( keypair: &Keypair, height: u64, parent_hash: BlockHashFor<Block>, slot: Slot, proof_of_t
crates/pallet-subspace/src/mock.rs:288
↓ 26 callersMethodexecution_receipt_as_mut
Returns a mutable reference to Execution receipt.
crates/sp-domains/src/bundle.rs:257
↓ 26 callersMethodget
(&self, _key: &RecordKey)
crates/subspace-networking/src/constructor.rs:119
↓ 26 callersMethodto_multihash
(&self)
crates/subspace-networking/src/utils/multihash.rs:49
↓ 26 callersMethodwait_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 callersMethoddomain_block_number
Returns the domain block number.
crates/sp-domains/src/execution_receipt.rs:164
↓ 25 callersMethodfetch_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 callersFunctionnew_test_ext
(pot_extension: PotExtension)
crates/pallet-subspace/src/mock.rs:230
↓ 25 callersMethodproduce_slot
Produce a slot only, without waiting for the potential slot handlers.
test/subspace-test-service/src/lib.rs:776
↓ 24 callersFunctionallow_all_pot_extension
()
crates/pallet-subspace/src/mock.rs:224
↓ 24 callersFunctioncompact_encoded
Returns `len` encoded as a `Compact<u32>`.
shared/subspace-data-retrieval/src/object_fetcher/tests.rs:113
↓ 24 callersMethodheader
(&self, _block_hash: H256)
crates/sp-subspace-mmr/src/benchmarking.rs:40
↓ 24 callersMethodsegment_commitment
Segment commitment of the records in a segment.
crates/subspace-core-primitives/src/segments.rs:443
↓ 23 callersMethoddomain_block_hash
Returns the domain block hash.
crates/sp-domains/src/execution_receipt.rs:170
↓ 23 callersMethodget
()
crates/pallet-domains/src/mock.rs:81
↓ 23 callersMethodinfo
(&self)
crates/sp-subspace-mmr/src/benchmarking.rs:52
next →1–100 of 4,141, ranked by callers