forked from TrueCloudLab/neoneo-go
7cf9a40468
Our node didn't respect the MaxPeers setting, fix it with a drop of random connection when this limit is reached (to give a chance for newcomers to communicate), but also introduce AttemptConnPeers setting to tune the number of attempted connections. This also raises the default MaxPeers for testnet/mainnet to 100, because neo-go nodes love making friends.
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
ProtocolConfiguration:
|
|
Magic: 56753
|
|
AddressVersion: 23
|
|
StandbyValidators:
|
|
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
|
- 02103a7f7dd016558597f7960d27c516a4394fd968b9e65155eb4b013e4040406e
|
|
- 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
|
|
- 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
|
|
SeedList:
|
|
- node_one:20334
|
|
- node_two:20335
|
|
- node_three:20336
|
|
SystemFee:
|
|
EnrollmentTransaction: 1000
|
|
IssueTransaction: 500
|
|
PublishTransaction: 500
|
|
RegisterTransaction: 10000
|
|
VerifyBlocks: true
|
|
VerifyTransactions: true
|
|
|
|
ApplicationConfiguration:
|
|
DBConfiguration:
|
|
Type: "leveldb" #other options: 'inmemory','redis','boltdb'.
|
|
# DB type options. Uncomment those you need in case you want to switch DB type.
|
|
LevelDBOptions:
|
|
DataDirectoryPath: "./chains/privnet"
|
|
# RedisDBOptions:
|
|
# Addr: "localhost:6379"
|
|
# Password: ""
|
|
# DB: 0
|
|
# BoltDBOptions:
|
|
# FilePath: "./chains/privnet.bolt"
|
|
NodePort: 20337
|
|
Relay: true
|
|
DialTimeout: 3
|
|
ProtoTickInterval: 2
|
|
MaxPeers: 10
|
|
AttemptConnPeers: 5
|
|
MinPeers: 3
|
|
RPC:
|
|
Enabled: true
|
|
EnableCORSWorkaround: false
|
|
Port: 20336
|
|
Monitoring:
|
|
Enabled: true
|
|
Port: 2112
|