diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7df88d2..eb9d06d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [1.16, 1.17] + go: [1.17, 1.18] steps: - name: Set up Go uses: actions/setup-go@v2 @@ -21,5 +21,5 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v2 with: - version: v1.44 + version: v1.45.2 diff --git a/.gitignore b/.gitignore index b89c6e9..22fc5fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,13 @@ *.exe vspd + +# Testing, profiling, and benchmarking artifacts +cov.out +*cpu.out +*mem.out /database/test.db /database/test.db-backup + +# Go 1.18 workspace +go.work +go.work.sum diff --git a/README.md b/README.md index 3184dac..862d068 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ VSP will add the ticket to a pool of always-online voting wallets. ## Implementation -vspd is built and tested on go 1.16 and 1.17, making use of the following +vspd is built and tested on go 1.17 and 1.18, making use of the following libraries: - [gin-gonic/gin](https://github.com/gin-gonic/gin) webserver. diff --git a/go.mod b/go.mod index eccd319..70cca3b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/decred/vspd -go 1.16 +go 1.17 require ( decred.org/dcrwallet/v2 v2.0.1 @@ -24,3 +24,37 @@ require ( github.com/jrick/wsrpc/v2 v2.3.4 go.etcd.io/bbolt v1.3.6 ) + +require ( + github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect + github.com/dchest/siphash v1.2.2 // indirect + github.com/decred/base58 v1.0.3 // indirect + github.com/decred/dcrd/blockchain/standalone/v2 v2.1.0 // indirect + github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect + github.com/decred/dcrd/crypto/ripemd160 v1.0.1 // indirect + github.com/decred/dcrd/database/v3 v3.0.0 // indirect + github.com/decred/dcrd/dcrec v1.0.0 // indirect + github.com/decred/dcrd/dcrec/edwards/v2 v2.0.2 // indirect + github.com/decred/dcrd/dcrjson/v4 v4.0.0 // indirect + github.com/decred/dcrd/gcs/v3 v3.0.0 // indirect + github.com/decred/dcrd/lru v1.1.1 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.13.0 // indirect + github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/go-playground/validator/v10 v10.4.1 // indirect + github.com/golang/protobuf v1.4.2 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/gorilla/securecookie v1.1.1 // indirect + github.com/gorilla/websocket v1.4.2 // indirect + github.com/json-iterator/go v1.1.9 // indirect + github.com/leodido/go-urn v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect + github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect + github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect + github.com/ugorji/go/codec v1.1.7 // indirect + golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 // indirect + golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect + google.golang.org/protobuf v1.23.0 // indirect + gopkg.in/yaml.v2 v2.3.0 // indirect +) diff --git a/signal_unix.go b/signal_unix.go index 5f0b7ce..d92fbf2 100644 --- a/signal_unix.go +++ b/signal_unix.go @@ -4,7 +4,6 @@ // license that can be found in the LICENSE file. //go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris -// +build darwin dragonfly freebsd linux netbsd openbsd solaris package main