-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If `config-path` is not passed, default configs are used according to the set network. In VM CLI the default privnet config with InMemory db is used. Close #3450 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
- Loading branch information
1 parent
d9d9d00
commit 58256de
Showing
4 changed files
with
95 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Package config contains embedded YAML configuration files for different network modes | ||
// of the Neo N3 blockchain and NeoFS. This includes configurations for the mainnet, | ||
// testnet, and private network environments. | ||
package config | ||
|
||
import ( | ||
_ "embed" | ||
) | ||
|
||
// Mainnet is the Neo N3 mainnet configuration. | ||
// | ||
//go:embed protocol.mainnet.yml | ||
var Mainnet []byte | ||
|
||
// Testnet is the Neo N3 testnet configuration. | ||
// | ||
//go:embed protocol.testnet.yml | ||
var Testnet []byte | ||
|
||
// Privnet is the private network configuration. | ||
// | ||
//go:embed protocol.privnet.yml | ||
var Privnet []byte | ||
|
||
// MainnetNeoFS is the mainnet NeoFS configuration. | ||
// | ||
//go:embed protocol.mainnet.neofs.yml | ||
var MainnetNeoFS []byte | ||
|
||
// TestnetNeoFS is the testnet NeoFS configuration. | ||
// | ||
//go:embed protocol.testnet.neofs.yml | ||
var TestnetNeoFS []byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters