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
Tyera Eulberg
1c7fc2b146
Bump openssl in programs/bpf ( #26026 )
2022-06-17 09:31:06 -06:00
Tyera Eulberg
752c851070
Clean up feature preventing new rent-paying accounts ( #26000 )
...
* Clean up require_rent_exempt_accounts feature
* Fix tests in bank_client, system_instruction_processor
* Fix tests in snapshot_utils
* Fix bank tests
* Ignore rent tests
* Fix stake-accounts tests
2022-06-16 15:35:25 -06:00
Alexander Meißner
bf9ca9827e
Refactor: instruction account index ( #25825 )
...
* Adds methods based on instruction_account_index to InstructionContext.
Removes methods which are based on index_in_instruction.
* Adjusts program-runtime.
* Adjusts runtime.
* Adjusts bpf loader.
* Adjusts built-in programs.
* Adjusts program-test and bpf tests.
2022-06-16 18:46:17 +02:00
dependabot[bot]
8e3fd8a411
chore: bump tokio-stream from 0.1.8 to 0.1.9 ( #25995 )
...
* chore: bump tokio-stream from 0.1.8 to 0.1.9
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.8...tokio-stream-0.1.9 )
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-06-16 10:27:05 -06:00
behzad nouri
31b3e0e15a
adds metric tracking wasted data buffer in shreds ( #25972 )
2022-06-16 16:14:00 +00:00
Tyera Eulberg
a9c9acfe80
Improve repair-roots help ( #26008 )
2022-06-16 10:03:27 -06:00
Justin Starry
8f51c2d985
explorer: add support for upgrade nonce ix ( #26007 )
2022-06-16 14:51:45 +00:00
behzad nouri
eacb9183d4
patches bug where the 1st coding shred is not inserted into blockstore ( #25916 )
...
StandardBroadcastRun::insert skips 1st shred with index zero because
the 1st *data* shred is inserted synchronously:
https://github.com/solana-labs/solana/blob/53695ecd2/core/src/broadcast_stage/standard_broadcast_run.rs#L239-L246
https://github.com/solana-labs/solana/blob/53695ecd2/core/src/broadcast_stage/standard_broadcast_run.rs#L334-L339
https://github.com/solana-labs/solana/pull/7481
which added this code was not inserting coding shreds into blockstore.
Starting with
https://github.com/solana-labs/solana/pull/8899
coding shreds are inserted into blockstore as well as data shreds, but
the insert logic erroneously skips first coding shred because it does
not check if shred is code or data.
2022-06-16 13:59:15 +00:00
Alexander Meißner
1315788acd
Use BorrowedAccount in CPI syscall. ( #25905 )
2022-06-16 13:28:02 +02:00
Brooks Prumo
b4b191e446
Enforce accounts data size limit per block in ReplayStage ( #25524 )
2022-06-15 20:35:33 -05:00
Dan Coombs
32a58dd9e0
Add ability to use a non-default app profile id in bigtable requests ( #25968 )
...
* Add ability to use a non-default app profile id in bigtable requests
* Only run subcommand once when getting global configs
* Remove unneded scoping on option type
2022-06-16 00:58:16 +00:00
Brooks Prumo
54675b2dd6
Add bank tests for accounts_data_size and resize transactions / rent collection ( #25884 )
2022-06-15 19:40:43 -05:00
Jeff Washington (jwash)
b02c412d5b
generate_index straight to disk and batched ( #25947 )
...
* generate_index straight to disk and batched
* renames and comments
* handle in-mem case correctly
* use mutex
2022-06-15 18:14:39 -05:00
Jeff Washington (jwash)
631ea93259
parallel rent collection avoids overlapping ranges ( #25991 )
2022-06-15 16:04:38 -05:00
Tyera Eulberg
99cf1e280e
Clean up warp-timestamp features ( #25994 )
2022-06-15 14:11:41 -06:00
dependabot[bot]
9a9d97033c
chore: bump const_format from 0.2.23 to 0.2.25 ( #25984 )
...
Bumps [const_format](https://github.com/rodrimati1992/const_format_crates ) from 0.2.23 to 0.2.25.
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases )
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_format_crates/commits )
---
updated-dependencies:
- dependency-name: const_format
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-15 12:17:11 -06:00
Jeff Washington (jwash)
80f90d6e96
disable logging per thread on rent collection load ( #25982 )
2022-06-15 13:16:00 -05:00
apfitzge
e1efc5bebb
append_vec.rs: remove new_empty_map (unused) ( #25885 )
2022-06-15 08:59:46 -05:00