Skip to content

Commit 4b38f1b

Browse files
committed
tor-newnym: QUIT properly
1 parent e1794e1 commit 4b38f1b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ of [Bitrated](https://www.bitrated.com/).
1313

1414
**TL;DR**
1515

16-
$ bcash-instadump --tor --key LmyBcashKey --payout 1BtcAddrGimmeRogersCoins
16+
$ bcash-instadump --tor --key LmyBcashKeyWIF --payout 1BtcAddrGimmeRogersCoins
1717
# confirm the details and press Y to get your bitcoins
1818

1919
(yes, that's it! but do read the whole thing to fully understand the risks involved.)
@@ -52,7 +52,7 @@ If you do, you should publicly announce the hash for the Git commit you reviewed
5252

5353
### `bcash-instadump` - dump bcash on ShapeShift
5454

55-
$ bcash-instadump --key LmyBcashKey --payout 1BtcAddrGimmeRogersCoins
55+
$ bcash-instadump --key LmyBcashKeyWIF --payout 1BtcAddrGimmeRogersCoins
5656

5757
Insta-dump the bcash held in the provided `--key` (in base58 WIF)
5858
on [ShapeShift](https://shapeshift.io/)
@@ -128,7 +128,7 @@ See `bcash-tx --help` for the full list of options.
128128

129129
### `bcash-utxo` - list unspent bcash outputs
130130

131-
$ bcash-utxo --tor 1myFirstAddr 1myOtherAddr ...
131+
$ bcash-utxo 1myFirstAddr 1myOtherAddr ...
132132

133133
Get the unspent bcash outputs for the provided address(es) from the Electrum bcash servers,
134134
and print them as CSV (`txid,vout,amount,address` format).
@@ -149,7 +149,7 @@ See `bcash-utxo --help` for the full list of options.
149149

150150
### `bcash-broadcast` - broadcast raw bcash transactions
151151

152-
$ bcash-broadcast --tor <rawtx>
152+
$ bcash-broadcast <rawtx>
153153

154154
Broadcasts the provided `rawtx` (in hex) to the bcash network via an Electrum bcash server.
155155

@@ -191,7 +191,7 @@ $ electrum listunspent | jq -c '.[] | [.prevout_hash,.prevout_n,.value,.address]
191191
Prepare `keys.txt` with a list of base58 WIF keys (one per line), then:
192192

193193
```bash
194-
$ bcash-utxo --tor -f keys.txt > utxos.csv
194+
$ bcash-utxo -f keys.txt > utxos.csv
195195
```
196196

197197
WARNING: looking up the unspent outputs associated with your addresses
@@ -201,7 +201,7 @@ See "*Privacy considerations*" below for suggestions to improve privacy.
201201
#### Dumping from the UTXO CSV file
202202

203203
```bash
204-
$ bcash-instadump --tor --inputs utxos.csv --payout 1myBtcAddr
204+
$ bcash-instadump --inputs utxos.csv --payout 1myBtcAddr
205205
```
206206

207207
### Signing offline

utility/tor-newnym.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
[ "$#" -eq 2 ] || { echo "usage: $0 <controlport> <password>" >&2; exit 1; }
44

5-
echo -ne 'AUTHENTICATE "'$2'"\r\nSIGNAL NEWNYM\r\necho QUIT\r\n' | nc localhost $1 > /dev/null
5+
echo -ne 'AUTHENTICATE "'$2'"\r\nSIGNAL NEWNYM\r\nQUIT\r\n' | nc localhost $1 > /dev/null

0 commit comments

Comments
 (0)