@@ -8,97 +8,97 @@ function dump_denoms() {
8
8
9
9
function load-foobar() {
10
10
for _ in $( seq 1 10) ; do
11
- ./bin/dash-cli-wallet ' foobar' generatetoaddress 10 " $( cat ./docs /w-foobar-address-0) "
11
+ ./bin/dash-cli-wallet ' foobar' generatetoaddress 10 " $( cat ./data /w-foobar-address-0) "
12
12
done
13
- ./bin/dash-cli-listtransactions ' foobar' 500 > ./docs /w-foobar-txns.json
13
+ ./bin/dash-cli-listtransactions ' foobar' 500 > ./data /w-foobar-txns.json
14
14
}
15
15
16
16
function load-psend() {
17
17
for _ in $( seq 1 10) ; do
18
- ./bin/dash-cli-wallet ' psend' generatetoaddress 10 " $( cat ./docs /w-psend-address-0) "
18
+ ./bin/dash-cli-wallet ' psend' generatetoaddress 10 " $( cat ./data /w-psend-address-0) "
19
19
done
20
- ./bin/dash-cli-listtransactions ' psend' 500 > ./docs /w-psend-txns.json
20
+ ./bin/dash-cli-listtransactions ' psend' 500 > ./data /w-psend-txns.json
21
21
}
22
22
23
23
function load-han() {
24
24
for _ in $( seq 1 10) ; do
25
- ./bin/dash-cli-wallet ' han' generatetoaddress 10 " $( cat ./docs /w-han-address-0) "
25
+ ./bin/dash-cli-wallet ' han' generatetoaddress 10 " $( cat ./data /w-han-address-0) "
26
26
done
27
- ./bin/dash-cli-listtransactions ' han' 500 > ./docs /w-han-txns.json
27
+ ./bin/dash-cli-listtransactions ' han' 500 > ./data /w-han-txns.json
28
28
}
29
29
30
30
function load-chewie() {
31
31
for _ in $( seq 1 10) ; do
32
- ./bin/dash-cli-wallet ' chewie' generatetoaddress 10 " $( cat ./docs /w-chewie-address-0) "
32
+ ./bin/dash-cli-wallet ' chewie' generatetoaddress 10 " $( cat ./data /w-chewie-address-0) "
33
33
done
34
- ./bin/dash-cli-listtransactions ' chewie' 500 > ./docs /w-chewie-txns.json
34
+ ./bin/dash-cli-listtransactions ' chewie' 500 > ./data /w-chewie-txns.json
35
35
}
36
36
37
37
function load-luke() {
38
38
for _ in $( seq 1 10) ; do
39
- ./bin/dash-cli-wallet ' luke' generatetoaddress 10 " $( cat ./docs /w-luke-address-0) "
39
+ ./bin/dash-cli-wallet ' luke' generatetoaddress 10 " $( cat ./data /w-luke-address-0) "
40
40
done
41
- ./bin/dash-cli-listtransactions ' luke' 500 > ./docs /w-luke-txns.json
41
+ ./bin/dash-cli-listtransactions ' luke' 500 > ./data /w-luke-txns.json
42
42
}
43
43
44
44
function foobar() {
45
45
./bin/wallet-create ' foobar'
46
- ./bin/dash-cli-wallet ' foobar' getnewaddress > ./docs /w-foobar-address-0
47
- ./bin/dash-cli-wallet ' foobar' getrawchangeaddress > ./docs /w-foobar-change-address-0
46
+ ./bin/dash-cli-wallet ' foobar' getnewaddress > ./data /w-foobar-address-0
47
+ ./bin/dash-cli-wallet ' foobar' getrawchangeaddress > ./data /w-foobar-change-address-0
48
48
./bin/dash-cli-wallet ' foobar' walletpassphrase foobar 100000000
49
- ./bin/dash-cli-wallet ' foobar' dumpprivkey " $( cat ./docs /w-foobar-address-0) " > ./docs /w-foobar-privkey-0
49
+ ./bin/dash-cli-wallet ' foobar' dumpprivkey " $( cat ./data /w-foobar-address-0) " > ./data /w-foobar-privkey-0
50
50
for _ in $( seq 1 4) ; do
51
- ./bin/dash-cli-wallet ' foobar' generatetoaddress 10 " $( cat ./docs /w-foobar-address-0) "
51
+ ./bin/dash-cli-wallet ' foobar' generatetoaddress 10 " $( cat ./data /w-foobar-address-0) "
52
52
done
53
- ./bin/dash-cli-listtransactions ' foobar' 500 > ./docs /w-foobar-txns.json
53
+ ./bin/dash-cli-listtransactions ' foobar' 500 > ./data /w-foobar-txns.json
54
54
}
55
55
56
56
function psend() {
57
57
./bin/wallet-create ' psend'
58
- ./bin/dash-cli-wallet ' psend' getnewaddress > ./docs /w-psend-address-0
59
- ./bin/dash-cli-wallet ' psend' getrawchangeaddress > ./docs /w-psend-change-address-0
58
+ ./bin/dash-cli-wallet ' psend' getnewaddress > ./data /w-psend-address-0
59
+ ./bin/dash-cli-wallet ' psend' getrawchangeaddress > ./data /w-psend-change-address-0
60
60
./bin/dash-cli-wallet ' psend' walletpassphrase foobar 100000000
61
- ./bin/dash-cli-wallet ' psend' dumpprivkey " $( cat ./docs /w-psend-address-0) " > ./docs /w-psend-privkey-0
61
+ ./bin/dash-cli-wallet ' psend' dumpprivkey " $( cat ./data /w-psend-address-0) " > ./data /w-psend-privkey-0
62
62
for _ in $( seq 1 4) ; do
63
- ./bin/dash-cli-wallet ' psend' generatetoaddress 10 " $( cat ./docs /w-psend-address-0) "
63
+ ./bin/dash-cli-wallet ' psend' generatetoaddress 10 " $( cat ./data /w-psend-address-0) "
64
64
done
65
- ./bin/dash-cli-listtransactions ' psend' 500 > ./docs /w-psend-txns.json
65
+ ./bin/dash-cli-listtransactions ' psend' 500 > ./data /w-psend-txns.json
66
66
}
67
67
68
68
function chewie() {
69
69
./bin/wallet-create ' chewie'
70
- ./bin/dash-cli-wallet ' chewie' getnewaddress > ./docs /w-chewie-address-0
71
- ./bin/dash-cli-wallet ' chewie' getrawchangeaddress > ./docs /w-chewie-change-address-0
70
+ ./bin/dash-cli-wallet ' chewie' getnewaddress > ./data /w-chewie-address-0
71
+ ./bin/dash-cli-wallet ' chewie' getrawchangeaddress > ./data /w-chewie-change-address-0
72
72
./bin/dash-cli-wallet ' chewie' walletpassphrase foobar 100000000
73
- ./bin/dash-cli-wallet ' chewie' dumpprivkey " $( cat ./docs /w-chewie-address-0) " > ./docs /w-chewie-privkey-0
73
+ ./bin/dash-cli-wallet ' chewie' dumpprivkey " $( cat ./data /w-chewie-address-0) " > ./data /w-chewie-privkey-0
74
74
for _ in $( seq 1 4) ; do
75
- ./bin/dash-cli-wallet ' chewie' generatetoaddress 10 " $( cat ./docs /w-chewie-address-0) "
75
+ ./bin/dash-cli-wallet ' chewie' generatetoaddress 10 " $( cat ./data /w-chewie-address-0) "
76
76
done
77
- ./bin/dash-cli-listtransactions ' chewie' 500 > ./docs /w-chewie-txns.json
77
+ ./bin/dash-cli-listtransactions ' chewie' 500 > ./data /w-chewie-txns.json
78
78
}
79
79
80
80
function han() {
81
81
./bin/wallet-create ' han'
82
- ./bin/dash-cli-wallet ' han' getnewaddress > ./docs /w-han-address-0
83
- ./bin/dash-cli-wallet ' han' getrawchangeaddress > ./docs /w-han-change-address-0
82
+ ./bin/dash-cli-wallet ' han' getnewaddress > ./data /w-han-address-0
83
+ ./bin/dash-cli-wallet ' han' getrawchangeaddress > ./data /w-han-change-address-0
84
84
./bin/dash-cli-wallet ' han' walletpassphrase foobar 100000000
85
- ./bin/dash-cli-wallet ' han' dumpprivkey " $( cat ./docs /w-han-address-0) " > ./docs /w-han-privkey-0
85
+ ./bin/dash-cli-wallet ' han' dumpprivkey " $( cat ./data /w-han-address-0) " > ./data /w-han-privkey-0
86
86
for _ in $( seq 1 4) ; do
87
- ./bin/dash-cli-wallet ' han' generatetoaddress 10 " $( cat ./docs /w-han-address-0) "
87
+ ./bin/dash-cli-wallet ' han' generatetoaddress 10 " $( cat ./data /w-han-address-0) "
88
88
done
89
- ./bin/dash-cli-listtransactions ' han' 500 > ./docs /w-han-txns.json
89
+ ./bin/dash-cli-listtransactions ' han' 500 > ./data /w-han-txns.json
90
90
}
91
91
92
92
function luke() {
93
93
./bin/wallet-create ' luke'
94
- ./bin/dash-cli-wallet ' luke' getnewaddress > ./docs /w-luke-address-0
95
- ./bin/dash-cli-wallet ' luke' getrawchangeaddress > ./docs /w-luke-change-address-0
94
+ ./bin/dash-cli-wallet ' luke' getnewaddress > ./data /w-luke-address-0
95
+ ./bin/dash-cli-wallet ' luke' getrawchangeaddress > ./data /w-luke-change-address-0
96
96
./bin/dash-cli-wallet ' luke' walletpassphrase foobar 100000000
97
- ./bin/dash-cli-wallet ' luke' dumpprivkey " $( cat ./docs /w-luke-address-0) " > ./docs /w-luke-privkey-0
97
+ ./bin/dash-cli-wallet ' luke' dumpprivkey " $( cat ./data /w-luke-address-0) " > ./data /w-luke-privkey-0
98
98
for _ in $( seq 1 4) ; do
99
- ./bin/dash-cli-wallet ' luke' generatetoaddress 10 " $( cat ./docs /w-luke-address-0) "
99
+ ./bin/dash-cli-wallet ' luke' generatetoaddress 10 " $( cat ./data /w-luke-address-0) "
100
100
done
101
- ./bin/dash-cli-listtransactions ' luke' 500 > ./docs /w-luke-txns.json
101
+ ./bin/dash-cli-listtransactions ' luke' 500 > ./data /w-luke-txns.json
102
102
}
103
103
104
104
HELP=0
@@ -221,17 +221,17 @@ if [[ $CREATE == 1 ]]; then
221
221
./bin/wallet-create ' luke'
222
222
./bin/wallet-create ' chewie'
223
223
224
- ./bin/dash-cli-wallet ' foobar' getnewaddress > ./docs /w-foobar-address-0
225
- ./bin/dash-cli-wallet ' psend' getnewaddress > ./docs /w-psend-address-0
226
- ./bin/dash-cli-wallet ' luke' getnewaddress > ./docs /w-luke-address-0
227
- ./bin/dash-cli-wallet ' han' getnewaddress > ./docs /w-han-address-0
228
- ./bin/dash-cli-wallet ' chewie' getnewaddress > ./docs /w-chewie-address-0
229
-
230
- ./bin/dash-cli-wallet ' foobar' getnewaddress > ./docs /w-foobar-change-address-0
231
- ./bin/dash-cli-wallet ' psend' getnewaddress > ./docs /w-psend-change-address-0
232
- ./bin/dash-cli-wallet ' luke' getnewaddress > ./docs /w-luke-change-address-0
233
- ./bin/dash-cli-wallet ' han' getnewaddress > ./docs /w-han-change-address-0
234
- ./bin/dash-cli-wallet ' chewie' getnewaddress > ./docs /w-chewie-change-address-0
224
+ ./bin/dash-cli-wallet ' foobar' getnewaddress > ./data /w-foobar-address-0
225
+ ./bin/dash-cli-wallet ' psend' getnewaddress > ./data /w-psend-address-0
226
+ ./bin/dash-cli-wallet ' luke' getnewaddress > ./data /w-luke-address-0
227
+ ./bin/dash-cli-wallet ' han' getnewaddress > ./data /w-han-address-0
228
+ ./bin/dash-cli-wallet ' chewie' getnewaddress > ./data /w-chewie-address-0
229
+
230
+ ./bin/dash-cli-wallet ' foobar' getnewaddress > ./data /w-foobar-change-address-0
231
+ ./bin/dash-cli-wallet ' psend' getnewaddress > ./data /w-psend-change-address-0
232
+ ./bin/dash-cli-wallet ' luke' getnewaddress > ./data /w-luke-change-address-0
233
+ ./bin/dash-cli-wallet ' han' getnewaddress > ./data /w-han-change-address-0
234
+ ./bin/dash-cli-wallet ' chewie' getnewaddress > ./data /w-chewie-change-address-0
235
235
fi
236
236
237
237
if [[ $UNLOCK == 1 ]]; then
@@ -244,34 +244,34 @@ if [[ $UNLOCK == 1 ]]; then
244
244
./bin/dash-cli-wallet ' han' walletpassphrase " ${b_wallet_salt} " " ${b_unlock_time} "
245
245
./bin/dash-cli-wallet ' chewie' walletpassphrase " ${b_wallet_salt} " " ${b_unlock_time} "
246
246
247
- ./bin/dash-cli-wallet ' foobar' dumpprivkey " $( cat ./docs /w-foobar-address-0) " \
248
- > ./docs /w-foobar-privkey-0
249
- ./bin/dash-cli-wallet ' psend' dumpprivkey " $( cat ./docs /w-psend-address-0) " \
250
- > ./docs /w-psend-privkey-0
251
- ./bin/dash-cli-wallet ' luke' dumpprivkey " $( cat ./docs /w-luke-address-0) " \
252
- > ./docs /w-luke-privkey-0
253
- ./bin/dash-cli-wallet ' han' dumpprivkey " $( cat ./docs /w-han-address-0) " \
254
- > ./docs /w-han-privkey-0
255
- ./bin/dash-cli-wallet ' chewie' dumpprivkey " $( cat ./docs /w-chewie-address-0) " \
256
- > ./docs /w-chewie-privkey-0
247
+ ./bin/dash-cli-wallet ' foobar' dumpprivkey " $( cat ./data /w-foobar-address-0) " \
248
+ > ./data /w-foobar-privkey-0
249
+ ./bin/dash-cli-wallet ' psend' dumpprivkey " $( cat ./data /w-psend-address-0) " \
250
+ > ./data /w-psend-privkey-0
251
+ ./bin/dash-cli-wallet ' luke' dumpprivkey " $( cat ./data /w-luke-address-0) " \
252
+ > ./data /w-luke-privkey-0
253
+ ./bin/dash-cli-wallet ' han' dumpprivkey " $( cat ./data /w-han-address-0) " \
254
+ > ./data /w-han-privkey-0
255
+ ./bin/dash-cli-wallet ' chewie' dumpprivkey " $( cat ./data /w-chewie-address-0) " \
256
+ > ./data /w-chewie-privkey-0
257
257
fi
258
258
259
259
if [[ $TXN == 1 ]]; then
260
260
for _ in $( seq 1 10) ; do
261
- ./bin/dash-cli-wallet ' foobar' generatetoaddress 10 " $( cat ./docs /w-foobar-address-0) "
262
- ./bin/dash-cli-wallet ' psend' generatetoaddress 10 " $( cat ./docs /w-psend-address-0) "
263
- ./bin/dash-cli-wallet ' luke' generatetoaddress 10 " $( cat ./docs /w-luke-address-0) "
264
- ./bin/dash-cli-wallet ' han' generatetoaddress 10 " $( cat ./docs /w-han-address-0) "
265
- ./bin/dash-cli-wallet ' chewie' generatetoaddress 10 " $( cat ./docs /w-chewie-address-0) "
261
+ ./bin/dash-cli-wallet ' foobar' generatetoaddress 10 " $( cat ./data /w-foobar-address-0) "
262
+ ./bin/dash-cli-wallet ' psend' generatetoaddress 10 " $( cat ./data /w-psend-address-0) "
263
+ ./bin/dash-cli-wallet ' luke' generatetoaddress 10 " $( cat ./data /w-luke-address-0) "
264
+ ./bin/dash-cli-wallet ' han' generatetoaddress 10 " $( cat ./data /w-han-address-0) "
265
+ ./bin/dash-cli-wallet ' chewie' generatetoaddress 10 " $( cat ./data /w-chewie-address-0) "
266
266
done
267
267
fi
268
268
269
269
if [[ $UNUSED == 1 ]]; then
270
- ./bin/dash-cli-listtransactions ' foobar' 500 > ./docs /w-foobar-txns.json
271
- ./bin/dash-cli-listtransactions ' psend' 500 > ./docs /w-psend-txns.json
272
- ./bin/dash-cli-listtransactions ' luke' 500 > ./docs /w-luke-txns.json
273
- ./bin/dash-cli-listtransactions ' han' 500 > ./docs /w-han-txns.json
274
- ./bin/dash-cli-listtransactions ' chewie' 500 > ./docs /w-chewie-txns.json
270
+ ./bin/dash-cli-listtransactions ' foobar' 500 > ./data /w-foobar-txns.json
271
+ ./bin/dash-cli-listtransactions ' psend' 500 > ./data /w-psend-txns.json
272
+ ./bin/dash-cli-listtransactions ' luke' 500 > ./data /w-luke-txns.json
273
+ ./bin/dash-cli-listtransactions ' han' 500 > ./data /w-han-txns.json
274
+ ./bin/dash-cli-listtransactions ' chewie' 500 > ./data /w-chewie-txns.json
275
275
fi
276
276
277
277
if [[ $DUMP_DENOMS == 1 ]]; then
0 commit comments