MCPcopy Create free account

hub / github.com/autonomys/subspace / functions

Functions4,141 in github.com/autonomys/subspace

↓ 10 callersMethodrun
Drives the main networking future forward.
crates/subspace-networking/src/node_runner.rs:235
↓ 10 callersMethodrun
(self: Box<Self>)
crates/subspace-farmer/src/cluster/farmer.rs:289
↓ 10 callersMethodsegment_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 callersMethodset_bundle_extrinsics_root
Sets bundle extrinsic root.
crates/sp-domains/src/bundle.rs:250
↓ 10 callersFunctionsetup_evm_test_accounts
( ferdie_key: Sr25519Keyring, private_evm: bool, evm_owner: impl Into<Option<Sr25519Keyring>>, )
domains/client/domain-operator/src/tests.rs:182
↓ 10 callersMethodusing_encoded
(&self, f: F)
crates/subspace-core-primitives/src/pieces.rs:1029
↓ 9 callersMethodblock
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 callersMethodcommit
Computes a `Commitment` to `polynomial`
shared/subspace-kzg/src/lib.rs:763
↓ 9 callersMethoddetach
(&self)
crates/subspace-farmer/src/farm.rs:468
↓ 9 callersFunctionfake_hash
(n: u32)
crates/sc-consensus-subspace/src/aux_schema.rs:198
↓ 9 callersMethodgenerate
(&self, seed: &PosSeed)
crates/subspace-proof-of-space/src/chia.rs:23
↓ 9 callersFunctiongenerate_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 callersMethodget
( &self, )
crates/subspace-farmer/src/single_disk_farm/plotted_sectors.rs:24
↓ 9 callersMethodinboxed_bundles
Returns the inboxed bundles.
crates/sp-domains/src/execution_receipt.rs:200
↓ 9 callersMethodinc_by
Increments the counter by specified value.
crates/sc-subspace-block-relay/src/utils.rs:157
↓ 9 callersMethodinto_inner
Extract inner value
crates/subspace-farmer-components/src/lib.rs:115
↓ 9 callersMethodis_empty
(&self)
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:754
↓ 9 callersMethodis_major_syncing
(&self)
domains/client/domain-operator/src/lib.rs:127
↓ 9 callersFunctionnew_test_ext
()
domains/pallets/transporter/src/mock.rs:200
↓ 9 callersMethodnext_parameters_change
Get next proof of time parameters change if any
crates/sp-consensus-subspace/src/lib.rs:558
↓ 9 callersMethodpieces
(&self)
crates/subspace-core-primitives/src/pieces.rs:1494
↓ 9 callersMethodrequest_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 callersMethodstream_request
Make request that expects stream response
crates/subspace-farmer/src/cluster/nats_client.rs:626
↓ 9 callersFunctionwrite_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 callersMethodacquire_permit
(&self)
crates/subspace-networking/src/utils/rate_limiter.rs:53
↓ 8 callersMethodclear
(&mut self)
crates/sp-domains/src/lib.rs:972
↓ 8 callersMethodclone
(&self)
domains/client/domain-operator/src/fraud_proof.rs:93
↓ 8 callersMethodclone
(&self)
domains/client/block-preprocessor/src/lib.rs:95
↓ 8 callersMethodderive_global_randomness
(&self)
crates/subspace-core-primitives/src/pot.rs:278
↓ 8 callersFunctionderive_pot_external_entropy
( consensus_chain_config: &Configuration, maybe_pot_external_entropy: Option<String>, )
crates/subspace-node/src/main.rs:87
↓ 8 callersFunctiondo_open_channel
()
domains/pallets/messenger/src/benchmarking.rs:77
↓ 8 callersMethodextrinsics_root
Return the `bundle_extrinsics_root`
crates/sp-domains/src/bundle.rs:123
↓ 8 callersMethodget
()
domains/pallets/evm-tracker/src/lib.rs:86
↓ 8 callersMethodget
()
crates/pallet-subspace/src/lib.rs:154
↓ 8 callersMethodget_closest_peers
Get closest peers by multihash key using Kademlia DHT.
crates/subspace-networking/src/node.rs:424
↓ 8 callersMethodinsert_aux
( &self, insert: I, delete: D, )
domains/client/domain-operator/src/aux_schema.rs:371
↓ 8 callersMethodnonce
(&self)
domains/pallets/auto-id/src/lib.rs:156
↓ 8 callersMethodobjects
Returns the object mappings
crates/subspace-core-primitives/src/objects.rs:60
↓ 8 callersFunctionopen_channel_between_chains
( chain_a_test_ext: &mut TestExternalities, chain_b_test_ext: &mut TestExternalities, )
domains/pallets/messenger/src/tests.rs:260
↓ 8 callersMethodproof_of_time
(&self)
crates/sp-consensus-subspace/src/digests.rs:72
↓ 8 callersMethodpublish
Subscribe a messgo to some topic on the DSN.
crates/subspace-networking/src/node.rs:358
↓ 8 callersMethodset
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 callersMethodsign
Sign `msg`.
domains/test/service/src/keyring.rs:21
↓ 8 callersMethodsource_position
(&self)
crates/subspace-core-primitives/src/pieces.rs:139
↓ 7 callersFunctionblock_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 callersFunctionchannel_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 callersFunctionchernoff_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 callersMethodclear_tx_pool
Remove all tx from the tx pool
domains/test/service/src/domain.rs:569
↓ 7 callersMethodclone
(&self)
domains/client/domain-operator/src/domain_block_processor.rs:81
↓ 7 callersFunctioncreate_channel
(chain_id: ChainId, channel_id: ChannelId)
domains/pallets/messenger/src/tests.rs:34
↓ 7 callersMethodcreate_witness
Computes a `Witness` of evaluation of `polynomial` at `index`
shared/subspace-kzg/src/lib.rs:771
↓ 7 callersMethoddeconstruct
(self)
crates/pallet-domains/src/staking.rs:98
↓ 7 callersMethodderive_global_challenge
Derive global slot challenge from global randomness. TODO: Separate type for global challenge
crates/subspace-core-primitives/src/lib.rs:110
↓ 7 callersMethodderive_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 callersMethodexecute_in_transaction
( &mut self, call: F, )
domains/client/block-builder/src/custom_api.rs:399
↓ 7 callersFunctionexpected_staking_portion
Helper function to calculate expected staking portion
crates/pallet-domains/src/nominator_position.rs:332
↓ 7 callersFunctionextract_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 callersMethodfarmer_app_info
(&self)
crates/subspace-farmer/src/farmer_cache/tests.rs:41
↓ 7 callersMethodfinal_state_root
Returns the final state root of the execution.
crates/sp-domains/src/execution_receipt.rs:176
↓ 7 callersMethodget_backend
(&self, cache_index: CacheIndex)
crates/subspace-farmer/src/farmer_cache/piece_cache_state.rs:114
↓ 7 callersFunctionget_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 callersFunctionget_genesis_by_spec_id
(_: SpecId)
crates/subspace-node/src/domain/auto_id_chain_spec.rs:116
↓ 7 callersFunctionget_genesis_by_spec_id
(_: SpecId)
crates/subspace-node/src/domain/evm_chain_spec.rs:123
↓ 7 callersFunctionhandle_bad_receipt
(n: Linear<1, MAX_BUNDLE_PER_BLOCK>)
crates/pallet-domains/src/benchmarking.rs:218
↓ 7 callersMethodis_consensus_chain
(&self)
crates/sp-domains/src/lib.rs:230
↓ 7 callersMethodis_enabled
Returns true if object mappings will be created from a past or future block.
crates/sc-consensus-subspace/src/archiver.rs:384
↓ 7 callersMethoditer_record_bitfields_mut
Iterate mutably over individual record bitfields
crates/subspace-farmer-components/src/sector.rs:402
↓ 7 callersFunctionmetadata_size_bits
Metadata size in bits
crates/subspace-proof-of-space/src/chiapos/table.rs:88
↓ 7 callersFunctionnew_ephemeral
( identity: Keypair, connection_timeout: Duration, behaviour: NB, )
crates/subspace-networking/src/protocols/reserved_peers/tests.rs:190
↓ 7 callersMethodnotify_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 callersMethodoffset
Get implementation of [`ReadAtSync`] that add specified offset to all attempted reads
crates/subspace-farmer-components/src/lib.rs:62
↓ 7 callersFunctionparse_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 callersMethodpublic_key
Public key of identity used for farm creation
crates/subspace-farmer/src/single_disk_farm.rs:210
↓ 7 callersMethodpush_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 callersMethodserialize
(&self, serializer: S)
crates/subspace-core-primitives/src/pos.rs:67
↓ 7 callersMethodsubscribe
Subscribe to a channel through which notifications are sent.
crates/sc-consensus-subspace/src/notification.rs:63
↓ 7 callersFunctiontest_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 callersMethodto_raw_record_chunks
( &self, )
crates/subspace-core-primitives/src/pieces.rs:648
↓ 7 callersMethodupdate_progress_and_events
Returns `true` on success and `false` if progress receiver channel is gone
crates/subspace-farmer/src/plotter/cpu.rs:475
↓ 7 callersMethodupdate_progress_and_events
Returns `true` on success and `false` if progress receiver channel is gone
crates/subspace-farmer/src/plotter/gpu.rs:463
↓ 7 callersMethodupgrade
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 callersMethodwrapping_sub
(&self, other: &Self)
crates/subspace-core-primitives/src/lib.rs:402
↓ 7 callersMethodwrite_piece
( &self, offset: PieceCacheOffset, piece_index: PieceIndex, piece: &Piece,
crates/subspace-farmer/src/cluster/cache.rs:217
↓ 6 callersMethodadd_segment_headers
Add segment headers. Multiple can be inserted for efficiency purposes.
crates/sc-consensus-subspace/src/archiver.rs:181
↓ 6 callersFunctionaddress_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 callersMethodadvise_random_access
(&mut self)
crates/subspace-farmer-components/src/file_ext.rs:26
↓ 6 callersFunctionblake3_254_hash_to_scalar
(data: &[u8])
crates/subspace-core-primitives/src/hashes.rs:161
↓ 6 callersMethodblock_hash
Converts the BlockId to block hash
crates/sc-subspace-block-relay/src/consensus/relay.rs:523
↓ 6 callersMethodbody_length
Return the bundle body length. i.e number of extrinsics in the bundle.
crates/sp-domains/src/bundle.rs:193
↓ 6 callersMethodconsensus_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 callersFunctioncorrupt_er
(opaque_bundle: &mut OpaqueBundleOf<Runtime>, fields: BadFieldSet)
domains/client/domain-operator/src/tests.rs:8983
↓ 6 callersFunctioncreate_dummy_receipt
( block_number: BlockNumber, consensus_block_hash: Hash, parent_domain_block_receipt_hash: H256,
crates/pallet-domains/src/tests.rs:99
↓ 6 callersFunctiondeactivate_operator
()
crates/pallet-domains/src/benchmarking.rs:1114
↓ 6 callersMethoddispatch_call
( &self, fn_name: &dyn Fn(RuntimeVersion) -> &'static str, input: Vec<u8>, )
domains/client/block-preprocessor/src/stateless_runtime.rs:196
↓ 6 callersFunctionencode_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 callersMethodextract_successful_bundles
( &self, consensus_block_hash: CBlock::Hash, domain_id: DomainId, consensus_ex
domains/client/domain-operator/src/fraud_proof.rs:313
↓ 6 callersMethodgenerate_and_encode_pospace
Generates and encodes PoSpace on the GPU
shared/subspace-proof-of-space-gpu/src/rocm.rs:74
↓ 6 callersMethodgenesis_seed
Get genesis seed
crates/sc-proof-of-time/src/verifier.rs:59
↓ 6 callersMethodgossip_msg_sink
Get the gossip message sink
domains/client/cross-domain-message-gossip/src/gossip_worker.rs:94
↓ 6 callersMethodhead_receipt_number
Returns the best execution chain number.
crates/pallet-domains/src/lib.rs:2873
← previousnext →201–300 of 4,141, ranked by callers