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
Method
dial
( &mut self, addr: Multiaddr, opts: DialOpts, )
crates/subspace-networking/src/constructor/transport.rs:95
Method
disable_cache
(&self)
crates/subspace-farmer-components/src/file_ext.rs:170
Method
disapprove_proposal
Storage: `Council::Proposals` (r:1 w:1) Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) Storage: `Council::Vot
crates/subspace-runtime/src/weights/pallet_collective.rs:276
Method
dispatch_as
Storage: `System::EventSegments` (r:0 w:1) Proof: `System::EventSegments` (`max_values`: None, `max_size`: None, mode: `Measured`)
domains/runtime/evm/src/weights/pallet_utility.rs:74
Method
dispatch_as
Storage: `System::EventSegments` (r:0 w:1) Proof: `System::EventSegments` (`max_values`: None, `max_size`: None, mode: `Measured`)
domains/runtime/auto-id/src/weights/pallet_utility.rs:74
Method
dispatch_as
()
crates/subspace-runtime/src/weights/pallet_utility.rs:65
Method
dispatch_as_fallible
Storage: `System::EventSegments` (r:0 w:1) Proof: `System::EventSegments` (`max_values`: None, `max_size`: None, mode: `Measured`)
domains/runtime/evm/src/weights/pallet_utility.rs:99
Method
dispatch_as_fallible
Storage: `System::EventSegments` (r:0 w:1) Proof: `System::EventSegments` (`max_values`: None, `max_size`: None, mode: `Measured`)
domains/runtime/auto-id/src/weights/pallet_utility.rs:99
Method
dispatch_as_fallible
()
crates/subspace-runtime/src/weights/pallet_utility.rs:84
Function
do_calculate_previous_epoch_deposit_shares_and_add_new_deposit
Calculates shares for any pending deposit for previous epoch using the epoch share price and then create a new pending deposit in the current epoch. I
crates/pallet-domains/src/staking.rs:458
Method
do_calculate_weight
(call: &RuntimeCallFor<Runtime>)
domains/pallets/messenger/src/extensions.rs:242
Method
do_check_vote
( signed_vote: &SignedVote<BlockNumberFor<Runtime>, Runtime::Hash, Runtime::AccountId>, source
crates/pallet-subspace/src/extensions.rs:74
Function
do_cleanup_operator
Removes all operator storages and mints the total stake back to treasury.
crates/pallet-domains/src/staking.rs:1440
Method
do_close_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `System::Event
domains/runtime/evm/src/weights/pallet_messenger.rs:106
Method
do_close_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `System::Event
domains/runtime/auto-id/src/weights/pallet_messenger.rs:106
Method
do_close_channel
( chain_id: ChainId, channel_id: ChannelId, close_channel_by: CloseChannel
domains/pallets/messenger/src/lib.rs:958
Method
do_close_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`)
domains/pallets/messenger/src/weights.rs:100
Method
do_close_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`)
crates/subspace-runtime/src/weights/pallet_messenger.rs:93
Function
do_convert_previous_epoch_deposits
( operator_id: OperatorId, deposit: &mut Deposit<T::Share, BalanceOf<T>>, current_domain_epoch_ind
crates/pallet-domains/src/staking.rs:504
Function
do_convert_previous_epoch_withdrawal
Converts any epoch withdrawals into balance using the operator epoch share price. If there is withdrawal happened in the current epoch (thus share pr
crates/pallet-domains/src/staking.rs:556
Method
do_deactivate_auto_id
( auto_id_identifier: Identifier, signature: Signature, )
domains/pallets/auto-id/src/lib.rs:660
Function
do_deactivate_operator
Deactivates a given operator. Operator status is marked as Deactivated with epoch_index after which they can reactivate back into operator set. Their
crates/pallet-domains/src/staking.rs:755
Function
do_deregister_operator
Deregisters a given operator who is either registered or deactivated. Operator is removed from the next operator set.
crates/pallet-domains/src/staking.rs:690
Method
do_enable_rewards_at
( enable_rewards_at: EnableRewardsAt<BlockNumberFor<T>>, )
crates/pallet-subspace/src/lib.rs:1136
Method
do_enable_solution_range_adjustment
( solution_range_override: Option<u64>, voting_solution_range_override: Option<u64>, )
crates/pallet-subspace/src/lib.rs:1077
Method
do_finalize
(_n: BlockNumberFor<T>)
crates/pallet-transaction-fees/src/lib.rs:171
Method
do_finalize
(block_number: BlockNumberFor<T>)
crates/pallet-rewards/src/lib.rs:230
Method
do_finalize
(_block_number: BlockNumberFor<T>)
crates/pallet-subspace/src/lib.rs:1029
Function
do_finalize_domain_current_epoch
Finalizes the domain's current epoch and begins the next epoch. Returns true of the epoch indeed was finished and the number of operator processed.
crates/pallet-domains/src/staking_epoch.rs:50
Function
do_finalize_domain_epoch_staking
( domain_id: DomainId, operators_with_self_deposits: BTreeSet<OperatorId>, )
crates/pallet-domains/src/staking_epoch.rs:228
Function
do_finalize_operator_epoch_staking
Finalize the epoch for the operator Return the new total stake of the operator and a bool indicate if its total stake is changed due to deposit/withd
crates/pallet-domains/src/staking_epoch.rs:390
Function
do_gossip_channel_updates
( src_chain_id: ChainId, client: &Arc<Client>, gossip_message_sink: &GossipMessageSink, block_
domains/client/relayer/src/worker.rs:83
Method
do_init_channel
( dst_chain_id: ChainId, init_params: ChannelOpenParamsV1, maybe_owner: Op
domains/pallets/messenger/src/lib.rs:1019
Method
do_initialize
(_n: BlockNumberFor<T>)
crates/pallet-transaction-fees/src/lib.rs:152
Method
do_initialize
(block_number: BlockNumberFor<T>)
crates/pallet-subspace/src/lib.rs:818
Function
do_instantiate_domain
( domain_config_params: DomainConfigParams<T::AccountId, BalanceOf<T>>, owner_account_id: T::AccountId
crates/pallet-domains/src/domain_registry.rs:241
Function
do_mark_invalid_bundle_authors
Mark all the invalid bundle authors from this ER and remove them from operator set. NOTE: any changes to this must be reflected in the fuzz_utils' equ
crates/pallet-domains/src/staking.rs:1585
Function
do_mark_operators_as_slashed
Freezes the slashed operators and moves the operator to be removed once the domain they are operating finishes the epoch.
crates/pallet-domains/src/staking.rs:1525
Function
do_nominate_operator
( operator_id: OperatorId, nominator_id: T::AccountId, amount: BalanceOf<T>, )
crates/pallet-domains/src/staking.rs:600
Method
do_open_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `System::Event
domains/runtime/evm/src/weights/pallet_messenger.rs:92
Method
do_open_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `System::Event
domains/runtime/auto-id/src/weights/pallet_messenger.rs:92
Method
do_open_channel
Opens an initiated channel.
domains/pallets/messenger/src/lib.rs:937
Method
do_open_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`)
domains/pallets/messenger/src/weights.rs:89
Method
do_open_channel
Storage: `Messenger::Channels` (r:1 w:1) Proof: `Messenger::Channels` (`max_values`: None, `max_size`: None, mode: `Measured`)
crates/subspace-runtime/src/weights/pallet_messenger.rs:81
Method
do_prepare
( call: &MessengerCall<Runtime>, val: ValidatedRelayMessage<Runtime>, )
domains/pallets/messenger/src/extensions.rs:202
Method
do_prepare
Check the block length and the max extrinsic weight and notes the new weight and length value. It is same as the [`frame_system::CheckWeight::do_prep
domains/pallets/domain-check-weight/src/lib.rs:56
Function
do_reactivate_operator
Reactivate a given deactivated operator if the activation delay in epochs has passed. The operator is added to next operator set and will be able to p
crates/pallet-domains/src/staking.rs:810
Method
do_register_auto_id
(req: RegisterAutoId)
domains/pallets/auto-id/src/lib.rs:371
Function
do_register_issuer
()
domains/pallets/auto-id/src/benchmarking.rs:15
Function
do_register_leaf
()
domains/pallets/auto-id/src/benchmarking.rs:25
Function
do_register_operator
( operator_owner: T::AccountId, domain_id: DomainId, amount: BalanceOf<T>, config: OperatorCon
crates/pallet-domains/src/staking.rs:352
Function
do_register_runtime
Registers a new domain runtime..
crates/pallet-domains/src/runtime_registry.rs:184
Method
do_renew_auto_id_certificate
( auto_id_identifier: Identifier, req: RenewAutoId, )
domains/pallets/auto-id/src/lib.rs:487
Method
do_revoke_certificate
( auto_id_identifier: Identifier, signature: Signature, )
domains/pallets/auto-id/src/lib.rs:608
Function
do_reward_operators
Distribute the reward to the operators equally and drop any dust to treasury.
crates/pallet-domains/src/staking.rs:1464
Function
do_schedule_runtime_upgrade
Schedules a runtime upgrade after `DomainRuntimeUpgradeDelay` from current block number.
crates/pallet-domains/src/runtime_registry.rs:263
Function
do_slash_operator
Slashes any pending slashed operators. At max slashes the `max_nominator_count` under given operator
crates/pallet-domains/src/staking_epoch.rs:495
Method
do_store_segment_headers
(segment_headers: Vec<SegmentHeader>)
crates/pallet-subspace/src/lib.rs:1054
Function
do_unlock_funds
Unlocks any withdraws that are ready to be unlocked. Return the number of withdrawals being unlocked
crates/pallet-domains/src/staking.rs:1098
Function
do_unlock_nominator
Unlocks an already de-registered operator's nominator given unlock wait period is complete.
crates/pallet-domains/src/staking.rs:1257
Function
do_unmark_invalid_bundle_authors
Unmark all the invalid bundle authors from this ER that were marked invalid. Assumed the ER is invalid and add the marked operators as registered and
crates/pallet-domains/src/staking.rs:1657
Function
do_update_domain_allow_list
( domain_owner: T::AccountId, domain_id: DomainId, updated_operator_allow_list: OperatorAllowList<
crates/pallet-domains/src/domain_registry.rs:380
Function
do_upgrade_runtimes
(at: BlockNumberFor<T>)
crates/pallet-domains/src/runtime_registry.rs:299
Method
do_validate
( call: &MessengerCall<Runtime>, )
domains/pallets/messenger/src/extensions.rs:124
Method
do_validate_fraud_proof
( fraud_proof: &FraudProofFor<Runtime>, source: TransactionSource, )
crates/pallet-domains/src/extensions.rs:108
Method
do_validate_signed
( origin: &OriginFor<Runtime>, call: &RuntimeCallFor<Runtime>, )
domains/pallets/evm-tracker/src/create_contract.rs:161
Method
do_validate_signed
( call: &RuntimeCallFor<Runtime>, )
crates/subspace-runtime-primitives/src/extension.rs:66
Method
do_validate_singleton_receipt
( singleton_receipt: &SingletonReceiptOf<Runtime>, source: TransactionSource, )
crates/pallet-domains/src/extensions.rs:137
Method
do_validate_submit_bundle
( opaque_bundle: &OpaqueBundleOf<Runtime>, source: TransactionSource, )
crates/pallet-domains/src/extensions.rs:72
Method
do_validate_unsigned
( call: &RuntimeCallFor<Runtime>, )
domains/pallets/evm-tracker/src/create_contract.rs:150
Method
do_verify_signature
( auto_id: &AutoId, signing_data: CertificateAction, signature: Signature, )
domains/pallets/auto-id/src/lib.rs:588
Method
do_verify_xdm
( next_nonce: Nonce, storage_key: StorageKey, consensus_state_root: StateR
domains/pallets/messenger/src/lib.rs:1306
Method
do_vote
( signed_vote: SignedVote<BlockNumberFor<T>, T::Hash, T::AccountId>, )
crates/pallet-subspace/src/lib.rs:1116
Function
do_withdraw_stake
Withdraw some or all of the stake, using an amount of shares. Withdrawal validity depends on the current share price and number of shares, so request
crates/pallet-domains/src/staking.rs:887
Function
does_receipt_exists
( domain_id: DomainId, domain_number: DomainBlockNumberFor<T>, receipt_hash: ReceiptHashFor<T>, )
crates/pallet-domains/src/block_tree.rs:109
Method
domain_allow_list_update_storage_key
(domain_id: DomainId)
domains/pallets/messenger/src/lib.rs:1391
Function
domain_bundle_storage_proof_benchmark
()
crates/sp-domains-fraud-proof/src/tests.rs:199
Method
domain_bundle_submitted
(domain_id: DomainId)
domains/pallets/messenger/src/lib.rs:1563
Method
domain_bundle_submitted
(_domain_id: DomainId)
crates/sp-domains/src/lib.rs:946
Method
domain_id
(&self)
crates/sp-domains-fraud-proof/src/fraud_proof.rs:361
Method
domain_id
Returns the `domain_id`
crates/sp-domains/src/execution_receipt.rs:422
Method
domain_instantiation
(domain_id: DomainId)
crates/sp-domains/src/lib.rs:663
Method
domain_instantiation_id
()
test/subspace-test-runtime/src/lib.rs:365
Method
domain_instantiation_id
()
crates/pallet-domains/src/mock.rs:107
Method
domain_instantiation_id
()
crates/subspace-runtime/src/lib.rs:354
Method
domain_runtime_call
( &self, domain_runtime_code: Vec<u8>, call: StatelessDomainRuntimeCall, )
crates/sp-domains-fraud-proof/src/host_functions.rs:357
Method
domain_runtime_call
( &mut self, domain_runtime_code: PassFatPointerAndDecode<Vec<u8>>, call: PassFatPoint
crates/sp-domains-fraud-proof/src/runtime_interface.rs:102
Method
domain_runtime_upgrade
(runtime_id: RuntimeId)
crates/sp-domains/src/lib.rs:652
Method
domain_storage_key
( &self, domain_runtime_code: Vec<u8>, req: DomainStorageKeyRequest, )
crates/sp-domains-fraud-proof/src/host_functions.rs:340
Method
domain_storage_key
( &mut self, domain_runtime_code: PassFatPointerAndDecode<Vec<u8>>, req: PassFatPointe
crates/sp-domains-fraud-proof/src/runtime_interface.rs:92
Method
downgrade
Downgrade to [`WeakNode`]
crates/subspace-networking/src/node.rs:657
Function
download_segment
Concurrently downloads the pieces for `segment_index`, and reconstructs the segment.
shared/subspace-data-retrieval/src/segment_downloading.rs:63
Method
drop
(&mut self)
shared/subspace-process/src/lib.rs:67
Method
drop
(&mut self)
shared/subspace-process/src/tests.rs:43
Method
drop
(mut self: Pin<&mut Self>)
crates/subspace-networking/src/node.rs:48
Method
drop
(&mut self)
crates/subspace-networking/src/behavior/persistent_parameters.rs:322
Method
drop
(&mut self)
crates/subspace-farmer/src/thread_pool_manager.rs:46
Method
drop
(&mut self)
crates/subspace-farmer/src/single_disk_farm.rs:769
Method
drop
(&mut self)
crates/subspace-farmer/src/plotter/cpu.rs:77
Method
drop
(&mut self)
crates/subspace-farmer/src/plotter/gpu.rs:87
← previous
next →
2,001–2,100 of 4,141, ranked by callers