Michael Vines
a4fb01b42b
Add +x
2019-05-13 14:30:44 -07:00
Michael Vines
1393d26f63
Remove obsolete internal multinode-demo/ logging ( #4265 )
2019-05-13 10:51:18 -07:00
Michael Vines
1dce5976cf
Disable node restart in localnet-sanity.sh
2019-05-12 21:21:31 -07:00
Michael Vines
340d01665c
Avoid generating default keypair
2019-05-12 21:21:31 -07:00
Rob Walker
ba8f49366d
passive staking 4 ( #4240 )
...
* support passive staking with wallet, use it
* fixups
* clippy
* cleanup app generation in wallet, finish fullnode.sh staking
* _id and _keypair => pubkey
use keygen, not wallet to get pubkey
* found 'em
2019-05-09 19:31:42 -07:00
Michael Vines
a8254fd258
Clear stale ledger on fullnode startup if necessary ( #4238 )
2019-05-09 17:09:36 -07:00
Sagar Dhawan
a031b09190
Add replicator support to multinode demo ( #4221 )
...
automerge
2019-05-09 13:43:39 -07:00
Michael Vines
1e949caa7f
Move airdrop retries fully out of bash ( #4234 )
...
automerge
2019-05-09 09:48:27 -07:00
Michael Vines
da4c37beec
multinode-demo/ grooming ( #4226 )
...
* Rename leader to entrypoint
* The fullnode identity keypair can now be provided
* Rename _id to _keypair
2019-05-08 19:59:22 -07:00
Michael Vines
d486d2b8ce
Consolidate default arg parsing ( #4224 )
...
automerge
2019-05-08 19:12:43 -07:00
Rob Walker
965c1e0000
staking plumbing part 3, 3.5 ( #4216 )
2019-05-08 12:56:11 -07:00
Michael Vines
7609a007c6
Add FeeCalculator to the genesis block ( #4196 )
2019-05-07 20:28:41 -07:00
Michael Vines
9b50583641
wallet: add --url, remove --host/--rpc-host/--rpc-port/-rpc-tls ( #4153 )
...
Also by default the wallet now talks to testnet.solana.com instead of
localhost
2019-05-06 07:38:26 -07:00
Michael Vines
586fb15c2c
fullnode positional arguments may now be mixed with optional arguments ( #4151 )
2019-05-03 20:49:24 -07:00
Michael Vines
f3f416b7ba
Rename --network argument to --entrypoint ( #4149 )
2019-05-03 15:00:19 -07:00
Michael Vines
f91627a230
Remove extra-fullnode-args.sh ( #4142 )
2019-05-03 13:32:59 -07:00
Michael Vines
f9c093022c
multinode-demo/: Merge bootstrap-leader.sh into fullnode.sh ( #4139 )
2019-05-03 12:33:48 -07:00
Michael Vines
7fe3c75c6b
Add a node-specific ip echo service to remove dependency on ifconfig.co ( #4137 )
2019-05-03 11:01:35 -07:00
Michael Vines
c8ed41167a
Factor tune_system() out of multinode-demo/ ( #4138 )
...
* Remove x bit from ulimit-n.sh
* Factor tune_system() out of multinode-demo/
2019-05-03 10:40:02 -07:00
Rob Walker
eebdfe8d73
wait for network recovery after restart ( #4000 )
2019-04-26 07:30:52 -07:00
Michael Vines
1661a7a55f
Correct variable name
2019-04-24 07:39:29 -07:00
Rob Walker
c3155a6e39
silence sigverify disabled, make disabling sigverify easier ( #3901 )
...
* silence sigverify disabled, make disabling sigverify easier
* fixup
2019-04-19 14:18:19 -07:00
Jack May
1a9ac62f60
Add bench-exchange support to the net framework ( #3893 )
2019-04-19 09:56:01 -07:00
Jack May
2cd556e43c
Add drone cap parameter ( #3876 )
2019-04-18 15:42:20 -07:00
Michael Vines
78d5ace754
Refactor multinode-demo/ scripts to avoid shipping fullnode-x.sh ( #3835 )
2019-04-17 18:03:58 -07:00
Jack May
fdb12b54fa
Run multinode-demo from anywhere ( #3831 )
2019-04-17 14:23:32 -07:00
Michael Vines
bc17edcda3
Add --keypair to avoid writing a new one to ~ in CI
2019-04-17 10:12:18 -07:00
Michael Vines
aa6c82cfdc
Add show-vote-account command ( #3814 )
2019-04-17 07:45:07 -07:00
Michael Vines
63d66ece57
net/ testnet nodes now stake more lamports ( #3812 )
...
* Add --bootstrap-leader-lamports
* Generalize --no-stake into --stake NUM
* Use a large stake for net/ fullnodes
* Setup vote account before starting fullnode to avoid mixed log output
2019-04-16 13:03:01 -07:00
Michael Vines
c67cc694ae
Remove stake from `./net sanity` ephemeral validator ( #3797 )
2019-04-15 21:42:25 -07:00
Michael Vines
3dc47a46d5
Revert "Revert "disable staking of blockstreamer node""
...
This reverts commit 03da63b41b
.
2019-04-15 20:11:00 -07:00
Michael Vines
0767c0c07f
Add DNS resolution to cli tools
2019-04-14 21:25:46 -07:00
Michael Vines
f6aa90e193
Add fullnode --dynamic-port-range option
2019-04-14 07:08:29 -07:00
Michael Vines
c7a7d6db84
Use |solana-keygen pubkey| instead of |solana-wallet address|
...
Same end result but solana-keygen is a smaller program that builds
faster
2019-04-14 07:08:29 -07:00
Rob Walker
656b3139e3
see perf-libs all the time ( #3748 )
2019-04-12 08:38:14 -07:00
Rob Walker
f1e7237c09
vote_api cleanup ( #3710 )
...
* vote_api cleanup
* fixups
* fixup
* remove unused code
* revert removal of serialize and deserialize
* ...
* increase coverage, bootstrap staking
* Sagar's STAKE to my VOTE
2019-04-10 17:52:47 -07:00
Sagar Dhawan
d2ea782372
Always use bootstrap vote account for leader
2019-04-10 15:51:00 -07:00
Stephen Akridge
20a2c59b70
Reduce udp read/write buffer sizes
...
With 18.04, these large values cause packet errors and mess up the system.
2019-04-08 15:21:45 -07:00
Pankaj Garg
03da63b41b
Revert "disable staking of blockstreamer node"
...
This reverts commit 42d8a7d9e7
.
2019-04-06 08:57:06 -07:00
Pankaj Garg
42d8a7d9e7
disable staking of blockstreamer node
...
- this will stop it from entering leader rotation schedule
2019-04-05 16:48:52 -07:00
Tyera Eulberg
92c66a411b
Remove bench-tps converge-only
2019-04-01 23:05:25 -06:00
Sagar Dhawan
c61bb16fdf
Fix manifest path for cargo commands ( #3549 )
2019-03-28 15:56:08 -07:00
Michael Vines
7e2aad2590
Refrain from trying to configure a staking account that was previously configured
2019-03-22 17:00:09 -07:00
Michael Vines
0a5b6154e8
Use same gossip port for all testnet nodes
2019-03-22 00:16:58 -07:00
Michael Vines
4542a7042a
Add --poll-for-new-genesis-block flag
2019-03-22 00:15:19 -07:00
Michael Vines
f777ed76a3
Use installed binaries if not within the cargo workspace
2019-03-21 22:09:44 -07:00
Michael Vines
dbb145c266
Fixup ledger path
2019-03-21 17:06:57 -07:00
Michael Vines
437481853b
Ensure genesis ledger directory is populated on all validator nodes
...
This allows all nodes to serve the genesis ledger over rsync instead of
just the bootstrap leader
2019-03-21 16:35:40 -07:00
Michael Vines
242bcf44db
Replace stale --no-signer usage with --no-voting
2019-03-13 13:50:30 -07:00
Michael Vines
a17be9f8bd
Revert "Add case for --rpc-drone-address"
...
This reverts commit 42ad297778
.
2019-03-13 13:23:54 -07:00
Michael Vines
42ad297778
Add case for --rpc-drone-address
2019-03-13 13:04:44 -07:00
Sagar Dhawan
866d3f467f
Fix flag to disable leader-rotation ( #3243 )
2019-03-12 16:35:13 -07:00
Pankaj Garg
8bba11367e
Provide drone's host address while setting up staking account
2019-03-11 17:11:34 -07:00
Rob Walker
0acdbc0d03
plumb staking_account and voting_keypair from multinode-demo to Vote ( #3199 )
...
* plumb staking_account and voting_keypair from bash to Vote
2019-03-08 19:29:08 -07:00
Michael Vines
0a4f909566
requestAirdrop RPC API is now optional
2019-03-06 10:23:57 -08:00
Michael Vines
545feab6db
Misc token to lamport renaming
2019-03-05 17:56:44 -08:00
Michael Vines
beb45f44ac
solana-genesis: rename tokens to lamports
2019-03-05 17:28:06 -08:00
Michael Vines
3fc846d789
Try to use the RPC exit API to cleanly exit nodes
2019-03-04 19:58:37 -08:00
Michael Vines
0f77531f09
Simplify pass-through arg handling
2019-03-04 19:58:37 -08:00
Michael Vines
7b49c9f09c
Delete fullnode-config/
2019-03-04 15:49:02 -08:00
Michael Vines
cd4bccfd12
Remove snap support
2019-03-02 17:41:09 -08:00
Stephen Akridge
5216952691
Change benchmark path to target/ or OUT_DIR
...
Also reduce some code duplication with cleanup_dirs fn.
2019-02-27 08:22:52 -08:00
Tyera Eulberg
d8f6865338
Rename EntryStream to Blockstream
2019-02-21 17:24:29 -07:00
Michael Vines
b79d361e6c
Add --entry-stream support
2019-02-15 22:52:27 -08:00
Tyera Eulberg
6da7a784f2
Stream entries ( #2582 )
...
* Add entry streaming option
* Fix tests
* Remove obsolete comment
* Move entry stream functionality to struct w/ trait in order to test without i/o
2019-01-29 00:21:27 -08:00
Tyera Eulberg
a2e29fa71f
Alphabetize and make consistent fullnode arguments
2019-01-28 14:32:32 -08:00
Tyera Eulberg
b7be5b9a7a
Add no-signer argument
2019-01-24 10:47:37 -08:00
Michael Vines
cc88f9bcd6
Add mechanism to determine when a node has finished booting
2019-01-23 00:02:30 -08:00
Michael Vines
dca0ba6a5d
Use -X for dynamic fullnodes, to ensure keypair remains constant during iterations
2019-01-22 08:27:36 -08:00
Michael Vines
6883ea0944
Give the fullnode one million tokens as a #2355 workaround
2019-01-18 13:42:04 -08:00
Michael Vines
303289777f
rsync/airdrop only if ledger doesn't exist (eg, on first run after setup.sh)
2019-01-18 13:42:04 -08:00
Michael Vines
da5cb0b012
Verify ledger before starting up the fullnode
2019-01-18 13:42:04 -08:00
Michael Vines
922ffdfc28
Remove unnecessary ledger/ subdirectory
2019-01-18 13:42:04 -08:00
Michael Vines
9c8e853567
Rename --rpc arg to --rpc-port to match wallet cli
2019-01-17 09:04:57 -08:00
Michael Vines
825d8ef6c9
Add ability to use the RPC endpoint from a node other than the bootstrap leader
2019-01-17 09:04:57 -08:00
Michael Vines
da1201c552
Add --rpc-port option to select a custom RPC port
2019-01-17 09:04:57 -08:00
Michael Vines
a84b6bc7e4
Overhaul wallet rpc/drone command-line arguments
2019-01-17 08:36:05 -08:00
Stephen Akridge
33f2d83506
Add timeout and prints to port search
...
Otherwise nc can hang forever.
2019-01-04 11:07:17 -08:00
Michael Vines
4807fb4c5c
Use if to be more explict about error handling (set -e trouble?)
2018-12-20 19:07:17 -08:00
Michael Vines
59fdd8f6be
Move wallet airdrop retries into fullnode start script
2018-12-19 13:49:04 -08:00
Michael Vines
9ff8abaf29
Ensure port is not inuse before selecting it
2018-12-17 09:31:31 -08:00
Michael Vines
74ee1e5087
Increase the number of files a node may have open at a time
2018-12-15 17:15:22 -08:00
Michael Vines
282d4a3563
Move solana-keygen into keygen/
2018-12-13 01:06:40 -08:00
Michael Vines
094f0a8be3
Leader rotation flag plumbing
2018-12-10 14:07:59 -08:00
Michael Vines
db3cca7fbe
Display wallet address before airdrop to help with debug on airdrop failures
2018-12-09 09:41:14 -08:00
Sathish
2de45a4da5
Update airdrop tokens to 3 for fullnode ( #2051 )
...
Filter out leader while computing the super majority stake
2018-12-08 16:54:42 -08:00
Michael Vines
872a3317b5
Fully switch to bootstrap-leader for command-line args
2018-12-07 16:57:02 -08:00
Michael Vines
38901002b0
Accept an ip address in addition to domain name
2018-12-07 16:57:02 -08:00
Michael Vines
92c3e26c7a
Flip symlinks
2018-12-07 11:32:08 -08:00
Tyera Eulberg
1ddf93fd86
Strip cp -r arg
2018-12-07 10:43:36 -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
f4b26247c0
Genesis only needs a keypair, not the entire fullnode::Config
2018-12-06 16:31:24 -08:00
Michael Vines
8f0a1e32d5
Use consistent naming for the mint id file
2018-12-06 16:31:24 -08:00
Michael Vines
c4b8f0cd2f
bench-tps will now generate an ephemeral identity if not provided with one
...
Also simplify scripts as a result
2018-12-06 16:30:48 -08:00
Michael Vines
e3c4f1f586
Move client keygen into client.sh
2018-12-06 14:49:26 -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
a6312ba98f
Switch snap to bootstrap-fullnode/fullnode naming
2018-12-05 18:59:43 -08:00
Rob Walker
ddc4e7ffa0
use fewer transactions for the public, "welcome to Solana" demo
2018-11-28 16:23:22 -08:00
Michael Vines
33a5d5fe93
Enable debug builds by default for better backtraces
2018-11-17 10:52:08 -08:00