mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 21:04:20 +01:00
joinmarket: enable wallet and txindex for bitcoind
This commit is contained in:
@@ -4,6 +4,20 @@ Testing on a RPi4 4GB with RaspiBlitz v1.3
|
|||||||
|
|
||||||
Open the [Tor browser](https://www.torproject.org/download/) and check out the current fees and available liquidity in the JoinMarket order book: https://joinmarket.me/ob/
|
Open the [Tor browser](https://www.torproject.org/download/) and check out the current fees and available liquidity in the JoinMarket order book: https://joinmarket.me/ob/
|
||||||
|
|
||||||
|
### Prerequisite
|
||||||
|
|
||||||
|
* Need to activate the wallet and txindex for bitcoind
|
||||||
|
|
||||||
|
`$ sudo nano /mnt/hdd/bitcoin/bitcoin.conf`
|
||||||
|
|
||||||
|
```
|
||||||
|
disablewallet=0
|
||||||
|
txindex=1
|
||||||
|
```
|
||||||
|
`$ sudo systemctl restart bitcoind`
|
||||||
|
|
||||||
|
* building the txindex takes ~7h for a RPi4 with an SSD
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
* Run in the RaspiBlitz terminal:
|
* Run in the RaspiBlitz terminal:
|
||||||
@@ -89,13 +103,12 @@ This needs to be done at every new login.
|
|||||||
|
|
||||||
### Check the transaction history
|
### Check the transaction history
|
||||||
* use the wallet tool:
|
* use the wallet tool:
|
||||||
|
|
||||||
`(jmvenv) $ python wallet-tool.py wallet.jmdat history`
|
`(jmvenv) $ python wallet-tool.py wallet.jmdat history`
|
||||||
|
|
||||||
* View the log of the transactions of the Yield Generator:
|
* View the log of the transactions of the Yield Generator:
|
||||||
|
|
||||||
`$ cat ~/joinmarket-clientserver/scripts/logs/yigen-statement.csv`
|
`$ cat ~/joinmarket-clientserver/scripts/logs/yigen-statement.csv`
|
||||||
|
* Monitor continously with:
|
||||||
|
`$ tail -f -n 100 ~/joinmarket-clientserver/scripts/logs/yigen-statement.csv`
|
||||||
|
|
||||||
### Keep the offers running in the background with [Tmux](https://github.com/tmux/tmux#welcome-to-tmux)
|
### Keep the offers running in the background with [Tmux](https://github.com/tmux/tmux#welcome-to-tmux)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user