mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-11 07:44:19 +01:00
* 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>
91 lines
3.8 KiB
Modula-2
91 lines
3.8 KiB
Modula-2
module github.com/ark-network/ark
|
|
|
|
go 1.21.0
|
|
|
|
replace github.com/ark-network/ark/common => ../common
|
|
|
|
require (
|
|
github.com/ark-network/ark/common v0.0.0
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0
|
|
github.com/dgraph-io/badger/v4 v4.2.0
|
|
github.com/go-co-op/gocron v1.37.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/spf13/viper v1.18.2
|
|
github.com/stretchr/testify v1.9.0
|
|
github.com/timshannon/badgerhold/v4 v4.0.3
|
|
github.com/vulpemventures/go-elements v0.5.3
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157
|
|
google.golang.org/grpc v1.64.0
|
|
google.golang.org/protobuf v1.34.1
|
|
)
|
|
|
|
require github.com/stretchr/objx v0.5.2 // indirect
|
|
|
|
require (
|
|
github.com/FactomProject/basen v0.0.0-20150613233007-fe3947df716e // indirect
|
|
github.com/FactomProject/btcutilecc v0.0.0-20130527213604-d3a63a5752ec // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v0.1.9 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
modernc.org/gc/v3 v3.0.0-20240304020402-f0dba7c97c2b // indirect
|
|
modernc.org/libc v1.50.9 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.8.0 // indirect
|
|
modernc.org/strutil v1.2.0 // indirect
|
|
modernc.org/token v1.1.0 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/btcsuite/btcd v0.24.0
|
|
github.com/btcsuite/btcd/btcec/v2 v2.3.3
|
|
github.com/btcsuite/btcd/btcutil v1.1.5
|
|
github.com/btcsuite/btcd/btcutil/psbt v1.1.9
|
|
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
|
|
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect
|
|
github.com/dgraph-io/ristretto v0.1.1 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
|
github.com/golang/glog v1.2.1 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/flatbuffers v24.3.25+incompatible // indirect
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/klauspost/compress v1.17.8 // indirect
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/robfig/cron/v3 v3.0.1 // indirect
|
|
github.com/sagikazarmark/locafero v0.4.0 // indirect
|
|
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
|
|
github.com/sourcegraph/conc v0.3.0 // indirect
|
|
github.com/spf13/afero v1.11.0 // indirect
|
|
github.com/spf13/cast v1.6.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
github.com/vulpemventures/fastsha256 v0.0.0-20160815193821-637e65642941 // indirect
|
|
github.com/vulpemventures/go-bip32 v0.0.0-20200624192635-867c159da4d7
|
|
go.opencensus.io v0.24.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
golang.org/x/crypto v0.23.0 // indirect
|
|
golang.org/x/exp v0.0.0-20240529005216-23cca8864a10 // indirect
|
|
golang.org/x/net v0.25.0
|
|
golang.org/x/sys v0.20.0 // indirect
|
|
golang.org/x/text v0.15.0 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/sqlite v1.29.10
|
|
)
|