Michael Vines
f3639b76ce
Remove some clippy lints
2022-06-22 09:23:22 -07:00
HaoranYi
b5d0c7b468
Revert "tvu and tpu timeout on joining its microservices ( #24111 )" ( #26132 )
...
This reverts commit e105547c14
.
2022-06-22 10:57:46 -05:00
HaoranYi
5624ab0d4c
Optimize stake accounts store ( #26004 )
...
* reduce threadpool for stake processing
* wip
* Revert "reduce threadpool for stake processing"
This reverts commit 004a4f872ea7a3ef53e38d145b6350c3f57c680c.
* batch update stake_cache
* fix deadlock
* add test
* code review feedbacks
* more review feedbacks
* clippy
* update comments
* fix conflicts
* remove batch store, no atomic for redeem timing
* refactor stake_reward struct
2022-06-22 10:45:58 -05:00
behzad nouri
955302b953
masks packet data if the packet is already marked as discard ( #26078 )
...
If the packet is marked as discard, it is either invalid or otherwise
should be ignored, and so the payload should not be read from.
2022-06-22 15:36:54 +00:00
Tao Zhu
27295f55ad
Add `prioritization fee` to terminology ( #26093 )
...
* Add `prioritization fee` to terminolgy.md
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-06-22 10:19:01 -05:00
Jeff Washington (jwash)
8e2bae7bf9
batch insert updates stat count correctly ( #26107 )
2022-06-22 08:45:42 -05:00
Jeff Washington (jwash)
d3829b1a76
store_cached takes StorableAccounts to eliminate collect ( #26109 )
2022-06-22 08:45:03 -05:00
Brooks Prumo
8a18e02f80
Call StatusCache::append() directly ( #26125 )
2022-06-22 07:42:01 -05:00
Brooks Prumo
31c9b03049
Remove unused SignatureConfirmationStatus ( #26124 )
2022-06-22 07:41:22 -05:00
Brooks Prumo
97bd81a32b
Add bench for StatusCache::slot_deltas() ( #26123 )
2022-06-22 07:41:06 -05:00
behzad nouri
faa6c32162
removes packet modifier from shred_fetch_stage
...
... in favor of just passing packet flags.
2022-06-22 12:17:37 +00:00
behzad nouri
1f0f5dc03e
verifies shred-version in fetch stage
...
Shred versions are not verified until window-service where resources are
already wasted to sig-verify and deserialize shreds.
The commit verifies shred-version earlier in the pipeline in fetch stage.
2022-06-22 12:17:37 +00:00
steviez
1165a7f3fc
Make clear_unconfirmed_slot() update parent's next_slots list ( #26085 )
...
A slot may be purged from the blockstore with clear_unconfirmed_slot().
If the slot is added back, the slot should only exist once in its'
parent SlotMeta::next_slots Vec. Prior to this change, repeated clearing
and re-adding of a slot could result in the slot existing in parent's
next_slots multiple times. The result is that if the next time the
parent slot is processed (node restart or ledger-tool-replay), slot
could be added to the queue of slots to play multiple times.
Added test that failed before change and works now as well
2022-06-21 22:49:30 -05:00
Pankaj Garg
d5dbfb67fd
QUIC stream timeouts if no data is received ( #26116 )
2022-06-21 18:56:47 -07:00
Arthur Burkart
49648c16c4
Add metric for tracking Bigtable block uploads ( #26027 )
2022-06-21 18:27:02 -06:00
Pankaj Garg
4ad32eb412
Perform QUIC handshake asynchronously to allow parallel handshakes ( #26043 )
...
* Perform QUIC handshake asynchronously to allow parallel handhskaes
* address comments
* update cargo.lock
* change sleep to 1ms
2022-06-21 23:22:11 +00:00
Brooks Prumo
d35c1a7d04
Use BankStatusCache in bank.rs ( #26114 )
2022-06-21 23:16:16 +00:00
Pankaj Garg
43ff65ece9
Use single send socket in UdpTpuConnection ( #26105 )
2022-06-21 14:56:21 -07:00
Steven Luscher
19eea3a741
chore: fix types of `RpcRequest` and `RpcBatchRequest` ( #26102 )
2022-06-21 14:48:44 -07:00
behzad nouri
75425521b4
moves slot updates notifications after shreds retransmit ( #26094 )
...
RetransmitSlotStats can already be utilized to track when the first
shred for a slot was received; therefore
first_shreds_received: &Mutex<BTreeSet<Slot>>
is redundant. Sending update notifications after shreds retransmit will
also bypass the need for a mutex.
2022-06-21 17:19:40 -04:00
Lijun Wang
61946a49c3
Weight concurrent streams by stake ( #25993 )
...
Weight concurrent streams by stake for staked nodes
Ported changes from #25056 after address merge conflicts and some refactoring
2022-06-21 12:06:44 -07:00
Jeff Washington (jwash)
43e0d29b18
Revert "fix double count of account index del stats ( #25797 )" ( #26103 )
...
This reverts commit 05cb25d8da
.
2022-06-21 14:05:26 -05:00
Jeff Washington (jwash)
7a3dc3a57b
remove unused param ( #26096 )
2022-06-21 13:10:41 -05:00
Michael Vines
8dd9a045dd
Add cargo-store
2022-06-21 18:09:17 +00:00
Jeff Washington (jwash)
6513bb3b1b
add options to create snapshot ( #26095 )
2022-06-21 13:07:05 -05:00
Will Hickey
3096b64f9d
Update error that results when snapshot is missing ( #24839 )
2022-06-21 13:06:37 -05:00
Kunal Desai
aea84e699c
fix: `getTransactions()` now returns the expected datatype ( #26099 )
2022-06-21 10:31:42 -07:00
kirill lykov
cd01c1a4ce
Add profile option to net scripts ( #25624 )
...
* add image option to cloud CreateInstaces
* add script to install perf
* add profile option to gce.sh
* add profile option for net.sh start
* Revert "add image option to cloud CreateInstaces"
This reverts commit fd63991861e632ae87e79281bca63a0f8173e201.
* remove imageName from gce.sh
* fix for gce.sh
* add comments on permissions setup
* remove profile option for gce.sh
* remove short arg
2022-06-21 19:28:15 +02:00
kirill lykov
4031a37521
add get_account to BenchTpsClient ( #26068 )
...
* add get_account to BenchTpsClient
* improve error reporting in get_account
2022-06-21 19:25:52 +02:00
Will Hickey
51f26dc96e
Bump version to 1.11.1 ( #26104 )
2022-06-21 12:07:46 -05:00
behzad nouri
d2afa6b418
moves packet-hasher out of the mutex ( #26091 )
...
Packet-hasher is not mutated across threads and does not need to be
wrapped in a mutex.
2022-06-21 16:29:27 +00:00
Pankaj Garg
e344c8476f
Do not use UdpTpuConnection to forward votes ( #26082 )
...
* Do not use UdpTpuConnection to forward votes
* fix tests
2022-06-21 05:56:11 -07:00
kirill lykov
a9069244f5
replace send with sendmmsg ( #25585 )
...
* replace send with sendmmsg
* address PR comments
2022-06-21 09:51:48 +01:00
kirill lykov
4f0cc6224e
update ubuntu image ( #25690 )
2022-06-21 09:27:20 +01:00
ryleung-solana
84a1aae555
Fix incorrect total connection table size in the quic server when removing multiple connections with the same IP:Port ( #26073 )
...
* Fix incorrect total connection table size in the quic server when removing multiple connections with the same IP:Port
2022-06-21 15:13:35 +08:00
Nicholas Rempel
1ee4b412b2
Support local CI on macOS
2022-06-20 08:41:30 -07:00
Boqin Qin(秦 伯钦)
611d2ec73c
core: fix double-readlock in validator ( #26053 )
2022-06-20 15:07:00 +00:00
Boqin Qin(秦 伯钦)
95ea506d75
runtime: fix double-readlock in in_mem_accounts_index.rs ( #26047 )
2022-06-20 15:44:19 +01:00
behzad nouri
47e62add5b
removes feature gate code adding shred-type to shred seed ( #25963 )
...
The feature is already activated on all clusters, and does not impact
processing of ledger/snapshots.
2022-06-20 14:39:24 +00:00
Dmitri Makarov
f14a361854
Fix build/test-bpf command line handling if run as cargo subcommand
2022-06-19 19:00:55 -07:00
Krešimir Klas
3a648aad2b
[explorer] Add STEPN dex program id for name resolution ( #26060 )
...
* Add STEPN dex program id for name resolution
Their docs say it's their program https://whitepaper.stepn.com/decentralized-exchange
* fix lint
2022-06-19 13:47:43 +01:00
Michael Vines
04c61afd3a
echo release.solana.com-install before uploading it for more log visibility
2022-06-18 20:04:45 -07:00
Leopold Schabel
fbf7143a97
Update SECURITY.md ( #25946 )
2022-06-17 21:24:10 -07:00
Trent Nelson
a5f290a66f
core: disable quic servers on mainnet-beta
2022-06-17 20:04:05 -06:00
Tyera Eulberg
deccc880d3
Nitty code simplification ( #26038 )
2022-06-17 21:57:56 +00:00
Michael Vines
dd0852bc49
UdpTpuConnection no longer restricts its local port to the 8000-10000 range
2022-06-17 17:57:07 -04:00
behzad nouri
b3d1f8d1ac
tracks number of shreds sent and received at different distances from the root ( #25989 )
2022-06-17 21:33:23 +00:00
godmodegalactus
7d54807da0
Filter stakes by withdrawer ( #25939 )
...
* Add a new argument to stake cli to filter stakes by withdrawer
* some fix on compilation errors
* fixing rust format
* defining withdrawer in cli arguments
* changes after review.
* minor changes after review
2022-06-17 15:52:23 -04:00
Tyera Eulberg
2866ca4b1c
Add ledger-tool bigtable upload loop ( #26030 )
...
* Add ledger-tool bigtable upload loop
* Limit range on caller side, switch to while loop, and remove now-obsolete option
2022-06-17 19:31:13 +00:00
steveluscher
62ff54d04e
fix: export custom transaction confirmation error classes
2022-06-17 15:57:52 +00:00