Michael Vines
5671da4a0a
Generate a client-specific mint.json
2018-06-30 15:28:17 -07:00
Greg Fitzgerald
c06582ba40
Wallet no longer uses global mint.json
2018-06-29 22:26:42 -07:00
Michael Vines
450f271cf7
Move public IP address detection out of bash
2018-06-29 21:12:05 -07:00
Michael Vines
0b56d603c2
Client NAT traversal 0.1
...
UPnP is now used to request a port on the NAT be forwarded to the local machine.
This obviously only works for NATs that support UPnP, and thus is not a panacea
for all NAT-related connectivity issues.
Notable hacks in this patch include a transmit/receive UDP socket pair to work
around current protocol limitations whereby the full node assumes its peer can
receive on the same UDP port it transmitted from.
2018-06-29 17:36:26 -07:00
Pankaj Garg
79a97ada04
Fix more shellchecks
...
Also, stops current nodes before pushing updates
2018-06-29 15:19:28 -06:00
Pankaj Garg
da215d1a21
Fix failed shellchecks
2018-06-29 15:19:28 -06:00
Pankaj Garg
9ffc50bead
Address review comments
2018-06-29 15:19:28 -06:00
Pankaj Garg
f8352bac2f
Address review comments
...
* Only public IP address in the list
* formatting and other comments
2018-06-29 15:19:28 -06:00
Pankaj Garg
27c1410fdc
Script to deploy multiple nodes (one as leader, others as validators)
...
* The built code is loaded to the nodes
* ssh_keys can be copied to the nodes for internode comm
* The nodes are started with their respective roles
* The client demo is started on the last node
2018-06-29 15:19:28 -06:00
Tyera Eulberg
705df55a7f
Fix program name
2018-06-29 09:51:13 -07:00
Tyera Eulberg
d680f6b3a5
Fix bash scripts:
...
* Use wallet name everywhere
* Update drone to use mint.json
2018-06-29 09:51:13 -07:00
Michael Vines
a4c49af859
Add public-ip argument to setup.sh
2018-06-28 19:13:36 -07:00
Michael Vines
ee200d8fa0
Add DEBUG= flag to select debug binaries
2018-06-27 15:34:31 -07:00
Greg Fitzgerald
ed10841e3d
No longer spin up accounts for client-demo
...
Now that the Bank is single-threaded again, we can spin up new
accounts on the fly without concern of thread contention. Likewise,
we can send all transactions from a single account, which was also
problematic in the multi-threaded bank. Sending from one account will
also make client-demo straightforward to port to solana-drone.
2018-06-27 13:50:27 -07:00
Tyera Eulberg
6dac87f2a7
Add entry to snapscraft yaml; cleanup bash header
2018-06-27 13:01:29 -06:00
Tyera Eulberg
a167d0d331
CI cleanup
2018-06-27 13:01:29 -06:00
Tyera Eulberg
124e1fa350
Bash scripts to go with simple-client-demo
2018-06-27 13:01:29 -06:00
Rob Walker
39354c06f8
take multiple log files, allow restart of leader, validator
2018-06-27 11:41:25 -07:00
Michael Vines
faedb88de0
s/local/declare/g
2018-06-26 19:11:31 -07:00
Michael Vines
5cd1fb486f
Automatically add rsync:// prefix to URLs that need it
2018-06-26 17:45:53 -07:00
Rob Walker
5b5df49e6c
make client.sh behave like the others, i.e. no tee to a log
2018-06-26 17:02:24 -07:00
Michael Vines
86f9277e2d
Add USE_SNAP flag
2018-06-26 16:32:55 -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
3966eb5374
support MacOS bash and ifconfig properly
2018-06-25 13:14:36 -06:00
Rob Walker
55fc647568
fix more shellcheck
2018-06-23 16:00:17 -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
Pankaj Garg
d3005d3ef3
Updated setup and leader scripts
...
* Setup will us -b to set validator ports
* Leader script fixed to append .log to the log file
* Updated readme file
2018-06-20 19:05:38 -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
Stephen Akridge
ec713c18c4
Revert client.sh script to use cargo
2018-06-14 11:56:36 -06:00
Tyera Eulberg
dcb6234771
Fix relative link to client demo
2018-06-12 23:29:04 -06:00
Stephen Akridge
1ee5c81267
Fix benchmarking banking_stage
2018-06-08 15:50:36 -07:00
anatoly yakovenko
77c9e801aa
fixed client demo ( #325 )
...
* fixed client demo
2018-06-07 13:51:15 -07: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
Stephen Akridge
fd338c3097
Run release binary for leader node
2018-06-01 17:10:48 -06: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
Greg Fitzgerald
9b54c1542b
Move defaults from bash to Rust
2018-05-31 17:18:11 -07:00
Greg Fitzgerald
4b8c36b6b9
Add solana-fullnode-config
2018-05-31 16:15:02 -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
Ubuntu
3058f80489
log
2018-05-30 14:04:48 -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
Ubuntu
6c380e04a3
fix
2018-05-30 14:04:48 -06:00
Grimes
29061cff39
Delint existing shell scripts
2018-05-28 05:18:46 -06:00
Greg Fitzgerald
931bdbd5cd
Fix typo
2018-05-26 20:25:44 -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
1022f1b0c6
logs
2018-05-24 17:40:33 -06:00
Anatoly Yakovenko
c2c80232e3
logs
2018-05-24 17:40:33 -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