config: enable stateroot for mainnet

See neo-project/neo-node#644.
This commit is contained in:
Roman Khimov 2020-08-10 13:24:45 +03:00
parent 92f8cee6cd
commit 8850ecd4ca

View file

@ -2,6 +2,8 @@ ProtocolConfiguration:
Magic: 7630401 Magic: 7630401
AddressVersion: 23 AddressVersion: 23
SecondsPerBlock: 15 SecondsPerBlock: 15
EnableStateRoot: true
StateRootEnableIndex: 6016000
LowPriorityThreshold: 0.001 LowPriorityThreshold: 0.001
MemPoolSize: 50000 MemPoolSize: 50000
StandbyValidators: StandbyValidators:
@ -28,7 +30,7 @@ ProtocolConfiguration:
IssueTransaction: 500 IssueTransaction: 500
PublishTransaction: 500 PublishTransaction: 500
RegisterTransaction: 10000 RegisterTransaction: 10000
VerifyBlocks: true VerifyBlocks: false
VerifyTransactions: false VerifyTransactions: false
FreeGasLimit: 10.0 FreeGasLimit: 10.0
MaxTransactionsPerBlock: 500 MaxTransactionsPerBlock: 500
@ -40,7 +42,7 @@ ApplicationConfiguration:
# LogPath could be set up in case you need stdout logs to some proper file. # LogPath could be set up in case you need stdout logs to some proper file.
# LogPath: "./log/neogo.log" # LogPath: "./log/neogo.log"
DBConfiguration: DBConfiguration:
Type: "leveldb" #other options: 'inmemory','redis','boltdb', 'badgerdb'. Type: "boltdb" #other options: 'inmemory','redis','boltdb', 'badgerdb'.
# DB type options. Uncomment those you need in case you want to switch DB type. # DB type options. Uncomment those you need in case you want to switch DB type.
LevelDBOptions: LevelDBOptions:
DataDirectoryPath: "./chains/mainnet" DataDirectoryPath: "./chains/mainnet"
@ -48,10 +50,10 @@ ApplicationConfiguration:
# Addr: "localhost:6379" # Addr: "localhost:6379"
# Password: "" # Password: ""
# DB: 0 # DB: 0
# BoltDBOptions: BoltDBOptions:
# FilePath: "./chains/mainnet.bolt" FilePath: "./chains/mainnet.bolt"
# BadgerDBOptions: BadgerDBOptions:
# BadgerDir: "./chains/mainnet.badger" BadgerDir: "./chains/mainnet.badger"
# Uncomment in order to set up custom address for node. # Uncomment in order to set up custom address for node.
# Address: 127.0.0.1 # Address: 127.0.0.1
NodePort: 10333 NodePort: 10333