Commit Graph

214 Commits

Author SHA1 Message Date
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
Michael Vines f33688361c
multinode-demo/faucet.sh is no longer required (#10129) 2020-05-19 20:07:30 -07:00
Jack May eb1acaf927
Remove archiver and storage program (#9992)
automerge
2020-05-14 18:22:47 -07:00
Dan Albert 0ef9d79056
Collapse verbose buildkite logging (#8794)
automerge
2020-03-11 11:54:49 -07:00
Dan Albert 3eb00ef60f
Add ability to start clients separately from validators (#8690)
automerge
2020-03-06 15:32:27 -08:00
Dan Albert 7587656cf6
Implement automated partition testing (#7222) 2020-01-22 13:46:50 -05:00
Greg Fitzgerald 3aabeb2b81
Rename bootstrap leader (#7906)
* Rename bootstrap leader to bootstrap validator

It's a normal validator as soon as other validators enter the
leader schedule.

* cargo fmt

* Fix build

Thanks @CriesofCarrots!
2020-01-22 09:22:09 -07:00
Michael Vines 447fe48d2a
Revert "Add a stand-alone gossip node on the blocksteamer instance"
This reverts commit a217920561.

This commit is causing trouble when the TdS cluster is reset and
validators running an older genesis config are still present.
Occasionally an RPC URL from an older validator will be selected,
causing a new node to fail to boot.
2020-01-04 16:42:12 -07:00
Michael Vines a217920561 Add a stand-alone gossip node on the blocksteamer instance
The blocksteamer instance is the TdS cluster entrypoint.  Running an
additional solana-gossip node allows other participants to join a
cluster even if the validator node on the blocksteamer instance goes down.
2020-01-02 17:20:59 -07:00
sakridge 6f7d0c6928
Move cleanup to a script so it doesn't kill itself (#7603) 2019-12-23 14:31:57 -08:00
Tyera Eulberg 3513f4ee84
Rename drone to faucet (#7508) 2019-12-16 14:05:17 -07:00
Dan Albert 9ac112104c
Searhc across command line for pattern to kill (#7475) 2019-12-13 21:08:41 -05:00
Dan Albert f4a089cc26
Allow delay between validator booting and client start (#7297)
* Allow delay between validator booting and client start
2019-12-05 21:03:26 -05:00
Michael Vines ee6b11d36d Remove ability to deploy custom programs (#7070)
automerge
2019-11-20 15:37:42 -08:00
Dan Albert 2d7c7b0982
Fix missed rebase on net.sh (#7037) 2019-11-19 10:22:30 -05:00