tutus-chain/config/protocol.tutus.single.yml

58 lines
1.2 KiB
YAML

# Tutus Single-Node Consensus Configuration
# For local development and testing
ProtocolConfiguration:
Magic: 88890 # Tutus single-node identifier
MaxTraceableBlocks: 200000
TimePerBlock: 1s
MaxTimePerBlock: 5s
Genesis:
TimePerBlock: 1s
MemPoolSize: 50000
StandbyCommittee:
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
ValidatorsCount: 1
SeedList:
- localhost:10333
VerifyTransactions: true
P2PSigExtensions: true
ApplicationConfiguration:
SkipBlockVerification: false
DBConfiguration:
Type: "leveldb"
LevelDBOptions:
DataDirectoryPath: "/chains/tutus-single"
P2P:
Addresses:
- ":10333"
DialTimeout: 3s
ProtoTickInterval: 2s
PingInterval: 30s
PingTimeout: 90s
MaxPeers: 10
AttemptConnPeers: 5
MinPeers: 0
Relay: true
Consensus:
Enabled: true
UnlockWallet:
Path: "/wallet.json"
Password: "one"
RPC:
Enabled: true
Addresses:
- ":10332"
MaxGasInvoke: 100
EnableCORSWorkaround: true
SessionEnabled: true
SessionLifetime: 300s
Prometheus:
Enabled: true
Addresses:
- ":2112"
Pprof:
Enabled: false
Addresses:
- ":2113"