mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-29 09:27:36 +00:00
43e4d3af88
1. Initialization is performed via `Blockchain` methods. 2. Native Oracle contract updates list of oracle nodes and in-fly requests in `PostPersist`. 3. RPC uses Oracle module directly.
71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
ProtocolConfiguration:
|
|
Magic: 56753
|
|
MaxTraceableBlocks: 200000
|
|
SecondsPerBlock: 15
|
|
MemPoolSize: 50000
|
|
StandbyCommittee:
|
|
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
|
- 02103a7f7dd016558597f7960d27c516a4394fd968b9e65155eb4b013e4040406e
|
|
- 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
|
|
- 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
|
|
ValidatorsCount: 4
|
|
SeedList:
|
|
- 172.200.0.1:20333
|
|
- 172.200.0.2:20334
|
|
- 172.200.0.3:20335
|
|
- 172.200.0.4:20336
|
|
VerifyBlocks: true
|
|
VerifyTransactions: true
|
|
|
|
ApplicationConfiguration:
|
|
# 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','redis','boltdb', 'badgerdb'.
|
|
# DB type options. Uncomment those you need in case you want to switch DB type.
|
|
LevelDBOptions:
|
|
DataDirectoryPath: "/chains/two"
|
|
# RedisDBOptions:
|
|
# Addr: "localhost:6379"
|
|
# Password: ""
|
|
# DB: 0
|
|
# BoltDBOptions:
|
|
# FilePath: "./chains/privnet.bolt"
|
|
# BadgerDBOptions:
|
|
# BadgerDir: "./chains/two.badger"
|
|
# Uncomment in order to set up custom address for node.
|
|
# Address: 127.0.0.1
|
|
NodePort: 20334
|
|
Relay: true
|
|
DialTimeout: 3
|
|
ProtoTickInterval: 2
|
|
PingInterval: 30
|
|
PingTimeout: 90
|
|
MaxPeers: 10
|
|
AttemptConnPeers: 5
|
|
MinPeers: 3
|
|
Oracle:
|
|
Enabled: false
|
|
Nodes:
|
|
- 172.200.0.1:30333
|
|
- 172.200.0.2:30334
|
|
- 172.200.0.3:30335
|
|
- 172.200.0.4:30336
|
|
RequestTimeout: 5s
|
|
UnlockWallet:
|
|
Path: "/wallet2.json"
|
|
Password: "two"
|
|
RPC:
|
|
Enabled: true
|
|
MaxGasInvoke: 15
|
|
EnableCORSWorkaround: false
|
|
Port: 30334
|
|
Prometheus:
|
|
Enabled: true
|
|
Port: 20002
|
|
Pprof:
|
|
Enabled: false
|
|
Port: 20012
|
|
UnlockWallet:
|
|
Path: "/wallet2.json"
|
|
Password: "two"
|