diff --git a/waku/factory/internal_config.nim b/waku/factory/internal_config.nim index d8c618770..6023dae14 100644 --- a/waku/factory/internal_config.nim +++ b/waku/factory/internal_config.nim @@ -214,6 +214,7 @@ proc applyPresetConfiguration*(srcConf: WakuNodeConf): Result[WakuNodeConf, stri resConf.discv5Discovery = twnClusterConf.discv5Discovery resConf.discv5BootstrapNodes = resConf.discv5BootstrapNodes & twnClusterConf.discv5BootstrapNodes + resConf.keepAlive = twnClusterConf.keepAlive else: discard diff --git a/waku/factory/networks_config.nim b/waku/factory/networks_config.nim index ee3c4ef97..6b3c944cc 100644 --- a/waku/factory/networks_config.nim +++ b/waku/factory/networks_config.nim @@ -13,6 +13,7 @@ type ClusterConf* = object pubsubTopics*: seq[string] discv5Discovery*: bool discv5BootstrapNodes*: seq[string] + keepAlive*: bool # cluster-id=1 (aka The Waku Network) # Cluster configuration corresponding to The Waku Network. Note that it @@ -40,4 +41,5 @@ proc TheWakuNetworkConf*(T: type ClusterConf): ClusterConf = "enr:-QEkuED9X80QF_jcN9gA2ZRhhmwVEeJnsg_Hyg7IFCTYnZD0BDI7a8HArE61NhJZFwygpHCWkgwSt2vqiABXkBxzIqZBAYJpZIJ2NIJpcIQiQlleim11bHRpYWRkcnO4bgA0Ni9ub2RlLTAxLmdjLXVzLWNlbnRyYWwxLWEud2FrdS5zYW5kYm94LnN0YXR1cy5pbQZ2XwA2Ni9ub2RlLTAxLmdjLXVzLWNlbnRyYWwxLWEud2FrdS5zYW5kYm94LnN0YXR1cy5pbQYfQN4DgnJzkwABCAAAAAEAAgADAAQABQAGAAeJc2VjcDI1NmsxoQPFAS8zz2cg1QQhxMaK8CzkGQ5wdHvPJcrgLzJGOiHpwYN0Y3CCdl-DdWRwgiMohXdha3UyDw", "enr:-QEkuEBfEzJm_kigJ2HoSS_RBFJYhKHocGdkhhBr6jSUAWjLdFPp6Pj1l4yiTQp7TGHyu1kC6FyaU573VN8klLsEm-XuAYJpZIJ2NIJpcIQI2SVcim11bHRpYWRkcnO4bgA0Ni9ub2RlLTAxLmFjLWNuLWhvbmdrb25nLWMud2FrdS5zYW5kYm94LnN0YXR1cy5pbQZ2XwA2Ni9ub2RlLTAxLmFjLWNuLWhvbmdrb25nLWMud2FrdS5zYW5kYm94LnN0YXR1cy5pbQYfQN4DgnJzkwABCAAAAAEAAgADAAQABQAGAAeJc2VjcDI1NmsxoQOwsS69tgD7u1K50r5-qG5hweuTwa0W26aYPnvivpNlrYN0Y3CCdl-DdWRwgiMohXdha3UyDw", ], + keepAlive: true, )