mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-29 23:33:37 +00:00
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.
58 lines
1.7 KiB
YAML
58 lines
1.7 KiB
YAML
ProtocolConfiguration:
|
|
Magic: 1953787457
|
|
AddressVersion: 23
|
|
SecondsPerBlock: 15
|
|
LowPriorityThreshold: 0.000
|
|
StandbyValidators:
|
|
- 0327da12b5c40200e9f65569476bbff2218da4f32548ff43b6387ec1416a231ee8
|
|
- 026ce35b29147ad09e4afe4ec4a7319095f08198fa8babbe3c56e970b143528d22
|
|
- 0209e7fd41dfb5c2f8dc72eb30358ac100ea8c72da18847befe06eade68cebfcb9
|
|
- 039dafd8571a641058ccc832c5e2111ea39b09c0bde36050914384f7a48bce9bf9
|
|
- 038dddc06ce687677a53d54f096d2591ba2302068cf123c1f2d75c2dddc5425579
|
|
- 02d02b1873a0863cd042cc717da31cea0d7cf9db32b74d4c72c01b0011503e2e22
|
|
- 034ff5ceeac41acf22cd5ed2da17a6df4dd8358fcb2bfb1a43208ad0feaab2746b
|
|
SeedList:
|
|
- seed1.ngd.network:20333
|
|
- seed2.ngd.network:20333
|
|
- seed3.ngd.network:20333
|
|
- seed4.ngd.network:20333
|
|
- seed5.ngd.network:20333
|
|
- seed6.ngd.network:20333
|
|
- seed7.ngd.network:20333
|
|
- seed8.ngd.network:20333
|
|
- seed9.ngd.network:20333
|
|
- seed10.ngd.network:20333
|
|
SystemFee:
|
|
EnrollmentTransaction: 10
|
|
IssueTransaction: 5
|
|
PublishTransaction: 5
|
|
RegisterTransaction: 100
|
|
VerifyBlocks: true
|
|
VerifyTransactions: false
|
|
|
|
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/testnet"
|
|
# RedisDBOptions:
|
|
# Addr: "localhost:6379"
|
|
# Password: ""
|
|
# DB: 0
|
|
# BoltDBOptions:
|
|
# FilePath: "./chains/testnet.bolt"
|
|
NodePort: 20333
|
|
Relay: true
|
|
DialTimeout: 3
|
|
ProtoTickInterval: 2
|
|
MaxPeers: 100
|
|
AttemptConnPeers: 20
|
|
MinPeers: 5
|
|
RPC:
|
|
Enabled: true
|
|
EnableCORSWorkaround: false
|
|
Port: 20332
|
|
Monitoring:
|
|
Enabled: true
|
|
Port: 2112
|