forked from monero-project/monero
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsn
More file actions
executable file
·52 lines (42 loc) · 1.86 KB
/
sn
File metadata and controls
executable file
·52 lines (42 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
datadir=${dir}/db
bindir=${dir}/builder/output/linux/release-aes/bin
function prep()
{
${bindir}/tesoro-wallet-cli --stagenet --daemon-address 127.0.0.1:28081
${bindir}/tesoro-wallet-cli --stagenet --daemon-address 127.0.0.1:28081
}
function w1()
{
${bindir}/tesoro-wallet-cli --stagenet --daemon-address 127.0.0.1:28081 --wallet-file ${datadir}/t1 --password ""
}
function w2()
{
${bindir}/tesoro-wallet-cli --stagenet --daemon-address 127.0.0.1:38081 --wallet-file ${datadir}/t2 --password ""
}
function n1()
{
${bindir}/tesorod --stagenet --data-dir ${datadir}/n1 --p2p-bind-port 28080 --rpc-bind-port 28081 --zmq-rpc-bind-port 28082 \
--add-exclusive-node 127.0.0.1:58080 --add-exclusive-node 127.0.0.1:48080 --add-exclusive-node 127.0.0.1:38080 \
--block-sync-size 10 --fixed-difficulty 5000
}
function n2()
{
${bindir}/tesorod --stagenet --data-dir ${datadir}/n2 --p2p-bind-port 38080 --rpc-bind-port 38081 --zmq-rpc-bind-port 38082 --rpc-restricted-bind-port 38083 \
--add-exclusive-node 127.0.0.1:58080 --add-exclusive-node 127.0.0.1:48080 --add-exclusive-node 127.0.0.1:28080 \
--block-sync-size 10 --fixed-difficulty 5000
}
function n3()
{
${bindir}/tesorod --stagenet --data-dir ${datadir}/n3 --p2p-bind-port 48080 --rpc-bind-port 48081 --zmq-rpc-bind-port 48082 --rpc-restricted-bind-port 48083 \
--add-exclusive-node 127.0.0.1:58080 --add-exclusive-node 127.0.0.1:38080 --add-exclusive-node 127.0.0.1:28080 \
--block-sync-size 10 --fixed-difficulty 5000
}
function n4()
{
${bindir}/tesorod --stagenet --data-dir ${datadir}/n4 --p2p-bind-port 58080 --rpc-bind-port 58081 --zmq-rpc-bind-port 58082 --rpc-restricted-bind-port 58083 \
--add-exclusive-node 127.0.0.1:48080 --add-exclusive-node 127.0.0.1:38080 --add-exclusive-node 127.0.0.1:28080 \
--block-sync-size 10 --fixed-difficulty 5000
}
$1