Michael Vines
6089c8030b
Validator/replicator metrics host id is no longer set by bash ( #5755 )
...
automerge
2019-08-30 15:33:30 -07:00
Michael Vines
3fc5009ef2
Snapshot pipefitting through the validator cli ( #5617 )
...
* Handle 404 errors better
* Snapshot pipefitting through the validator cli
* Add download progress bar
* Log the current entrypoint slot
2019-08-23 13:02:07 -07:00
Michael Vines
1207664bbb
Rename solana-wallet program to just solana ( #5604 )
...
* Rename wallet/ to cli/
* Rename the solana-wallet crate to solana-cli
* Rename solana-wallet program to solana
* cargo fmt
2019-08-22 13:51:16 -07:00
Michael Vines
e2d6f01ad3
solana-validator now verifies its genesis blockhash against the cluster entrypoint ( #5589 )
2019-08-21 18:16:40 -07:00
Michael Vines
9f6c9c428b
Move genesis/snapshot archive download into Rust ( #5515 )
2019-08-14 19:25:22 -07:00
Michael Vines
08f6a2ea3e
debash: Add `solana-gossip get-rpc-url` command to avoid hard coding ( #5513 )
2019-08-13 10:49:48 -07:00
Michael Vines
5e128f8cc2
Simplify commands by using keypair files
2019-08-10 13:16:06 -07:00
Michael Vines
032d523737
Increase the amount of lamports a validator starts with ( #5466 )
...
automerge
2019-08-08 11:13:22 -07:00
Michael Vines
8c15214923
Add --dev-halt-at-slot option ( #5453 )
2019-08-08 09:14:30 -07:00
carllin
b72c5689c9
Blow away snapshots directory on start ( #5446 )
2019-08-06 21:41:38 -07:00
Michael Vines
b5aa03dd7c
Rename --config-dir to --ledger (progress towards deleting validator.sh) ( #5423 )
2019-08-05 12:42:52 -07:00
Michael Vines
09ca92d416
Surface --voting-keypair to release users ( #5420 )
...
* Remove 'configured_flag' for vote/storage account, instead detect if they exist with the wallet
* Require --voting-keypair when using release binaries
2019-08-05 10:39:16 -07:00
Michael Vines
f12592826f
Disable snapshots #5411
2019-08-02 15:48:51 -07:00
Michael Vines
8d38777c1f
Remove stray --stake 0
2019-08-02 15:06:40 -07:00
Michael Vines
04d2db4dbb
Force boot_from_snapshot=0 for now
2019-08-02 14:21:45 -07:00
Michael Vines
870503ee36
Introduce delegate-stake.sh for adding stake to a validator.sh ( #5380 )
2019-08-01 13:48:00 -07:00
carllin
6cb2040a1b
Snapshot Packaging Service ( #5262 )
...
* Snapshot serialization and packaging
2019-07-31 17:58:10 -07:00
Michael Vines
c209e14e40
validator.sh now supports an --entrypoint arg, mimicking the solana-validator CLI API ( #5363 )
2019-07-31 09:54:39 -07:00
Michael Vines
bd7e269280
Kill rsync ( #5336 )
...
automerge
2019-07-30 22:43:47 -07:00
Michael Vines
2214d2dbb5
Eject bootstrap-leader support from fullnode.sh ( #5301 )
2019-07-29 21:25:28 -07:00
Michael Vines
fb2eac20bb
Rename solana-fullnode to solana-validator ( #4411 )
2019-05-23 15:06:01 -07:00
Michael Vines
78d5ace754
Refactor multinode-demo/ scripts to avoid shipping fullnode-x.sh ( #3835 )
2019-04-17 18:03:58 -07:00
Michael Vines
92c3e26c7a
Flip symlinks
2018-12-07 11:32:08 -08:00
Michael Vines
70c149c7da
Rename leader/validator to bootstrap-leader/fullnode
...
Only rsyncing the genesis ledger snuck in here as well
2018-12-06 19:44:47 -08:00
Michael Vines
cc2f448d92
Add fullnode --no-leader-rotation flag
2018-12-06 11:30:19 -08:00
Michael Vines
b45d07c8cb
Remove non-common functions from common.sh
2018-12-06 10:15:14 -08:00
Michael Vines
a0dd8617be
Remove airdrop from fullnode
2018-11-16 13:25:55 -08:00
Michael Vines
33aab094ef
codemod --extensions sh '#!/bin/bash' '#!/usr/bin/env bash'
2018-11-11 16:24:36 -08:00
Rob Walker
61abee204f
don't check for snap mode in common.sh, is only relevant to snap daemons ( #1113 )
...
snap mode is for daemons, remove it from client (i.e. common.sh)
supply leader info to client via snap
2018-09-04 14:31:54 +09:00
Rob Walker
176e806d94
rework of netwrk rendezvous
...
* rename NodeInfo field of Node from "data" to "info"
(touches a lot of files)
* update client to use gossip to find leader, a la drone
* rework multinode scripts
* move more stuff into rust
* added usage to all
* no more rsync unless you're a validator (TODO: whack that, too)
* fullnode doesn't bail if drone isn't up yet, just keeps trying
* drone doesn't bail if network isn't up yet, just keeps trying
2018-08-31 23:21:07 +09:00
Rob Walker
f88970a964
source oom-score-adj.sh from validator.sh
2018-08-28 10:01:41 +09:00
Michael Vines
31d1087103
Documentation
2018-08-27 13:52:38 -07:00
Michael Vines
9688f8fb64
Update IP address
2018-08-13 12:32:09 -07:00
Rob Walker
06af9de753
fixups
2018-08-10 11:41:31 -07:00
Rob Walker
846ad61941
use ~/.solana instead of PWD to keep cargo happy, don't rsync --append
2018-08-10 11:41:31 -07:00
Michael Vines
5fec0ac82f
Validators now rsync the ledger smarter
...
- Don't re-rsync parts of the ledger that are already present
- Disable compression
2018-08-07 17:38:26 -07:00
Michael Vines
0ee935dd72
Adjust fullnode/drone oom_score_adj to goad the kernel into killing it first
2018-08-07 10:42:53 -07:00
Rob Walker
1152457691
avoid normal validator port a little better for sanity
2018-08-06 15:06:16 -07:00
Rob Walker
5193819d8e
Revert "Revert "plug in new ledger""
...
This reverts commit 57e928d1d0
.
2018-08-06 08:51:41 -07:00
Rob Walker
40ea3e3e61
tweak multinode-demo to work better in snap, validator-x be more stand-alone
2018-08-04 01:04:06 -07:00
Rob Walker
dc9a11bae0
remove rsync size limit for validator's ledger
2018-08-03 23:31:25 -07:00
Rob Walker
98ee4b4672
fix up some nits in multinode-demo
2018-08-03 20:19:41 -07:00
Rob Walker
c998199954
fixups, add validator-x to sanity
2018-08-03 15:34:11 -07:00
Rob Walker
19792192a7
support any number of self-setup validators on a single host
2018-08-03 15:34:11 -07:00
Rob Walker
57e928d1d0
Revert "plug in new ledger"
...
This reverts commit 46d9ba5ca0
.
2018-08-03 10:24:51 -07:00
Rob Walker
46d9ba5ca0
plug in new ledger
2018-08-02 21:50:47 -07:00
sakridge
2ea6f86199
Submit leader's vote after observing 2/3 validator votes ( #780 )
...
* fixup!
* fixups!
* send the vote and count it
* actually vote
* test
* Spelling fixes
* Process the voting transaction in the leader's bank
* Send tokens to the leader
* Give leader tokens in more cases
* Test for write_stage::leader_vote
* Request airdrop inside fullnode and not the script
* Change readme to indicate that drone should be up before leader
And start drone before leader in snap scripts
* Rename _kp => _keypair for keypairs and other review fixups
* Remove empty else
* tweak test_leader_vote numbers to be closer to testing 2/3 boundary
* combine creating blob and transaction for leader/validator
2018-07-31 22:07:53 -07:00
Michael Vines
647053e973
Terminate child process when main script is interrupted
2018-07-30 16:36:26 -07:00
Michael Vines
3e351b0b13
Drop -t
2018-07-30 16:13:51 -07:00
Michael Vines
81db333490
Guard against rsyncing TBs of ledger
2018-07-27 23:53:20 -07:00
Michael Vines
c68ee0040d
No need to support migrating from the old ledger format anymore
2018-07-27 23:53:20 -07:00
Michael Vines
5b0418793e
Keep Snap fullnode/drone logs out of syslog, we're too spammy
2018-07-17 15:08:35 -07:00
Michael Vines
e76bf1438b
A validator and leader running from the same workspace no longer share an identity
2018-07-15 13:34:48 -07:00
Michael Vines
260f5edfd6
Use correct leader.json
2018-07-13 11:48:17 -07:00
Michael Vines
8e7a2a9587
Validators now request an airdrop of 1 token before starting up
2018-07-13 10:02:19 -07:00
Rob Walker
34ea483736
step two: supply a ledger file argument to fullnode in the demo
...
(also whack unused "myip.sh", even though it was pretty)
2018-07-12 22:51:55 -07:00
Michael Vines
253048f72d
Only tune networking for leader/validator
2018-07-02 17:59:50 -07:00
Michael Vines
feb1669d39
Correct locate rsync when running as a Snap
2018-07-02 15:57:30 -07:00
Michael Vines
5716898216
setup.sh can now be more picky about the kind of config it creates
2018-07-02 09:22:26 -07:00
Rob Walker
39354c06f8
take multiple log files, allow restart of leader, validator
2018-06-27 11:41:25 -07:00
Michael Vines
5cd1fb486f
Automatically add rsync:// prefix to URLs that need it
2018-06-26 17:45:53 -07:00
Michael Vines
ce361c2cdc
Add Snap fullnode daemon
2018-06-26 12:32:33 -07:00
Michael Vines
ec333d2bd6
Revert "-v was renamed to -t"
...
This reverts commit 8f4ce1e8d0
.
2018-06-26 12:32:33 -07:00
Michael Vines
8f4ce1e8d0
-v was renamed to -t
2018-06-25 20:48:26 -07:00
Rob Walker
e83e898eed
fix shellcheck's concerns
2018-06-23 16:00:17 -07:00
Rob Walker
eb07e4588b
remove IPADDR, which was making Rob feel ill
...
IPADDR is simple, but not exactly what we need for testnet, where NAT'd
folks need to join in, need to advertize themselves as on the interweb.
myip() helps, but there's some TODOs: fullnode-config probably needs to
be told where it lives in the real world (machine interfaces tell us dick),
or incorporate something like the "ifconfig.co" code in myip.sh
2018-06-23 16:00:17 -07:00
Pankaj Garg
0253d34467
Address review comments
2018-06-22 14:18:45 -07:00
Pankaj Garg
9209f9acde
Run multiple instances from same workspace
...
* Support running leader and validators from multiple machines
using the same NFS mounted workspace.
* Changes to setup, leader and validator scripts
2018-06-22 14:18:45 -07:00
Rob Walker
4ecd2c9d0b
update demo scripts
...
* add setup to combine init steps, configurable initial mint
* bash -e -> bash and be explicit about errors with || exit $?
* feed transaction logs to validator, too
2018-06-19 17:04:44 -07:00
Michael Vines
04d1a083fa
Skip |sudo sysctl ...| on macOS
2018-06-15 17:10:00 -07:00
Rob Walker
d30670e92e
clean up demo bash scripts
...
* allow other level of RUST logging
* avoid "echo" in favor of printf (builtin)
* single quotes for literals, double quotes for variables
2018-06-14 23:12:11 -06:00
Hleb Albau
2ae5ce9f2c
Do not use cuda for multinode-demo validator component
2018-06-07 07:04:33 -06:00
anatoly yakovenko
69b3c75f0d
Power of two chance ( #314 )
...
* fix validator script
* 1/2^30 that we fail due to random returning the same value
2018-06-04 13:32:34 -07:00
Greg Fitzgerald
3aa2907bd6
Restore shellcheck
2018-06-01 13:43:38 -06:00
Greg Fitzgerald
86113811f2
Readme/demo cleanup
2018-06-01 13:43:38 -06:00
Stephen Akridge
68955bfcf4
Change multinode script argument to leader path
...
Some may have cloned their code in different place
2018-05-30 14:49:42 -06:00
Anatoly Yakovenko
df98cae4b6
cleanup
2018-05-30 14:04:48 -06:00
Anatoly Yakovenko
17d3a6763c
update
2018-05-30 14:04:48 -06:00
Anatoly Yakovenko
2888e45fea
comments
2018-05-30 14:04:48 -06:00
Grimes
29061cff39
Delint existing shell scripts
2018-05-28 05:18:46 -06:00
Anatoly Yakovenko
fe93bba457
logs
...
poll both endpoints in client
logs
logs
logs
names
verify plan not sig
log
set udp buffer to max
drop output
more verbose about window requests
log the leader
load leader identity
readme for single node demo
update
asserts
update
replay all
rsync
dynamic file read in testnode
fix
cleanup
readme
sum
fix scripts
cleanup
cleanup
readme
2018-05-26 20:13:42 -06:00
Anatoly Yakovenko
bbe6eccefe
log
2018-05-25 07:02:39 -06:00
Anatoly Yakovenko
115f4e54b8
update
2018-05-24 17:40:33 -06:00
Anatoly Yakovenko
2128c58fbe
logs and tps counting
2018-05-24 10:35:23 -06:00
Anatoly Yakovenko
ef87832bff
fixed
2018-05-23 17:24:58 -06:00
Anatoly Yakovenko
94507d1aca
cuda
2018-05-23 17:24:58 -06:00
Anatoly Yakovenko
89924a38ff
cuda
2018-05-23 17:24:58 -06:00
anatoly yakovenko
504b318ef1
Hooks for binaries to run as leader or replicator and attach to network ( #221 )
2018-05-23 14:03:19 -06:00