You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
3.0 KiB
93 lines
3.0 KiB
#NOTE: This configuration file is for testing with regtest only |
|
#For mainnet usage, running a JoinMarket script will create the default file |
|
[DAEMON] |
|
no_daemon = 1 |
|
daemon_port = 27183 |
|
daemon_host = localhost |
|
use_ssl = false |
|
|
|
[BLOCKCHAIN] |
|
blockchain_source = regtest |
|
rpc_host = localhost |
|
rpc_port = 18443 |
|
rpc_user = bitcoinrpc |
|
rpc_password = 123456abcdef |
|
network = testnet |
|
|
|
[MESSAGING:server1] |
|
host = localhost |
|
hostid = localhost1 |
|
channel = joinmarket-pit |
|
port = 6667 |
|
usessl = false |
|
socks5 = false |
|
socks5_host = localhost |
|
socks5_port = 9150 |
|
|
|
[MESSAGING:server2] |
|
host = localhost |
|
hostid = localhost2 |
|
channel = joinmarket-pit |
|
port = 6668 |
|
usessl = false |
|
socks5 = false |
|
socks5_host = localhost |
|
socks5_port = 9150 |
|
|
|
[TIMEOUT] |
|
maker_timeout_sec = 15 |
|
|
|
[POLICY] |
|
# for dust sweeping, try merge_algorithm = gradual |
|
# for more rapid dust sweeping, try merge_algorithm = greedy |
|
# for most rapid dust sweeping, try merge_algorithm = greediest |
|
# but don't forget to bump your miner fees! |
|
merge_algorithm = default |
|
# the fee estimate is based on a projection of how many satoshis |
|
# per kB are needed to get in one of the next N blocks, N set here |
|
# as the value of 'tx_fees'. This estimate can be extremely high |
|
# if you set N=1, so we choose N=3 for a more reasonable figure, |
|
# as our default. Note that for clients not using a local blockchain |
|
# instance, we retrieve an estimate from the API at cointape.com, currently. |
|
tx_fees = 3 |
|
taker_utxo_retries = 3 |
|
taker_utxo_age = 1 |
|
taker_utxo_amtpercent = 20 |
|
accept_commitment_broadcasts = 1 |
|
#some settings useful for testing scenarios |
|
#laxity for repeated tests; tests on actual |
|
#commitments/maker limit/utxo sourcing logic should obviously reset |
|
taker_utxo_retries = 3 |
|
minimum_makers = 1 |
|
listunspent_args = [0] |
|
max_sats_freeze_reuse = -1 |
|
|
|
[PAYJOIN] |
|
# for the majority of situations, the defaults |
|
# need not be altered - they will ensure you don't pay |
|
# a significantly higher fee. |
|
# MODIFICATION OF THESE SETTINGS IS DISADVISED. |
|
|
|
# Payjoin protocol version; currently only '1' is supported. |
|
payjoin_version = 1 |
|
|
|
# servers can change their destination address by default (0). |
|
# if '1', they cannot. Note that servers can explicitly request |
|
# that this is activated, in which case we respect that choice. |
|
disable_output_substitution = 0 |
|
|
|
# "default" here indicates that we will allow the receiver to |
|
# increase the fee we pay by: |
|
# 1.2 * (our_fee_rate_per_vbyte * vsize_of_our_input_type) |
|
# (see https://github.com/bitcoin/bips/blob/master/bip-0078.mediawiki#span_idfeeoutputspanFee_output) |
|
# (and 1.2 to give breathing room) |
|
# which indicates we are allowing roughly one extra input's fee. |
|
# If it is instead set to an integer, then that many satoshis are allowed. |
|
# Additionally, note that we will also set the parameter additionafeeoutputindex |
|
# to that of our change output, unless there is none in which case this is disabled. |
|
max_additional_fee_contribution = default |
|
|
|
# this is the minimum satoshis per vbyte we allow in the payjoin |
|
# transaction; note it is decimal, not integer. |
|
min_fee_rate = 1.1 |
|
|
|
|