2020-04-28 06:04:27 +00:00
|
|
|
proc waku_version(): string
|
2020-04-30 20:35:57 +00:00
|
|
|
proc waku_info(): WakuInfo
|
2020-04-28 06:04:27 +00:00
|
|
|
proc waku_setMaxMessageSize(size: uint64): bool
|
|
|
|
proc waku_setMinPoW(pow: float): bool
|
|
|
|
proc waku_markTrustedPeer(enode: string): bool
|
|
|
|
|
|
|
|
proc waku_newKeyPair(): Identifier
|
|
|
|
proc waku_addPrivateKey(key: string): Identifier
|
|
|
|
proc waku_deleteKeyPair(id: Identifier): bool
|
|
|
|
proc waku_hasKeyPair(id: Identifier): bool
|
|
|
|
proc waku_getPublicKey(id: Identifier): PublicKey
|
|
|
|
proc waku_getPrivateKey(id: Identifier): PrivateKey
|
|
|
|
|
|
|
|
proc waku_newSymKey(): Identifier
|
|
|
|
proc waku_addSymKey(key: string): Identifier
|
|
|
|
proc waku_generateSymKeyFromPassword(password: string): Identifier
|
|
|
|
proc waku_hasSymKey(id: Identifier): bool
|
|
|
|
proc waku_getSymKey(id: Identifier): SymKey
|
|
|
|
proc waku_deleteSymKey(id: Identifier): bool
|
|
|
|
|
2020-04-30 20:35:57 +00:00
|
|
|
proc waku_newMessageFilter(options: WakuFilterOptions): Identifier
|
2020-04-28 06:04:27 +00:00
|
|
|
proc waku_deleteMessageFilter(id: Identifier): bool
|
2020-04-30 20:35:57 +00:00
|
|
|
proc waku_getFilterMessages(id: Identifier): seq[WakuFilterMessage]
|
|
|
|
proc waku_post(message: WakuPostMessage): bool
|
2020-04-28 06:04:27 +00:00
|
|
|
|
|
|
|
proc wakusim_generateTraffic(amount: int): bool
|
|
|
|
proc wakusim_generateRandomTraffic(amount: int): bool
|