config: move config.go out of config/

closes #423
This commit is contained in:
Anna Shaleva 2020-03-25 18:30:21 +03:00
parent 396c78c722
commit 5a984fdf88
21 changed files with 234 additions and 217 deletions

View file

@ -10,7 +10,6 @@ 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/config"
"github.com/nspcc-dev/neo-go/pkg/core"
coreb "github.com/nspcc-dev/neo-go/pkg/core/block"
"github.com/nspcc-dev/neo-go/pkg/core/mempool"
@ -85,7 +84,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 *config.WalletConfig
Wallet *wallet.Config
}
// NewService returns new consensus.Service instance.