* Remove helper func getCommitmentAddress. This function is only used in one place so removing it does not introduce any duplication. Removing the func also removes the need for errors.Is comparison, which will be very useful in upcoming changes. * Rename apiError to ErrorCode. * Don't use inline type for API errors. * Export webapi errors. * Export webapi request/responses. * Add types module for API requests/responses/errors
69 lines
2.7 KiB
Modula-2
69 lines
2.7 KiB
Modula-2
module github.com/decred/vspd
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
decred.org/dcrwallet/v2 v2.0.9
|
|
github.com/decred/dcrd/blockchain/stake/v4 v4.0.0
|
|
github.com/decred/dcrd/blockchain/v4 v4.1.0
|
|
github.com/decred/dcrd/chaincfg/chainhash v1.0.3
|
|
github.com/decred/dcrd/chaincfg/v3 v3.1.1
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0
|
|
github.com/decred/dcrd/dcrutil/v4 v4.0.0
|
|
github.com/decred/dcrd/hdkeychain/v3 v3.1.0
|
|
github.com/decred/dcrd/rpc/jsonrpc/types/v3 v3.0.0
|
|
github.com/decred/dcrd/txscript/v4 v4.0.0
|
|
github.com/decred/dcrd/wire v1.5.0
|
|
github.com/decred/slog v1.2.0
|
|
github.com/decred/vspd/types v0.0.0-00010101000000-000000000000
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/gin-gonic/gin v1.8.1
|
|
github.com/gorilla/sessions v1.2.1
|
|
github.com/jessevdk/go-flags v1.5.0
|
|
github.com/jrick/bitset v1.0.0
|
|
github.com/jrick/logrotate v1.0.0
|
|
github.com/jrick/wsrpc/v2 v2.3.5
|
|
go.etcd.io/bbolt v1.3.6
|
|
)
|
|
|
|
require (
|
|
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect
|
|
github.com/dchest/siphash v1.2.3 // indirect
|
|
github.com/decred/base58 v1.0.4 // 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.14.0 // indirect
|
|
github.com/go-playground/universal-translator v0.18.0 // indirect
|
|
github.com/go-playground/validator/v10 v10.11.1 // indirect
|
|
github.com/goccy/go-json v0.9.11 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/gorilla/securecookie v1.1.1 // indirect
|
|
github.com/gorilla/websocket v1.5.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/leodido/go-urn v1.2.1 // indirect
|
|
github.com/mattn/go-isatty v0.0.16 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
|
|
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
|
|
github.com/ugorji/go/codec v1.2.7 // indirect
|
|
golang.org/x/crypto v0.3.0 // indirect
|
|
golang.org/x/net v0.2.0 // indirect
|
|
golang.org/x/sys v0.2.0 // indirect
|
|
golang.org/x/text v0.4.0 // indirect
|
|
google.golang.org/protobuf v1.28.1 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
)
|
|
|
|
replace (
|
|
github.com/decred/vspd/types => ./types
|
|
)
|