File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
go-shutter-settings/settings Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
1111 - " 24003:24003"
1212 - " 27656:27656"
1313 - " 27660:27660"
14- - " 9200:9200 "
14+ - " 9200:9100 "
1515
1616 metrics :
1717 build :
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
1111 - " 24003:24003"
1212 - " 27656:27656"
1313 - " 27660:27660"
14- - " 9200:9200 "
14+ - " 9200:9100 "
1515
1616 metrics :
1717 build :
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ type KeyperConfig struct {
1111 DatabaseURL string `env:"SHUTTER_DATABASEURL"`
1212 BeaconAPIURL string `env:"SHUTTER_BEACONAPIURL"`
1313 MaxNumKeysPerMessage int `env:"_ASSETS_MAX_NUM_KEYS_PER_MESSAGE"`
14- Chain struct {
14+ Chain struct {
1515 EncryptedGasLimit int `env:"_ASSETS_ENCRYPTED_GAS_LIMIT"`
1616 MaxTxPointerAge int `env:"_ASSETS_MAX_TX_POINTER_AGE"`
1717 GenesisSlotTimestamp int `env:"_ASSETS_GENESIS_SLOT_TIMESTAMP"`
@@ -25,15 +25,18 @@ type KeyperConfig struct {
2525 Contracts struct {
2626 KeyperSetManager string `env:"_ASSETS_KEYPER_SET_MANAGER"`
2727 KeyBroadcastContract string `env:"_ASSETS_KEY_BROADCAST_CONTRACT"`
28- ShutterRegistry string `env:"_ASSETS_SHUTTER_REGISTRY "`
28+ ShutterRegistry string `env:"_ASSETS_SHUTTERREGISTRY "`
2929 }
3030 }
3131 P2P struct {
3232 P2PKey string `env:"SHUTTER_P2P_KEY"`
3333 ListenAddresses []string `env:"SHUTTER_P2P_LISTENADDRESSES"`
3434 AdvertiseAddresses []string `env:"SHUTTER_P2P_ADVERTISEADDRESSES"`
3535 CustomBootstrapAddresses []string `env:"_ASSETS_CUSTOM_BOOTSTRAP_ADDRESSES"`
36- DiscoveryNamespace string `env:"_ASSETS_DISCOVERY_NAME_PREFIX"`
36+ DiscoveryNamespace string `env:"SHUTTER_DISCOVERY_NAMESPACE"`
37+ FloodSubDiscovery struct {
38+ Enabled bool `env:"FLOODSUB_DISCOVERY_ENABLED"`
39+ }
3740 }
3841 Shuttermint struct {
3942 ShuttermintURL string `env:"SHUTTER_SHUTTERMINT_SHUTTERMINTURL"`
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ export SHUTTER_NETWORK_NODE_ETHEREUMURL=${ETHEREUM_WS}
2020echo " [DEBUG | configure] SHUTTER_NETWORK_NODE_ETHEREUMURL is ${SHUTTER_NETWORK_NODE_ETHEREUMURL} "
2121export VALIDATOR_PUBLIC_KEY=$( cat " ${SHUTTER_CHAIN_DIR} /config/priv_validator_pubkey.hex" )
2222export SHUTTER_METRICS_ENABLED=${SHUTTER_PUSH_METRICS_ENABLED}
23+ export FLOODSUB_DISCOVERY_ENABLED=true
24+ export SHUTTER_DISCOVERY_NAMESPACE=" ${_ASSETS_DISCOVERY_NAME_PREFIX} -${_ASSETS_INSTANCE_ID} "
2325
2426echo " [INFO | configure] LISTEN: $SHUTTER_P2P_LISTENADDRESSES "
2527
You can’t perform that action at this time.
0 commit comments