nwaku/waku/node/v2/rpc/wakucallsigs.nim
Dean Eigenmann a975bf6d70
feature/mount-filter-node-api (#181)
* started working on filter mount

* fixes

* fix indentation

* fixes

* save

* change

* rm

* Update waku_types.nim

* Update waku_filter.nim

* fixes

* fix

* using new filter

* did some testing stuff

* rm

* fix

* updated

* update doc

* fix

* fix

* unasynced

* fix

* w -> node

* rename

* move to content filter

* fix

* method

* rename

* renamed contentFilter -> contentFilters

* readded

* moved

* first test fix

* readded

* no more need

* fixes

* fix

* fix

* fixes

* todo

* removes mother fuck

* Update waku_types.nim
2020-10-02 14:48:56 +02:00

39 lines
1.6 KiB
Nim

# Alpha - Currently implemented in v2
proc waku_version(): string
# TODO Deprecate old waku_publish, requires adjust simulation code etc
proc waku_publish(topic: string, message: seq[byte]): bool
# TODO This should be properly done with rpc types, etc.
proc waku_publish2(topic: string, message: seq[byte]): bool
proc waku_subscribe(topic: string): bool
proc waku_query(topics: seq[string]): bool
proc waku_subscribe_filter(topic: string, contentFilters: seq[seq[string]]): bool
#proc waku_subscribe(topic: string, handler: Topichandler): bool
# NYI
#proc waku_info(): WakuInfo
#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
#
#proc waku_newMessageFilter(options: WakuFilterOptions): Identifier
#proc waku_deleteMessageFilter(id: Identifier): bool
#proc waku_getFilterMessages(id: Identifier): seq[WakuFilterMessage]
##proc waku_post(message: WakuPostMessage): bool
#
#proc wakusim_generateTraffic(amount: int): bool
#proc wakusim_generateRandomTraffic(amount: int): bool