MCPcopy Create free account

hub / github.com/autonomys/subspace / functions

Functions4,141 in github.com/autonomys/subspace

↓ 4 callersFunctionconfirm_domain_block
( n: Linear<1, MAX_BUNDLE_PER_BLOCK>, s: Linear<0, MAX_BUNDLE_PER_BLOCK>, )
crates/pallet-domains/src/benchmarking.rs:274
↓ 4 callersMethodconnected_servers
Returns a collection of currently connected servers (typically farmers).
crates/subspace-networking/src/node.rs:588
↓ 4 callersFunctioncontract_address
Returns the contract address for the given sender and nonce. Use `U256::as_u64()` to convert the nonce to `u64`.
domains/test/utils/src/test_ethereum_tx.rs:55
↓ 4 callersFunctiondecode_piece_index_from_record_key
Extracts the `PieceIndex` from a `RecordKey`.
crates/subspace-farmer/src/farmer_cache.rs:1728
↓ 4 callersFunctiondo_close_channel
()
domains/pallets/messenger/src/benchmarking.rs:103
↓ 4 callersMethoddomain_best_number
(domain_id: DomainId)
crates/pallet-domains/src/lib.rs:2262
↓ 4 callersMethoddomain_instance_data
( domain_id: DomainId, )
crates/pallet-domains/src/lib.rs:2282
↓ 4 callersMethoddomain_runtime_code
(domain_id: DomainId)
crates/pallet-domains/src/lib.rs:2257
↓ 4 callersFunctiondownload_cached_piece_from_peer
( node: &'a Node, piece_validator: &'a PV, peer_id: PeerId, addresses: Vec<Multiaddr>, che
crates/subspace-networking/src/utils/piece_provider.rs:836
↓ 4 callersFunctiondownload_segment_pieces
Downloads pieces of a segment so that segment can be reconstructed afterward. Repeatedly attempts to download pieces until the required number of piec
shared/subspace-data-retrieval/src/segment_downloading.rs:89
↓ 4 callersFunctiondummy_channel_params
()
domains/pallets/messenger/src/benchmarking.rs:252
↓ 4 callersFunctiondummy_opaque_bundle
( domain_id: DomainId, operator_id: OperatorId, receipt: ExecutionReceipt< Number,
crates/sp-domains/src/bundle.rs:305
↓ 4 callersMethodexecution_receipt
(receipt_hash: ReceiptHashFor<T>)
crates/pallet-domains/src/lib.rs:3021
↓ 4 callersFunctionexpand_key
(key: &[u8; 16])
crates/subspace-proof-of-time/src/aes/x86_64.rs:303
↓ 4 callersMethodextend_commitments
Extend commitments using erasure coding. Returns both source and parity commitments interleaved.
crates/subspace-erasure-coding/src/lib.rs:98
↓ 4 callersFunctionfrom_consensus_relay_message
()
domains/pallets/messenger/src/extensions/benchmarking_from_consensus.rs:65
↓ 4 callersFunctionfrom_consensus_relay_message_channel_open
()
domains/pallets/messenger/src/extensions/benchmarking_from_consensus.rs:49
↓ 4 callersFunctionfrom_domains_relay_message
()
domains/pallets/messenger/src/extensions/benchmarking_from_domains.rs:49
↓ 4 callersFunctionfrom_domains_relay_message_channel_open
()
domains/pallets/messenger/src/extensions/benchmarking_from_domains.rs:33
↓ 4 callersMethodget_from_cache
Get pieces with provided indices from cache. Number of elements in returned stream is the same as number of unique `piece_indices`.
crates/subspace-networking/src/utils/piece_provider.rs:93
↓ 4 callersFunctionget_random_block
Block that fits into the segment fully
crates/subspace-archiving/tests/integration/piece_reconstruction.rs:18
↓ 4 callersMethodget_segment_headers
Get cached segment headers for the given segment indices. Returns `None` for segment indices that are not in the cache.
crates/subspace-farmer/src/node_client/caching_proxy_node_client.rs:48
↓ 4 callersFunctiongo_to_block
( keypair: &Keypair, block: u64, slot: u64, reward_address: <Test as frame_system::Config>::Ac
crates/pallet-subspace/src/mock.rs:152
↓ 4 callersMethodid
(&self)
crates/subspace-farmer/src/cluster/cache.rs:186
↓ 4 callersMethodinto_storage
Convert `RawGenesis` to storage, the opposite of `from_storage` NOTE: This function is part from `<sc-chain-spec::ChainSpec as BuildStorage>::assimil
crates/sp-domains/src/storage.rs:176
↓ 4 callersMethoditer_s_bucket_records
Creates an iterator of `(piece_offset, encoded_chunk_used)`, where `piece_offset` corresponds to the record to which chunk belongs and `encoded_chunk_
crates/subspace-farmer-components/src/sector.rs:521
↓ 4 callersMethodkzg
Access KZG instance
crates/sc-consensus-subspace/src/lib.rs:125
↓ 4 callersFunctionload_chain_spec
(spec_id: &str)
crates/subspace-node/src/domain/evm_chain_spec.rs:112
↓ 4 callersFunctionload_decode
( backend: &Backend, key: &[u8], )
domains/client/domain-operator/src/aux_schema.rs:51
↓ 4 callersFunctionmax_segment_header_encoded_size
()
shared/subspace-data-retrieval/src/object_fetcher/segment_header.rs:52
↓ 4 callersMethodmaybe_nested_utility_calls
If this call is a `pallet_utility::Call<Runtime>` call, returns the inner `RuntimeCall`. Runtimes can override this default implementation if they wa
crates/subspace-runtime-primitives/src/utility.rs:25
↓ 4 callersFunctionmock_subspace_mmr_extension
Returns a mock instance of `SubspaceMmrExtension` for benchmarking.
crates/sp-subspace-mmr/src/benchmarking.rs:14
↓ 4 callersMethodnext_slot_input
(&self)
crates/sc-proof-of-time/src/source/state.rs:85
↓ 4 callersFunctionnominate_operator
()
crates/pallet-domains/src/staking.rs:1982
↓ 4 callersMethodobserve_proving_time
(&self, time: &Duration, result: ProvingResult)
crates/subspace-farmer/src/single_disk_farm/metrics.rs:243
↓ 4 callersFunctionp_from_threshold
Exact per-slot win probability is p = threshold / 2^128. Convert that to FixedU128 (1e18 scaling) using U256 intermediates.
crates/sp-domains/src/offline_operators.rs:75
↓ 4 callersMethodpartial_archived
Returns the number of partially archived bytes for a block.
crates/subspace-core-primitives/src/segments.rs:387
↓ 4 callersFunctionpeer_id
Converts public key from keypair to PeerId. It serves as the shared PeerId generating algorithm.
crates/subspace-networking/src/constructor.rs:358
↓ 4 callersFunctionpieces_to_option_of_pieces
(pieces: &FlatPieces)
crates/subspace-archiving/tests/integration/piece_reconstruction.rs:13
↓ 4 callersMethodpot_parameters
Proof of time parameters
crates/pallet-subspace/src/lib.rs:1159
↓ 4 callersMethodreconstruct_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:76
↓ 4 callersMethodrecord_mut
(&mut self)
crates/subspace-core-primitives/src/pieces.rs:1364
↓ 4 callersMethodredeem
Return the amount of balance can be redeemed by the given `deposit`, it is calculated by `storage_fund_total_balance * deposit / total_deposit`. If t
crates/pallet-domains/src/bundle_storage_fund.rs:53
↓ 4 callersFunctionrelay_message
()
domains/pallets/messenger/src/benchmarking.rs:125
↓ 4 callersMethodrun
(&mut self)
crates/subspace-networking/src/behavior/persistent_parameters.rs:248
↓ 4 callersMethods_bucket_sizes
Returns sizes of each s-bucket
crates/subspace-farmer-components/src/sector.rs:418
↓ 4 callersMethodseed
(&self)
crates/subspace-core-primitives/src/pot.rs:284
↓ 4 callersMethodsegment_piece_indexes
List of piece indexes that belong to this segment.
crates/subspace-core-primitives/src/segments.rs:102
↓ 4 callersMethodset_final_state_root
Sets final state root on ER
crates/sp-domains/src/execution_receipt.rs:254
↓ 4 callersMethodshared_params
(&self)
crates/subspace-node/src/domain/cli.rs:195
↓ 4 callersMethodsize
Return the bundle size (include header and body) in bytes
crates/sp-domains/src/bundle.rs:176
↓ 4 callersFunctionslash_operator
()
crates/pallet-domains/src/staking.rs:3906
↓ 4 callersMethodsplit_mut
(&mut self)
crates/subspace-core-primitives/src/pieces.rs:1342
↓ 4 callersMethodsubject_public_key_info
Returns the subject public key info.
domains/pallets/auto-id/src/lib.rs:91
↓ 4 callersFunctionsubmit_bundle
()
crates/pallet-domains/src/benchmarking.rs:70
↓ 4 callersFunctionsubmit_response
( dst_chain_id: ChainId, req_payload: Vec<u8>, resp: EndpointResponse, )
domains/pallets/transporter/src/tests.rs:123
↓ 4 callersMethodto_le_bytes
Converts the inner integer to little-endian bytes.
crates/sp-domains/src/lib.rs:189
↓ 4 callersMethodto_shared
Ensure piece contains cheaply cloneable shared data. Internally piece uses CoW mechanism and can store either mutable owned data or data that is chea
crates/subspace-core-primitives/src/pieces.rs:1233
↓ 4 callersMethodtry_get_checkpoints
Try to get checkpoints quickly without waiting for potentially locked mutex or proving
crates/sc-proof-of-time/src/verifier.rs:74
↓ 4 callersMethodvalidate_piece
(&self, _: PeerId, _: PieceIndex, piece: Piece)
crates/subspace-networking/src/utils/piece_provider.rs:51
↓ 4 callersMethodverify
( seed: &Seed, challenge: &Challenge, proof_of_space: &[u8; 64 * K as usize / 8],
crates/subspace-proof-of-space/src/chiapos/tables.rs:358
↓ 4 callersMethodverify_checkpoints
Verify proof of time checkpoints
crates/sc-proof-of-time/src/verifier.rs:228
↓ 4 callersFunctionwipe
(WipeOptions { base_path }: WipeOptions)
crates/subspace-node/src/commands/wipe.rs:14
↓ 4 callersMethodwith_fallback
Returns a piece getter that falls back to `other` if `self` does not return the piece. Piece getters may need to be wrapped in `Arc` to be used with t
shared/subspace-data-retrieval/src/piece_getter.rs:33
↓ 4 callersFunctionwithdraw_stake
Helper function to withdraw stake
crates/pallet-domains/src/nominator_position.rs:353
↓ 4 callersMethodwrapping_add
(&self, other: &Self)
crates/subspace-core-primitives/src/lib.rs:395
↓ 4 callersMethodxdm_gossip_worker_builder
Get the cross domain gossip message worker builder
test/subspace-test-service/src/lib.rs:737
↓ 3 callersMethodadd_piece_data
Adds the supplied `piece_data` to this `RawPieceData` object.
shared/subspace-data-retrieval/src/object_fetcher/partial_object.rs:122
↓ 3 callersMethodadvise_sequential_access
(&self)
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:73
↓ 3 callersMethodallocated_space
How much space in bytes is allocated for this farm
crates/subspace-farmer/src/single_disk_farm.rs:225
↓ 3 callersMethodapply_extrinsic
( &self, extrinsic: ExtrinsicFor<Block>, backend: &TrieDeltaBackendFor<Backend::State,
domains/client/block-builder/src/custom_api.rs:335
↓ 3 callersMethodapproximate_max_message_size
Approximate max message size (a few more bytes will not hurt), the actual limit is expected to be a bit higher
crates/subspace-farmer/src/cluster/nats_client.rs:423
↓ 3 callersMethodas_execution_receipt_ref
Returns the Execution receipt as a ref.
crates/sp-domains/src/execution_receipt.rs:300
↓ 3 callersFunctionblock_transactions
Retrieves the block transactions/tx hash from the backend.
crates/sc-subspace-block-relay/src/consensus/relay.rs:651
↓ 3 callersMethodbootstrap
Bootstraps Kademlia network
crates/subspace-networking/src/node.rs:605
↓ 3 callersMethodbuild
( domain_id: DomainId, tokio_handle: tokio::runtime::Handle, key: Runtime::Keyring,
domains/test/service/src/domain.rs:142
↓ 3 callersMethodchannel_storage_key
( &self, chain_id: ChainId, channel_id: ChannelId, )
domains/client/block-preprocessor/src/stateless_runtime.rs:250
↓ 3 callersFunctioncheck_reward_signature
Check the reward signature validity.
crates/subspace-verification/src/lib.rs:107
↓ 3 callersFunctionchronos_config
( runtime_genesis_config: RuntimeGenesisConfig, )
crates/subspace-node/src/domain/evm_chain_spec.rs:55
↓ 3 callersFunctionclose_channel
(chain_id: ChainId, channel_id: ChannelId, last_delivered_nonce: Option<Nonce>)
domains/pallets/messenger/src/tests.rs:110
↓ 3 callersMethodcollect_storage_changes
(&mut self)
domains/client/block-builder/src/lib.rs:152
↓ 3 callersMethodcommon_subscribe
Simple subscription that will produce decoded messages, while skipping messages that fail to decode
crates/subspace-farmer/src/cluster/nats_client.rs:1129
↓ 3 callersFunctioncompute_e_relevance
Compute E_relevance = ceil( max( E_BASE, 2 * ln(1/τ) ) ) in integer bundles.
crates/sp-domains/src/offline_operators.rs:147
↓ 3 callersMethodcontents
( &self, )
crates/subspace-farmer/src/cluster/cache.rs:195
↓ 3 callersFunctioncuda_devices
Returns [`CudaDevice`] for each available device
shared/subspace-proof-of-space-gpu/src/cuda.rs:52
↓ 3 callersMethodcurrent_bundle_and_execution_receipt_version
Returns current bundle and execution receipt version and the DomainApi version.
domains/client/domain-operator/src/domain_bundle_producer.rs:383
↓ 3 callersFunctiondecode_data_length
Validate and decode the encoded length of `data`, including the encoded length bytes. `data` may be incomplete. Returns `Ok(Some((data_length_encoded
shared/subspace-data-retrieval/src/object_fetcher.rs:574
↓ 3 callersFunctiondecode_mmr_data
(mut data: &[u8])
crates/subspace-service/src/mmr/sync.rs:30
↓ 3 callersMethoddelete_sector
Add old sector from plotted pieces (happens on replotting)
crates/subspace-farmer/src/farm/plotted_pieces.rs:126
↓ 3 callersMethodderive_sector_slot_challenge
Derive sector slot challenge for this sector from provided global challenge
crates/subspace-core-primitives/src/sectors.rs:117
↓ 3 callersFunctiondevnet_config
( runtime_genesis_config: RuntimeGenesisConfig, )
crates/subspace-node/src/domain/evm_chain_spec.rs:93
↓ 3 callersFunctiondomain_dev_config
()
crates/subspace-malicious-operator/src/chain_spec.rs:42
↓ 3 callersFunctiondownload_sector
Download sector for plotting. This will identify necessary pieces and download them using provided piece getter, after which they can be encoded usin
crates/subspace-farmer-components/src/plotting.rs:236
↓ 3 callersFunctionencode_sector
Encode downloaded sector. This function encodes downloaded sector records and returns sector encoding result that can be written using [`write_sector
crates/subspace-farmer-components/src/plotting.rs:473
↓ 3 callersMethodencoded_size
()
crates/subspace-farmer/src/single_disk_farm.rs:266
↓ 3 callersMethodexecution_method
Returns the method for generating the proof.
crates/sp-domains-fraud-proof/src/fraud_proof.rs:54
↓ 3 callersFunctionextend_block_tree
Submit new head receipt to extend the block tree
crates/pallet-domains/src/tests.rs:277
↓ 3 callersFunctionextract_solution_ranges_for_block
Extract solution ranges for block and votes, given ID of the parent block.
crates/sc-consensus-subspace/src/slot_worker.rs:892
↓ 3 callersMethodfinalize_block
( &self, backend: &TrieDeltaBackendFor<Backend::State, Block>, overlayed_changes: &mut
domains/client/block-builder/src/custom_api.rs:350
↓ 3 callersFunctionfind_matches_in_buckets
( left_bucket_index: u32, left_bucket: &[(Position, Y); REDUCED_BUCKET_SIZE], right_bucket: &[(Pos
crates/subspace-proof-of-space/src/chiapos/table.rs:444
← previousnext →401–500 of 4,141, ranked by callers