File tree Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,12 @@ if ! test -e /data/db/protocolMagicId; then
4444 fi
4545fi
4646
47+ # Enable TraceMempool and PeerSharing
48+ sed -i \
49+ -e ' s/"PeerSharing": false/"PeerSharing": true/' \
50+ -e ' s/"TraceMempool": false/"TraceMempool": true/' \
51+ /opt/cardano/config/${NETWORK} /config.json
52+
4753echo " Starting: /usr/local/bin/cardano-node run"
4854echo " --config /opt/cardano/config/${NETWORK} /config.json"
4955echo " --database-path /data/db"
Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ if [[ ${CARDANO_BLOCK_PRODUCER} == true ]]; then
7575 echo CARDANO_SHELLEY_KES_KEY=${CARDANO_SHELLEY_KES_KEY}
7676 echo CARDANO_SHELLEY_VRF_KEY=${CARDANO_SHELLEY_VRF_KEY}
7777 echo CARDANO_SHELLEY_OPERATIONAL_CERTIFICATE=${CARDANO_SHELLEY_OPERATIONAL_CERTIFICATE}
78+ else
79+ sed -i \
80+ -e ' s/"PeerSharing": false/"PeerSharing": true/' \
81+ -e ' s/"TraceMempool": false/"TraceMempool": true/' \
82+ ${CARDANO_CONFIG}
7883fi
7984
8085echo AGGREGATOR_ENDPOINT=${AGGREGATOR_ENDPOINT}
Original file line number Diff line number Diff line change 1010 "LastKnownBlockVersion-Major" : 3 ,
1111 "LastKnownBlockVersion-Minor" : 0 ,
1212 "MaxKnownMajorProtocolVersion" : 2 ,
13+ "PeerSharing" : false ,
1314 "Protocol" : " Cardano" ,
1415 "RequiresNetworkMagic" : " RequiresNoMagic" ,
1516 "ShelleyGenesisFile" : " shelley-genesis.json" ,
Original file line number Diff line number Diff line change 99 "LastKnownBlockVersion-Alt" : 0 ,
1010 "LastKnownBlockVersion-Major" : 2 ,
1111 "LastKnownBlockVersion-Minor" : 0 ,
12+ "PeerSharing" : false ,
1213 "Protocol" : " Cardano" ,
1314 "RequiresNetworkMagic" : " RequiresMagic" ,
1415 "ShelleyGenesisFile" : " shelley-genesis.json" ,
Original file line number Diff line number Diff line change 1111 "LastKnownBlockVersion-Alt" : 0 ,
1212 "LastKnownBlockVersion-Major" : 3 ,
1313 "LastKnownBlockVersion-Minor" : 1 ,
14+ "PeerSharing" : false ,
1415 "Protocol" : " Cardano" ,
1516 "RequiresNetworkMagic" : " RequiresMagic" ,
1617 "ShelleyGenesisFile" : " shelley-genesis.json" ,
You can’t perform that action at this time.
0 commit comments