2021-10-08 11:58:39 +02:00
|
|
|
proc isWakuEnabled(): bool =
|
|
|
|
true # TODO:
|
|
|
|
|
|
|
|
proc prefix*(methodName: string, isExt:bool = true): string =
|
|
|
|
result = if isWakuEnabled(): "waku" else: "shh"
|
|
|
|
result = result & (if isExt: "ext_" else: "_")
|
2021-10-13 13:09:51 +02:00
|
|
|
result = result & methodName
|