Commit Graph

637 Commits

Author SHA1 Message Date
Dmitri Makarov 89b0d803ff
Add Dmitri's key (#15390) 2021-02-18 09:23:18 +01:00
Jeff Washington (jwash) 6425a748f7
add jwash authorized key (#15280) 2021-02-12 00:55:14 +00:00
carllin 8c49985b5c
custom vm type (#15202) 2021-02-10 04:17:04 -08:00
joeaba af7e799147
Update solana-user-authorized_keys.sh (#15059) 2021-02-05 22:37:34 -08: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 3175cf1deb net/gce.sh: Add cusom RAM arg instead of doubling default with tmpfs 2021-01-15 16:10:39 -07:00
Trent Nelson ff599ace4d net/: Support accounts on swap-backed tmpfs 2021-01-15 16:10:39 -07:00
Trent Nelson ddf1d2dbf5 gce.sh: Factor out default custom memory 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
behzad nouri 673cb39975
adds pubkey for behzad@solana.com (#14558) 2021-01-13 16:26:17 +00:00
Trent Nelson 3322b83183 net/gce.sh: Upgrade to Ubuntu 20.04 2020-12-17 22:04:49 +00:00
Trent Nelson a0507505f4 net/gce.sh: Switch to SSD boot disks 2020-12-17 22:04:49 +00:00
Trent Nelson ffe0532ded net/gce.sh: Bump machine type to 24-core, 64GB RAM 2020-12-17 22:04:49 +00:00
sakridge 3425e98a6b
Plumb args for validator boot disk size and client machine type (#13975) 2020-12-06 12:37:46 -08: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 ff4b34202c Add SSH key for buildkite-agent on achille 2020-10-27 01:57:25 +00:00
Alexander Meißner d5163c5786
Adds public key for alexander@solana.com (#12980) 2020-10-20 01:11:02 +09:00
Trent Nelson 74a6083269 net-scripts: Correct buildkite agent SSH keys 2020-10-05 21:00:25 +00:00
Trent Nelson 7b7ea946e3 net-scripts: Remove SSH keys of inactive developers 2020-10-05 21:00:25 +00:00
Trent Nelson f50ed35c6d net.sh: $extraPrimordialStakes is never empty 2020-09-14 19:27:26 +00:00
Trent Nelson ff88c96549 net.sh: Skip validator accounts creation if primordial 2020-09-11 10:19:10 -06:00
Trent Nelson 45d09b33ad net.sh: Smarter wait slot resolution for --extra-primordial-stakes 2020-09-11 10:19:10 -06:00
Trent Nelson de3a2eff22 net.sh: Don't force --warp-slot w/o --wait-for-supermajority 2020-09-10 02:57:39 +00: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 c5a501e87f Steal dumoulin from colo for TdS 2020-07-03 20:30:44 +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
Trent Nelson 284e83e619
gce.sh: Make help text example command non-executable (#10319)
automerge
2020-05-29 11:52:25 -07:00
Michael Vines f33688361c
multinode-demo/faucet.sh is no longer required (#10129) 2020-05-19 20:07:30 -07:00
Michael Vines f27d001b7a
Remove obsolete testnet management scripts (#10130)
automerge
2020-05-19 18:26:27 -07:00
Jack May eb1acaf927
Remove archiver and storage program (#9992)
automerge
2020-05-14 18:22:47 -07:00
Ryo Onodera a91236012d
Pass around --max-genesis-archive-unpacked-size (#9161)
automerge
2020-04-29 18:53:34 -07:00
Dan Albert 57a25de910
Remove validator-info publish from net scripts (#9673)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-04-22 18:04:22 -06:00
Dan Albert ab4bdd59db
Extend snapshot interval in multinode demo (#9657)
automerge
2020-04-22 12:25:15 -07:00
Dan Albert 3fbe7f0bb3
Fixup scripts to set up a new CI node (#9348)
* Clean up node setup scripts for new CI boxes

* Move files under ci directory

* Set CUDA env var to setup cuda drivers

* Fixup and add README

* shellcheck

* Apply review feedback, rename dir and setup files

Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-04-20 17:43:13 -06:00
Dan Albert 498d025bd3
Update solana-user-authorized_keys.sh 2020-04-20 09:52:33 -06:00
Dan Albert 6d941c82fd
Update solana-user-authorized_keys.sh 2020-04-20 07:55:16 -06:00
carllin 21cb56d808
Fix partition setup (#9386)
automerge
2020-04-09 01:57:18 -07:00
Ryo Onodera 8fdcf9f968
Make colo.sh support Bash 5 (#9112) 2020-03-27 15:01:42 +09:00
Tyera Eulberg 1b8f9e75dd
Update getSignatureStatus: support multiple signatures, include slot in each response item (#9022)
* Rename enable-rpc-get-confirmed-block

* Rename RpcTransactionStatus -> RpcTransactionStatusMeta

* Return simplified RpcTransactionStatus; Add support for multiple transactions

* Update docs

* typo
2020-03-23 11:25:39 -06:00
Dan Albert ae70f4ea92
Apply s/faucet-keypair/faucet renaming to net scripts (#8867) 2020-03-14 16:49:28 -07:00
Michael Vines 29fb79382c Rework validator vote account defaults to half voting fees 2020-03-13 20:13:33 -07:00
Dan Albert 0ef9d79056
Collapse verbose buildkite logging (#8794)
automerge
2020-03-11 11:54:49 -07:00
Dan Albert 595c96b262
Plumb pre-emptibility and associated overrides into colo allocation and automated testing (#8754)
automerge
2020-03-10 11:25:44 -07:00
Michael Vines cea8067219
Disable setLogFilter RPC API by default (#8693)
automerge
2020-03-06 16:03:10 -08:00
Dan Albert 3eb00ef60f
Add ability to start clients separately from validators (#8690)
automerge
2020-03-06 15:32:27 -08:00
Michael Vines 39b3ce9bd3
Add shred version support to net/ (#8689)
* Add shred version support to net/

* Update remote-node.sh
2020-03-06 15:49:04 -07:00
Ryo Onodera 113db8d656
Improve net/README.md a bit (#8503) 2020-02-28 08:00:54 +09:00
sakridge 2c63cf3cbd
Add curie pubkey to authorized keys (#8473)
automerge
2020-02-26 10:27:37 -08:00
Dan Albert 28b115497f
Update setup-dc-node-1.sh 2020-02-13 14:30:41 -07:00
Michael Vines c4fd81fc1c The getConfirmedBlock RPC API is now disabled by default
The --enable-rpc-get-confirmed-block flag allows validators to opt-in to
the higher disk usage and IOPS.
2020-02-11 22:24:08 -07:00
Michael Vines d6b3961530
s/mint/faucet 2020-01-31 12:14:53 -07:00
Dan Albert eff876881b
Remove asteroids and pacman from QA/dev testnet availability (#8050)
automerge
2020-01-31 10:26:25 -08:00
Justin Starry 9adf0d4ee0 Don't exit early if add. validators not found during gce.sh config 2020-01-31 08:34:10 -07:00
Dan Albert 2f34f433b3 Specify where VM images are coming from across GCE projects (#7985)
automerge
2020-01-27 08:17:21 -08:00
Michael Vines 989355e885 Add ability to hard fork at any slot (#7801)
automerge
2020-01-24 17:27:04 -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 356f246a74 Remove get-/show- prefix from cli commands 2020-01-21 08:43:07 -07:00
sakridge b7b68ecdba
Add partition testing documentation (#7739) 2020-01-10 15:32:43 -08: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
Justin Starry 9bd5888f5e
Fix broken internal-nodes-stake-lamports arg in scripts (#7581) 2019-12-19 21:38:03 -05:00
Trent Nelson 554188e88e
Colo - Node install scripts missing latest user requests (#7540)
* Enable user GPU profiling while installing CUDA

* Install heaptrack
2019-12-17 19:00:12 -05:00
Dan Albert 8176470b7f
Add pubkey from new buildkite agent instance 2019-12-17 18:00:15 -05: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
Trent Nelson 42f2b14a74 Colo: Fix lockfile syntax (#7432)
Logical AND for [ is -a, [[ is &&.
2019-12-11 15:32:38 -05:00
Dan Albert 12d471e2da
Update default node balance to 500 SOL and default stake to 1 SOL (#7411) 2019-12-10 17:52:35 -05:00
anatoly yakovenko 96c08cd295 add pubkey for colo (#7409)
automerge
2019-12-10 14:18:57 -08:00
Rob Walker f3633a2e04
rent for testnet (#7407) 2019-12-10 13:51:19 -08: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
Pankaj Garg 9d7a926a8b
Tune UDP rmem/wmem using sys-tuner daemon (#7273) 2019-12-04 15:17:24 -08:00
Pankaj Garg 75d505c431 Don't hardcode username in sys-tuner (#7234)
automerge
2019-12-04 11:39:26 -08:00
Pankaj Garg d357192025
Fix ssh connection error due to too many authentication failures (#7229) 2019-12-03 15:53:12 -08:00
Pankaj Garg 076e384bb5
Tool to tune system parameters like PoH service priority (#7155)
* New daemon to tune system parameters like PoH service priority

* fixes for Linux

* integrate with poh_service

* fixes

* address review comments

* remove `dead_code` directive
2019-12-02 16:46:46 -08:00
Justin Starry eaa3e87eb0 Support passphrases in keygen (#7134)
* Support passphrases in keygen

* remove short

* Update solana_keygen calls
2019-11-25 21:33:15 -07:00
Trent Nelson d8bc828839
Colo: Refactor remote command dispatch for create and delete (#7092)
* Colo: Dump escaping mess in remote script templates

* Colo: Rename script templates so shellcheck can get 'em

* shellcheck and nits

* Brace all of the things

* Consistent heredoc tags

* Use bash built-in square bracketing consistently

* simplify logic
2019-11-25 10:32:17 -07:00
Justin Starry b8cd0a1bc0
Allow secure keypair input for `solana-archiver` and `solana` cli tools (#7106)
* Add seed phrase keypair recover to archiver

* Add seed phrase keypair to cli with ASK keyword

* cli main tweaks
2019-11-23 11:55:43 -05:00
Justin Starry ce8d37984d
Allow secure keypair input for solana-validator cli (#7080)
* Allow secure keypair input for solana-validator cli

* feedback

* Add --skip-mnemonic-validation

* Update --identity to --identity-keypair

* Use struct instead of tuple

* Fix dependencies

* cargo fmt

* Add basic tests

* Use `seed phrase` instead of `mnemonic`

* Update passphrase prompt
2019-11-22 10:20:40 -05:00
Michael Vines ee6b11d36d Remove ability to deploy custom programs (#7070)
automerge
2019-11-20 15:37:42 -08:00
Michael Vines b0271394cd
Clean up --gossip-port argument (#7067)
--gossip-port now specifies exactly that, the gossip port to use.  The
new --gossip-host argument can be used to specify the DNS name/IP
address for gossip if --entrypoint is not supplied (when --entrypoint is
supplied, the gossip address is automatically set to the node's ip
address as observed by the entrypoint)
2019-11-20 15:21:34 -07:00
Justin Starry 95c137158f Fix gce.sh info (#7054)
automerge
2019-11-19 17:49:25 -08:00
Dan Albert 2d7c7b0982
Fix missed rebase on net.sh (#7037) 2019-11-19 10:22:30 -05:00
Pankaj Garg 955aaef2e6
Fixes to net-shaper and net.sh (#7002)
* Fixes to net-shaper and net.sh

* fixes to default filters and cleanup
2019-11-18 11:33:33 -08:00
Dan Albert 6e04a646ba
Gossip entrypoint is now option of spy not solana-gossip (#7006) 2019-11-17 11:36:24 -05:00
Michael Vines 5ab70c4e97
genesis: rename mint account to faucet account and make it optional (#6990) 2019-11-15 14:50:26 -07:00
Dan Albert 946e937549
Create development vs softlaunch environment hooks into net scripts (#6974) 2019-11-15 15:18:45 -05:00
Pankaj Garg d565ec7968
Fixes to net-shaper, and net.sh option to start/stop shaper (#6981)
* Fixes to net-shaper, and net.sh option to start/stop shaper

* fix shellcheck

* more shellchecks
2019-11-15 12:10:48 -08:00