release: Introduce blockchain/stake v2 module.
This commit is contained in:
parent
13c6b684c6
commit
c24f5cffc2
@ -8,7 +8,7 @@ package stake_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2"
|
||||
)
|
||||
|
||||
// TestErrorCodeStringer tests the stringized output for the ErrorCode type.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
module github.com/decred/dcrd/blockchain/stake
|
||||
module github.com/decred/dcrd/blockchain/stake/v2
|
||||
|
||||
go 1.11
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/dbnamespace"
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/tickettreap"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/dbnamespace"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/tickettreap"
|
||||
"github.com/decred/dcrd/chaincfg/chainhash"
|
||||
"github.com/decred/dcrd/database/v2"
|
||||
)
|
||||
|
||||
@ -13,8 +13,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/dbnamespace"
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/tickettreap"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/dbnamespace"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/tickettreap"
|
||||
"github.com/decred/dcrd/chaincfg/chainhash"
|
||||
"github.com/decred/dcrd/chaincfg/v2"
|
||||
"github.com/decred/dcrd/database/v2"
|
||||
|
||||
@ -8,7 +8,7 @@ package ticketdb_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/ticketdb"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/ticketdb"
|
||||
)
|
||||
|
||||
// TestErrorCodeStringer tests the stringized output for the ErrorCode type.
|
||||
|
||||
@ -10,7 +10,7 @@ import (
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/tickettreap"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/tickettreap"
|
||||
"github.com/decred/dcrd/chaincfg/chainhash"
|
||||
)
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ import (
|
||||
"sort"
|
||||
"testing"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/tickettreap"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/tickettreap"
|
||||
"github.com/decred/dcrd/chaincfg/chainhash"
|
||||
)
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2"
|
||||
"github.com/decred/dcrd/chaincfg/chainhash"
|
||||
"github.com/decred/dcrd/dcrutil/v2"
|
||||
"github.com/decred/dcrd/txscript/v2"
|
||||
|
||||
@ -7,9 +7,9 @@ package stake
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/dbnamespace"
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/ticketdb"
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/tickettreap"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/dbnamespace"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/ticketdb"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/tickettreap"
|
||||
"github.com/decred/dcrd/chaincfg/chainhash"
|
||||
"github.com/decred/dcrd/database/v2"
|
||||
"github.com/decred/dcrd/wire"
|
||||
|
||||
@ -15,7 +15,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/decred/dcrd/blockchain/stake/internal/tickettreap"
|
||||
"github.com/decred/dcrd/blockchain/stake/v2/internal/tickettreap"
|
||||
"github.com/decred/dcrd/chaincfg/chainhash"
|
||||
"github.com/decred/dcrd/chaincfg/v2"
|
||||
"github.com/decred/dcrd/database/v2"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user