mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-22 19:19:09 +00:00
f7ee66ff8b
Otherwise all hardforks enabled by default from genesis which leads to errors like this if we introduce new hardfork: ``` Dec 04 02:46:46 titan1 neofs-node[157390]: warn client/multi.go:43 could not establish connection to RPC node {"endpoint": "wss://rpc.morph.t5.fs.neo.org/ws", "error": "WS client initialization: failed to get network magic: unexpected hardfork: Echidna"} ``` Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
105 lines
2.9 KiB
YAML
105 lines
2.9 KiB
YAML
ProtocolConfiguration:
|
|
Magic: 735783775
|
|
MaxTraceableBlocks: 17280
|
|
InitialGASSupply: 52000000
|
|
TimePerBlock: 15s
|
|
MemPoolSize: 50000
|
|
StandbyCommittee:
|
|
- 0337f5f45e5be5aeae4a919d0787fcb743656560949061d5b8b05509b85ffbfd53
|
|
- 020b86534a9a264d28b79155b0ec36d555ed0068eb1b0c4d40c35cc7d2f04759b8
|
|
- 02c2efdc01181b0bc14fc19e0acb12281396c8c9ffe64458d621d781a1ded436b7
|
|
- 026f9b40a73f29787ef5b289ac845bc43c64680fdd42fc170b1171d3c57213a89f
|
|
- 0272350def90715494b857315c9b9c70181739eeec52d777424fef2891c3396cad
|
|
- 03a8cee2d3877bcce5b4595578714d77ca2d47673150b8b9cd4e391b7c73b6bda3
|
|
- 0215e735a657f6e23478728d1d0718d516bf50c06c2abd92ec7c00eba2bd7a2552
|
|
StateRootInHeader: false
|
|
ValidatorsCount: 7
|
|
SeedList:
|
|
- morph1.t5.fs.neo.org:50333
|
|
- morph2.t5.fs.neo.org:50333
|
|
- morph3.t5.fs.neo.org:50333
|
|
- morph4.t5.fs.neo.org:50333
|
|
- morph5.t5.fs.neo.org:50333
|
|
- morph6.t5.fs.neo.org:50333
|
|
- morph7.t5.fs.neo.org:50333
|
|
VerifyTransactions: true
|
|
P2PSigExtensions: true
|
|
Hardforks:
|
|
Aspidochelone: 0
|
|
Basilisk: 0
|
|
Cockatrice: 0
|
|
Domovoi: 0
|
|
|
|
ApplicationConfiguration:
|
|
SkipBlockVerification: false
|
|
# LogPath could be set up in case you need stdout logs to some proper file.
|
|
# LogPath: "./log/neogo.log"
|
|
DBConfiguration:
|
|
Type: "leveldb" #other options: 'inmemory','boltdb'
|
|
# DB type options. Uncomment those you need in case you want to switch DB type.
|
|
LevelDBOptions:
|
|
DataDirectoryPath: "./chains/testnet.neofs"
|
|
# BoltDBOptions:
|
|
# FilePath: "./chains/testnet.bolt"
|
|
P2P:
|
|
Addresses:
|
|
- ":50333" # in form of "[host]:[port][:announcedPort]"
|
|
DialTimeout: 3s
|
|
ProtoTickInterval: 2s
|
|
PingInterval: 30s
|
|
PingTimeout: 90s
|
|
MaxPeers: 100
|
|
AttemptConnPeers: 20
|
|
MinPeers: 5
|
|
Relay: true
|
|
Consensus:
|
|
Enabled: false
|
|
UnlockWallet:
|
|
Path: "/cn_wallet.json"
|
|
Password: "pass"
|
|
Oracle:
|
|
Enabled: false
|
|
AllowedContentTypes:
|
|
- application/json
|
|
RPC:
|
|
Enabled: true
|
|
Addresses:
|
|
- ":50332"
|
|
EnableCORSWorkaround: false
|
|
MaxGasInvoke: 100
|
|
StartWhenSynchronized: false
|
|
TLSConfig:
|
|
Enabled: false
|
|
Addresses:
|
|
- ":50331"
|
|
CertFile: server.crt
|
|
KeyFile: server.key
|
|
P2PNotary:
|
|
Enabled: false
|
|
UnlockWallet:
|
|
Password: "pass"
|
|
Path: "/notary_wallet.json"
|
|
Prometheus:
|
|
Enabled: false
|
|
Addresses:
|
|
- ":2112"
|
|
Pprof:
|
|
Enabled: false
|
|
Addresses:
|
|
- ":2113"
|
|
NeoFSBlockFetcher:
|
|
Enabled: true
|
|
Addresses:
|
|
- st1.storage.fs.neo.org:8080
|
|
- st2.storage.fs.neo.org:8080
|
|
- st3.storage.fs.neo.org:8080
|
|
- st4.storage.fs.neo.org:8080
|
|
Timeout: 10m
|
|
DownloaderWorkersCount: 500
|
|
OIDBatchSize: 8000
|
|
BQueueSize: 16000 # must be larger than OIDBatchSize; recommended to be 2*OIDBatchSize or 3*OIDBatchSize
|
|
SkipIndexFilesSearch: false
|
|
IndexFileSize: 128000
|
|
ContainerID: "FidCcVzUxzY3PeUksCnnpUQ8h8PJeYPessX8FRMuveSy"
|
|
BlockAttribute: "Block"
|
|
IndexFileAttribute: "Index"
|