MCPcopy Create free account

hub / github.com/MystenLabs/walrus / functions

Functions5,845 in github.com/MystenLabs/walrus

↓ 1,432 callersMethodclone
(&self)
crates/walrus-service/src/node/server.rs:196
↓ 588 callersMethodmap
A state-transition helper that transforms the blob state into a new one using a function that can fail.
crates/walrus-sdk/src/node_client/client_types.rs:303
↓ 572 callersMethoditer
Returns an iterator over the key-value pairs in the metadata.
crates/walrus-sui/src/types/move_structs.rs:280
↓ 405 callersMethodas_ref
(&self)
crates/walrus-service/src/test_utils.rs:482
↓ 391 callersMethodpush
Push a single entry. Flushes automatically when threshold is reached.
crates/typed-store/src/rocks.rs:2660
↓ 379 callersMethodcollect
(&self)
crates/walrus-utils/src/metrics/tokio.rs:134
↓ 296 callersMethodjoin
join handle for the task
crates/walrus-service/src/common/utils.rs:300
↓ 291 callersMethodclone
(&self)
crates/walrus-core/src/keys.rs:120
↓ 273 callersMethodmap
Maps a `ByAxis<T, U>` to a `ByAxis<O, P>` by applying functions to either variant. See also [`by_axis::map!`][map] when both `map_primary` and `map_s
crates/walrus-core/src/by_axis.rs:141
↓ 200 callersMethodget
Gets the value, if already loaded into memory, otherwise returns None.
crates/walrus-service/src/node/config.rs:1591
↓ 183 callersMethodas_ref
(&self)
crates/walrus-service/src/node/storage/metrics.rs:96
↓ 177 callersMethodinto_iter
(self)
crates/walrus-sui/src/types/move_structs.rs:315
↓ 161 callersMethodsend
Sends a request to the cache, and returns the response.
crates/walrus-service/src/client/daemon/cache.rs:304
↓ 150 callersMethodset
Sets the currently observed epoch.
crates/walrus-service/src/common/telemetry.rs:542
↓ 149 callersMethodas_ref
(&self)
crates/walrus-core/src/lib.rs:180
↓ 121 callersMethodlen
(&self)
crates/walrus-service/src/node/ref_counted_notify_map.rs:108
↓ 110 callersMethodfield
Returns a metadata field if it exists and successfully deserializes to the expected type.
crates/walrus-storage-node-client/src/api/errors.rs:240
↓ 108 callersMethodget
(&self, index: usize)
crates/walrus-core/src/encoding/symbols.rs:138
↓ 99 callersMethodok
Generates a new message with status code 200.
crates/walrus-service/src/common/api.rs:73
↓ 97 callersMethodfilter
Return whether the instance matches the parameters specified in the setting file.
crates/walrus-orchestrator/src/client/vultr.rs:63
↓ 95 callersMethodsui_client
Returns the inner sui client.
crates/walrus-sdk/src/node_client.rs:2620
↓ 92 callersMethodinc
Increments the counter and returns the new value.
crates/walrus-service/src/node/blob_event_processor/pending_events.rs:60
↓ 91 callersMethodlen
Returns the sliver size in bytes.
crates/walrus-core/src/lib.rs:578
↓ 89 callersFunctioninit_tracing
Globally sets a tracing subscriber suitable for testing environments.
crates/walrus-test-utils/src/lib.rs:449
↓ 85 callersMethodis_empty
(&self)
crates/walrus-service/src/node/ref_counted_notify_map.rs:117
↓ 84 callersMethodand_then
Convert a `WithTempDir<T>` to a `WithTempDir<U>` by applying the provided fallible function to the inner value, while maintaining the temporary direct
crates/walrus-test-utils/src/lib.rs:255
↓ 84 callersMethodinto_iter
(self)
crates/walrus-proxy/src/prom_to_mimir.rs:41
↓ 83 callersMethodparse
parse a delimited buffer of protobufs. this is used to consume data sent from a sui-node
crates/walrus-proxy/src/consumer.rs:120
↓ 82 callersMethodblob_id
(&self)
crates/walrus-service/src/node.rs:6096
↓ 82 callersMethodpublic
The public key associated with the key pair.
crates/walrus-core/src/keys.rs:80
↓ 81 callersMethodfinish
(mut self)
crates/walrus-sui/src/client/transaction_builder.rs:1164
↓ 72 callersMethodbuild
Create the [`MerkleTree`] as a commitment to the provided data.
crates/walrus-core/src/merkle.rs:216
↓ 67 callersMethodinsert
(&self, blob_id: &BlobId, blob_info: &BlobInfo)
crates/walrus-service/src/node/storage/blob_info.rs:1297
↓ 65 callersMethodas_bytes
Converts the `BlobHeaderV1` to a 6-byte array.
crates/walrus-core/src/encoding/quilt_encoding.rs:962
↓ 65 callersMethodlen
Returns the number of slivers.
crates/walrus-sdk/src/node_client.rs:169
↓ 64 callersMethodget_for_type
Returns the encoding config for the given encoding type wrapped as an [`EncodingConfigEnum`].
crates/walrus-core/src/encoding/config.rs:396
↓ 60 callersMethodbuild
Consumes the builder and constructs a new [`StorageNode`]. The constructed storage node will use dependent services provided to the builder, otherwis
crates/walrus-service/src/node.rs:523
↓ 59 callersMethodlen
Returns the sliver size in bytes.
crates/walrus-core/src/encoding/slivers.rs:395
↓ 55 callersMethodinsert
(&mut self, blob_id: BlobId)
crates/walrus-sdk/src/blocklist.rs:130
↓ 55 callersMethodwalrus_move_call
Adds a move call to a function in the Walrus package to the PTB. Always returns an [`Argument::Result`] if no error is returned.
crates/walrus-sui/src/client/transaction_builder.rs:261
↓ 54 callersFunctionevent_id_for_testing
Returns a random `EventID` for testing.
crates/walrus-sui/src/test_utils.rs:90
↓ 54 callersMethodsign_and_send_transaction
Executes the provided transaction.
crates/walrus-sui/src/client.rs:1124
↓ 53 callersMethodbuild_transaction_data
( self, gas_budget: Option<u64>, )
crates/walrus-sui/src/client/transaction_builder.rs:1173
↓ 53 callersMethodtransaction_builder
Returns a new [`WalrusPtbBuilder`] for the client.
crates/walrus-sui/src/client.rs:1751
↓ 52 callersMethodcontains
Returns true if the committee contains a member with the specified public key.
crates/walrus-sui/src/types.rs:385
↓ 51 callersFunctionbe_fix_int_ser
(t: &S)
crates/typed-store/src/rocks.rs:2476
↓ 51 callersMethodpath
Returns the path, if any.
crates/walrus-service/src/node/config.rs:1609
↓ 51 callersMethodwrite
Writes an event to the current blob. This method writes the provided event to the current blob, updates necessary metadata, and handles blob cutting
crates/walrus-service/src/node/event_blob_writer.rs:1546
↓ 48 callersMethodcurrent_committee
Returns the current committee.
crates/walrus-sdk/src/active_committees.rs:129
↓ 48 callersMethodread
(rbuf: &mut BufReader<File>)
crates/walrus-service/src/event/events.rs:50
↓ 48 callersMethodstore
TODO(WAL-1098): Refactor this function and reduce duplication with `store_quilt`.
crates/walrus-service/src/client/cli/runner.rs:765
↓ 47 callersMethodcontains
(&self, blob_id: &BlobId, key: SliverCacheKey)
crates/walrus-service/src/node/pending_sliver_cache.rs:272
↓ 47 callersMethodshard_storage
Returns a handle over the storage for a single shard.
crates/walrus-service/src/node/storage.rs:616
↓ 45 callersMethodget
Returns the blob info for `blob_id`.
crates/walrus-service/src/node/storage/blob_info.rs:575
↓ 43 callersFunctionrandom_data
Creates a byte vector of length `data_length` filled with random data. Uses a newly generated RNG with fixed seed.
crates/walrus-test-utils/src/lib.rs:353
↓ 42 callersMethodas_mut
(&mut self)
crates/walrus-core/src/messages.rs:258
↓ 42 callersMethodjoin
Join the background tasks and clean up resources.
crates/walrus-service/src/node/db_checkpoint.rs:723
↓ 42 callersMethodretry_on_wrong_version
Same as [`Self::retry_on_wrong_version_unboxed`], but returns a boxed future to prevent very large futures stored on the stack.
crates/walrus-sui/src/client.rs:1138
↓ 42 callersMethodwith_test_nodes_config
Sets the [`TestNodesConfig`] for the cluster.
crates/walrus-service/src/test_utils.rs:3145
↓ 41 callersFunctionretry_rpc_errors
Same as [`retry_rpc_errors_unboxed`], but returns a boxed future to prevent very large futures stored on the stack.
crates/walrus-sui/src/client/retry_client.rs:46
↓ 40 callersMethodmembers
Returns the members of the committee.
crates/walrus-sui/src/types.rs:346
↓ 40 callersMethodobserve
(self: Pin<&mut Self>, output: Option<&<Self as Future>::Output>)
crates/walrus-service/src/common/utils.rs:107
↓ 40 callersMethodwith_node_weights
Sets the weights of the nodes in the cluster.
crates/walrus-service/src/test_utils.rs:301
↓ 39 callersFunctiondispatch
(conn: &mut AsyncPgConnection, event: &ContractEvent)
crates/walrus-service/src/backup/tests.rs:324
↓ 39 callersMethodextend
Processes an extend status change on the [`PermanentBlobInfo`] object representing the certified permanent blobs.
crates/walrus-service/src/node/storage/blob_info/perm_blob_info.rs:83
↓ 39 callersMethodget_strategy
Gets a backoff strategy, seeded from the internal RNG.
crates/walrus-sui/src/client/retry_client/retriable_sui_client.rs:2178
↓ 39 callersMethodwith_failover
Executes an operation on the current inner instance, falling back to the next one if it fails. Same as [`Self::with_failover_unboxed`], but returns a
crates/walrus-sui/src/client/retry_client/failover.rs:239
↓ 38 callersMethodget
Get a value from the database.
crates/typed-store/src/rocks.rs:350
↓ 38 callersMethodmetadata
(&self, blob_id: &BlobId)
crates/walrus-storage-node-client/src/client.rs:110
↓ 36 callersFunctionblob_id_from_u64
Returns a blob ID of given number for testing.
crates/walrus-core/src/test_utils.rs:272
↓ 36 callersMethodfind
Returns the node with the specified node ID, if any.
crates/walrus-sui/src/types.rs:392
↓ 36 callersMethodinsert
(&self, key: &K, value: &V)
crates/typed-store/src/rocks.rs:1917
↓ 35 callersMethodblob_id
The blob ID.
crates/walrus-sdk/src/uploader.rs:78
↓ 35 callersMethodextend
(&mut self, symbols: &[u8])
crates/walrus-core/src/encoding/symbols.rs:208
↓ 33 callersMethodprint_output
Writes the output to stdout formatted depending on the output mode.
crates/walrus-service/src/client/cli/cli_output.rs:90
↓ 33 callersFunctiontemp_dir
()
crates/typed-store/src/rocks/tests.rs:18
↓ 33 callersMethodwith_epoch_duration
Sets the epoch duration for the tests, if not set, defaults to [`DEFAULT_EPOCH_DURATION_FOR_TESTS`]
crates/walrus-service/src/test_utils.rs:3139
↓ 33 callersMethodwrite
(&self, wbuf: &mut BufWriter<File>)
crates/walrus-service/src/event/events.rs:42
↓ 32 callersMethodbatch
(&self)
crates/walrus-service/src/node/storage/blob_info.rs:1283
↓ 32 callersMethodencoding_config
(&self)
crates/walrus-service/src/node.rs:2920
↓ 32 callersMethodindex
(&self)
crates/walrus-service/src/node/system_events.rs:69
↓ 31 callersMethodas_str
Returns the string representation of the coin type.
crates/walrus-sui/src/coin.rs:67
↓ 31 callersFunctionrandom_blob_id
Returns a random blob ID for testing.
crates/walrus-core/src/test_utils.rs:265
↓ 31 callersMethodrecord
* Record the given blob ID under the specified key. * * @returns The number of blob IDs currently recorded under that key, * or null if
scripts/k6/src/lib/blob_history.ts:29
↓ 30 callersMethodinsert_batch
( &self, batch: &mut DBBatch, new_vals: impl IntoIterator<Item = (&'a BlobId, &'a Blob
crates/walrus-service/src/node/storage/blob_info.rs:1313
↓ 30 callersMethodis_empty
Returns true if no slivers are left.
crates/walrus-sdk/src/node_client.rs:174
↓ 30 callersMethodpath
Retrieves the path to the wallet configuration file.
crates/walrus-sui/src/config.rs:73
↓ 30 callersMethodretriable_sui_client
Gets the [`RetriableSuiClient`] from the associated read client.
crates/walrus-sui/src/client.rs:605
↓ 29 callersMethodcf_handle
Get a column family handle by name.
crates/typed-store/src/rocks.rs:403
↓ 29 callersMethodn_shards
(&self)
crates/walrus-service/src/node/server.rs:812
↓ 28 callersMethodinto_inner
Converts this to the inner client.
crates/walrus-storage-node-client/src/client.rs:412
↓ 28 callersMethodlen
Returns the number of key-value pairs in the attribute.
crates/walrus-sui/src/types/move_structs.rs:287
↓ 27 callersMethodabort
Aborts any running data-deletion task.
crates/walrus-service/src/node/garbage_collector.rs:304
↓ 27 callersMethodactive_address
Retrieves the `active_address`, if it was specified.
crates/walrus-sui/src/config.rs:89
↓ 27 callersMethodadd
Add a new measurement to the collection.
crates/walrus-orchestrator/src/measurements.rs:168
↓ 27 callersMethodcf
Get the column family.
crates/typed-store/src/rocks.rs:1048
↓ 27 callersMethodencoding_type
(&self)
crates/walrus-service/src/node/recovery_symbol_service.rs:388
↓ 27 callersFunctionget_int_property
Helper function to get integer property from RocksDB.
crates/typed-store/src/metrics.rs:1833
↓ 27 callersMethodid
(&self)
crates/walrus-service/src/node/storage/shard.rs:478
↓ 27 callersMethodload
Loads the blocklist from the file at the given path.
crates/walrus-sdk/src/blocklist.rs:182
next →1–100 of 5,845, ranked by callers