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
↓ 26 callers
Function
new_address_lookup_table
( authority: Option<Pubkey>, num_addresses: usize, )
programs/address-lookup-table-tests/tests/common.rs:59
↓ 26 callers
Function
open_blockstore
(ledger_path: &Path)
local-cluster/tests/common.rs:74
↓ 26 callers
Method
possible_values
()
banking-bench/src/main.rs:80
↓ 26 callers
Function
process_instruction_as_one_arg
( instruction: &Instruction, expected_result: Result<(), InstructionError>, )
programs/stake/src/stake_instruction.rs:392
↓ 26 callers
Function
setup_bank_and_vote_pubkeys_for_tests
( num_vote_accounts: usize, stake: u64, )
runtime/src/bank_utils.rs:11
↓ 26 callers
Method
skip
()
transaction-status/src/option_serializer.rs:15
↓ 26 callers
Function
spl_token_pubkey
A helper function to convert a solana_sdk::pubkey::Pubkey to spl_sdk::pubkey::Pubkey
account-decoder/src/parse_token.rs:53
↓ 26 callers
Function
useFetchAccountInfo
()
explorer/src/providers/accounts/index.tsx:418
↓ 26 callers
Function
value_of
Return a parsed value from matches at `name`
clap-utils/src/input_parsers.rs:35
↓ 26 callers
Method
write
(&self, batch: RWriteBatch)
ledger/src/blockstore_db.rs:534
↓ 25 callers
Function
add_lookup_table_account
( context: &mut ProgramTestContext, account_address: Pubkey, address_lookup_table: AddressLookupTa
programs/address-lookup-table-tests/tests/common.rs:74
↓ 25 callers
Function
buildString
(str, type, a11yStrings)
docs/static/katex/contrib/render-a11y-string.js:255
↓ 25 callers
Function
buildString
(str, type, a11yStrings)
docs/static/katex/contrib/render-a11y-string.mjs:143
↓ 25 callers
Function
create_account
(lamports: u64, config: &Config)
programs/stake/src/config.rs:24
↓ 25 callers
Function
d
(e,r,t)
docs/static/katex/contrib/render-a11y-string.min.js:1
↓ 25 callers
Method
decode
(b: Uint8Array, offset?: number)
explorer/src/components/instruction/pyth/program.ts:59
↓ 25 callers
Method
deposit
( &self, pubkey: &Pubkey, lamports: u64, )
runtime/src/bank.rs:5760
↓ 25 callers
Method
last_voted_slot
(&self)
core/src/consensus.rs:515
↓ 25 callers
Function
new_vote_transaction
( slots: Vec<Slot>, bank_hash: Hash, blockhash: Hash, node_keypair: &Keypair, vote_keypair
programs/vote/src/vote_transaction.rs:11
↓ 25 callers
Method
next
(&mut self)
core/src/verified_vote_packets.rs:73
↓ 25 callers
Function
open_blockstore
( ledger_path: &Path, access_type: AccessType, wal_recovery_mode: Option<BlockstoreRecoveryMode>,
ledger-tool/src/main.rs:750
↓ 25 callers
Function
pin
(_mem: &mut Vec<T>)
perf/src/cuda_runtime.rs:25
↓ 25 callers
Method
push
(&mut self, instruction: Instruction)
sdk/program/src/wasm/instructions.rs:19
↓ 25 callers
Method
rpc_client
(&self)
client/src/thin_client.rs:186
↓ 25 callers
Method
set_discard
(&mut self, discard: bool)
sdk/src/packet.rs:150
↓ 25 callers
Method
vote_accounts
current vote accounts for this bank along with the stake attributed to each account
runtime/src/bank.rs:6414
↓ 24 callers
Method
append_vec_id
(&self)
runtime/src/accounts_db.rs:761
↓ 24 callers
Function
assert_ix_error
( context: &mut ProgramTestContext, ix: Instruction, authority_keypair: Option<&Keypair>, expe
programs/address-lookup-table-tests/tests/common.rs:27
↓ 24 callers
Function
buildGroup$1
(group, options)
docs/static/katex/katex.mjs:6929
↓ 24 callers
Function
buildMathML_buildGroup
(group, options)
docs/static/katex/katex.js:6988
↓ 24 callers
Function
check_slot_agrees_with_cluster
( slot: Slot, root: Slot, blockstore: &Blockstore, duplicate_slots_tracker: &mut DuplicateSlot
core/src/cluster_slot_state_verifier.rs:744
↓ 24 callers
Method
clear_signatures
Forget all signatures. Useful for benchmarking.
runtime/src/bank.rs:3434
↓ 24 callers
Method
encrypt
(public: &ElGamalPubkey, amount: T)
zk-token-sdk/src/encryption/elgamal.rs:88
↓ 24 callers
Method
equals
Checks if two `Hash`s are equal
sdk/program/src/wasm/hash.rs:49
↓ 24 callers
Method
future
* Returns the topmost token on the stack, without expanding it. * Similar in behavior to TeX's `\futurelet`.
docs/static/katex/katex.mjs:14918
↓ 24 callers
Method
get_latest_blockhash
( &mut self, )
banks-client/src/lib.rs:413
↓ 24 callers
Method
insert
(&mut self, bank: Bank)
runtime/src/bank_forks.rs:174
↓ 24 callers
Method
len
(&self)
runtime/src/accounts_index.rs:620
↓ 24 callers
Method
put_protobuf
(&self, key: C::Index, value: &C::Type)
ledger/src/blockstore_db.rs:1348
↓ 24 callers
Method
sign
Sign the transaction. This method fully signs a transaction with all required signers, which must be present in the `keypairs` slice. To sign with on
sdk/src/transaction/mod.rs:708
↓ 24 callers
Function
sol_deserialize
* De-serializes the input parameters into usable types * * Use this function to deserialize the buffer passed to the program entrypoint * into usab
sdk/bpf/c/inc/sol/deserialize.h:35
↓ 24 callers
Method
unzip
(&self)
client/src/rpc_config.rs:99
↓ 24 callers
Function
ve
(t,e)
docs/static/katex/katex.min.js:1
↓ 24 callers
Method
with_memo
(mut self, memo: Option<T>)
cli/src/memo.rs:11
↓ 23 callers
Method
adjust_lockouts_after_replay
The tower root can be older/newer if the validator booted from a newer/older snapshot, so tower lockouts may need adjustment
core/src/consensus.rs:1046
↓ 23 callers
Function
advance_nonce_account
(nonce_pubkey: &Pubkey, authorized_pubkey: &Pubkey)
sdk/program/src/system_instruction.rs:540
↓ 23 callers
Method
clean_accounts
( &self, skip_last: bool, is_startup: bool, last_full_snapshot_slot: Option<Sl
runtime/src/bank.rs:6562
↓ 23 callers
Method
contains
(&self, index: u64)
ledger/src/blockstore_meta.rs:177
↓ 23 callers
Function
decodeData
(type: InstructionType, buffer: Buffer)
web3.js/src/instruction.ts:33
↓ 23 callers
Method
descendants
Create a map of bank slot id to the set of all of its descendants
runtime/src/bank_forks.rs:98
↓ 23 callers
Function
encodeData
(type: InstructionType, fields?: any)
web3.js/src/instruction.ts:20
↓ 23 callers
Method
expect
* Checks a result to make sure it has the right type, and throws an * appropriate error otherwise.
docs/static/katex/katex.mjs:15674
↓ 23 callers
Method
flush_accounts_cache
`force_flush` flushes all the cached roots `<= requested_flush_root`. It also then flushes: 1) excess remaining roots or unrooted slots while 'should_
runtime/src/accounts_db.rs:4604
↓ 23 callers
Method
get
(&mut self)
sdk/src/account.rs:661
↓ 23 callers
Method
get
* Get the current value of a name, or `undefined` if there is no value. * * Note: Do not use `if (namespace.get(...))` to detect whether a macro
docs/static/katex/katex.mjs:13921
↓ 23 callers
Method
get_epoch
get epoch for the given slot
sdk/program/src/epoch_schedule.rs:135
↓ 23 callers
Method
get_first_slot_in_epoch
(&self, epoch: Epoch)
sdk/program/src/epoch_schedule.rs:170
↓ 23 callers
Method
get_slot_with_commitment
Returns the slot that has reached the given [commitment level][cl]. [cl]: https://docs.solana.com/developing/clients/jsonrpc-api#configuring-state-co
client/src/rpc_client.rs:1548
↓ 23 callers
Method
iter
(&self, range: Option<&R>, collect_all_unsorted: bool)
runtime/src/accounts_index.rs:943
↓ 23 callers
Method
key
Get the `Pubkey` of an account required by one of the instructions in the transaction. The `instruction_index` corresponds to the [`instructions`] ve
sdk/src/transaction/mod.rs:588
↓ 23 callers
Function
new_response
(bank: &Bank, value: T)
rpc/src/rpc.rs:121
↓ 23 callers
Method
publicKey
* The public key for this keypair
web3.js/src/keypair.ts:88
↓ 23 callers
Method
put
(&mut self, executors: &[(&Pubkey, Arc<dyn Executor>)])
runtime/src/bank.rs:421
↓ 23 callers
Method
run_purge
( &self, from_slot: Slot, to_slot: Slot, purge_type: PurgeType, )
ledger/src/blockstore/blockstore_purge.rs:125
↓ 23 callers
Function
signer_from_path
Loads a [Signer] from one of several possible sources. The `path` is not strictly a file system path, but is interpreted as various types of _signing
clap-utils/src/keypair.rs:685
↓ 23 callers
Method
text
* Get a text or display version of this style.
docs/static/katex/katex.mjs:461
↓ 22 callers
Function
assert_load_account
( accounts: &AccountsDb, slot: Slot, pubkey: Pubkey, expected_lamports: u64,
runtime/src/accounts_db.rs:9433
↓ 22 callers
Method
cmp
(&self, other: &Self)
runtime/src/snapshot_utils.rs:141
↓ 22 callers
Method
discard
(&self)
sdk/src/packet.rs:145
↓ 22 callers
Method
exit_node
(&mut self, pubkey: &Pubkey)
local-cluster/src/local_cluster.rs:736
↓ 22 callers
Method
join
(self)
core/src/banking_stage.rs:2376
↓ 22 callers
Function
max_cache_slots
()
runtime/src/accounts_db.rs:11603
↓ 22 callers
Function
max_ticks_per_n_shreds
(num_shreds: u64, shred_data_size: Option<usize>)
ledger/src/shred.rs:1115
↓ 22 callers
Method
offline_args
(self)
clap-utils/src/offline.rs:93
↓ 22 callers
Method
presigner_of
(&self, pubkey: &Pubkey)
clap-utils/src/keypair.rs:63
↓ 22 callers
Method
realloc
Realloc the account's data and optionally zero-initialize the new memory. Note: Account data can be increased within a single call by up to `solana_
sdk/program/src/account_info.rs:145
↓ 22 callers
Function
run
Run a program, ensure it exits with code 0, return its stdout.
mev-tests/util.py:28
↓ 22 callers
Method
slot_leader_at
(&self, slot: Slot, bank: Option<&Bank>)
ledger/src/leader_schedule_cache.rs:95
↓ 22 callers
Function
sol_log_64
(arg1: u64, arg2: u64, arg3: u64, arg4: u64, arg5: u64)
sdk/program/src/log.rs:109
↓ 22 callers
Method
tick_height
Return the number of ticks since genesis.
runtime/src/bank.rs:6347
↓ 22 callers
Method
vote_state
(&self)
runtime/src/vote_account.rs:59
↓ 21 callers
Method
clear
Clear for testing
runtime/src/status_cache.rs:221
↓ 21 callers
Method
entries
(&mut self)
entry/src/entry.rs:279
↓ 21 callers
Function
fee_payer_arg
()
clap-utils/src/fee_payer.rs:14
↓ 21 callers
Method
flush
(&self)
metrics/src/metrics.rs:304
↓ 21 callers
Method
get_balance
Each program would need to be able to introspect its own state this is hard-coded to the Budget language
runtime/src/bank.rs:5633
↓ 21 callers
Method
immutable_section
(&self)
core/src/unprocessed_packet_batches.rs:136
↓ 21 callers
Method
insert
Insert a new key for a specific slot.
runtime/src/status_cache.rs:190
↓ 21 callers
Function
just_stake
(stake: u64)
programs/stake/src/stake_state.rs:2607
↓ 21 callers
Method
log
Log a `Pubkey` from a program
sdk/program/src/pubkey.rs:610
↓ 21 callers
Function
make_packet_from_transaction
(tx: Transaction)
perf/src/sigverify.rs:771
↓ 21 callers
Method
nonce_args
(self, global: bool)
clap-utils/src/nonce.rs:45
↓ 21 callers
Method
open
Opens a Ledger in directory, provides "infinite" window of shreds
ledger/src/blockstore.rs:534
↓ 21 callers
Function
parse_sign_only_reply_string
(reply: &str)
cli-output/src/cli_output.rs:2169
↓ 21 callers
Function
parse_signers
( map: &mut Map<String, Value>, last_nonsigner_index: usize, account_keys: &AccountKeys, accou
transaction-status/src/parse_token.rs:642
↓ 21 callers
Function
recv_mmsg
(socket: &UdpSocket, packets: &mut [Packet])
streamer/src/recvmmsg.rs:17
↓ 21 callers
Method
set_owner
Assignes the owner of this account (transaction wide)
sdk/src/transaction_context.rs:523
↓ 21 callers
Method
slot_meta_iterator
( &self, slot: Slot, )
ledger/src/blockstore.rs:776
↓ 21 callers
Function
test_process_blockstore
( genesis_config: &GenesisConfig, blockstore: &Blockstore, opts: ProcessOptions, )
ledger/src/blockstore_processor.rs:575
↓ 20 callers
Function
Tt
(t,e)
docs/static/katex/katex.min.js:1
← previous
next →
401–500 of 12,478, ranked by callers