*: move wallet config from wallet
to config
package
In order to avoid dependency cycle at the next commits: imports github.com/nspcc-dev/neo-go/pkg/config imports github.com/nspcc-dev/neo-go/pkg/wallet imports github.com/nspcc-dev/neo-go/pkg/vm imports github.com/nspcc-dev/neo-go/pkg/smartcontract/nef imports github.com/nspcc-dev/neo-go/pkg/config
This commit is contained in:
parent
927127e5fb
commit
6b8957243a
5 changed files with 9 additions and 11 deletions
|
@ -9,6 +9,7 @@ import (
|
|||
"github.com/nspcc-dev/dbft/block"
|
||||
"github.com/nspcc-dev/dbft/crypto"
|
||||
"github.com/nspcc-dev/dbft/payload"
|
||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
||||
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
|
||||
coreb "github.com/nspcc-dev/neo-go/pkg/core/block"
|
||||
"github.com/nspcc-dev/neo-go/pkg/core/blockchainer"
|
||||
|
@ -80,7 +81,7 @@ type Config struct {
|
|||
// TimePerBlock minimal time that should pass before next block is accepted.
|
||||
TimePerBlock time.Duration
|
||||
// Wallet is a local-node wallet configuration.
|
||||
Wallet *wallet.Config
|
||||
Wallet *config.Wallet
|
||||
}
|
||||
|
||||
// NewService returns new consensus.Service instance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue