Tyera
067facfbef
Remove println ( #29342 )
2022-12-20 19:31:40 +00:00
Brooks
053775ad77
Elides unnecessary lifetimes ( #29299 )
2022-12-20 12:44:17 -05:00
Tyera
c8dd5bbd48
Move getSecondaryIndexKeySize RPC to admin_rpc_service ( #29003 )
...
* Move getSecondaryIndexKeySize to admin_rpc_service
* Add AdminRpc test framework
* Move test to admin_rpc_service
* Update test
* Remove full-api infra
2022-12-19 19:54:05 -07:00
Brooks Prumo
4530d161b7
Fixes format strings ( #29327 )
2022-12-19 17:26:38 -05:00
Jeff Biseda
a44ea779bd
add support for a repair protocol whitelist ( #29161 )
2022-12-15 19:24:23 -08:00
Jeff Washington (jwash)
356372b175
remove TestValidatorGenesis::caching_enabled ( #29229 )
2022-12-13 07:20:44 -08:00
Jeff Washington (jwash)
560143a267
remove ValidatorConfig.caching_enabled ( #29172 )
2022-12-09 11:31:55 -08:00
HaoranYi
33b15240ac
Revert #28945 ( #29127 )
...
revert #28945
2022-12-06 17:08:56 -06:00
steviez
aeb6b53502
Remove unused Option<> around ValidatorConfig's SnapshotConfig ( #29090 )
...
Remove Option<> around ValidatorConfig's SnapshotConfig
The SnapshotConfig is required and is currently hard-coded to be a
Some().
2022-12-06 22:47:55 +00:00
behzad nouri
9524c9dbff
patches errors from clippy::uninlined_format_args
...
https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
2022-12-06 19:32:15 +00:00
HaoranYi
b090bb4f56
Update validator/src/cli.rs
...
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-12-06 13:31:50 -06:00
Haoran Yi
e1ba5a2a63
add monitoring for open file descriptors stat
2022-12-06 13:31:50 -06:00
Luca
b43eabaa47
change test validator from non upgradable bpf loader to upgradable bpf loader ( #29051 )
...
change for test validator from non upgradable to upgradable
2022-12-05 11:49:40 -08:00
Jeff Washington (jwash)
e42649a8ba
remove cli arg to specify # accounts hash scan passes ( #28976 )
2022-11-29 16:47:51 -08:00
Jeff Washington (jwash)
f0ef316b19
remove cli arg "--no-accounts-db-caching" ( #28912 )
2022-11-21 12:38:35 -08:00
eloylp
3d91c3f5cf
Refactor, move solana-validator CLI related configs to its own module ( #28548 )
...
* Refactor, move validator CLI related stuff to its own module(cli.rs)
The main function of the validator is getting big. Improve readability by moving away the CLI setup stuff to its own module.
* Restore help cli line
* Refactor, move test validator CLI config to cli.rs module
* Fix imports (cargo fmt)
2022-11-18 21:39:20 -08:00
Tyera
c32377b5af
Split out quic- and udp-client definitions ( #28762 )
...
* Move ConnectionCache back to solana-client, and duplicate ThinClient, TpuClient there
* Dedupe thin_client modules
* Dedupe tpu_client modules
* Move TpuClient to TpuConnectionCache
* Move ThinClient to TpuConnectionCache
* Move TpuConnection and quic/udp trait implementations back to solana-client
* Remove enum_dispatch from solana-tpu-client
* Move udp-client to its own crate
* Move quic-client to its own crate
2022-11-18 12:21:45 -07:00
K-anon
e8c8235474
Get Index Key Size RPC Support ( #28383 )
...
Co-authored-by: K-anon <IntokuSatori@users.noreply.github.com>
2022-11-16 20:39:11 -07:00
Jeff Washington (jwash)
f69e847137
allow ancient append vec threshold to be set on cli ( #28707 )
...
* allow ancient append vec threshold to be set on cli
* pr responses
2022-11-11 11:30:05 -08:00
Brooks Prumo
d1ba42180d
clippy for rust 1.65.0 ( #28765 )
2022-11-09 19:39:38 +00:00
Brooks Prumo
59bf1809fe
Uses SnapshotHash type in snapshot archive fields ( #28681 )
2022-10-31 14:28:35 -04:00
Dmitri Makarov
34865d032c
chore: update Solana docs and code comments that specify "BPF" to "SBF"
2022-10-31 14:14:25 -04:00
steviez
2272fd807e
Remove Blockstore manual compaction code ( #28409 )
...
The manual Blockstore compaction that was being initiated from
LedgerCleanupService has been disabled for quite some time in favor of
several optimizations.
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2022-10-28 10:39:00 +02:00
Brooks Prumo
510cd933a1
Fixes typo in bootstrap log ( #28483 )
2022-10-19 17:58:03 -04:00
Brooks Prumo
1e79053dd1
Requires known validators to have all snapshot hashes at bootstrap ( #28284 )
2022-10-19 10:08:02 -04:00
Tyera Eulberg
235da8c538
chore: bump serde_yaml from 0.8.26 to 0.9.13 ( #28388 )
...
* chore: bump serde_yaml from 0.8.26 to 0.9.13 (#27970 )
* chore: bump serde_yaml from 0.8.26 to 0.9.13
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.8.26 to 0.9.13.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.26...0.9.13 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
* Prepend ---
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-10-14 22:02:39 -06:00
Yueh-Hsuan Chiang
1224c545d5
Make FIFO related validator arguments public ( #28282 )
...
#### Summary of Changes
This PR makes two FIFO-related validator arguments public:
--rocksdb_shred_compaction and --rocksdb_fifo_shred_storage_size.
#### Test Plan
* There're already ~26 validators running FIFO in mainnet-beta for more than 30 days,
no issues were reported so far.
* Ran a validator with FIFO for days and observed it's able to consistently catch up
and create new roots.
2022-10-09 16:42:59 -07:00
Brooks Prumo
00a18a962e
formats logs in bootstrap ( #28291 )
2022-10-07 18:42:57 +00:00
steviez
c802b12e10
Separate deprecated arguments out to reduce clutter ( #28250 )
2022-10-06 14:27:32 -05:00
steviez
7fef7d569a
Make RocksFifo storage size API expose an Option<u64> ( #28192 )
...
A fifo rocksdb instance must be opened with max size parameter on the
fifo columns. To support this, we previously plumbed a constant up to
callers that provided a default if unbounded growth desired.
This change attempts to be more rusty by exposing an option for this
value, and converting the option to a constant at the lowest level
possible.
2022-10-04 12:38:40 -05:00
Yueh-Hsuan Chiang
599677f965
Derive rocksdb_fifo_shred_storage_size based on limit-ledger-size ( #27459 )
...
### Problem
When FIFO compaction is used while --rocksdb_fifo_shred_storage_size
is unspecified, the FIFO shred storage size is set to a const default based
on the default `--limit-ledger-size`.
### Summary of the Change
When --rocksdb_fifo_shred_storage_size is unspecified, it is now
derived from `--limit-ledger-size` by reserving 1500 bytes for each
shred.
2022-09-28 00:32:27 -07:00
Tyera Eulberg
060ecf9cdb
Revert "chore: bump serde_yaml from 0.8.26 to 0.9.13 ( #27970 )" ( #28055 )
...
This reverts commit da9206fb87
.
2022-09-25 04:49:11 +00:00
dependabot[bot]
da9206fb87
chore: bump serde_yaml from 0.8.26 to 0.9.13 ( #27970 )
...
* chore: bump serde_yaml from 0.8.26 to 0.9.13
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.8.26 to 0.9.13.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.26...0.9.13 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-09-22 16:25:20 -06:00
behzad nouri
9a57c64f21
patches clippy errors from new rust nightly release ( #27996 )
2022-09-22 22:23:03 +00:00
dependabot[bot]
e1a49f7766
chore: bump indicatif from 0.17.0 to 0.17.1 ( #27968 )
...
* chore: bump indicatif from 0.17.0 to 0.17.1
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.0...0.17.1 )
---
updated-dependencies:
- dependency-name: indicatif
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
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-09-21 23:32:11 +00:00
dependabot[bot]
8e460773dc
chore: bump fd-lock from 3.0.5 to 3.0.6 ( #27963 )
...
* chore: bump fd-lock from 3.0.5 to 3.0.6
Bumps [fd-lock](https://github.com/yoshuawuyts/fd-lock ) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/yoshuawuyts/fd-lock/releases )
- [Commits](https://github.com/yoshuawuyts/fd-lock/compare/v3.0.5...v3.0.6 )
---
updated-dependencies:
- dependency-name: fd-lock
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
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <you@example.com>
2022-09-21 18:29:54 +00:00
Brooks Prumo
baf31b0753
bootstrap: Sleep in loop to get rpc peers ( #27843 )
2022-09-18 19:15:14 +00:00
Will Hickey
c0e4379f43
Whickey/version v1.15 ( #27739 )
...
* Bump version to v1.13.0
* Bump version to v1.14.0
* Bump version to v1.15.0
2022-09-13 09:06:15 -05:00
Michael Vines
83d4d128c2
Add --process-ledger-before-service flag to solana-validator
2022-09-11 07:58:42 -07:00
dependabot[bot]
f338aa62ba
chore: bump serde from 1.0.143 to 1.0.144 ( #27511 )
...
* chore: bump serde from 1.0.143 to 1.0.144
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144 )
---
updated-dependencies:
- dependency-name: serde
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
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-09-07 16:54:44 -06:00
Lijun Wang
7f223dc582
Added option to turn on UDP for TPU transaction and make UDP based TPU off by default ( #27462 )
...
--tpu-enable-udp is introduced. And when this is on, the transaction receive and transaction forward is enabled using udp.
Except for a few tests which was hard-coded sending transactions using udp, most tests are being done with udp based tpu disabled.
2022-09-07 13:19:14 -07:00
apfitzge
ebf10960b5
validator: clippy nightly fixes ( #27518 )
2022-09-07 10:45:52 -05:00
Brooks Prumo
93a4f80a2c
Handling snapshot requests is now required ( #27537 )
2022-09-07 10:08:42 -04:00
Jeff Washington (jwash)
72a2c02ee7
add --accounts-db-verify-refcounts for debugging ( #27504 )
2022-09-06 09:39:39 -07:00
Brooks Prumo
6684c62280
Add SnapshotUsage to SnapshotConfig ( #27508 )
2022-09-02 08:56:23 -04:00
dependabot[bot]
66717ff87d
chore: bump chrono from 0.4.21 to 0.4.22 ( #27509 )
...
* chore: bump chrono from 0.4.21 to 0.4.22
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/v0.4.22/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.21...v0.4.22 )
---
updated-dependencies:
- dependency-name: chrono
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
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-31 22:39:12 +00:00
Michael Vines
574097f640
Wait for first incremental snapshot after a full snapshot before restarting
2022-08-30 11:31:28 -07:00
Tyera Eulberg
7bd08ad3ae
Featurize spinner in rpc-client and tpu-client ( #27381 )
...
* Add spinner features to rpc-client and tpu-client, and disable where unneeded
* Add doc comment
2022-08-30 09:56:56 -06:00
Brennan Watt
46a48760db
Switch concurrent replay from feature to param ( #27401 )
...
* Switch concurrent replay from feature to param
2022-08-26 12:36:02 -07:00
Tyera Eulberg
b8b3d723da
Use new client crates ( #27360 )
...
* Update ancillary cli crates
* Update cli
* Update command-line tools
* Update rpc, etc
* Update client-test
* Update core, validator
* Update local-cluster
2022-08-24 10:47:02 -06:00