Add Instance Beta for bridge testing
- Create protocol.tutus.beta.yml (Magic 88891) - Update docker-compose with Alpha and Beta services - Alpha: 172.201.0.10:10332, Beta: 172.201.0.11:11332 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b67e4865b8
commit
cf481e4137
|
|
@ -0,0 +1,57 @@
|
|||
# Tutus Instance Beta - Single-Node Consensus
|
||||
# Second sovereign chain for bridge testing
|
||||
|
||||
ProtocolConfiguration:
|
||||
Magic: 88891 # Instance Beta identifier
|
||||
MaxTraceableBlocks: 200000
|
||||
TimePerBlock: 1s
|
||||
MaxTimePerBlock: 5s
|
||||
Genesis:
|
||||
TimePerBlock: 1s
|
||||
MemPoolSize: 50000
|
||||
StandbyCommittee:
|
||||
- 02103a7f7dd016558597f7960d27c516a4394fd968b9e65155eb4b013e4040406e
|
||||
ValidatorsCount: 1
|
||||
SeedList:
|
||||
- localhost:11333
|
||||
VerifyTransactions: true
|
||||
P2PSigExtensions: true
|
||||
|
||||
ApplicationConfiguration:
|
||||
SkipBlockVerification: false
|
||||
DBConfiguration:
|
||||
Type: "leveldb"
|
||||
LevelDBOptions:
|
||||
DataDirectoryPath: "/chains/tutus-beta"
|
||||
P2P:
|
||||
Addresses:
|
||||
- ":11333"
|
||||
DialTimeout: 3s
|
||||
ProtoTickInterval: 2s
|
||||
PingInterval: 30s
|
||||
PingTimeout: 90s
|
||||
MaxPeers: 10
|
||||
AttemptConnPeers: 5
|
||||
MinPeers: 0
|
||||
Relay: true
|
||||
Consensus:
|
||||
Enabled: true
|
||||
UnlockWallet:
|
||||
Path: "/wallet.json"
|
||||
Password: "two"
|
||||
RPC:
|
||||
Enabled: true
|
||||
Addresses:
|
||||
- ":11332"
|
||||
MaxGasInvoke: 100
|
||||
EnableCORSWorkaround: true
|
||||
SessionEnabled: true
|
||||
SessionLifetime: 300s
|
||||
Prometheus:
|
||||
Enabled: true
|
||||
Addresses:
|
||||
- ":2113"
|
||||
Pprof:
|
||||
Enabled: false
|
||||
Addresses:
|
||||
- ":2114"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Tutus Single-Node Consensus
|
||||
# Tutus Multi-Instance Setup for Bridge Testing
|
||||
# Run: docker-compose up -d
|
||||
|
||||
networks:
|
||||
|
|
@ -10,18 +10,21 @@ networks:
|
|||
gateway: 172.201.0.254
|
||||
|
||||
volumes:
|
||||
tutus_chain:
|
||||
tutus_alpha_chain:
|
||||
driver: local
|
||||
tutus_beta_chain:
|
||||
driver: local
|
||||
|
||||
services:
|
||||
tutus:
|
||||
container_name: tutus_node
|
||||
# Instance Alpha - First sovereign chain
|
||||
alpha:
|
||||
container_name: tutus_alpha
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
command: "node --config-file /config/protocol.tutus.single.yml --force-timestamp-logs"
|
||||
volumes:
|
||||
- tutus_chain:/chains
|
||||
- tutus_alpha_chain:/chains
|
||||
- ./.docker/wallets/wallet1_solo.json:/wallet.json:ro
|
||||
ports:
|
||||
- "10333:10333" # P2P
|
||||
|
|
@ -30,3 +33,21 @@ services:
|
|||
networks:
|
||||
tutus_network:
|
||||
ipv4_address: 172.201.0.10
|
||||
|
||||
# Instance Beta - Second sovereign chain
|
||||
beta:
|
||||
container_name: tutus_beta
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
command: "node --config-file /config/protocol.tutus.beta.yml --force-timestamp-logs"
|
||||
volumes:
|
||||
- tutus_beta_chain:/chains
|
||||
- ./.docker/wallets/wallet2.json:/wallet.json:ro
|
||||
ports:
|
||||
- "11333:11333" # P2P
|
||||
- "11332:11332" # RPC
|
||||
- "2113:2113" # Prometheus
|
||||
networks:
|
||||
tutus_network:
|
||||
ipv4_address: 172.201.0.11
|
||||
|
|
|
|||
Loading…
Reference in New Issue