Commit 4a403e5b authored by zeroleak's avatar zeroleak
Browse files

add doc for configuration

parent 3b2d8b3e
......@@ -2,22 +2,50 @@
Whirlpool server
## Usage
- create local server configuration:
- create local server configuration to override default settings:
cd whirlpool-server
cp src/main/resources/ ./
``` will override default settings (src/main/resources/
The following settings *NEED* to be overriden:
- run from commandline:
mvn clean install -Dmaven.test.skip=true
java -jar target/whirlpool-server-0.0.1-SNAPSHOT.jar --spring.config.location=./ [--debug]
## Configuration
### RPC client
server.rpc-client.user = CONFIGURE-ME
server.rpc-client.password = CONFIGURE-ME
The bitcoin node should be running on the same network (main or test).<br/>
The node will be used to verify UTXO and broadcast tx.
- run from commandline:
### UTXO amounts
mvn clean install -Dmaven.test.skip=true
java -jar target/whirlpool-server-0.0.1-SNAPSHOT.jar --spring.config.location=./ [--debug]
server.round.denomination: amount in satoshis
server.round.miner-fee: miner fee (only paid by mustMix)
UTXO for mustMix should be founded with *server.round.denomination*<br/>
UTXO for liquidities should be founded with *server.round.denomination*+*server.round.miner-fee*
### Round
Round will start after ** mustMix register.<br/>
If this target is not met after *server.round.must-mix-adjust-timeout*, it will be gradually decreased to *server.round.min-must-mix*.
### Liquidities
If *server.round.liquidity-ratio=1*, server will use as many liquidities as mustMix.<br>
If *server.round.liquidity-ratio=0*, no liquidity will be used.<br>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment