forked from TrueCloudLab/neoneo-go
2c4ace022e
1) Make timeout a timeout, don't do magic ping counts. 2) Drop additional timer from the main peer's protocol loop, create it dynamically and make it disconnect the peer. 3) Don't expose the ping counter to the outside, handle more logic inside the Peer. Relates to #430.
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
ProtocolConfiguration:
|
|
Magic: 56753
|
|
AddressVersion: 23
|
|
SecondsPerBlock: 1
|
|
LowPriorityThreshold: 0.001
|
|
StandbyValidators:
|
|
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
|
SeedList:
|
|
- 172.200.0.1:20333
|
|
SystemFee:
|
|
EnrollmentTransaction: 1000
|
|
IssueTransaction: 500
|
|
PublishTransaction: 500
|
|
RegisterTransaction: 10000
|
|
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'.
|
|
# DB type options. Uncomment those you need in case you want to switch DB type.
|
|
LevelDBOptions:
|
|
DataDirectoryPath: "/chains/single"
|
|
# RedisDBOptions:
|
|
# Addr: "localhost:6379"
|
|
# Password: ""
|
|
# DB: 0
|
|
# BoltDBOptions:
|
|
# FilePath: "./chains/privnet.bolt"
|
|
# Uncomment in order to set up custom address for node.
|
|
# Address: 127.0.0.1
|
|
NodePort: 20333
|
|
Relay: true
|
|
DialTimeout: 3
|
|
ProtoTickInterval: 2
|
|
PingInterval: 30
|
|
PingTimeout: 90
|
|
MaxPeers: 10
|
|
AttemptConnPeers: 5
|
|
MinPeers: 0
|
|
RPC:
|
|
Enabled: true
|
|
EnableCORSWorkaround: false
|
|
Port: 30333
|
|
Prometheus:
|
|
Enabled: true
|
|
Port: 20001
|
|
Pprof:
|
|
Enabled: false
|
|
Port: 20011
|
|
UnlockWallet:
|
|
Path: "/wallet1.json"
|
|
Password: "one"
|