Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChorusOne/solana-mev
/ functions
Functions
12,478 in github.com/ChorusOne/solana-mev
⨍
Functions
12,478
◇
Types & classes
2,116
↓ 62 callers
Method
next
(&mut self)
ledger/src/ancestor_iterator.rs:36
↓ 62 callers
Function
parse_success_result
(response: Response)
rpc/src/rpc.rs:4620
↓ 61 callers
Method
add_relaxed
(&self, x: u64)
gossip/src/cluster_info_metrics.rs:23
↓ 61 callers
Function
spawn
(program: &Path, args: I, generate_child_script_on_failure: bool)
sdk/cargo-test-bpf/src/main.rs:49
↓ 60 callers
Method
into_par_iter
(self)
perf/src/packet.rs:166
↓ 60 callers
Method
lamports
(&self)
program-runtime/src/pre_account.rs:172
↓ 60 callers
Method
store
(&self, _saved_tower: &SavedTowerVersions)
core/src/tower_storage.rs:124
↓ 59 callers
Method
as_ref
(&self)
ledger-tool/src/main.rs:371
↓ 59 callers
Method
set_lamports
Overwrites the number of lamports of this account (transaction wide)
sdk/src/transaction_context.rs:533
↓ 58 callers
Method
clean_accounts
Purge zero lamport accounts and older rooted account states as garbage collection Only remove those accounts where the entire rooted history of the ac
runtime/src/accounts_db.rs:2085
↓ 58 callers
Method
path
(&self)
clap-utils/src/keypair.rs:166
↓ 57 callers
Method
is_empty
(&self)
ledger/src/blockstore_db.rs:1275
↓ 57 callers
Method
load
(&self, _node_pubkey: &Pubkey)
core/src/tower_storage.rs:117
↓ 56 callers
Method
get_accounts_delta_hash
(&self, slot: Slot)
runtime/src/accounts_db.rs:5977
↓ 56 callers
Function
keypair_from_seed
Constructs a `Keypair` from caller-provided seed entropy
sdk/src/signer/keypair.rs:156
↓ 56 callers
Method
resize
(&mut self, new_len: usize, value: Packet)
perf/src/packet.rs:83
↓ 55 callers
Function
make_slot_entries
used for tests only
ledger/src/blockstore.rs:4444
↓ 55 callers
Function
process_instruction
( first_instruction_account: usize, instruction_data: &[u8], invoke_context: &mut InvokeContext, )
runtime/src/system_instruction_processor.rs:263
↓ 54 callers
Method
epoch_stakes_map
(&self)
runtime/src/bank.rs:6430
↓ 54 callers
Method
iter
Iterator for the addresses of the loaded accounts for a message
sdk/program/src/message/account_keys.rs:79
↓ 54 callers
Method
popToken
* Remove and return the next unexpanded token.
docs/static/katex/katex.mjs:14930
↓ 54 callers
Function
pubkey_of_signer
( matches: &ArgMatches<'_>, name: &str, wallet_manager: &mut Option<Arc<RemoteWalletManager>>, )
clap-utils/src/input_parsers.rs:137
↓ 53 callers
Method
data
(&self)
runtime/src/accounts_db.rs:530
↓ 53 callers
Function
sendAndConfirmTransaction
( connection: Connection, transaction: Transaction, signers: Array<Signer>, options?: ConfirmOptions,
web3.js/src/util/send-and-confirm-transaction.ts:18
↓ 52 callers
Function
process_instruction
( first_instruction_account: usize, data: &[u8], invoke_context: &mut InvokeContext, )
programs/vote/src/vote_processor.rs:55
↓ 52 callers
Method
put
(&self, key: C::Index, value: &C::Type)
ledger/src/blockstore_db.rs:1309
↓ 52 callers
Method
set
(&self, oldest_slot: Slot)
ledger/src/blockstore_db.rs:282
↓ 52 callers
Function
write_keypair_file
Writes a `Keypair` to a file with JSON-encoding
sdk/src/signer/keypair.rs:126
↓ 51 callers
Method
data
(&self, index: I)
sdk/src/packet.rs:57
↓ 51 callers
Function
f
(r,t,a)
docs/static/katex/contrib/render-a11y-string.min.js:1
↓ 51 callers
Method
pubkey
(&self)
sdk/program/src/example_mocks.rs:81
↓ 50 callers
Method
count
(&self)
runtime/src/accounts_db.rs:733
↓ 50 callers
Function
create_ticks
(num_ticks: u64, hashes_per_tick: u64, mut hash: Hash)
entry/src/entry.rs:879
↓ 50 callers
Method
find
Returns indices of all crds values which the first 'mask_bits' of their hash value is equal to 'mask'.
gossip/src/crds_shards.rs:39
↓ 50 callers
Method
flatten
(self)
sdk/program/src/program_option.rs:939
↓ 48 callers
Method
consume
* Discards the current lookahead token, considering it consumed.
docs/static/katex/katex.mjs:15692
↓ 48 callers
Method
consumeArgs
* Consume the specified number of arguments from the token stream, * and return the resulting array of arguments.
docs/static/katex/katex.mjs:14974
↓ 48 callers
Function
read_keypair_file
Reads a `Keypair` from a file
sdk/src/signer/keypair.rs:109
↓ 48 callers
Function
reportError
(err: unknown, tags: Tags)
explorer/src/utils/sentry.ts:9
↓ 48 callers
Method
split
( &mut self, remaining_stake_delta: u64, split_stake_amount: u64, )
sdk/program/src/stake/state.rs:550
↓ 47 callers
Method
epoch
(&self)
runtime/src/bank.rs:2165
↓ 47 callers
Method
get_compute_budget
Get this invocation's compute budget
program-runtime/src/invoke_context.rs:1067
↓ 47 callers
Method
send_and_confirm_message
( &self, keypairs: &T, message: Message, )
client/src/thin_client.rs:331
↓ 47 callers
Function
setup_with_default
Configures logging with a default filter if RUST_LOG is not set
logger/src/lib.rs:45
↓ 47 callers
Method
squash
squash the parent's state up into this Bank, this Bank becomes a root
runtime/src/bank.rs:3102
↓ 47 callers
Method
stakes
(&self)
runtime/src/stakes.rs:46
↓ 46 callers
Method
copied
Maps an `COption<&T>` to an `COption<T>` by copying the contents of the option. # Examples ```ignore let x = 12; let opt_x = COption::Some(&x); asse
sdk/program/src/program_option.rs:671
↓ 46 callers
Function
create_genesis_config
same as genesis_config::create_genesis_config, but with bootstrap_validator staking logic for the core crate tests
ledger/src/genesis_utils.rs:7
↓ 46 callers
Method
fill
(&mut self, slots: &[Slot], now: u64)
gossip/src/epoch_slots.rs:270
↓ 46 callers
Method
label
(&self)
gossip/src/crds_value.rs:596
↓ 45 callers
Method
contains_key
(&self, slot: &Slot)
runtime/src/ancestors.rs:76
↓ 45 callers
Method
get_key
Returns the public key of this account (transaction wide)
sdk/src/transaction_context.rs:513
↓ 45 callers
Function
next_entry
Creates the next Tick or Transaction Entry `num_hashes` after `start_hash`.
entry/src/entry.rs:902
↓ 45 callers
Method
root
root may be forcibly set by arbitrary replay root slot, for example from a root after replaying a snapshot. Also, tower.root() couldn't be None; initi
core/src/consensus.rs:558
↓ 44 callers
Method
keys
(&self)
bucket_map/src/bucket.rs:105
↓ 44 callers
Method
try_account_ref_mut
(&'a self)
sdk/src/keyed_account.rs:68
↓ 43 callers
Function
create_account_shared_data_for_test
(sysvar: &S)
sdk/src/account.rs:641
↓ 43 callers
Method
first
Equivalent to weighted_shuffle.shuffle(&mut rng).next()
gossip/src/weighted_shuffle.rs:141
↓ 43 callers
Method
register_tick
Tell the bank which Entry IDs exist on the ledger. This function assumes subsequent calls correspond to later entries, and will boot the oldest ones o
runtime/src/bank.rs:3482
↓ 43 callers
Method
trim
Trims the table by dropping all values associated with the pubkeys with the lowest stake, so that the number of unique pubkeys are bounded.
gossip/src/crds.rs:546
↓ 42 callers
Function
Ce
(t,e)
docs/static/katex/katex.min.js:1
↓ 42 callers
Function
assertNodeType
* Asserts that the node is of the given type and returns it with stricter * typing. Throws if the node's type does not match.
docs/static/katex/katex.js:7452
↓ 42 callers
Function
assertNodeType
* Asserts that the node is of the given type and returns it with stricter * typing. Throws if the node's type does not match.
docs/static/katex/katex.mjs:7373
↓ 42 callers
Method
get
(&self, pubkey: &Pubkey)
runtime/src/bank.rs:409
↓ 42 callers
Method
get_current_instruction_context
Returns the current InstructionContext
sdk/src/transaction_context.rs:168
↓ 42 callers
Method
pubkey
(&self)
sdk/src/signer/keypair.rs:70
↓ 42 callers
Method
set_message
(&self, msg: T)
validator/src/lib.rs:140
↓ 41 callers
Method
buffer_mut
(&mut self)
sdk/src/packet.rs:68
↓ 41 callers
Function
entries_to_test_shreds
( entries: &[Entry], slot: Slot, parent_slot: Slot, is_full_slot: bool, version: u16, )
ledger/src/blockstore.rs:4424
↓ 41 callers
Method
insert
(&mut self, key: u64)
runtime/src/accounts_index.rs:476
↓ 41 callers
Method
pubkey
(&self)
gossip/src/cluster_info.rs:219
↓ 41 callers
Method
set_roots
(&self, rooted_slots: impl Iterator<Item = &'a Slot>)
ledger/src/blockstore.rs:3418
↓ 41 callers
Method
toString
* Return the base-58 representation of the public key
web3.js/src/publickey.ts:118
↓ 41 callers
Method
working_bank
(&self)
runtime/src/bank_forks.rs:212
↓ 40 callers
Function
check_num_token_accounts
(accounts: &[u8], num: usize)
transaction-status/src/parse_token.rs:668
↓ 40 callers
Method
get_minimum_balance_for_rent_exemption
Returns minimum balance required to make an account with specified data length rent exempt. # RPC Reference This method corresponds directly to the
client/src/rpc_client.rs:3536
↓ 40 callers
Method
insert_info
TODO kill insert_info, only used by tests
gossip/src/cluster_info.rs:499
↓ 40 callers
Method
process_slot_vote_unchecked
(&mut self, slot: Slot)
programs/vote/src/vote_state/mod.rs:1006
↓ 40 callers
Function
test_connection
( subscriptions: &Arc<RpcSubscriptions>, )
rpc/src/rpc_pubsub_service.rs:231
↓ 40 callers
Function
test_tx
()
perf/src/test_tx.rs:16
↓ 39 callers
Method
formatted_string
(&self, item: &T)
cli-output/src/cli_output.rs:63
↓ 39 callers
Method
id
(&self)
gossip/src/cluster_info.rs:623
↓ 39 callers
Method
set_executable
Configures whether this account is executable (transaction wide)
sdk/src/transaction_context.rs:608
↓ 39 callers
Method
toBuffer
* Return the Buffer representation of the public key
web3.js/src/publickey.ts:104
↓ 39 callers
Method
truncate
(&mut self, len: usize)
perf/src/packet.rs:87
↓ 38 callers
Function
buildA11yStrings
(tree, a11yStrings, atomType)
docs/static/katex/contrib/render-a11y-string.js:831
↓ 38 callers
Function
buildA11yStrings
(tree, a11yStrings, atomType)
docs/static/katex/contrib/render-a11y-string.mjs:718
↓ 38 callers
Method
remove
(&mut self, slot: &Slot)
runtime/src/ancestors.rs:72
↓ 38 callers
Method
store_cached
(&self, slot: Slot, accounts: &[(&Pubkey, &AccountSharedData)])
runtime/src/accounts_db.rs:6334
↓ 38 callers
Method
upsert
Updates the given pubkey at the given slot with the new account information. on return, the index's previous account info may be returned in 'reclaims
runtime/src/accounts_index.rs:1775
↓ 37 callers
Method
add
(&mut self, slot: Slot, hash: Hash)
sdk/program/src/slot_hashes.rs:34
↓ 37 callers
Method
challenge_scalar
(&mut self, label: &'static [u8])
zk-token-sdk/src/transcript.rs:122
↓ 37 callers
Method
iter_mut
(&mut self)
core/src/unprocessed_packet_batches.rs:248
↓ 37 callers
Method
send_and_confirm_instruction
( &self, keypair: &Keypair, instruction: Instruction, )
client/src/thin_client.rs:342
↓ 37 callers
Method
serialize
()
web3.js/src/message.ts:113
↓ 37 callers
Function
toBuffer
(arr: Buffer | Uint8Array | Array<number>)
web3.js/src/util/to-buffer.ts:3
↓ 36 callers
Method
encode
()
web3.js/src/util/borsh-schema.ts:10
↓ 36 callers
Method
get
(&self)
program-runtime/src/invoke_context.rs:131
↓ 36 callers
Method
get_point
(&self)
zk-token-sdk/src/encryption/elgamal.rs:270
↓ 36 callers
Function
goto_end_of_slot
(bank: &mut Bank)
runtime/src/bank.rs:7020
← previous
next →
201–300 of 12,478, ranked by callers