Files
solana/doc/testnet.md
2018-11-05 19:12:43 -08:00

2.0 KiB

TestNet debugging info

Currently we have three testnets:

  • testnet - public beta channel testnet accessible via testnet.solana.com. Runs 24/7
  • testnet-perf - private beta channel testnet with clients trying to flood the network with transactions until failure. Runs 24/7
  • testnet-msater - public edge channel testnet accessible via master.testnet.solana.com. Runs 24/7
  • testnet-master-perf - private edge channel testnet with clients trying to flood the network with transactions until failure. Runs on weekday mornings for a couple hours

Deploy process

They are deployed with the ci/testnet-manager.sh script through a list of scheduled buildkite jobs. Each testnet can be manually manipulated from buildkite as well. The -perf testnets use a release tarball while the non-perf builds use the snap build (we've observed that the snap build runs slower than a tarball but this has yet to be root caused).

Where are the testnet logs?

Attach to the testnet first by running one of:

$ net/gce.sh config testnet-solana-com
$ net/gce.sh config master-testnet-solana-com
$ net/gce.sh config perf-testnet-solana-com

Then run:

$ net/ssh.sh

for log location details

How do I reset the testnet?

Manually trigger the testnet-management pipeline and when prompted select the desired testnet

How can I scale the tx generation rate?

Increase the TX rate by increasing the number of cores on the client machine which is running bench-tps or run multiple clients. Decrease by lowering cores or using the rayon env variable RAYON_NUM_THREADS=<xx>

How can I test a change on the testnet?

Currently, a merged PR is the only way to test a change on the testnet. But you can run your own testnet using the scripts in the net/ directory.

Adjusting the number of clients or validators on the testnet

Edit ci/testnet-manager.sh