MCPcopy Create free account

hub / github.com/autonomys/subspace / functions

Functions4,141 in github.com/autonomys/subspace

Functionshortfall_fraction_constant_is_valid
()
crates/sp-domains/src/offline_operators/tests.rs:384
Functionshortfall_threshold_computed_correctly
()
crates/sp-domains/src/offline_operators/tests.rs:396
Methodshould_era_change
Determine whether an era change should take place at this block. Assumes that initialization has already taken place.
crates/pallet-subspace/src/lib.rs:761
Functionshuffle_extrinsics_should_work
()
domains/client/block-preprocessor/src/lib.rs:432
Methodsign
(key: Self::Keyring, payload: &[u8])
domains/test/service/src/lib.rs:305
Methodsigner
(&self, lookup: &Lookup)
domains/primitives/runtime/src/lib.rs:193
Functionsigner_in_tx_range
Checks if the signer Id hash is within the tx range
crates/sp-domains/src/lib.rs:818
Methodsingle_peer_encoded_address_size
()
crates/subspace-networking/src/behavior/persistent_parameters.rs:500
Methodsingle_peer_encoded_size
Size of single peer known addresses, this is an estimate and in some pathological cases peer will have to be rejected if encoding exceeds this length.
crates/subspace-networking/src/behavior/persistent_parameters.rs:512
Methodsize
Return the encode size of `SealedSingletonReceipt`
crates/sp-domains/src/execution_receipt.rs:468
Methodsize_hint
(&self)
crates/subspace-networking/src/node.rs:41
Methodsize_hint
(&self)
crates/subspace-networking/src/protocols/request_response/handlers/cached_piece_by_index.rs:50
Methodsize_hint
(&self)
crates/subspace-rpc-primitives/src/lib.rs:34
Methodsize_hint
(&self)
crates/subspace-farmer/src/farm.rs:62
Methodsize_hint
(&self)
crates/subspace-farmer/src/cluster/cache.rs:41
Methodsize_hint
(&self)
crates/subspace-farmer/src/cluster/farmer.rs:50
Methodsize_hint
(&self)
crates/subspace-archiving/src/archiver.rs:56
Methodsize_hint
(&self)
crates/subspace-core-primitives/src/checksum.rs:106
Methodsize_hint
(&self)
crates/subspace-core-primitives/src/pieces.rs:1014
Methodsize_hint
(&self)
crates/subspace-farmer-components/src/proving.rs:331
Functionslash_operator
(n: Linear<0, MAX_NOMINATORS_TO_SLASH_WITHOUT_OPERATOR>)
crates/pallet-domains/src/benchmarking.rs:391
Methodslash_operator
Storage: `Domains::PendingSlashes` (r:1 w:1) Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `Domai
crates/pallet-domains/src/weights.rs:192
Methodslash_operator
Storage: `Domains::PendingSlashes` (r:1 w:1) Proof: `Domains::PendingSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `Domai
crates/subspace-runtime/src/weights/pallet_domains.rs:206
Functionslash_operator_with_more_than_max_nominators_to_slash
()
crates/pallet-domains/src/staking.rs:4056
Functionslash_operator_with_underflow
()
crates/pallet-domains/src/staking_epoch.rs:1200
Functionslash_operators
()
crates/pallet-domains/src/staking.rs:4240
Methodslice_from_repr
(value: &[FsFr])
shared/subspace-kzg/src/lib.rs:231
Methodslice_from_repr
(value: &[[u8; Self::SIZE]])
crates/subspace-core-primitives/src/pot.rs:299
Methodslice_from_repr
(value: &[[[u8; ScalarBytes::SAFE_BYTES]; Self::NUM_CHUNKS]])
crates/subspace-core-primitives/src/pieces.rs:428
Methodslice_mut_from_repr
(value: &mut [FsFr])
shared/subspace-kzg/src/lib.rs:267
Methodslice_mut_from_repr
( value: &mut [[[u8; ScalarBytes::SAFE_BYTES]; Self::NUM_CHUNKS]], )
crates/subspace-core-primitives/src/pieces.rs:448
Methodslice_mut_to_repr
(value: &mut [Self])
shared/subspace-kzg/src/lib.rs:259
Methodslice_mut_to_repr
(slice: &mut [Self])
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:31
Methodslice_mut_to_repr
( value: &mut [Self], )
crates/subspace-core-primitives/src/pieces.rs:437
Methodslice_option_from_repr
(value: &[Option<FsFr>])
shared/subspace-kzg/src/lib.rs:249
Methodslice_option_mut_from_repr
(value: &mut [Option<FsFr>])
shared/subspace-kzg/src/lib.rs:285
Methodslice_option_mut_to_repr
(value: &mut [Option<Self>])
shared/subspace-kzg/src/lib.rs:275
Methodslice_option_to_repr
(value: &[Option<Self>])
shared/subspace-kzg/src/lib.rs:239
Methodslice_to_repr
(value: &[Self])
shared/subspace-kzg/src/lib.rs:223
Methodslice_to_repr
(value: &[Self])
crates/subspace-core-primitives/src/pieces.rs:419
Methodslot
(&self)
crates/sp-consensus-subspace/src/digests.rs:36
Functionslot_info_broadcaster
( nats_client: &NatsClient, node_client: &NC, instance: &str, )
crates/subspace-farmer/src/cluster/controller.rs:686
Methodslot_number
Return the `slot_number` of the `proof_of_election`
crates/sp-domains/src/execution_receipt.rs:432
Methodslot_number
(&self)
crates/sp-domains/src/bundle.rs:74
Methodslot_produced_after
(to_check: Slot)
test/subspace-test-runtime/src/lib.rs:875
Methodslot_produced_after
(_slot: sp_consensus_slots::Slot)
crates/pallet-domains/src/mock.rs:189
Methodslot_produced_after
(to_check: sp_consensus_slots::Slot)
crates/subspace-runtime/src/lib.rs:923
Functionslots_strategy
Strategy helpers
crates/sp-domains/src/offline_operators/tests.rs:620
Functionsmall_mu_is_not_throughput_relevant
()
crates/sp-domains/src/offline_operators/tests.rs:145
Functionsmall_operator_below_shortfall_but_above_chernoff_not_flagged
()
crates/sp-domains/src/offline_operators/tests.rs:531
Methodsolution
(&self)
crates/sp-consensus-subspace/src/digests.rs:43
Methodsolution_range
(solution_range: SolutionRange)
crates/sp-consensus-subspace/src/digests.rs:187
Functionsolution_range_should_not_update_when_disabled
()
crates/pallet-subspace/src/tests.rs:158
Functionsolution_range_to_pieces
Computes the following: ```text MAX * slot_probability / chunks * s_buckets / solution_range ```
crates/subspace-core-primitives/src/solutions.rs:46
Functionsolution_response_forwarder
( nats_client: &NatsClient, node_client: &NC, instance: &str, )
crates/subspace-farmer/src/cluster/controller.rs:795
Functionsort_buckets
(buckets: &mut [[(Position, Y); REDUCED_BUCKET_SIZE]; num_buckets(K)])
crates/subspace-proof-of-space/src/chiapos/table.rs:271
Methodsource_mut
(&mut self)
crates/subspace-core-primitives/src/pieces.rs:1523
Functionsource_piece_index_conversion
()
crates/subspace-core-primitives/src/tests.rs:53
Functionspill_over_edge_case
()
crates/subspace-archiving/tests/integration/archiver.rs:530
Methodsplit_fee_into_storage_and_execution
(fee: Balance)
domains/pallets/evm-tracker/src/fees.rs:56
Methodstake_to_shares
Converts stake to shares based on the share price. Always rounding down i.e. may return less share due to arithmetic dust.
crates/pallet-domains/src/staking.rs:69
Methodstaking_staked
()
test/subspace-test-runtime/src/lib.rs:361
Methodstaking_staked
()
crates/pallet-domains/src/mock.rs:103
Methodstaking_staked
()
crates/subspace-runtime/src/lib.rs:350
Functionstale_and_in_future_bundle_should_be_rejected
()
domains/client/domain-operator/src/tests.rs:5136
Methodstart
( self, bootstrap_result: BootstrapResult<CBlock>, sudo_account: AccountId, )
crates/subspace-malicious-operator/src/malicious_domain_instance_starter.rs:52
Functionstart_cross_chain_message_listener
( chain_id: ChainId, consensus_client: Arc<CClient>, client: Arc<Client>, tx_pool: Arc<TxPool>
domains/client/cross-domain-message-gossip/src/message_listener.rs:93
Functionstart_farmer
Run a farmer.
test/subspace-test-client/src/lib.rs:66
Functionstart_farming
( keypair: schnorrkel::Keypair, client: Arc<Client>, new_slot_notification_stream: SubspaceNotific
test/subspace-test-client/src/lib.rs:109
Methodstatus
( &self, operator_id: OperatorId, )
crates/pallet-domains/src/staking.rs:231
Methodsteps_between
(start: &Self, end: &Self)
crates/subspace-proof-of-space/src/chiapos/table/types.rs:22
Methodsteps_between
(start: &Self, end: &Self)
crates/subspace-core-primitives/src/segments.rs:62
Methodsteps_between
(start: &Self, end: &Self)
crates/subspace-core-primitives/src/sectors.rs:198
Methodsteps_between
(start: &Self, end: &Self)
crates/subspace-core-primitives/src/pieces.rs:68
Methodstop
Take and stop the `MockConsensusNode` and delete its database lock file. Stopping and restarting a node can cause weird race conditions, with errors
test/subspace-test-service/src/lib.rs:1113
Functionstorage_change_of_the_same_runtime_instance_should_perserved_cross_runtime_calls
()
crates/sp-domains-fraud-proof/src/tests.rs:239
Functionstorage_fund_account
Return the bundle storage fund account of the given operator.
crates/pallet-domains/src/bundle_storage_fund.rs:64
Functionstorage_fund_redeem_price
Return the bundle storage fund redeem price
crates/pallet-domains/src/bundle_storage_fund.rs:231
Methodstorage_fund_withdrawal
()
test/subspace-test-runtime/src/lib.rs:369
Methodstorage_fund_withdrawal
()
crates/pallet-domains/src/mock.rs:111
Methodstorage_fund_withdrawal
()
crates/subspace-runtime/src/lib.rs:358
Methodstorage_key
(req: FraudProofStorageKeyRequest<NumberFor<Block>>)
test/subspace-test-runtime/src/lib.rs:1372
Methodstorage_key
(req: FraudProofStorageKeyRequest<NumberFor<Block>>)
crates/subspace-runtime/src/lib.rs:1277
Methodstorage_key
(&self, req: FraudProofStorageKeyRequest<NumberFor<CBlock>>)
crates/sc-domains/src/lib.rs:142
Methodstorage_key_request
(key: Self::Key)
crates/sp-domains-fraud-proof/src/storage_proof.rs:170
Functionstorage_proof_for_key
( backend: InMemoryBackend<T::Hashing>, key: StorageKey, )
domains/pallets/messenger/src/mock.rs:272
Functionstorage_proof_of_channels
( backend: InMemoryBackend<T::Hashing>, chain_id: ChainId, channel_id: ChannelId, )
domains/pallets/messenger/src/mock.rs:282
Functionstorage_proof_of_domain_state_root
( backend: InMemoryBackend<T::Hashing>, domain_id: DomainId, )
domains/pallets/messenger/src/mock.rs:318
Functionstorage_proof_of_inbox_message_responses
( backend: InMemoryBackend<T::Hashing>, chain_id: ChainId, channel_id: ChannelId, nonce: Nonce
domains/pallets/messenger/src/mock.rs:305
Functionstorage_proof_of_outbox_messages
( backend: InMemoryBackend<T::Hashing>, chain_id: ChainId, channel_id: ChannelId, nonce: Nonce
domains/pallets/messenger/src/mock.rs:293
Methodstore_inbox_fee
( src_chain_id: ChainId, message_id: MessageId, inbox_fees: BalanceOf<T>,
domains/pallets/messenger/src/lib.rs:1434
Methodstore_outbox_fee
( dst_chain_id: ChainId, message_id: MessageId, outbox_fees: BalanceOf<T>,
domains/pallets/messenger/src/lib.rs:1462
Functionstore_segment_header_validate_unsigned_prevents_duplicates
()
crates/pallet-subspace/src/tests.rs:245
Functionstore_segment_header_works
()
crates/pallet-subspace/src/tests.rs:224
Methodstore_segment_headers
Storage: `Subspace::DidProcessSegmentHeaders` (r:1 w:1) Proof: `Subspace::DidProcessSegmentHeaders` (`max_values`: Some(1), `max_size`: None, mode: `M
crates/subspace-runtime/src/weights/pallet_subspace.rs:42
Methodstore_segment_headers
( origin: OriginFor<T>, segment_headers: Vec<SegmentHeader>, )
crates/pallet-subspace/src/lib.rs:558
Methodstore_segment_headers
Storage: `Subspace::DidProcessSegmentHeaders` (r:1 w:1) Proof: `Subspace::DidProcessSegmentHeaders` (`max_values`: Some(1), `max_size`: None, mode: `M
crates/pallet-subspace/src/weights.rs:54
Methodstr_variant
(&self)
crates/subspace-farmer/src/farm.rs:351
Methodstream_response
Helper method to send responses to requests initiated with [`Self::stream_request`]
crates/subspace-farmer/src/cluster/nats_client.rs:790
Methodsub
(self, other: DomainId)
crates/sp-domains/src/lib.rs:171
← previousnext →3,501–3,600 of 4,141, ranked by callers