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
prepare
( self, val: Self::Val, _origin: &DispatchOriginOf<RuntimeCallFor<Runtime>>, _
crates/pallet-subspace/src/extensions.rs:154
Method
prepare
( self, val: Self::Val, _origin: &DispatchOriginOf<RuntimeCallFor<Runtime>>, _
crates/subspace-runtime-primitives/src/extension.rs:175
Function
prepare_domain_block_elements
Extracts the raw materials for building a new domain block from the primary block.
domains/client/block-preprocessor/src/lib.rs:55
Method
probability
Return `true` based on the given probability
crates/subspace-malicious-operator/src/malicious_bundle_tamper.rs:46
Method
process_bundles
TODO: Handle the returned error properly, ref to https://github.com/autonomys/subspace/pull/695#discussion_r926721185
domains/client/domain-operator/src/bundle_processor.rs:198
Function
process_deposit
Processes deposit information to calculate total shares, storage fees, and pending deposit
crates/pallet-domains/src/nominator_position.rs:64
Function
process_execution_receipt
Process the execution receipt to add it to the block tree Returns the domain block number that was pruned, if any
crates/pallet-domains/src/block_tree.rs:342
Method
process_inbox_messages
Process the incoming messages from given chain_id and channel_id.
domains/pallets/messenger/src/messages.rs:102
Method
process_incoming_endpoint_message_req
( dst_chain_id: ChainId, req: EndpointRequest, channel_id: ChannelId, nonce: N
domains/pallets/messenger/src/messages.rs:203
Method
process_incoming_endpoint_message_response
( dst_chain_id: ChainId, channel_id: ChannelId, nonce: Nonce, resp_msg_weight_
domains/pallets/messenger/src/messages.rs:289
Method
process_incoming_protocol_message_req
( chain_id: ChainId, channel_id: ChannelId, req: ProtocolMessageRequest<ChannelOpenPar
domains/pallets/messenger/src/messages.rs:236
Method
process_incoming_protocol_message_response
( chain_id: ChainId, channel_id: ChannelId, req: ProtocolMessageRequest<ChannelOpenPar
domains/pallets/messenger/src/messages.rs:265
Method
process_outbox_message_responses
( resp_msg: Message<BalanceOf<T>>, resp_msg_weight_tag: MessageWeightTag, )
domains/pallets/messenger/src/messages.rs:305
Method
process_request
(&self, message: Message, process: OP)
crates/subspace-farmer/src/cluster/nats_client.rs:570
Method
process_segment_header
( &self, piece_getter: &PG, segment_header: SegmentHeader, last_segment_index_
crates/subspace-farmer/src/farmer_cache.rs:721
Method
process_stream_request
(&self, message: Message, process: OP)
crates/subspace-farmer/src/cluster/nats_client.rs:738
Function
process_withdrawals
Processes pending withdrawals for the nominator
crates/pallet-domains/src/nominator_position.rs:121
Method
produce_block
(&self, wait_for_bundle: bool)
test/subspace-farmerless-dev-node/src/manual_rpc.rs:49
Method
produce_object_mappings
Produce object mappings for `items` in `segment_index`. Then remove the mappings from those items. This method can be called on a `Segment`’s items,
crates/subspace-archiving/src/archiver.rs:625
Method
production_params
Production params for Council democracy config.
crates/subspace-runtime-primitives/src/lib.rs:190
Method
prometheus_listen_port
()
crates/subspace-node/src/domain/cli.rs:189
Function
proof_identity_with_main_branch
()
crates/subspace-proof-of-space/src/chiapos/tables/tests.rs:183
Function
prop_assert_position_invariants
Helper function to assert position invariants in proptests
crates/pallet-domains/src/nominator_position.rs:402
Function
prop_test_config
()
crates/sp-domains/src/offline_operators/tests.rs:642
Function
prop_test_nominator_position_basic_staking
()
crates/pallet-domains/src/nominator_position.rs:492
Function
prop_withdraw_excess_nominator_stake_with_deposit
()
crates/pallet-domains/src/staking.rs:3119
Function
prop_withdraw_excess_nominator_stake_with_deposit_and_fixed_operator_stake
()
crates/pallet-domains/src/staking.rs:3057
Function
prop_withdraw_excess_operator_stake
()
crates/pallet-domains/src/staking.rs:2926
Function
prop_withdraw_excess_operator_stake_with_deposit
()
crates/pallet-domains/src/staking.rs:2996
Function
prop_withdraw_excess_operator_stake_with_deposit_and_reward
()
crates/pallet-domains/src/staking.rs:3231
Function
prop_withdraw_excess_operator_stake_with_nominator
()
crates/pallet-domains/src/staking.rs:2958
Function
prop_withdraw_excess_operator_stake_with_nominator_and_reward
()
crates/pallet-domains/src/staking.rs:3183
Method
propose_execute
Storage: `Council::Members` (r:1 w:0) Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) Storage: `Council::Proposa
crates/subspace-runtime/src/weights/pallet_collective.rs:88
Method
propose_proposed
Storage: `Council::Members` (r:1 w:0) Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) Storage: `Council::Proposa
crates/subspace-runtime/src/weights/pallet_collective.rs:117
Method
proposer
(&mut self, block: &Block::Header)
crates/sc-consensus-subspace/src/slot_worker.rs:708
Method
proposing_remaining_duration
(&self, slot_info: &SlotInfo<Block>)
crates/sc-consensus-subspace/src/slot_worker.rs:720
Method
protocol_config
(&self)
crates/subspace-networking/src/protocols/request_response/handlers/generic_request_handler.rs:138
Method
protocol_name
(&self)
crates/sc-subspace-block-relay/src/consensus/relay.rs:238
Method
protocol_name
(&self)
crates/subspace-networking/src/protocols/request_response/request_response_factory/tests.rs:28
Method
protocol_name
(&self)
crates/subspace-networking/src/protocols/request_response/handlers/generic_request_handler.rs:142
Function
prove_inner
( prove_options: ProveOptions, single_disk_farm_info: SingleDiskFarmInfo, )
crates/subspace-farmer/src/bin/subspace-farmer/commands/benchmark.rs:323
Method
provide_inherent_data
(&self, inherent_data: &mut InherentData)
domains/primitives/evm-tracker/src/lib.rs:87
Method
provide_inherent_data
(&self, inherent_data: &mut InherentData)
domains/primitives/domain-sudo/src/lib.rs:62
Method
provide_inherent_data
(&self, inherent_data: &mut InherentData)
domains/primitives/executive/src/lib.rs:61
Method
provide_inherent_data
( &self, inherent_data: &mut sp_inherents::InherentData, )
domains/primitives/block-fees/src/lib.rs:47
Method
provide_inherent_data
(&self, inherent_data: &mut InherentData)
crates/sp-consensus-subspace/src/inherents.rs:86
Method
provided
(&self)
crates/subspace-networking/src/constructor.rs:154
Method
providers
(&self, _key: &RecordKey)
crates/subspace-networking/src/constructor.rs:148
Method
prune_domain_execution_receipt
( origin: OriginFor<T>, domain_id: DomainId, bad_receipt_hash: ReceiptHash
crates/pallet-domains/src/lib.rs:1790
Function
prune_receipt
( domain_id: DomainId, receipt_number: DomainBlockNumberFor<T>, )
crates/pallet-domains/src/block_tree.rs:585
Method
prune_tx_from_pool
Remove a ready transaction from transaction pool.
test/subspace-test-service/src/lib.rs:951
Method
public_address
(&self)
crates/subspace-networking/src/protocols/autonat_wrapper.rs:74
Method
put
(&mut self, _record: Record)
crates/subspace-networking/src/constructor.rs:125
Method
put_value
Puts a value into the Kademlia network of the DSN.
crates/subspace-networking/src/node.rs:306
Method
random
(_: &[u8])
crates/pallet-domains/src/mock.rs:158
Method
random
(subject: &[u8])
crates/pallet-subspace/src/lib.rs:1785
Method
random_seed
()
crates/pallet-subspace/src/lib.rs:1799
Method
reactivate_operator
( origin: OriginFor<T>, operator_id: OperatorId, )
crates/pallet-domains/src/lib.rs:2039
Method
reactivate_operator
Storage: `Domains::Operators` (r:1 w:1) Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `Domains::Latest
crates/pallet-domains/src/weights.rs:713
Method
reactivate_operator
Storage: `Domains::Operators` (r:1 w:1) Proof: `Domains::Operators` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `Domains::Latest
crates/subspace-runtime/src/weights/pallet_domains.rs:736
Method
read
(&mut self, into: &mut [u8])
crates/subspace-core-primitives/src/checksum.rs:72
Method
read_all_sectors_metadata
Read all sectors metadata
crates/subspace-farmer/src/single_disk_farm.rs:1576
Method
read_at
(&self, buf: &mut [u8], offset: u64)
crates/subspace-farmer/src/single_disk_farm/direct_io_file.rs:47
Method
read_at
(&self, buf: &mut [u8], offset: u64)
crates/subspace-farmer/src/single_disk_farm/farming/rayon_files.rs:20
Function
read_piece
Read piece from sector. NOTE: Even though this function is async, proof of time table generation is expensive and should be done in a dedicated threa
crates/subspace-farmer-components/src/reading.rs:428
Method
read_piece
( &self, offset: PieceCacheOffset, )
crates/subspace-farmer/src/disk_piece_cache.rs:193
Method
read_piece
( &self, _sector_index: SectorIndex, _piece_offset: PieceOffset, )
crates/subspace-farmer/src/farm/plotted_pieces.rs:24
Method
read_piece
( &self, offset: PieceCacheOffset, )
crates/subspace-farmer/src/single_disk_farm/piece_cache.rs:74
Method
read_piece
(&self, key: &RecordKey)
crates/subspace-farmer/src/single_disk_farm/plot_cache.rs:77
Method
read_piece
( &self, sector_index: SectorIndex, piece_offset: PieceOffset, )
crates/subspace-farmer/src/single_disk_farm/piece_reader.rs:38
Method
read_piece_index
( &self, offset: PieceCacheOffset, )
crates/subspace-farmer/src/disk_piece_cache.rs:176
Method
read_piece_index
( &self, offset: PieceCacheOffset, )
crates/subspace-farmer/src/single_disk_farm/piece_cache.rs:63
Function
read_piece_index_responder
( nats_client: &NatsClient, caches_details: &[CacheDetails<'_, C>], )
crates/subspace-farmer/src/cluster/cache.rs:552
Method
read_piece_internal
( file: &DirectIoFile, offset: u32, element: &mut [u8], )
crates/subspace-farmer/src/single_disk_farm/plot_cache.rs:324
Function
read_piece_responder
( nats_client: &NatsClient, caches_details: &[CacheDetails<'_, C>], )
crates/subspace-farmer/src/cluster/cache.rs:585
Function
read_piece_responder
( nats_client: &NatsClient, farms_details: &[FarmDetails], )
crates/subspace-farmer/src/cluster/farmer.rs:709
Method
read_pieces
( &self, offsets: Box<dyn Iterator<Item = PieceCacheOffset> + Send>, )
crates/subspace-farmer/src/disk_piece_cache.rs:225
Method
read_pieces
( &self, offsets: Box<dyn Iterator<Item = PieceCacheOffset> + Send>, )
crates/subspace-farmer/src/single_disk_farm/piece_cache.rs:85
Function
read_pieces_responder
( nats_client: &NatsClient, caches_details: &[CacheDetails<'_, C>], )
crates/subspace-farmer/src/cluster/cache.rs:618
Method
read_request
( &mut self, _: &Self::Protocol, mut io: &mut T, )
crates/subspace-networking/src/protocols/request_response/request_response_factory.rs:943
Method
read_response
( &mut self, _: &Self::Protocol, mut io: &mut T, )
crates/subspace-networking/src/protocols/request_response/request_response_factory.rs:971
Method
read_runtime_version
( &self, _wasm_code: &[u8], _ext: &mut dyn sp_externalities::Externalities, )
domains/pallets/executive/src/tests.rs:9
Method
read_runtime_version
( &self, _wasm_code: &[u8], _ext: &mut dyn sp_externalities::Externalities, )
crates/pallet-domains/src/tests.rs:184
Method
receipt
Return the receipt
crates/sp-domains/src/execution_receipt.rs:437
Method
receipt_gap
The gap between `domain_best_number` and `HeadReceiptNumber` represent the number of receipt to be submitted
crates/pallet-domains/src/lib.rs:3320
Function
recommended_number_of_farming_threads
Recommended number of thread pool size for farming, equal to number of CPU cores in the first NUMA node
crates/subspace-farmer/src/utils.rs:179
Function
reconstruct_piece
( piece_index: PieceIndex, recovery_semaphore: &Semaphore, piece_getter: &PG, kzg: &Kzg, e
crates/subspace-farmer-components/src/plotting.rs:809
Method
reconstruct_segment
Returns all the pieces for a segment using given set of pieces of a segment of the archived history (any half of all pieces are required to be present
crates/subspace-archiving/src/piece_reconstructor.rs:172
Function
record_encoding
( pos_seed: &PosSeed, record: &mut Record, mut encoded_chunks_used: EncodedChunksUsed<'_>, tab
crates/subspace-farmer-components/src/plotting.rs:616
Method
records
(&self)
crates/subspace-networking/src/constructor.rs:136
Function
recover_extended_record_chunks
Given sector record chunks recover extended record chunks (both source and parity)
crates/subspace-farmer-components/src/reading.rs:334
Method
reduce_domain_balance
(domain_id: DomainId, amount: BalanceOf<T>)
domains/pallets/transporter/src/lib.rs:597
Method
reduce_domain_balance
(_domain_id: DomainId, _amount: Balance)
crates/pallet-domains/src/mock.rs:242
Method
reference_subsidy_for_block
( points: &[RewardPoint<BlockNumberFor<T>, BalanceOf<T>>], block_height: BlockNumberFor<T>,
crates/pallet-rewards/src/lib.rs:379
Method
refresh
(&mut self, cluster_cache_id: ClusterCacheId)
crates/subspace-farmer/src/cluster/controller/caches.rs:66
Method
refresh
Return `false` if the farmer is unknown and initialization is required
crates/subspace-farmer/src/cluster/controller/farms.rs:83
Function
refund_storage_fee
Refund the paid bundle storage fee of a particular domain block back to the operator, the amount to refund to a particular operator is determined by t
crates/pallet-domains/src/bundle_storage_fund.rs:103
Method
refund_weight_for_consensus
()
domains/pallets/messenger/src/extensions.rs:291
Method
refund_weight_for_domains
()
domains/pallets/messenger/src/extensions.rs:299
Method
register_auto_id
( origin: OriginFor<T>, req: RegisterAutoId, )
domains/pallets/auto-id/src/lib.rs:321
← previous
next →
3,201–3,300 of 4,141, ranked by callers