diff --git a/README.md b/README.md index e43996272..af6e82304 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ https://decred.org/downloads/ ### Build from source (all platforms) -- **Install Go 1.21 or 1.22** +- **Install Go 1.22 or 1.23** Installation instructions can be found here: https://golang.org/doc/install. Ensure Go was installed properly and is a supported version: @@ -91,13 +91,13 @@ https://decred.org/downloads/ to download, build, and install without needing to clone the repo. Run: ```sh - $ go install decred.org/dcrwallet/v4@master + $ go install decred.org/dcrwallet/v5@master ``` to build the latest master branch, or: ```sh - $ go install decred.org/dcrwallet/v3@latest + $ go install decred.org/dcrwallet/v4@latest ``` for the latest released version. diff --git a/chain/sync.go b/chain/sync.go index 41fff3262..82f16fad7 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -17,10 +17,10 @@ import ( "sync/atomic" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/rpc/client/dcrd" - "decred.org/dcrwallet/v4/validate" - "decred.org/dcrwallet/v4/wallet" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/rpc/client/dcrd" + "decred.org/dcrwallet/v5/validate" + "decred.org/dcrwallet/v5/wallet" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/crypto/blake256" diff --git a/cmd/movefunds/main.go b/cmd/movefunds/main.go index 13c08a068..c17a1288a 100644 --- a/cmd/movefunds/main.go +++ b/cmd/movefunds/main.go @@ -23,8 +23,8 @@ import ( "fmt" "os" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" - "decred.org/dcrwallet/v4/wallet/txauthor" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/wallet/txauthor" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" diff --git a/cmd/sweepaccount/main.go b/cmd/sweepaccount/main.go index 76f373c2f..5dffbeab5 100644 --- a/cmd/sweepaccount/main.go +++ b/cmd/sweepaccount/main.go @@ -15,9 +15,9 @@ import ( "os" "path/filepath" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" - "decred.org/dcrwallet/v4/wallet/txauthor" - "decred.org/dcrwallet/v4/wallet/txrules" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/wallet/txauthor" + "decred.org/dcrwallet/v5/wallet/txrules" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" diff --git a/config.go b/config.go index 4cdd661b1..714c92da5 100644 --- a/config.go +++ b/config.go @@ -18,13 +18,13 @@ import ( "strings" "decred.org/cspp/v2/solverrpc" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/cfgutil" - "decred.org/dcrwallet/v4/internal/loggers" - "decred.org/dcrwallet/v4/internal/netparams" - "decred.org/dcrwallet/v4/version" - "decred.org/dcrwallet/v4/wallet" - "decred.org/dcrwallet/v4/wallet/txrules" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/cfgutil" + "decred.org/dcrwallet/v5/internal/loggers" + "decred.org/dcrwallet/v5/internal/netparams" + "decred.org/dcrwallet/v5/version" + "decred.org/dcrwallet/v5/wallet" + "decred.org/dcrwallet/v5/wallet/txrules" "github.com/decred/dcrd/connmgr/v3" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/txscript/v4/stdaddr" diff --git a/dcrwallet.go b/dcrwallet.go index d4552b283..c6ff9fd30 100644 --- a/dcrwallet.go +++ b/dcrwallet.go @@ -18,18 +18,18 @@ import ( "runtime/pprof" "time" - "decred.org/dcrwallet/v4/chain" - "decred.org/dcrwallet/v4/errors" - ldr "decred.org/dcrwallet/v4/internal/loader" - "decred.org/dcrwallet/v4/internal/loggers" - "decred.org/dcrwallet/v4/internal/prompt" - "decred.org/dcrwallet/v4/internal/rpc/rpcserver" - "decred.org/dcrwallet/v4/p2p" - "decred.org/dcrwallet/v4/spv" - "decred.org/dcrwallet/v4/ticketbuyer" - "decred.org/dcrwallet/v4/version" - "decred.org/dcrwallet/v4/vsp" - "decred.org/dcrwallet/v4/wallet" + "decred.org/dcrwallet/v5/chain" + "decred.org/dcrwallet/v5/errors" + ldr "decred.org/dcrwallet/v5/internal/loader" + "decred.org/dcrwallet/v5/internal/loggers" + "decred.org/dcrwallet/v5/internal/prompt" + "decred.org/dcrwallet/v5/internal/rpc/rpcserver" + "decred.org/dcrwallet/v5/p2p" + "decred.org/dcrwallet/v5/spv" + "decred.org/dcrwallet/v5/ticketbuyer" + "decred.org/dcrwallet/v5/version" + "decred.org/dcrwallet/v5/vsp" + "decred.org/dcrwallet/v5/wallet" "github.com/decred/dcrd/addrmgr/v2" "github.com/decred/dcrd/wire" ) diff --git a/deployments/deployments.go b/deployments/deployments.go index bc1263e1c..e94c1ab1f 100644 --- a/deployments/deployments.go +++ b/deployments/deployments.go @@ -7,7 +7,7 @@ package deployments import ( "context" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/chaincfg/v3" dcrdtypes "github.com/decred/dcrd/rpc/jsonrpc/types/v4" "github.com/decred/dcrd/wire" diff --git a/go.mod b/go.mod index c060a3e38..9a7c48f7b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module decred.org/dcrwallet/v4 +module decred.org/dcrwallet/v5 -go 1.20 +go 1.22 require ( decred.org/cspp/v2 v2.2.0 diff --git a/go.sum b/go.sum index 8866379d6..71fcdf30c 100644 --- a/go.sum +++ b/go.sum @@ -19,6 +19,7 @@ github.com/companyzero/sntrup4591761 v0.0.0-20220309191932-9e0f3af2f07a h1:clYxJ github.com/companyzero/sntrup4591761 v0.0.0-20220309191932-9e0f3af2f07a/go.mod h1:z/9Ck1EDixEbBbZ2KH2qNHekEmDLTOZ+FyoIPWWSVOI= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dchest/siphash v1.2.3 h1:QXwFc8cFOR2dSa/gE6o/HokBMWtLUaNDVd+22aKHeEA= github.com/dchest/siphash v1.2.3/go.mod h1:0NvQU092bT0ipiFN++/rXm69QG9tVxLAlQHIXMPAkHc= github.com/decred/base58 v1.0.5 h1:hwcieUM3pfPnE/6p3J100zoRfGkQxBulZHo7GZfOqic= @@ -105,6 +106,7 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -134,7 +136,9 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= +github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= go.etcd.io/bbolt v1.3.8 h1:xs88BrvEv273UsB79e0hcVrlUWmS0a8upikMFhSyAtA= go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= @@ -218,6 +222,7 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= lukechampine.com/blake3 v1.3.0 h1:sJ3XhFINmHSrYCgl958hscfIa3bw8x4DqMP3u1YvoYE= diff --git a/internal/cfgutil/address.go b/internal/cfgutil/address.go index f64d328b0..0f424f571 100644 --- a/internal/cfgutil/address.go +++ b/internal/cfgutil/address.go @@ -6,7 +6,7 @@ package cfgutil import ( - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/txscript/v4/stdaddr" ) diff --git a/internal/cfgutil/curve.go b/internal/cfgutil/curve.go index 6c2654eb2..986b363fc 100644 --- a/internal/cfgutil/curve.go +++ b/internal/cfgutil/curve.go @@ -11,7 +11,7 @@ import ( "io" "time" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/certgen" ) diff --git a/internal/loader/loader.go b/internal/loader/loader.go index 351ec9b8c..000ea8dab 100644 --- a/internal/loader/loader.go +++ b/internal/loader/loader.go @@ -11,9 +11,9 @@ import ( "path/filepath" "sync" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet" - _ "decred.org/dcrwallet/v4/wallet/drivers/bdb" // driver loaded during init + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet" + _ "decred.org/dcrwallet/v5/wallet/drivers/bdb" // driver loaded during init "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/txscript/v4/stdaddr" diff --git a/internal/loader/vsp.go b/internal/loader/vsp.go index e87068a14..7dd6adb39 100644 --- a/internal/loader/vsp.go +++ b/internal/loader/vsp.go @@ -3,9 +3,9 @@ package loader import ( "sync" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/loggers" - "decred.org/dcrwallet/v4/vsp" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/loggers" + "decred.org/dcrwallet/v5/vsp" ) var vspClients = struct { diff --git a/internal/prompt/prompt.go b/internal/prompt/prompt.go index 34f70bab3..349ec73ed 100644 --- a/internal/prompt/prompt.go +++ b/internal/prompt/prompt.go @@ -16,8 +16,8 @@ import ( "time" "unicode" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/walletseed" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/walletseed" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/hdkeychain/v3" "golang.org/x/term" diff --git a/internal/rpc/jsonrpc/errors.go b/internal/rpc/jsonrpc/errors.go index 94dce0bf0..cc95c9940 100644 --- a/internal/rpc/jsonrpc/errors.go +++ b/internal/rpc/jsonrpc/errors.go @@ -8,7 +8,7 @@ package jsonrpc import ( "fmt" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/dcrjson/v4" "github.com/jrick/wsrpc/v2" ) diff --git a/internal/rpc/jsonrpc/marshaling.go b/internal/rpc/jsonrpc/marshaling.go index 8e1c2b8d6..0b9f48b21 100644 --- a/internal/rpc/jsonrpc/marshaling.go +++ b/internal/rpc/jsonrpc/marshaling.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - "decred.org/dcrwallet/v4/wallet" + "decred.org/dcrwallet/v5/wallet" ) type marshalJSONFunc func() ([]byte, error) diff --git a/internal/rpc/jsonrpc/methods.go b/internal/rpc/jsonrpc/methods.go index 4e4c6c812..0a0a420c4 100644 --- a/internal/rpc/jsonrpc/methods.go +++ b/internal/rpc/jsonrpc/methods.go @@ -20,20 +20,20 @@ import ( "sync" "time" - "decred.org/dcrwallet/v4/chain" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/loader" - "decred.org/dcrwallet/v4/p2p" - "decred.org/dcrwallet/v4/rpc/client/dcrd" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" - "decred.org/dcrwallet/v4/spv" - "decred.org/dcrwallet/v4/version" - "decred.org/dcrwallet/v4/vsp" - "decred.org/dcrwallet/v4/wallet" - "decred.org/dcrwallet/v4/wallet/txauthor" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/txsizes" - "decred.org/dcrwallet/v4/wallet/udb" + "decred.org/dcrwallet/v5/chain" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/loader" + "decred.org/dcrwallet/v5/p2p" + "decred.org/dcrwallet/v5/rpc/client/dcrd" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/spv" + "decred.org/dcrwallet/v5/version" + "decred.org/dcrwallet/v5/vsp" + "decred.org/dcrwallet/v5/wallet" + "decred.org/dcrwallet/v5/wallet/txauthor" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/txsizes" + "decred.org/dcrwallet/v5/wallet/udb" "github.com/decred/dcrd/blockchain/stake/v5" blockchain "github.com/decred/dcrd/blockchain/standalone/v2" "github.com/decred/dcrd/chaincfg/chainhash" diff --git a/internal/rpc/jsonrpc/rpchelp_test.go b/internal/rpc/jsonrpc/rpchelp_test.go index 40b5506b1..9549c15bd 100644 --- a/internal/rpc/jsonrpc/rpchelp_test.go +++ b/internal/rpc/jsonrpc/rpchelp_test.go @@ -19,8 +19,8 @@ import ( "strings" "testing" - "decred.org/dcrwallet/v4/internal/rpchelp" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/internal/rpchelp" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" "github.com/decred/dcrd/dcrjson/v4" ) diff --git a/internal/rpc/jsonrpc/server.go b/internal/rpc/jsonrpc/server.go index 64577942f..7f43675c4 100644 --- a/internal/rpc/jsonrpc/server.go +++ b/internal/rpc/jsonrpc/server.go @@ -19,9 +19,9 @@ import ( "sync/atomic" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/loader" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/loader" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrjson/v4" dcrdtypes "github.com/decred/dcrd/rpc/jsonrpc/types/v4" diff --git a/internal/rpc/rpcserver/server.go b/internal/rpc/rpcserver/server.go index 5280c64b3..a4712ae19 100644 --- a/internal/rpc/rpcserver/server.go +++ b/internal/rpc/rpcserver/server.go @@ -30,21 +30,21 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "decred.org/dcrwallet/v4/chain" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/cfgutil" - "decred.org/dcrwallet/v4/internal/loader" - "decred.org/dcrwallet/v4/internal/netparams" - "decred.org/dcrwallet/v4/p2p" - pb "decred.org/dcrwallet/v4/rpc/walletrpc" - "decred.org/dcrwallet/v4/spv" - "decred.org/dcrwallet/v4/ticketbuyer" - "decred.org/dcrwallet/v4/vsp" - "decred.org/dcrwallet/v4/wallet" - "decred.org/dcrwallet/v4/wallet/txauthor" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/walletseed" + "decred.org/dcrwallet/v5/chain" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/cfgutil" + "decred.org/dcrwallet/v5/internal/loader" + "decred.org/dcrwallet/v5/internal/netparams" + "decred.org/dcrwallet/v5/p2p" + pb "decred.org/dcrwallet/v5/rpc/walletrpc" + "decred.org/dcrwallet/v5/spv" + "decred.org/dcrwallet/v5/ticketbuyer" + "decred.org/dcrwallet/v5/vsp" + "decred.org/dcrwallet/v5/wallet" + "decred.org/dcrwallet/v5/wallet/txauthor" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/walletseed" "github.com/decred/dcrd/addrmgr/v2" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" diff --git a/internal/rpchelp/genrpcserverhelp.go b/internal/rpchelp/genrpcserverhelp.go index f761cf541..1f5348417 100644 --- a/internal/rpchelp/genrpcserverhelp.go +++ b/internal/rpchelp/genrpcserverhelp.go @@ -13,8 +13,8 @@ import ( "os" "strings" - "decred.org/dcrwallet/v4/internal/rpchelp" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/internal/rpchelp" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" "github.com/decred/dcrd/dcrjson/v4" ) diff --git a/internal/rpchelp/methods.go b/internal/rpchelp/methods.go index 8572da904..623408337 100644 --- a/internal/rpchelp/methods.go +++ b/internal/rpchelp/methods.go @@ -8,7 +8,7 @@ package rpchelp import ( - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" dcrdtypes "github.com/decred/dcrd/rpc/jsonrpc/types/v4" ) diff --git a/ipc.go b/ipc.go index 0d05c3b99..bba8cb359 100644 --- a/ipc.go +++ b/ipc.go @@ -12,7 +12,7 @@ import ( "io" "os" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" ) // Messages sent over a pipe are encoded using a simple binary message format: diff --git a/log.go b/log.go index c29f789f3..b6e205bd9 100644 --- a/log.go +++ b/log.go @@ -8,16 +8,16 @@ package main import ( "os" - "decred.org/dcrwallet/v4/chain" - "decred.org/dcrwallet/v4/internal/loader" - "decred.org/dcrwallet/v4/internal/loggers" - "decred.org/dcrwallet/v4/internal/rpc/jsonrpc" - "decred.org/dcrwallet/v4/internal/rpc/rpcserver" - "decred.org/dcrwallet/v4/p2p" - "decred.org/dcrwallet/v4/spv" - "decred.org/dcrwallet/v4/ticketbuyer" - "decred.org/dcrwallet/v4/wallet" - "decred.org/dcrwallet/v4/wallet/udb" + "decred.org/dcrwallet/v5/chain" + "decred.org/dcrwallet/v5/internal/loader" + "decred.org/dcrwallet/v5/internal/loggers" + "decred.org/dcrwallet/v5/internal/rpc/jsonrpc" + "decred.org/dcrwallet/v5/internal/rpc/rpcserver" + "decred.org/dcrwallet/v5/p2p" + "decred.org/dcrwallet/v5/spv" + "decred.org/dcrwallet/v5/ticketbuyer" + "decred.org/dcrwallet/v5/wallet" + "decred.org/dcrwallet/v5/wallet/udb" "github.com/decred/dcrd/connmgr/v3" "github.com/decred/dcrd/mixing/mixpool" "github.com/decred/slog" diff --git a/p2p/peering.go b/p2p/peering.go index 7e1bec982..13c116921 100644 --- a/p2p/peering.go +++ b/p2p/peering.go @@ -17,9 +17,9 @@ import ( "sync/atomic" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/lru" - "decred.org/dcrwallet/v4/version" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/lru" + "decred.org/dcrwallet/v5/version" "github.com/decred/dcrd/addrmgr/v2" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" diff --git a/params.go b/params.go index 2676c6ec6..f79825517 100644 --- a/params.go +++ b/params.go @@ -5,6 +5,6 @@ package main -import "decred.org/dcrwallet/v4/internal/netparams" +import "decred.org/dcrwallet/v5/internal/netparams" var activeNet = &netparams.MainNetParams diff --git a/pgpwordlist/pgpwordlist.go b/pgpwordlist/pgpwordlist.go index 1b70e3fed..29adf7c06 100644 --- a/pgpwordlist/pgpwordlist.go +++ b/pgpwordlist/pgpwordlist.go @@ -19,7 +19,7 @@ package pgpwordlist import ( "strings" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" ) // ByteToMnemonic returns the PGP word list encoding of b when found at index. diff --git a/rpc/api.proto b/rpc/api.proto index 4fc517e07..a86e27d4a 100644 --- a/rpc/api.proto +++ b/rpc/api.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package walletrpc; -option go_package = "decred.org/dcrwallet/rpc/walletrpc"; +option go_package = "decred.org/dcrwallet/v5/rpc/walletrpc"; service VersionService { rpc Version (VersionRequest) returns (VersionResponse); diff --git a/rpc/client/dcrd/calls.go b/rpc/client/dcrd/calls.go index 7c5524522..8c0735f64 100644 --- a/rpc/client/dcrd/calls.go +++ b/rpc/client/dcrd/calls.go @@ -13,7 +13,7 @@ import ( "fmt" "strings" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/gcs/v4" diff --git a/rpc/client/dcrd/json.go b/rpc/client/dcrd/json.go index ada223302..3799f00e5 100644 --- a/rpc/client/dcrd/json.go +++ b/rpc/client/dcrd/json.go @@ -11,7 +11,7 @@ import ( "io" "strings" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/gcs/v4" blockcf "github.com/decred/dcrd/gcs/v4/blockcf2" diff --git a/rpc/client/dcrd/notifications.go b/rpc/client/dcrd/notifications.go index 57d166e03..7104f693f 100644 --- a/rpc/client/dcrd/notifications.go +++ b/rpc/client/dcrd/notifications.go @@ -7,7 +7,7 @@ package dcrd import ( "encoding/json" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/mixing" "github.com/decred/dcrd/wire" diff --git a/rpc/client/dcrwallet/methods.go b/rpc/client/dcrwallet/methods.go index 37bc5fff7..eafe2c566 100644 --- a/rpc/client/dcrwallet/methods.go +++ b/rpc/client/dcrwallet/methods.go @@ -11,7 +11,7 @@ import ( "encoding/json" "strings" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/hdkeychain/v3" diff --git a/rpc/client/dcrwallet/methods_test.go b/rpc/client/dcrwallet/methods_test.go index f65871f33..017f354a0 100644 --- a/rpc/client/dcrwallet/methods_test.go +++ b/rpc/client/dcrwallet/methods_test.go @@ -9,7 +9,7 @@ import ( "encoding/json" "testing" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/wire" ) diff --git a/rpc/documentation/clientusage.md b/rpc/documentation/clientusage.md index 2b7fea4a8..62c7c3525 100644 --- a/rpc/documentation/clientusage.md +++ b/rpc/documentation/clientusage.md @@ -56,7 +56,7 @@ import ( "os" "path/filepath" - pb "decred.org/dcrwallet/v4/rpc/walletrpc" + pb "decred.org/dcrwallet/v5/rpc/walletrpc" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/rpc/grpc_example/main.go b/rpc/grpc_example/main.go index 623404b5b..f0b48d706 100644 --- a/rpc/grpc_example/main.go +++ b/rpc/grpc_example/main.go @@ -13,7 +13,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - pb "decred.org/dcrwallet/v4/rpc/walletrpc" + pb "decred.org/dcrwallet/v5/rpc/walletrpc" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/protobuf/encoding/prototext" diff --git a/rpc/rpc_example/main.go b/rpc/rpc_example/main.go index 16d779b9f..0eec26345 100644 --- a/rpc/rpc_example/main.go +++ b/rpc/rpc_example/main.go @@ -8,8 +8,8 @@ import ( "os" "path/filepath" - "decred.org/dcrwallet/v4/rpc/client/dcrwallet" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/rpc/client/dcrwallet" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/rpcclient/v8" diff --git a/rpc/walletrpc/api.pb.go b/rpc/walletrpc/api.pb.go index 1ac36c316..c3896843e 100644 --- a/rpc/walletrpc/api.pb.go +++ b/rpc/walletrpc/api.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 -// protoc v4.25.3 +// protoc v5.27.3 // source: api.proto package walletrpc @@ -17645,10 +17645,10 @@ var file_api_proto_rawDesc = []byte{ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x61, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x24, 0x5a, 0x22, 0x64, 0x65, 0x63, 0x72, 0x65, 0x64, 0x2e, 0x6f, - 0x72, 0x67, 0x2f, 0x64, 0x63, 0x72, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x72, 0x70, 0x63, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x25, 0x64, 0x65, 0x63, 0x72, 0x65, 0x64, 0x2e, 0x6f, + 0x72, 0x67, 0x2f, 0x64, 0x63, 0x72, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x76, 0x35, 0x2f, + 0x72, 0x70, 0x63, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/rpc/walletrpc/api_grpc.pb.go b/rpc/walletrpc/api_grpc.pb.go index 982e2400a..21c762128 100644 --- a/rpc/walletrpc/api_grpc.pb.go +++ b/rpc/walletrpc/api_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v4.25.3 +// - protoc v5.27.3 // source: api.proto package walletrpc diff --git a/rpcserver.go b/rpcserver.go index ccff4fa89..80dba082f 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -21,12 +21,12 @@ import ( "strings" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/cfgutil" - "decred.org/dcrwallet/v4/internal/loader" - "decred.org/dcrwallet/v4/internal/loggers" - "decred.org/dcrwallet/v4/internal/rpc/jsonrpc" - "decred.org/dcrwallet/v4/internal/rpc/rpcserver" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/cfgutil" + "decred.org/dcrwallet/v5/internal/loader" + "decred.org/dcrwallet/v5/internal/loggers" + "decred.org/dcrwallet/v5/internal/rpc/jsonrpc" + "decred.org/dcrwallet/v5/internal/rpc/rpcserver" "github.com/decred/dcrd/crypto/rand" "google.golang.org/grpc" diff --git a/spv/backend.go b/spv/backend.go index 38b4b9216..4a6d90397 100644 --- a/spv/backend.go +++ b/spv/backend.go @@ -11,10 +11,10 @@ import ( "sync" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/p2p" - "decred.org/dcrwallet/v4/validate" - "decred.org/dcrwallet/v4/wallet" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/p2p" + "decred.org/dcrwallet/v5/validate" + "decred.org/dcrwallet/v5/wallet" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/gcs/v4" diff --git a/spv/sync.go b/spv/sync.go index 13e35cdc7..705079e63 100644 --- a/spv/sync.go +++ b/spv/sync.go @@ -12,11 +12,11 @@ import ( "sync/atomic" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/lru" - "decred.org/dcrwallet/v4/p2p" - "decred.org/dcrwallet/v4/validate" - "decred.org/dcrwallet/v4/wallet" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/lru" + "decred.org/dcrwallet/v5/p2p" + "decred.org/dcrwallet/v5/validate" + "decred.org/dcrwallet/v5/wallet" "github.com/decred/dcrd/addrmgr/v2" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" diff --git a/ticketbuyer/tb.go b/ticketbuyer/tb.go index 6938c92bc..20d572536 100644 --- a/ticketbuyer/tb.go +++ b/ticketbuyer/tb.go @@ -9,9 +9,9 @@ import ( "runtime/trace" "sync" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/vsp" - "decred.org/dcrwallet/v4/wallet" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/vsp" + "decred.org/dcrwallet/v5/wallet" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/txscript/v4/stdaddr" "github.com/decred/dcrd/wire" diff --git a/validate/validate.go b/validate/validate.go index 47a4af2b3..ab1c01f2d 100644 --- a/validate/validate.go +++ b/validate/validate.go @@ -8,7 +8,7 @@ Package validate provides context-free consensus validation. package validate import ( - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" blockchain "github.com/decred/dcrd/blockchain/standalone/v2" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/gcs/v4" diff --git a/version/version.go b/version/version.go index 54bcdad79..56e74e866 100644 --- a/version/version.go +++ b/version/version.go @@ -27,7 +27,7 @@ const Integer = 1000000*Major + 10000*Minor + 100*Patch // PreRelease contains the prerelease name of the application. It is a variable // so it can be modified at link time (e.g. -// `-ldflags "-X decred.org/dcrwallet/v4/version.PreRelease=rc1"`). +// `-ldflags "-X decred.org/dcrwallet/v5/version.PreRelease=rc1"`). // It must only contain characters from the semantic version alphabet. var PreRelease = "pre" diff --git a/vsp/feepayment.go b/vsp/feepayment.go index d9e50f008..7d70e29af 100644 --- a/vsp/feepayment.go +++ b/vsp/feepayment.go @@ -13,7 +13,7 @@ import ( "sync" "time" - "decred.org/dcrwallet/v4/wallet" + "decred.org/dcrwallet/v5/wallet" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/crypto/rand" diff --git a/vsp/vsp.go b/vsp/vsp.go index f61800046..800920316 100644 --- a/vsp/vsp.go +++ b/vsp/vsp.go @@ -13,9 +13,9 @@ import ( "net/url" "sync" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet" - "decred.org/dcrwallet/v4/wallet/udb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet" + "decred.org/dcrwallet/v5/wallet/udb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" diff --git a/wallet/addresses.go b/wallet/addresses.go index 45487c592..fc93bd510 100644 --- a/wallet/addresses.go +++ b/wallet/addresses.go @@ -9,11 +9,11 @@ import ( "encoding/binary" "runtime/trace" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/compat" - "decred.org/dcrwallet/v4/wallet/txsizes" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/compat" + "decred.org/dcrwallet/v5/wallet/txsizes" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/hdkeychain/v3" diff --git a/wallet/addresses_test.go b/wallet/addresses_test.go index d4eb60050..98cc277b3 100644 --- a/wallet/addresses_test.go +++ b/wallet/addresses_test.go @@ -10,7 +10,7 @@ import ( "encoding/hex" "testing" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/txscript/v4/stdaddr" ) diff --git a/wallet/chainntfns.go b/wallet/chainntfns.go index 56a65c8d5..260eb10a7 100644 --- a/wallet/chainntfns.go +++ b/wallet/chainntfns.go @@ -10,11 +10,11 @@ import ( "math/big" "time" - "decred.org/dcrwallet/v4/deployments" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/deployments" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" blockchain "github.com/decred/dcrd/blockchain/standalone/v2" "github.com/decred/dcrd/chaincfg/chainhash" diff --git a/wallet/checkpoints.go b/wallet/checkpoints.go index 6c2ca65f3..2f6008be3 100644 --- a/wallet/checkpoints.go +++ b/wallet/checkpoints.go @@ -5,8 +5,8 @@ package wallet import ( - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/wire" ) diff --git a/wallet/cointype.go b/wallet/cointype.go index f118f9863..06183fc3b 100644 --- a/wallet/cointype.go +++ b/wallet/cointype.go @@ -7,9 +7,9 @@ package wallet import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/hdkeychain/v3" ) diff --git a/wallet/createtx.go b/wallet/createtx.go index d9246167a..e230713db 100644 --- a/wallet/createtx.go +++ b/wallet/createtx.go @@ -11,13 +11,13 @@ import ( "sort" "time" - "decred.org/dcrwallet/v4/deployments" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/txauthor" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/txsizes" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/deployments" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/txauthor" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/txsizes" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" blockchain "github.com/decred/dcrd/blockchain/standalone/v2" "github.com/decred/dcrd/chaincfg/chainhash" diff --git a/wallet/db.go b/wallet/db.go index e788068c2..97d6b6694 100644 --- a/wallet/db.go +++ b/wallet/db.go @@ -7,8 +7,8 @@ package wallet import ( "io" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" ) // DB represents an ACID database for a wallet. diff --git a/wallet/difficulty.go b/wallet/difficulty.go index 9a3d1c0d2..b1bde0fb2 100644 --- a/wallet/difficulty.go +++ b/wallet/difficulty.go @@ -13,9 +13,9 @@ import ( "math/big" "time" - "decred.org/dcrwallet/v4/deployments" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/deployments" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" blockchain "github.com/decred/dcrd/blockchain/standalone/v2" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" diff --git a/wallet/discovery.go b/wallet/discovery.go index 2b2f38cad..464e9d70a 100644 --- a/wallet/discovery.go +++ b/wallet/discovery.go @@ -10,10 +10,10 @@ import ( "runtime" "sync" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/validate" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/validate" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/gcs/v4/blockcf2" diff --git a/wallet/discovery_test.go b/wallet/discovery_test.go index c589a7594..6bf25411b 100644 --- a/wallet/discovery_test.go +++ b/wallet/discovery_test.go @@ -8,7 +8,7 @@ import ( "context" "testing" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/wallet/walletdb" ) // TestDiscoveryCursorPos tests that the account cursor index is not reset diff --git a/wallet/drivers/bdb/driver.go b/wallet/drivers/bdb/driver.go index 2bbf74c34..cf37612bc 100644 --- a/wallet/drivers/bdb/driver.go +++ b/wallet/drivers/bdb/driver.go @@ -13,4 +13,4 @@ // if err != nil { /* handle error */ } package bdb -import _ "decred.org/dcrwallet/v4/wallet/internal/bdb" // Register bdb driver during init +import _ "decred.org/dcrwallet/v5/wallet/internal/bdb" // Register bdb driver during init diff --git a/wallet/internal/bdb/db.go b/wallet/internal/bdb/db.go index 2e570b3fd..499938375 100644 --- a/wallet/internal/bdb/db.go +++ b/wallet/internal/bdb/db.go @@ -9,8 +9,8 @@ import ( "io" "os" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" bolt "go.etcd.io/bbolt" ) diff --git a/wallet/internal/bdb/driver.go b/wallet/internal/bdb/driver.go index 26630049d..81155ccf6 100644 --- a/wallet/internal/bdb/driver.go +++ b/wallet/internal/bdb/driver.go @@ -8,8 +8,8 @@ package bdb import ( "fmt" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" ) const ( diff --git a/wallet/internal/bdb/driver_test.go b/wallet/internal/bdb/driver_test.go index cbb4a31e7..ea4eaa845 100644 --- a/wallet/internal/bdb/driver_test.go +++ b/wallet/internal/bdb/driver_test.go @@ -12,9 +12,9 @@ import ( "os" "testing" - "decred.org/dcrwallet/v4/errors" - _ "decred.org/dcrwallet/v4/wallet/internal/bdb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + _ "decred.org/dcrwallet/v5/wallet/internal/bdb" + "decred.org/dcrwallet/v5/wallet/walletdb" ) // dbType is the database type name for this driver. diff --git a/wallet/internal/bdb/interface_test.go b/wallet/internal/bdb/interface_test.go index 9ae22504e..8ff434299 100644 --- a/wallet/internal/bdb/interface_test.go +++ b/wallet/internal/bdb/interface_test.go @@ -22,8 +22,8 @@ import ( "os" "testing" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" ) // errSubTestFail is used to signal that a sub test returned false. diff --git a/wallet/internal/snacl/snacl.go b/wallet/internal/snacl/snacl.go index f6a1e2211..9c5a67b62 100644 --- a/wallet/internal/snacl/snacl.go +++ b/wallet/internal/snacl/snacl.go @@ -10,7 +10,7 @@ import ( "encoding/binary" "runtime/debug" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/crypto/rand" "golang.org/x/crypto/nacl/secretbox" "golang.org/x/crypto/scrypt" diff --git a/wallet/internal/snacl/snacl_test.go b/wallet/internal/snacl/snacl_test.go index bcb1e75da..6e9d74db2 100644 --- a/wallet/internal/snacl/snacl_test.go +++ b/wallet/internal/snacl/snacl_test.go @@ -8,7 +8,7 @@ import ( "bytes" "testing" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" ) var ( diff --git a/wallet/locking_test.go b/wallet/locking_test.go index b114ada75..235eac06b 100644 --- a/wallet/locking_test.go +++ b/wallet/locking_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" ) func TestLocking(t *testing.T) { diff --git a/wallet/mixing.go b/wallet/mixing.go index ac635bcb6..aa031a838 100644 --- a/wallet/mixing.go +++ b/wallet/mixing.go @@ -7,11 +7,11 @@ package wallet import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/txsizes" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/txsizes" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrec" diff --git a/wallet/multisig.go b/wallet/multisig.go index 46b0889a1..8d8bd408e 100644 --- a/wallet/multisig.go +++ b/wallet/multisig.go @@ -7,11 +7,11 @@ package wallet import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/txsizes" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/txsizes" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/txscript/v4/stdaddr" "github.com/decred/dcrd/wire" ) diff --git a/wallet/network.go b/wallet/network.go index 0ed55942a..511dbb587 100644 --- a/wallet/network.go +++ b/wallet/network.go @@ -7,7 +7,7 @@ package wallet import ( "context" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/gcs/v4" diff --git a/wallet/notifications.go b/wallet/notifications.go index eeb9408d8..094fb4951 100644 --- a/wallet/notifications.go +++ b/wallet/notifications.go @@ -10,10 +10,10 @@ import ( "context" "sync" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/compat" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/compat" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil/v4" diff --git a/wallet/rescan.go b/wallet/rescan.go index 8b5ad6d0c..114db9ce1 100644 --- a/wallet/rescan.go +++ b/wallet/rescan.go @@ -9,9 +9,9 @@ import ( "context" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/crypto/ripemd160" "github.com/decred/dcrd/txscript/v4/stdaddr" diff --git a/wallet/setup_test.go b/wallet/setup_test.go index 9519b54c0..37374daba 100644 --- a/wallet/setup_test.go +++ b/wallet/setup_test.go @@ -9,8 +9,8 @@ import ( "os" "testing" - _ "decred.org/dcrwallet/v4/wallet/drivers/bdb" - "decred.org/dcrwallet/v4/wallet/walletdb" + _ "decred.org/dcrwallet/v5/wallet/drivers/bdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" ) diff --git a/wallet/sidechains.go b/wallet/sidechains.go index 38a923017..dd8c4e976 100644 --- a/wallet/sidechains.go +++ b/wallet/sidechains.go @@ -9,8 +9,8 @@ import ( "math/big" "sort" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" blockchain "github.com/decred/dcrd/blockchain/standalone/v2" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" diff --git a/wallet/stakepool.go b/wallet/stakepool.go index 01e6215cb..b66030044 100644 --- a/wallet/stakepool.go +++ b/wallet/stakepool.go @@ -7,9 +7,9 @@ package wallet import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/txscript/v4/stdaddr" ) diff --git a/wallet/tickets.go b/wallet/tickets.go index 6e0416699..ec1f5b848 100644 --- a/wallet/tickets.go +++ b/wallet/tickets.go @@ -7,8 +7,8 @@ package wallet import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" dcrdtypes "github.com/decred/dcrd/rpc/jsonrpc/types/v4" "github.com/decred/dcrd/txscript/v4/stdaddr" diff --git a/wallet/txauthor/author.go b/wallet/txauthor/author.go index d4908e1eb..3e1011361 100644 --- a/wallet/txauthor/author.go +++ b/wallet/txauthor/author.go @@ -7,9 +7,9 @@ package txauthor import ( - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/txsizes" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/txsizes" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/crypto/rand" "github.com/decred/dcrd/dcrutil/v4" diff --git a/wallet/txauthor/author_test.go b/wallet/txauthor/author_test.go index 8ce7bc1af..d7865a8e3 100644 --- a/wallet/txauthor/author_test.go +++ b/wallet/txauthor/author_test.go @@ -8,11 +8,11 @@ package txauthor_test import ( "testing" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/txauthor" - . "decred.org/dcrwallet/v4/wallet/txauthor" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/txsizes" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/txauthor" + . "decred.org/dcrwallet/v5/wallet/txauthor" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/txsizes" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/wire" diff --git a/wallet/txrules/poolfees_test.go b/wallet/txrules/poolfees_test.go index cb8b4c249..c4fb56560 100644 --- a/wallet/txrules/poolfees_test.go +++ b/wallet/txrules/poolfees_test.go @@ -3,7 +3,7 @@ package txrules_test import ( "testing" - . "decred.org/dcrwallet/v4/wallet/txrules" + . "decred.org/dcrwallet/v5/wallet/txrules" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" ) diff --git a/wallet/txrules/rules.go b/wallet/txrules/rules.go index 37e5c6122..6d48c6e3b 100644 --- a/wallet/txrules/rules.go +++ b/wallet/txrules/rules.go @@ -6,7 +6,7 @@ package txrules import ( - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/txscript/v4" "github.com/decred/dcrd/txscript/v4/stdscript" diff --git a/wallet/txsizes/size_test.go b/wallet/txsizes/size_test.go index ba0942616..1acac0ffe 100644 --- a/wallet/txsizes/size_test.go +++ b/wallet/txsizes/size_test.go @@ -3,7 +3,7 @@ package txsizes_test import ( "testing" - . "decred.org/dcrwallet/v4/wallet/txsizes" + . "decred.org/dcrwallet/v5/wallet/txsizes" "github.com/decred/dcrd/wire" ) diff --git a/wallet/udb/addressdb.go b/wallet/udb/addressdb.go index cb305414e..0bd300afc 100644 --- a/wallet/udb/addressdb.go +++ b/wallet/udb/addressdb.go @@ -10,9 +10,9 @@ import ( "encoding/binary" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/kdf" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/kdf" + "decred.org/dcrwallet/v5/wallet/walletdb" ) var ( diff --git a/wallet/udb/addressmanager.go b/wallet/udb/addressmanager.go index 7a65f6b34..745d02439 100644 --- a/wallet/udb/addressmanager.go +++ b/wallet/udb/addressmanager.go @@ -11,11 +11,11 @@ import ( "hash" "sync" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/compat" - "decred.org/dcrwallet/v4/kdf" - "decred.org/dcrwallet/v4/wallet/internal/snacl" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/compat" + "decred.org/dcrwallet/v5/kdf" + "decred.org/dcrwallet/v5/wallet/internal/snacl" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/crypto/rand" "github.com/decred/dcrd/dcrec/secp256k1/v4" diff --git a/wallet/udb/addressmanager_test.go b/wallet/udb/addressmanager_test.go index 577be4743..2e964901c 100644 --- a/wallet/udb/addressmanager_test.go +++ b/wallet/udb/addressmanager_test.go @@ -14,8 +14,8 @@ import ( "reflect" "testing" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/hdkeychain/v3" diff --git a/wallet/udb/agendas.go b/wallet/udb/agendas.go index cde18b88f..d7fcf5e55 100644 --- a/wallet/udb/agendas.go +++ b/wallet/udb/agendas.go @@ -5,8 +5,8 @@ package udb import ( - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" ) diff --git a/wallet/udb/cfilters.go b/wallet/udb/cfilters.go index 0f90647a2..ffbd2f718 100644 --- a/wallet/udb/cfilters.go +++ b/wallet/udb/cfilters.go @@ -5,8 +5,8 @@ package udb import ( - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" gcs2 "github.com/decred/dcrd/gcs/v4" "github.com/decred/dcrd/gcs/v4/blockcf2" diff --git a/wallet/udb/cointype_test.go b/wallet/udb/cointype_test.go index 4f3ebf879..84360daae 100644 --- a/wallet/udb/cointype_test.go +++ b/wallet/udb/cointype_test.go @@ -8,9 +8,9 @@ import ( "context" "testing" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/compat" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/compat" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/hdkeychain/v3" "github.com/decred/dcrd/txscript/v4/stdaddr" diff --git a/wallet/udb/common_test.go b/wallet/udb/common_test.go index b1a11b2c0..a1d8d5ccf 100644 --- a/wallet/udb/common_test.go +++ b/wallet/udb/common_test.go @@ -11,7 +11,7 @@ import ( "fmt" "os" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" ) diff --git a/wallet/udb/initialize.go b/wallet/udb/initialize.go index b8a84ac18..c3a0d5409 100644 --- a/wallet/udb/initialize.go +++ b/wallet/udb/initialize.go @@ -7,8 +7,8 @@ package udb import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" ) diff --git a/wallet/udb/internal_test.go b/wallet/udb/internal_test.go index 5aa940c12..727d8c4c0 100644 --- a/wallet/udb/internal_test.go +++ b/wallet/udb/internal_test.go @@ -13,8 +13,8 @@ interface. The functions are only exported while the tests are being run. package udb import ( - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/internal/snacl" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/internal/snacl" ) // TstLatestMgrVersion makes the unexported latestMgrVersion variable available diff --git a/wallet/udb/metadata.go b/wallet/udb/metadata.go index 3449e7888..e1a0a7729 100644 --- a/wallet/udb/metadata.go +++ b/wallet/udb/metadata.go @@ -5,8 +5,8 @@ package udb import ( - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" ) type unifiedDBMetadata struct { diff --git a/wallet/udb/migration.go b/wallet/udb/migration.go index e7c87fce8..ca9c709d6 100644 --- a/wallet/udb/migration.go +++ b/wallet/udb/migration.go @@ -7,8 +7,8 @@ package udb import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" ) diff --git a/wallet/udb/open.go b/wallet/udb/open.go index bc44fd852..b4dd8cd21 100644 --- a/wallet/udb/open.go +++ b/wallet/udb/open.go @@ -7,8 +7,8 @@ package udb import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/v3" ) diff --git a/wallet/udb/stake.go b/wallet/udb/stake.go index 605320e3e..330b12239 100644 --- a/wallet/udb/stake.go +++ b/wallet/udb/stake.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" diff --git a/wallet/udb/stakedb.go b/wallet/udb/stakedb.go index a1bcca05e..6bec7d0d7 100644 --- a/wallet/udb/stakedb.go +++ b/wallet/udb/stakedb.go @@ -10,8 +10,8 @@ import ( "io" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil/v4" diff --git a/wallet/udb/stakevalidation_test.go b/wallet/udb/stakevalidation_test.go index 0edf1f0cd..4893083e5 100644 --- a/wallet/udb/stakevalidation_test.go +++ b/wallet/udb/stakevalidation_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - _ "decred.org/dcrwallet/v4/wallet/internal/bdb" - "decred.org/dcrwallet/v4/wallet/walletdb" + _ "decred.org/dcrwallet/v5/wallet/internal/bdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/dcrutil/v4" gcs2 "github.com/decred/dcrd/gcs/v4" "github.com/decred/dcrd/wire" diff --git a/wallet/udb/treasury.go b/wallet/udb/treasury.go index d97349623..e1909ef1c 100644 --- a/wallet/udb/treasury.go +++ b/wallet/udb/treasury.go @@ -5,8 +5,8 @@ package udb import ( - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" ) diff --git a/wallet/udb/tx_test.go b/wallet/udb/tx_test.go index 3f151501e..993d8002e 100644 --- a/wallet/udb/tx_test.go +++ b/wallet/udb/tx_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - _ "decred.org/dcrwallet/v4/wallet/drivers/bdb" - "decred.org/dcrwallet/v4/wallet/walletdb" + _ "decred.org/dcrwallet/v5/wallet/drivers/bdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/wire" diff --git a/wallet/udb/txcommon_test.go b/wallet/udb/txcommon_test.go index 53baf2574..c7f8c3b88 100644 --- a/wallet/udb/txcommon_test.go +++ b/wallet/udb/txcommon_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - _ "decred.org/dcrwallet/v4/wallet/drivers/bdb" - "decred.org/dcrwallet/v4/wallet/walletdb" + _ "decred.org/dcrwallet/v5/wallet/drivers/bdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" gcs2 "github.com/decred/dcrd/gcs/v4" diff --git a/wallet/udb/txdb.go b/wallet/udb/txdb.go index 4d3e8c382..d7c24747f 100644 --- a/wallet/udb/txdb.go +++ b/wallet/udb/txdb.go @@ -11,8 +11,8 @@ import ( "runtime/debug" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" diff --git a/wallet/udb/txexample_test.go b/wallet/udb/txexample_test.go index c61d159fe..2a4dafb32 100644 --- a/wallet/udb/txexample_test.go +++ b/wallet/udb/txexample_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/wire" ) diff --git a/wallet/udb/txmined.go b/wallet/udb/txmined.go index b6d8869a4..2dce5c666 100644 --- a/wallet/udb/txmined.go +++ b/wallet/udb/txmined.go @@ -11,12 +11,12 @@ import ( "fmt" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/compat" - "decred.org/dcrwallet/v4/wallet/txauthor" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/txsizes" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/compat" + "decred.org/dcrwallet/v5/wallet/txauthor" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/txsizes" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" diff --git a/wallet/udb/txmined_test.go b/wallet/udb/txmined_test.go index 0438802a6..b82f9fd56 100644 --- a/wallet/udb/txmined_test.go +++ b/wallet/udb/txmined_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/crypto/rand" ) diff --git a/wallet/udb/txquery.go b/wallet/udb/txquery.go index 79f3191e0..f95487bf0 100644 --- a/wallet/udb/txquery.go +++ b/wallet/udb/txquery.go @@ -9,8 +9,8 @@ import ( "bytes" "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil/v4" diff --git a/wallet/udb/txunmined.go b/wallet/udb/txunmined.go index 165a0e08b..e27c32f88 100644 --- a/wallet/udb/txunmined.go +++ b/wallet/udb/txunmined.go @@ -8,8 +8,8 @@ package udb import ( "bytes" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/wire" diff --git a/wallet/udb/upgrades.go b/wallet/udb/upgrades.go index 2211491a3..e7e489b6a 100644 --- a/wallet/udb/upgrades.go +++ b/wallet/udb/upgrades.go @@ -8,10 +8,10 @@ import ( "context" "crypto/sha256" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/compat" - "decred.org/dcrwallet/v4/wallet/internal/snacl" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/compat" + "decred.org/dcrwallet/v5/wallet/internal/snacl" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" diff --git a/wallet/udb/upgrades_test.go b/wallet/udb/upgrades_test.go index 50f54ba97..4535a1e5c 100644 --- a/wallet/udb/upgrades_test.go +++ b/wallet/udb/upgrades_test.go @@ -15,8 +15,8 @@ import ( "path/filepath" "testing" - _ "decred.org/dcrwallet/v4/wallet/drivers/bdb" - "decred.org/dcrwallet/v4/wallet/walletdb" + _ "decred.org/dcrwallet/v5/wallet/drivers/bdb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" diff --git a/wallet/udb/vsp.go b/wallet/udb/vsp.go index 06deb7923..44aec49dc 100644 --- a/wallet/udb/vsp.go +++ b/wallet/udb/vsp.go @@ -5,8 +5,8 @@ package udb import ( - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" ) diff --git a/wallet/unstable.go b/wallet/unstable.go index 87cc8aced..6ac227727 100644 --- a/wallet/unstable.go +++ b/wallet/unstable.go @@ -7,9 +7,9 @@ package wallet import ( "context" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/txscript/v4/stdaddr" ) diff --git a/wallet/utxos.go b/wallet/utxos.go index 897683057..016b31233 100644 --- a/wallet/utxos.go +++ b/wallet/utxos.go @@ -8,11 +8,11 @@ import ( "context" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/compat" - "decred.org/dcrwallet/v4/wallet/txauthor" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/compat" + "decred.org/dcrwallet/v5/wallet/txauthor" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/txscript/v4/stdscript" "github.com/decred/dcrd/wire" diff --git a/wallet/vspticket.go b/wallet/vspticket.go index 417d851bc..3fdf550b7 100644 --- a/wallet/vspticket.go +++ b/wallet/vspticket.go @@ -9,9 +9,9 @@ import ( "fmt" "sync" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/txscript/v4/stdaddr" diff --git a/wallet/wallet.go b/wallet/wallet.go index a7f511afc..263ddff54 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -20,18 +20,18 @@ import ( "sync/atomic" "time" - "decred.org/dcrwallet/v4/deployments" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/compat" - "decred.org/dcrwallet/v4/internal/loggers" - "decred.org/dcrwallet/v4/rpc/client/dcrd" - "decred.org/dcrwallet/v4/rpc/jsonrpc/types" - "decred.org/dcrwallet/v4/validate" - "decred.org/dcrwallet/v4/wallet/txauthor" - "decred.org/dcrwallet/v4/wallet/txrules" - "decred.org/dcrwallet/v4/wallet/txsizes" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/deployments" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/compat" + "decred.org/dcrwallet/v5/internal/loggers" + "decred.org/dcrwallet/v5/rpc/client/dcrd" + "decred.org/dcrwallet/v5/rpc/jsonrpc/types" + "decred.org/dcrwallet/v5/validate" + "decred.org/dcrwallet/v5/wallet/txauthor" + "decred.org/dcrwallet/v5/wallet/txrules" + "decred.org/dcrwallet/v5/wallet/txsizes" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/wallet/walletdb" "github.com/decred/dcrd/blockchain/stake/v5" blockchain "github.com/decred/dcrd/blockchain/standalone/v2" diff --git a/wallet/wallet_test.go b/wallet/wallet_test.go index 56ad9b451..017a7ae48 100644 --- a/wallet/wallet_test.go +++ b/wallet/wallet_test.go @@ -9,7 +9,7 @@ import ( "math" "testing" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" "github.com/decred/dcrd/chaincfg/v3" ) diff --git a/wallet/walletdb/db_test.go b/wallet/walletdb/db_test.go index db78a10da..a8b50fc39 100644 --- a/wallet/walletdb/db_test.go +++ b/wallet/walletdb/db_test.go @@ -10,9 +10,9 @@ import ( "os" "testing" - "decred.org/dcrwallet/v4/errors" - _ "decred.org/dcrwallet/v4/wallet/internal/bdb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + _ "decred.org/dcrwallet/v5/wallet/internal/bdb" + "decred.org/dcrwallet/v5/wallet/walletdb" ) // dbType is the database type name for this driver. diff --git a/wallet/walletdb/example_test.go b/wallet/walletdb/example_test.go index 7f599fbb5..b69b20fe4 100644 --- a/wallet/walletdb/example_test.go +++ b/wallet/walletdb/example_test.go @@ -14,9 +14,9 @@ import ( "os" "path/filepath" - "decred.org/dcrwallet/v4/errors" - _ "decred.org/dcrwallet/v4/wallet/internal/bdb" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + _ "decred.org/dcrwallet/v5/wallet/internal/bdb" + "decred.org/dcrwallet/v5/wallet/walletdb" ) // This example demonstrates creating a new database. diff --git a/wallet/walletdb/interface.go b/wallet/walletdb/interface.go index e04bd9b82..564310820 100644 --- a/wallet/walletdb/interface.go +++ b/wallet/walletdb/interface.go @@ -13,7 +13,7 @@ import ( "io" "runtime/trace" - "decred.org/dcrwallet/v4/errors" + "decred.org/dcrwallet/v5/errors" ) // ReadTx represents a database transaction that can only be used for reads. If diff --git a/wallet/walletdb/interface_test.go b/wallet/walletdb/interface_test.go index e204f0716..43a06f648 100644 --- a/wallet/walletdb/interface_test.go +++ b/wallet/walletdb/interface_test.go @@ -19,8 +19,8 @@ import ( "reflect" "testing" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/wallet/walletdb" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/wallet/walletdb" ) // errSubTestFail is used to signal that a sub test returned false. diff --git a/walletseed/seed.go b/walletseed/seed.go index 683b226a5..f252dab60 100644 --- a/walletseed/seed.go +++ b/walletseed/seed.go @@ -10,8 +10,8 @@ import ( "encoding/hex" "strings" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/pgpwordlist" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/pgpwordlist" "github.com/decred/dcrd/hdkeychain/v3" ) diff --git a/walletsetup.go b/walletsetup.go index 875a4d66e..df20c8507 100644 --- a/walletsetup.go +++ b/walletsetup.go @@ -15,13 +15,13 @@ import ( "strings" "time" - "decred.org/dcrwallet/v4/errors" - "decred.org/dcrwallet/v4/internal/loader" - "decred.org/dcrwallet/v4/internal/prompt" - "decred.org/dcrwallet/v4/wallet" - _ "decred.org/dcrwallet/v4/wallet/drivers/bdb" - "decred.org/dcrwallet/v4/wallet/udb" - "decred.org/dcrwallet/v4/walletseed" + "decred.org/dcrwallet/v5/errors" + "decred.org/dcrwallet/v5/internal/loader" + "decred.org/dcrwallet/v5/internal/prompt" + "decred.org/dcrwallet/v5/wallet" + _ "decred.org/dcrwallet/v5/wallet/drivers/bdb" + "decred.org/dcrwallet/v5/wallet/udb" + "decred.org/dcrwallet/v5/walletseed" "github.com/decred/dcrd/chaincfg/v3" "github.com/decred/dcrd/dcrutil/v4" "github.com/decred/dcrd/hdkeychain/v3"