Committing updates.
This commit is contained in:
30
conf/bitcoin.conf
Normal file
30
conf/bitcoin.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
[main]
|
||||
## Bitcoin testnet
|
||||
## default: false
|
||||
#testnet=true
|
||||
|
||||
[endpoint]
|
||||
## default: tcp://mainnet.libbitcoin.net:9091
|
||||
#url=tcp://testnet.libbitcoin.net:19091
|
||||
|
||||
[transaction]
|
||||
## Transaction minimum output value
|
||||
## default: 200
|
||||
#min_output=200
|
||||
|
||||
[miner]
|
||||
## Transaction fee as a percentage of the deal amount
|
||||
## ATTENTION: If the value is specified as a percentage, you MUST indicate the sign “%”,
|
||||
## otherwise it will be a FIXED value in satoshi.
|
||||
|
||||
## Transaction fee for miner
|
||||
## default: 1%
|
||||
#fee=1%
|
||||
|
||||
## Transaction fee for miner (minimal)
|
||||
## default: 200
|
||||
#min=200
|
||||
|
||||
## Transaction fee for miner (maximum)
|
||||
## default: 2000
|
||||
#max=2000
|
||||
92
conf/default.conf
Normal file
92
conf/default.conf
Normal file
@@ -0,0 +1,92 @@
|
||||
## Bitcoin Payment Service (Deal Module) config file
|
||||
|
||||
[main]
|
||||
#user=nobody
|
||||
#group=nobody
|
||||
|
||||
#limitnofile=8192
|
||||
|
||||
## Count worker process
|
||||
## default: 1
|
||||
workers=1
|
||||
|
||||
## Create helper process
|
||||
## default: false
|
||||
#helper=false
|
||||
|
||||
## Create master process
|
||||
## Master process run processes:
|
||||
## - worker (if count not equal 0)
|
||||
## - helper (if value equal true)
|
||||
## - process/* (if enabled)
|
||||
## default: true
|
||||
master=true
|
||||
|
||||
[daemon]
|
||||
## Run as daemon
|
||||
## default: true
|
||||
daemon=true
|
||||
|
||||
## Pid file
|
||||
## default: logs/dm.pid
|
||||
pid=/run/dm.pid
|
||||
|
||||
[log]
|
||||
## Log files
|
||||
## Available keys: alert, crit, error, warn, notice, info, debug
|
||||
## default: error=logs/error.log
|
||||
#alert=logs/error.log
|
||||
crit=logs/crit.log
|
||||
error=logs/error.log
|
||||
#warn=logs/error.log
|
||||
#notice=logs/error.log
|
||||
#info=logs/error.log
|
||||
#debug=logs/debug.log
|
||||
|
||||
## HTTP (Server) config section
|
||||
[server]
|
||||
## Listen address
|
||||
## default: 0.0.0.0
|
||||
listen=127.0.0.1
|
||||
|
||||
## Listen port number
|
||||
## default: 4999
|
||||
port=4999
|
||||
|
||||
## Connection timeout
|
||||
## default: 5000
|
||||
timeout=5000
|
||||
|
||||
## Default web server file path
|
||||
root=www
|
||||
|
||||
## Access log file
|
||||
log=logs/access.log
|
||||
|
||||
[module]
|
||||
## Module Bitcoin address
|
||||
## default: empty
|
||||
address=
|
||||
|
||||
## OAuth2 configuration file
|
||||
## default: service.json
|
||||
oauth2=oauth2/service.json
|
||||
|
||||
## Module transaction fee as a percentage of the deal amount
|
||||
## ATTENTION: If the value is specified as a percentage, you MUST indicate the sign “%”,
|
||||
## otherwise it will be a FIXED value in satoshi.
|
||||
## default: 0.1%
|
||||
#fee=
|
||||
|
||||
[pgp]
|
||||
## Path to PGP private file key
|
||||
## default: empty
|
||||
private=
|
||||
|
||||
## Path to PGP public file key
|
||||
## default: empty
|
||||
public=
|
||||
|
||||
## PGP passphrase
|
||||
## default: empty
|
||||
passphrase=
|
||||
2
conf/oauth2.conf
Normal file
2
conf/oauth2.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
[providers]
|
||||
default = default.json
|
||||
19
conf/oauth2/default.json
Normal file
19
conf/oauth2/default.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"web": {
|
||||
"issuers": ["accounts.bitdeals.com"],
|
||||
"scopes": ["api","openid","profile","email"],
|
||||
"client_id": "web-bitdeals.com",
|
||||
"client_secret": "",
|
||||
"algorithm": "HS256",
|
||||
"auth_uri": "/oauth2/authorize",
|
||||
"token_uri": "/oauth2/token",
|
||||
"redirect_uris": [
|
||||
"http://localhost:8080/oauth2/code",
|
||||
"http://localhost:8080/oauth2/callback",
|
||||
"https://bitdeals.com/oauth2/code",
|
||||
"https://bitdeals.com/oauth2/callback",
|
||||
"https://oauthdebugger.com/debug",
|
||||
"https://auth.advancedrestclient.com/oauth-popup.html"
|
||||
]
|
||||
}
|
||||
}
|
||||
2
conf/sites.conf
Normal file
2
conf/sites.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
[hosts]
|
||||
default = default.json
|
||||
4
conf/sites/default.json
Normal file
4
conf/sites/default.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"hosts": ["localhost:4999"],
|
||||
"root": "/etc/dm/www"
|
||||
}
|
||||
Reference in New Issue
Block a user