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:
Tutus Development 2025-12-19 15:29:28 +00:00
parent b67e4865b8
commit cf481e4137
2 changed files with 83 additions and 5 deletions

View File

@ -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"

View File

@ -1,4 +1,4 @@
# Tutus Single-Node Consensus # Tutus Multi-Instance Setup for Bridge Testing
# Run: docker-compose up -d # Run: docker-compose up -d
networks: networks:
@ -10,18 +10,21 @@ networks:
gateway: 172.201.0.254 gateway: 172.201.0.254
volumes: volumes:
tutus_chain: tutus_alpha_chain:
driver: local
tutus_beta_chain:
driver: local driver: local
services: services:
tutus: # Instance Alpha - First sovereign chain
container_name: tutus_node alpha:
container_name: tutus_alpha
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
command: "node --config-file /config/protocol.tutus.single.yml --force-timestamp-logs" command: "node --config-file /config/protocol.tutus.single.yml --force-timestamp-logs"
volumes: volumes:
- tutus_chain:/chains - tutus_alpha_chain:/chains
- ./.docker/wallets/wallet1_solo.json:/wallet.json:ro - ./.docker/wallets/wallet1_solo.json:/wallet.json:ro
ports: ports:
- "10333:10333" # P2P - "10333:10333" # P2P
@ -30,3 +33,21 @@ services:
networks: networks:
tutus_network: tutus_network:
ipv4_address: 172.201.0.10 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