In most cases, either a &Bank or an Arc<Bank> is more proper. - &Bank is used if the function only needs a momentary reference - Arc<Bank> is used if the function needs its' own copy This PR leaves several instances of &Arc<Bank> around; these instances are situations where a clone may only happen conditionally. |
||
---|---|---|
.. | ||
address-lookup-table | ||
address-lookup-table-tests | ||
bpf-loader-tests | ||
bpf_loader | ||
compute-budget | ||
config | ||
ed25519-tests | ||
loader-v4 | ||
sbf | ||
stake | ||
system | ||
vote | ||
zk-token-proof | ||
zk-token-proof-tests |