mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add README.md
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
4892274d58
commit
ae37041a27
42
inventory/README.md
Normal file
42
inventory/README.md
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
## Inventory monitor
|
||||||
|
|
||||||
|
This is a simple headless node with a http server which requests periodically from the seed nodes their inventory (not
|
||||||
|
the full data but just the information about their network data).
|
||||||
|
|
||||||
|
### Run inventory monitor
|
||||||
|
|
||||||
|
Run the Gradle task:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./gradlew inventory:run
|
||||||
|
```
|
||||||
|
|
||||||
|
Or create a run scrip by:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./gradlew inventory:startBisqApp
|
||||||
|
```
|
||||||
|
|
||||||
|
And then run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./bisq-inventory
|
||||||
|
```
|
||||||
|
|
||||||
|
### Customize inventory monitor
|
||||||
|
|
||||||
|
To configure it with custom parameters append optional program arguments in the following order:
|
||||||
|
|
||||||
|
Arguments: `port cleanupTorFiles intervalSec useLocalhostForP2P network`
|
||||||
|
|
||||||
|
Values: `Integer 0|1 Integer 0|1 BTC_MAINNET|BTC_TESTNET|BTC_REGTEST`
|
||||||
|
|
||||||
|
Example for localhost, regtest on port 8080: `8080 0 10 1 BTC_REGTEST`
|
||||||
|
|
||||||
|
Example for production node with cleanupTorFiles=true: `80 1`
|
||||||
|
|
||||||
|
Append the program arguments to the run script:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./bisq-inventory 8080 0 10 1 BTC_REGTEST
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user