Commit Graph

228 Commits

Author SHA1 Message Date
Yihau Chen e682fec28e
[anza migration]: fix download link for net scripts (#219) 2024-03-13 12:17:08 +08:00
Yihau Chen 2078153aa1
[anza migration]: fix download path for cluster test (#204) 2024-03-12 18:15:59 +00:00
Yihau Chen 3f9a7a52ea [anza migration] rename crates (#10)
* rename geyser-plugin-interface

* rename cargo registry

* rename watchtower

* rename ledger tool

* rename validator

* rename install

* rename geyser plugin interface when patch
2024-03-03 12:31:24 +08:00
Greg Cusack 5f6d66e87b
Deprecate `ThinClient` and remove `ThinClient` from `bench-tps` (#35365)
* deprecate ThinClient

* switch localcluster bench test to use tpuclient

add back in command line args for thinclient. add thin-client deprecation README

refactor TpuClient connection

* remove thin-client from net/

* change 2.0.0 to 1.19.0
2024-03-01 12:14:52 -08:00
Greg Cusack 98ec72e6ed
change default `bench-tps` client to `tpu-client` (#35335)
* change default bench-tps client to tpu-client

* remote client default to tpu-client

* add --use-tpu-client back in. hide --use-thin-client

* address nit, inform of future thinclient deprecation
2024-02-28 12:30:24 -08:00
Yihau Chen 8363ebfd64
ci: merge docker images (#35078)
* ci: add new ci docker image

* ci: use the new docker image

* fix shellcheck

* add readme for the new docker image

* remove old docker images

* remove unused check in docs/build.sh

* use the new image in net.sh
2024-02-07 15:17:33 +08:00
kirill lykov 5a1a697620
use staked connection for bench-tps in net scripts (#34767)
* add client-node-id to use staked connection

* Add flag to use unstaked connection for bench-tps

* Add bind-address for multinode

* always specify url for bench-tps
2024-01-13 18:50:27 +01:00
Pankaj Garg 68eb257f21
Resolve remote $HOME in net.sh (#31702) 2023-05-18 18:07:23 -07:00
sakridge eb4e7584b9
Tweak net.sh docs for primordial stakes (#30586)
Update net.sh docs
2023-03-04 00:28:10 +01:00
Yihau Chen 676e3e1926
fix: remove unnecessary --allow-private-addr setup (#30552) 2023-02-28 13:14:44 +08:00
kirill lykov 10dde654e7
add client-type cli option documentation (#30170) 2023-02-08 10:56:25 +01:00
joeaba a12bf8c003
Update maintainers references (#29997)
* update maintainers references

* chore: update maintainers reference
2023-01-31 08:07:13 -05:00
ryleung-solana 06fa6dd9ab
Add ability to choose client type in GCE cluster scripts (#28708)
* Update scripts to add the --client-type [thin-client, tpu-client, rpc-client] option
2022-11-09 02:36:37 +08:00
Ikko Ashimine 5664c12248
chore: fix typo in net.sh (#27860)
propogated -> propagated
2022-09-17 10:15:46 -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
Yihau Chen e7689f7961
chore: bump shellcheck v0.8.0 (#27463)
* bump shellcheck to stable verion, v0.8.0

* fix SC2086

* fix SC2269, https://www.shellcheck.net/wiki/SC2294

* fix SC2294

* do null and unset check for variable, FORCE_DELETE
2022-09-01 06:48:20 +00:00
Lijun Wang ed463dd48c
Support tpu disable quic in net scripts (#27039)
Support tpu disable quic in net scripts
2022-08-24 08:21:01 -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
Tyera Eulberg a6a4cfda89
Enable easy full-rpc services on testnet nodes (#20529) 2021-10-07 19:08:29 -06:00
Tyera Eulberg 7d135f185c
Enable booting testnet validators without tower required (#19298) 2021-08-18 23:02:28 -06:00
Tyera Eulberg 1d375ff2da
Plumb accounts-db-skip-shrink through testnet scripts (#19290) 2021-08-18 16:28:06 -06:00
behzad nouri c4f2e5f88c allows private addresses if not public network 2021-08-11 00:33:14 +00:00
behzad nouri 81026f9ea5
passes through --allow-private-addr to validators in system perf tests (#18876) 2021-07-29 19:04:45 +00:00
Justin Starry cfece66403
Remove unused exchange program and bench client (#18463) 2021-07-12 21:59:11 -05:00
Ashwin Sekar e3f5c0005b
Add partial network outage before test functionality (#17291)
* Add partial network outage before testing functionality

Allow a percentage of the stake to go offline before an automation test starts

* code review fixes
2021-05-28 12:53:11 -07:00
Tyera Eulberg cb1fb28247
Allow configuring testnet slots-per-epoch (#17545) 2021-05-27 12:37:34 -06:00
Tyera Eulberg 3af8cb0150
Fix limit-ledger-size syntax (#16856) 2021-04-27 03:35:35 +00:00
Tyera Eulberg 51b748408c Pass limit-ledger-size value 2021-04-21 01:48:41 -06:00
Justin Starry 6cd4bc5e60
Speed up net.sh builds (#16360)
* Speed up net.sh builds

* feedback

* Update net/net.sh

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* feedback

* fix

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-04-07 14:45:03 +08:00
Tyera Eulberg 28a9926ba1
Log devbuild branch and commit for locally built testnet (#15541) 2021-02-25 14:57:40 -07:00
sakridge 5656c684a5
Ubuntu 20.04 instead of 18.04 (#15525) 2021-02-25 00:03:31 +00:00
Leopold Schabel 31019e9828
fix: do not download and execute binaries via HTTP (#14914)
This fixes a couple of trivial remote code execution opportunities.
2021-01-29 01:59:40 +00:00
Trent Nelson ff599ace4d net/: Support accounts on swap-backed tmpfs 2021-01-15 16:10:39 -07:00
Trent Nelson 7b67228bc1 net/net.sh: Quite pre-emptible instance status check 2021-01-15 20:09:04 +00:00
sakridge 008b56e535
Fix validator keys path (#13772) 2020-11-26 19:20:56 -08:00
sakridge dcbb1dca8a
Primordial stake debug (#13756) 2020-11-23 13:01:00 -08:00
sakridge 13f3043c8a
tell curl to follow redirects to fix net scripts (#13589) 2020-11-13 19:56:37 -08:00
Trent Nelson f50ed35c6d net.sh: $extraPrimordialStakes is never empty 2020-09-14 19:27:26 +00:00
Trent Nelson 45d09b33ad net.sh: Smarter wait slot resolution for --extra-primordial-stakes 2020-09-11 10:19:10 -06:00
Trent Nelson 775340c6f3 net.sh: Support multiple validators with active stake from the start 2020-09-09 05:38:46 +00:00
Ryo Onodera 53b8ea4464
Rename to ClusterType and restore devnet compat. (#12068)
* Rename to ClusterType and restore devnet compat.

* De-duplicate parse code and add comments

* Adjust default Devnet genesis & reduce it in tests
2020-09-08 23:55:09 +09:00
Michael Vines f78594dfc1 Remove unused GEOLOCATION_API_KEY 2020-08-31 11:05:28 -07:00
Michael Vines 3a1ca4efff Fetch and install SPL programs by default 2020-07-29 12:48:56 -07:00
Michael Vines 125a36abbc Remove move more 2020-07-24 01:42:19 +00:00
Trent Nelson 7021e1c584
net.sh: Refactor node initialization wait (#10819)
* remote-node.sh: Factor out init wait to own script

* remote-node.sh: Allow nodes to initialize asynchronously

* testnet-automation: Plumb --async-node-init
2020-06-26 05:48:58 +00:00
Trent Nelson 4daa519c1b
Plumb `--warp-slot` through net scripts (#10639)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 01:55:55 +00:00
Trent Nelson 348bf78cd1
Plumb --wait-for-supermajority through scripts (#10611) 2020-06-16 01:52:44 +00:00
R. M. Shea 48febf153b
Change documentation introduction to indicate Foundation IP transfer (#10440) 2020-06-13 14:41:05 -07:00
Trent Nelson 27e2e3665a net.sh: Add 'upgrade' subcommand to upload a new release to the BSV
NOTE! (start|stop)node don't support operating on the BSV yet, so a
manual restart is required to get it running the new release
2020-06-01 16:37:17 -06:00
Trent Nelson 1144190d8d net.sh: Factor out logic that uploads bins to BSV 2020-06-01 16:37:17 -06:00