forked from TrueCloudLab/frostfs-dev-env
[#22] morph_chain: Do not use deprecated config fields
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
53007be047
commit
7171e152e0
2 changed files with 19 additions and 15 deletions
2
Makefile
2
Makefile
|
@ -152,7 +152,7 @@ clean:
|
||||||
.PHONY: env
|
.PHONY: env
|
||||||
env:
|
env:
|
||||||
@$(foreach envvar,$(GREP_DOTENV),echo $(envvar);)
|
@$(foreach envvar,$(GREP_DOTENV),echo $(envvar);)
|
||||||
@echo MORPH_BLOCK_TIME=$(shell grep 'SecondsPerBlock' $(MORPH_CHAIN_PROTOCOL) | awk '{print $$2}')s
|
@echo MORPH_BLOCK_TIME=$(shell grep 'TimePerBlock' $(MORPH_CHAIN_PROTOCOL) | awk '{print $$2}')s
|
||||||
@echo MORPH_MAGIC=$(shell grep 'Magic' $(MORPH_CHAIN_PROTOCOL) | awk '{print $$2}')
|
@echo MORPH_MAGIC=$(shell grep 'Magic' $(MORPH_CHAIN_PROTOCOL) | awk '{print $$2}')
|
||||||
|
|
||||||
# Restart storage nodes with clean volumes
|
# Restart storage nodes with clean volumes
|
||||||
|
|
|
@ -1,50 +1,54 @@
|
||||||
ProtocolConfiguration:
|
ProtocolConfiguration:
|
||||||
Magic: 15405
|
Magic: 15405
|
||||||
MaxTraceableBlocks: 200000
|
MaxTraceableBlocks: 200000
|
||||||
SecondsPerBlock: 1
|
TimePerBlock: 1s
|
||||||
MemPoolSize: 50000
|
MemPoolSize: 50000
|
||||||
StandbyCommittee:
|
StandbyCommittee:
|
||||||
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
- 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2
|
||||||
ValidatorsCount: 1
|
ValidatorsCount: 1
|
||||||
SeedList:
|
SeedList:
|
||||||
- 172.200.0.1:20333
|
- 172.200.0.1:20333
|
||||||
VerifyBlocks: true
|
|
||||||
VerifyTransactions: true
|
VerifyTransactions: true
|
||||||
StateRootInHeader: true
|
StateRootInHeader: true
|
||||||
P2PSigExtensions: true
|
P2PSigExtensions: true
|
||||||
|
|
||||||
ApplicationConfiguration:
|
ApplicationConfiguration:
|
||||||
|
SkipBlockVerification: false
|
||||||
DBConfiguration:
|
DBConfiguration:
|
||||||
Type: "boltdb"
|
Type: "boltdb"
|
||||||
BoltDBOptions:
|
BoltDBOptions:
|
||||||
FilePath: "./db/morph.bolt"
|
FilePath: "./db/morph.bolt"
|
||||||
NodePort: 20333
|
P2P:
|
||||||
|
Addresses:
|
||||||
|
- ":20333"
|
||||||
|
DialTimeout: 3s
|
||||||
|
ProtoTickInterval: 2s
|
||||||
|
PingInterval: 30s
|
||||||
|
PingTimeout: 90s
|
||||||
|
MaxPeers: 10
|
||||||
|
AttemptConnPeers: 5
|
||||||
|
MinPeers: 0
|
||||||
Relay: true
|
Relay: true
|
||||||
DialTimeout: 3
|
|
||||||
ProtoTickInterval: 2
|
|
||||||
PingInterval: 30
|
|
||||||
PingTimeout: 90
|
|
||||||
MaxPeers: 10
|
|
||||||
AttemptConnPeers: 5
|
|
||||||
MinPeers: 0
|
|
||||||
RPC:
|
RPC:
|
||||||
Address: 192.168.130.90
|
Addresses:
|
||||||
|
- "192.168.130.90:30333"
|
||||||
Enabled: true
|
Enabled: true
|
||||||
SessionEnabled: true
|
SessionEnabled: true
|
||||||
EnableCORSWorkaround: false
|
EnableCORSWorkaround: false
|
||||||
MaxGasInvoke: 100
|
MaxGasInvoke: 100
|
||||||
Port: 30333
|
|
||||||
P2PNotary:
|
P2PNotary:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
UnlockWallet:
|
UnlockWallet:
|
||||||
Path: "./wallets/node-wallet.json"
|
Path: "./wallets/node-wallet.json"
|
||||||
Password: "one"
|
Password: "one"
|
||||||
Prometheus:
|
Prometheus:
|
||||||
|
Addresses:
|
||||||
|
- ":20001"
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Port: 20001
|
|
||||||
Pprof:
|
Pprof:
|
||||||
|
Addresses:
|
||||||
|
- ":20011"
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Port: 20011
|
|
||||||
UnlockWallet:
|
UnlockWallet:
|
||||||
Path: "./wallets/node-wallet.json"
|
Path: "./wallets/node-wallet.json"
|
||||||
Password: "one"
|
Password: "one"
|
||||||
|
|
Loading…
Reference in a new issue