-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapplication.properties
156 lines (156 loc) · 5.06 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# Development settings
spring.profiles.active=default
# Database JDBC path. For in memory database use
#
# spring.datasource.url=jdbc:h2:mem:testdb
#
# If you need to connect to it using external tool like IntelliJ use file based database:
#
# spring.datasource.url=jdbc:h2:file:/path/to/db
#
spring.jpa.hibernate.ddl-auto=none
spring.datasource.url=jdbc:h2:mem:testdb
spring.h2.console.path=/h2-console
# Database schema generation method:
# https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html
spring.jpa.generate-ddl=true
# Logging Settings
# Multiple entries with package path can be used, i.e.
#
# logging.level.root=ERROR
# logging.level.com.coinblesk=DEBUG
# logging.level.org.bitcoinj.Wallet=ALL
#
# Order of log levels:
#
# ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
#
logging.level.root=INFO
# External URL of backend. Used for links in emails. Example:
#
# coinblesk.url=https://coinblesk.csg.uzh.ch/
#
coinblesk.url=http://localhost:8080/
# External URL of frontend. Used for links in emails. Example:
#
# coinblesk.url=https://coinblesk.csg.uzh.ch/
#
coinblesk.frontendUrl=http://localhost:9090/#/
# Path for saving wallet files and block chain storage
#
# coinblesk.config.dir=/var/coinblesk
#
coinblesk.config.dir=./build/coinblesk
# Default version for the API that should be used if not defined by a header.
#
# coinblesk.defaultApiVersion=v3+json
#
coinblesk.defaultApiVersion=v3+json
# Minimum time that a locktime of a time locked address must be in the future in seconds
#
# coinblesk.minimumLockTimeSeconds=3600 (1 hours)
#
coinblesk.minimumLockTimeSeconds=3600
# Maximum time that a locktime of a time locked address can be in the future in days
#
# coinblesk.maximumLockTimeDays=365 (1 year)
#
coinblesk.maximumLockTimeDays=365
# Maximum amount in USD that is allowed in a channel
#
# coinblesk.maximumChannelAmountUSD=200
#
coinblesk.maximumChannelAmountUSD=100
# Time in seconds between checks for closing soon unlocked channels.
#
# coinblesk.closeSchedulerInterval=1
#
coinblesk.closeSchedulerInterval=60
# Secret for signing the JWT. getBytes() is used for the actual key. Should be long and random for production and short
# and concise for debugging purposes on development. For debugging use: https://jwt.io/#debugger-io
#
# security.jwt.secret=S_:hXx]a8fq3k&uJwHyhhgXnqqDn<M8pZ+e+|;piLUs\NJ!Yx,'t!#0'Fl_Prq/
#
security.jwt.secret=bitcoin
# Validity of JWT in seconds until expiration. The expiration should be short for admin users and longer for users.
#
# security.jwt.validityInSeconds=604800 (1 week)
# security.jwt.adminValidityInSeconds=3600 (1 hour)
# security.jwt.adminValidityInSeconds=31536000 (1 year)
#
security.jwt.validityInSeconds=31536000
security.jwt.adminValidityInSeconds=31536000
# The bitcoin net to use by BitcoinJ. Possible values: mainnet, testnet, unittest, regtest
#
# bitcoin.net=unittest
#
bitcoin.net=unittest
# The node that we first try to connect to.
#
# bitcoin.firstSeedNode=bitcoin4-fullnode.csg.uzh.ch
#
bitcoin.firstSeedNode=bitcoin4-fullnode.csg.uzh.ch
# Number blocks for confirmations needed for a transaction.
#
# bitcoin.minconf=3
#
bitcoin.minconf=1
# Private key for wallet. Set this for development and unit testing. In production should be overwritten at start time
# by a command line argument:
#
# java -jar coinblesk.jar --bitcoin.potprivkey=xxxxxxx
#
# or by an environment variable
#
# BITCOIN_POTPRIVKEY=xxxx java -jar coinblesk.jar
#
bitcoin.potprivkey=97324063353421115888582782536755703931560774174498831848725083330146537953701
# Private key for micro payment pot.
# Set this for development and unit testing. In production should be overwritten at start time
# by a command line argument:
#
# java -jar coinblesk.jar --bitcoin.potprivkey=xxxxxxx
#
# or by an environment variable
#
# BITCOIN_MICROPAYMENTPOTPRIVKEY=xxxx java -jar coinblesk.jar
#
bitcoin.micropaymentpotprivkey=48953627684624741961164781897117863721023833008440974987657171807449544109904
# Creation time of the wallet pot in epoch seconds. Used for checkpointing optimization at initial chain download.
#
# bitcoin.potcreationtime=1486638252
#
# Thu, 09 Feb 2017 11:04:12 GMT
bitcoin.potCreationTime=1486638252
# Enable or disable sending of email. Useful for development, since SMTP server might not be available
#
# email.enabled=true
#
email.enabled=false
# SMTP settings for sending emails
#
# email.host=localhost
# email.port=25
# email.auth=false
# email.starttls=false
# email.debug=false
# email.trust=localhost (For SSL & self signed certificates, can be set to '*')
# email.username=
# email.password=
#
email.host=localhost
email.protocol=smtp
email.port=25
email.auth=false
email.starttls=false
email.debug=false
email.trust=
email.username=
email.password=
# Admin email address for warning related emails and sender address for activation/password recovery emails.
#
# email.admin=bocek@ifi.uzh.ch
# email.sendfrom=bitcoin@csg.uzh.ch
#
email.admin=bocek@ifi.uzh.ch
email.sendfrom=bitcoin@csg.uzh.ch