deploy: d44eab7cd7a3b41cd9c1aadead4490f5d328b406

This commit is contained in:
jm-clius 2021-07-21 09:54:52 +00:00
parent c6949f9c9a
commit 3eae2c753d
3 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (libbacktrace) version-unused
# Libtool was configured on host fv-az129-926:
# Libtool was configured on host fv-az182-283:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,

View File

@ -31,7 +31,10 @@ export
waku_rln_relay_types
when defined(rln):
import ../protocol/waku_rln_relay/[rln, waku_rln_relay_utils]
import
libp2p/protocols/pubsub/rpc/messages,
web3,
../protocol/waku_rln_relay/[rln, waku_rln_relay_utils]
declarePublicCounter waku_node_messages, "number of messages received", ["type"]
declarePublicGauge waku_node_filters, "number of content filter subscriptions"
@ -462,6 +465,7 @@ when defined(rln):
node.wakuRlnRelay = rlnPeer
when defined(rln):
proc addRLNRelayValidator*(node: WakuNode, pubsubTopic: string) =
## this procedure is a thin wrapper for the pubsub addValidator method
## it sets message validator on the given pubsubTopic, the validator will check that

View File

@ -15,7 +15,9 @@ contract(MembershipContract):
# TODO define a return type of bool for register method to signify a successful registration
proc register(pubkey: Uint256) # external payable
proc createRLNInstance*(d: int, ctxPtr: var ptr RLN[Bn256]): bool =
proc createRLNInstance*(d: int, ctxPtr: var ptr RLN[Bn256]): bool
{.raises: [Defect, IOError].} =
## generates an instance of RLN
## An RLN instance supports both zkSNARKs logics and Merkle tree data structure and operations
## d indicates the depth of Merkle tree