mergify[bot]
|
edfbd8d65a
|
Add replacements for Pubkey::new_rand()/Hash::new_rand() (bp #12987) (#13076)
* Add pubkey_new_rand(), mark Pubkey::new_rand() deprecated
(cherry picked from commit 0e68ed6a8d )
* Add hash_new_rand(), mark Hash::new_rand() as deprecated
(cherry picked from commit 76f11c7dae )
* Run `codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand`
(cherry picked from commit 7bc073defe )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# runtime/benches/accounts.rs
# runtime/src/accounts.rs
* Run `codemod --extensions rs Hash::new_rand solana_sdk:#️⃣:new_rand`
(cherry picked from commit 17c391121a )
* Remove unused pubkey::Pubkey imports
(cherry picked from commit 959880db60 )
# Conflicts:
# runtime/src/accounts_index.rs
* Resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com>
|
2020-10-22 05:08:01 +00:00 |
|
Kristofer Peterson
|
e23340d89e
|
Clippy cleanup for all targets and nighly rust (also support 1.44.0) (#10445)
* address warnings from 'rustup run beta cargo clippy --workspace'
minor refactoring in:
- cli/src/cli.rs
- cli/src/offline/blockhash_query.rs
- logger/src/lib.rs
- runtime/src/accounts_db.rs
expect some performance improvement AccountsDB::clean_accounts()
* address warnings from 'rustup run beta cargo clippy --workspace --tests'
* address warnings from 'rustup run nightly cargo clippy --workspace --all-targets'
* rustfmt
* fix warning stragglers
* properly fix clippy warnings test_vote_subscribe()
replace ref-to-arc with ref parameters where arc not cloned
* Remove lock around JsonRpcRequestProcessor (#10417)
automerge
* make ancestors parameter optional to avoid forcing construction of empty hash maps
Co-authored-by: Greg Fitzgerald <greg@solana.com>
|
2020-06-09 09:38:14 +09:00 |
|
sakridge
|
2cf719ac2c
|
Cache tvu peers for broadcast (#10373)
|
2020-06-03 08:24:05 -07:00 |
|
Greg Fitzgerald
|
76b1c2baf0
|
One less alloc per transaction (#9705)
* One less alloc per transaction
* Fix benches
* Fix compiler warnings in bench build
* Fix move build
* Fix bench
|
2020-04-24 13:03:46 -06:00 |
|
carllin
|
bab3502260
|
Push down cluster_info lock (#9594)
* Push down cluster_info lock
* Rework budget decrement
Co-authored-by: Carl <carl@solana.com>
|
2020-04-21 12:54:45 -07:00 |
|
sakridge
|
69f1e487b3
|
Reduce cluster-info metrics. (#9465)
|
2020-04-14 21:21:58 -07:00 |
|
sakridge
|
4677cdb4c2
|
Optimize broadcast cluster_info critical section (#9327)
|
2020-04-06 17:36:22 -07:00 |
|
carllin
|
7b68628e6c
|
Remove write lock (#9311)
* Remove write lock
Co-authored-by: Carl <carl@solana.com>
|
2020-04-05 15:18:45 -07:00 |
|
anatoly yakovenko
|
97589f77f8
|
Pipeline broadcast socket transmit and blocktree record (#7481)
automerge
|
2019-12-16 17:11:18 -08:00 |
|
Pankaj Garg
|
364781366a
|
Use sendmmsg for broadcasting shreds (#6325)
* Replace packet with slice of data in sendmmsg
* fixes
* fix bench
|
2019-10-10 19:38:48 -07:00 |
|
sakridge
|
ae7700296d
|
broadcast_shreds opt (#6175)
* Don't clone/copy/sort ContactInfo vec
|
2019-10-01 09:38:29 -07:00 |
|