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
behzad nouri
fe3c1d3d49
removes erroneous uses of &Arc<...> from broadcast-stage ( #25962 )
2022-06-15 13:44:24 +00:00
dependabot[bot]
6ec98e07ec
chore: bump num-bigint from 0.4.2 to 0.4.3 ( #25866 )
...
* chore: bump num-bigint from 0.4.2 to 0.4.3
Bumps [num-bigint](https://github.com/rust-num/num-bigint ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/rust-num/num-bigint/releases )
- [Changelog](https://github.com/rust-num/num-bigint/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-bigint/compare/num-bigint-0.4.2...num-bigint-0.4.3 )
---
updated-dependencies:
- dependency-name: num-bigint
dependency-type: indirect
...
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 <you@example.com>
2022-06-15 05:05:17 +00:00
Tyera Eulberg
d4c4e28b5f
Paginate rpc query to get feature accounts ( #25978 )
2022-06-14 22:57:57 -06:00
Tyera Eulberg
f48d0b2b36
Add inputs to indicate minimum beta and stable releases that support the feature ( #25981 )
2022-06-14 22:23:07 -06:00
Brian Anderson
db9004bd0f
Fix doc warnings ( #25953 )
2022-06-14 21:55:08 -06:00
Jeff Washington (jwash)
ae37359b6b
AcctIdx: only advance age on thread 0 ( #25943 )
2022-06-14 21:43:42 -05:00
Tyera Eulberg
8a3d48b0ee
Reduce 2 iterators to one ( #25973 )
2022-06-14 22:49:58 +00:00
Alexander Meißner
4652377e5b
Removes the feature gate of reject_empty_instruction_without_program. ( #25870 )
2022-06-14 18:00:12 +02:00
Jeff Washington (jwash)
8c6455022f
remove dead code marker ( #25945 )
2022-06-14 10:47:26 -05:00
Jeff Washington (jwash)
e24cc537a4
avoid adding to 'uncleaned_roots' when generating index and caller passes accounts-db-skip-shrink ( #25936 )
2022-06-14 10:10:44 -05:00
Jeff Washington (jwash)
01f41b8c76
get rid of dead code marker ( #25944 )
2022-06-14 08:44:40 -05:00
Brooks Prumo
85e383378a
Add `Measure::as_duration()` ( #25942 )
2022-06-14 07:15:28 -05:00
steviez
86f12bc89c
Add github-actions bot to approved commit author list ( #25927 )
2022-06-14 00:10:21 -05:00
Steven Luscher
45d11f3d26
Implement `VoteInstruction::AuthorizeWithSeed` & `VoteInstruction::AuthorizeWithSeedChecked` ( #25928 )
...
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed`
* [vote_authorize_with_seed] You can now update a vote account's authority if it's a derived key for which you control the base key
* [vote_authorize_with_seed] Add test helper to create a vote account whose authorities are derived keys
* [vote_authorize_with_seed] Write tests to assert the behavior of `VoteInstruction::AuthorizeWithSeed`
* [vote_authorize_with_seed] Feature gate the `VoteInstruction::AuthorizeWithSeed` processor
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed` to transaction status parser
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeWithSeed` to docs
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeCheckedWithSeed`
* [vote_authorize_with_seed] You can now update a vote account's authority (while checking that the new authority has signed) if it's a derived
key for which you control the base key
* [vote_authorize_with_seed] Add `VoteInstruction::AuthorizeCheckedWithSeed` to transaction status parser
* [vote_authorize_with_seed] Write tests to assert the behavior of `VoteInstruction::AuthorizeCheckedWithSeed`
2022-06-13 20:36:44 -07:00
Tyera Eulberg
7b786ff331
RPC instruction parser tests are missing some cases ( #25951 )
...
* Fix num-accounts typo and extend test
* Add extra test cases to parse_system
* Add extra test cases to parse_vote
* Add extra test cases to parse_stake
* Fixup parse_bpf_loader
* Add extra test cases to parse_bpf_upgradeable_loader
* Add extra test cases to parse_associated_token
2022-06-14 00:32:40 +00:00
Brennan Watt
fc166daa17
Add minimum iterator packet count for rayon verification threads ( #25883 )
...
* Add minimum iterator packet count of 128 for rayon sig verification threads
* Add bench performance and unit verification tests
2022-06-13 15:48:13 -07:00
Jeff Washington (jwash)
306faed3a8
update comment ( #25949 )
2022-06-13 17:43:29 -05:00
Dan Albert
734015115f
Update clusters.md ( #24712 )
2022-06-13 16:31:08 -06:00
Tao Zhu
c96d9d127a
Include forwarding counters in leader slot metrics ( #25874 )
...
* To include forwarding counters in leader slot metrics
* Capture slot_end_detected time when checking leader slots, to be used in reporting later
* Simplify banking stage loop to report leader slot metrics
Co-authored-by: carllin <carl@solana.com>
2022-06-13 17:03:34 -05:00