Repository: decred/dcrwallet
Pull request #2404 (2024-09-06 13:47:57)

Bump module to major version 5


Patch:
diff --git a/README.md b/README.md
index e4399627..af6e8230 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 41fff326..82f16fad 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 13c08a06..c17a1288 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 76f373c2..5dffbeab 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 4cdd661b..714c92da 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 d4552b28..c6ff9fd3 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 bc1263e1..e94c1ab1 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 c060a3e3..9a7c48f7 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 8866379d..71fcdf30 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 f64d328b..0f424f57 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 6c2654eb..986b363f 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 351ec9b8..000ea8da 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 e87068a1..7dd6adb3 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 34f70bab..349ec73e 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 94dce0bf..cc95c994 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 8e1c2b8d..0b9f48b2 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 4e4c6c81..0a0a420c 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/server.go b/internal/rpc/jsonrpc/server.go
index 64577942..7f43675c 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 5280c64b..a4712ae1 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 f761cf54..1f534841 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 8572da90..62340833 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 0d05c3b9..bba8cb35 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 c29f789f..b6e205bd 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 7e1bec98..13c11692 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 2676c6ec..f7982551 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 1b70e3fe..29adf7c0 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 4fc517e0..a86e27d4 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 7c552452..8c0735f6 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 ada22330..3799f00e 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 57d166e0..7104f693 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 37bc5fff..eafe2c56 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/documentation/clientusage.md b/rpc/documentation/clientusage.md
index 2b7fea4a..62c7c352 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 623404b5..f0b48d70 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 16d779b9..0eec2634 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 1ac36c31..c3896843 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 982e2400..21c76212 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 ccff4fa8..80dba082 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 38b4b921..4a6d9039 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 13e35cdc..705079e6 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 6938c92b..20d57253 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 47a4af2b..ab1c01f2 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 54bcdad7..56e74e86 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 d9e50f00..7d70e29a 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 f6180004..80092031 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 45487c59..fc93bd51 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/chainntfns.go b/wallet/chainntfns.go
index 56a65c8d..260eb10a 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 6c2ca65f..2f6008be 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 f118f986..06183fc3 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 d9246167..e230713d 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 e788068c..97d6b669 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 9a3d1c0d..b1bde0fb 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 2b2f38ca..464e9d70 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/drivers/bdb/driver.go b/wallet/drivers/bdb/driver.go
index 2bbf74c3..cf37612b 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 2e570b3f..49993837 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 26630049..81155ccf 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/snacl/snacl.go b/wallet/internal/snacl/snacl.go
index f6a1e221..9c5a67b6 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/mixing.go b/wallet/mixing.go
index ac635bcb..aa031a83 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 46b0889a..8d8bd408 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 0ed55942..511dbb58 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 eeb9408d..094fb495 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 8b5ad6d0..114db9ce 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/sidechains.go b/wallet/sidechains.go
index 38a92301..dd8c4e97 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 01e6215c..b6603004 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 6e041669..ec1f5b84 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 d4908e1e..3e101136 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/txrules/rules.go b/wallet/txrules/rules.go
index 37e5c612..6d48c6e3 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/udb/addressdb.go b/wallet/udb/addressdb.go
index cb305414..0bd300af 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 7a65f6b3..745d0243 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/agendas.go b/wallet/udb/agendas.go
index cde18b88..d7fcf5e5 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 0f90647a..ffbd2f71 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/initialize.go b/wallet/udb/initialize.go
index b8a84ac1..c3a0d540 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/metadata.go b/wallet/udb/metadata.go
index 3449e788..e1a0a772 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 e7c87fce..ca9c709d 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 bc44fd85..b4dd8cd2 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 605320e3..330b1223 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 a1bcca05..6bec7d0d 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/treasury.go b/wallet/udb/treasury.go
index d9734962..e1909ef1 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/txdb.go b/wallet/udb/txdb.go
index 4d3e8c38..d7c24747 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/txmined.go b/wallet/udb/txmined.go
index b6d8869a..2dce5c66 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/txquery.go b/wallet/udb/txquery.go
index 79f3191e..f95487bf 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 165a0e08..e27c32f8 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 2211491a..e7e489b6 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/vsp.go b/wallet/udb/vsp.go
index 06deb792..44aec49d 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 87cc8ace..6ac22772 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 89768305..016b3123 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 417d851b..3fdf550b 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 a7f511af..263ddff5 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/walletdb/interface.go b/wallet/walletdb/interface.go
index e04bd9b8..56431082 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/walletseed/seed.go b/walletseed/seed.go
index 683b226a..f252dab6 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 875a4d66..df20c850 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"


Test patch:
diff --git a/internal/rpc/jsonrpc/rpchelp_test.go b/internal/rpc/jsonrpc/rpchelp_test.go
index 40b5506b..9549c15b 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/rpc/client/dcrwallet/methods_test.go b/rpc/client/dcrwallet/methods_test.go
index f65871f3..017f354a 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/wallet/addresses_test.go b/wallet/addresses_test.go
index d4eb6005..98cc277b 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/discovery_test.go b/wallet/discovery_test.go
index c589a759..6bf25411 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/internal/bdb/driver_test.go b/wallet/internal/bdb/driver_test.go
index cbb4a31e..ea4eaa84 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 9ae22504..8ff43429 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_test.go b/wallet/internal/snacl/snacl_test.go
index bcb1e75d..6e9d74db 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 b114ada7..235eac06 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/setup_test.go b/wallet/setup_test.go
index 9519b54c..37374dab 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/txauthor/author_test.go b/wallet/txauthor/author_test.go
index 8ce7bc1a..d7865a8e 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 cb8b4c24..c4fb5656 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/txsizes/size_test.go b/wallet/txsizes/size_test.go
index ba094261..1acac0ff 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/addressmanager_test.go b/wallet/udb/addressmanager_test.go
index 577be474..2e964901 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/cointype_test.go b/wallet/udb/cointype_test.go
index 4f3ebf87..84360daa 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 b1a11b2c..a1d8d5cc 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/internal_test.go b/wallet/udb/internal_test.go
index 5aa940c1..727d8c4c 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/stakevalidation_test.go b/wallet/udb/stakevalidation_test.go
index 0edf1f0c..4893083e 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/tx_test.go b/wallet/udb/tx_test.go
index 3f151501..993d8002 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 53baf257..c7f8c3b8 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/txexample_test.go b/wallet/udb/txexample_test.go
index c61d159f..2a4dafb3 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_test.go b/wallet/udb/txmined_test.go
index 0438802a..b82f9fd5 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/upgrades_test.go b/wallet/udb/upgrades_test.go
index 50f54ba9..4535a1e5 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/wallet_test.go b/wallet/wallet_test.go
index 56ad9b45..017a7ae4 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 db78a10d..a8b50fc3 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 7f599fbb..b69b20fe 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_test.go b/wallet/walletdb/interface_test.go
index e204f071..43a06f64 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.