mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-16 10:14:22 +01:00
Implements SQLite repositories (#180)
* add sqlite db * add .vscode to gitignore * add vtxo repo * add sqlite repos implementations * add sqlite in db/service * update go.mod * fix sqlite * move sqlite tests to service_test.go + fixes * integration tests using sqlite + properly close statements * implement GetRoundsIds * add "tx" table to store forfeits, connectors and congestion trees * add db max conn = 1 * upsert VTXO + fix onboarding * remove json tags * Fixes * Fix * fix lint * fix config.go * Fix rm config & open db only once * Update makefile --------- Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
This commit is contained in:
@@ -34,8 +34,10 @@ func main() {
|
||||
}
|
||||
|
||||
appConfig := &appconfig.Config{
|
||||
EventDbType: cfg.EventDbType,
|
||||
DbType: cfg.DbType,
|
||||
DbDir: cfg.DbDir,
|
||||
EventDbDir: cfg.DbDir,
|
||||
RoundInterval: cfg.RoundInterval,
|
||||
Network: cfg.Network,
|
||||
SchedulerType: cfg.SchedulerType,
|
||||
|
||||
Reference in New Issue
Block a user