forked from PoC-Consortium/burstcoin
-
-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathnode.sqlite.properties
More file actions
34 lines (29 loc) · 1.68 KB
/
Copy pathnode.sqlite.properties
File metadata and controls
34 lines (29 loc) · 1.68 KB
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
#### API SERVER ####
API.Listen = 0.0.0.0
API.allowed = *
#### DATABASE ####
# Runs VACUUM and OPTIMIZE for SQLite. Reduces file size
DB.Optimize = on
## Sqlite Journaling Mode
## https://www.sqlite.org/pragma.html#pragma_journal_mode
## Possible Values are: DELETE,TRUNCATE,PERSIST,WAL (default, recommended)
## WAL may occupy up to twice more disc space than others while running the node, but allows read concurrency and usually better performance (see more here: https://www.sqlite.org/wal.html)
## It's highly recommended to use WAL mode during syncing, to dramatically reduce I/O operations and though faster sync times.
## Info: MEMORY journal mode is not supported
# DB.SqliteJournalMode = WAL
## Sqlite synchronous
## https://www.sqlite.org/pragma.html#pragma_synchronous
## Lowering this parameter can increase performance, but decrease reliability.
## FULL (default) is the safest, but NORMAL should be also fine for running a local node.
## Setting this to OFF could lead to database corruption on opertaing system crash or power loss!
# DB.SqliteSynchronous = NORMAL
## Sqlite cache_size
## https://www.sqlite.org/pragma.html#pragma_cache_size
## Positive value sets the number of cache pages to use (default page size is 4096 bytes).
## Negative value sets the memory in bytes to be used, while positive values determines the number of pages to be used, each page is 4096 bytes. Recommendation is the use of negative values, as it gives definitive answer on used RAM
## Increasing this the number of cache pages can increase performance at the cost of memory usage.
# DB.SqliteCacheSize =-131072
# Database connection JDBC url
DB.Url=jdbc:sqlite:file:./db/signum.sqlite.db
DB.Username=
DB.Password=