neoneo-go/pkg/rpcclient
Anna Shaleva 6dbae7edc4 rpcclient: fix WS-client unsubscription process
Do not block subscribers until the unsubscription request to RPC server
is completed. Otherwise, another notification may be received from the
RPC server which will block the unsubscription process.

At the same time, fix event-based waiter. We must not block the receiver
channel during unsubscription because there's a chance that subsequent
event will be sent by the server. We need to read this event in order not
to block the WSClient's readloop.
2022-11-16 23:44:30 +03:00
..
actor rpcclient: fix WS-client unsubscription process 2022-11-16 23:44:30 +03:00
gas rpcclient: add examples for nep11/nep17/neo 2022-09-08 14:33:04 +03:00
invoker rpc: add compat tests for RPC* interfaces and Client implementations 2022-10-24 06:09:36 +03:00
management rpcclient: add management wrapper for ContractManagement 2022-08-17 11:42:20 +03:00
neo rpcclient: add examples for nep11/nep17/neo 2022-09-08 14:33:04 +03:00
nep11 rpcclient/nep11: make DivisibleWriter part reusable 2022-11-07 10:44:39 +03:00
nep17 rpcclient: add examples for nep11/nep17/neo 2022-09-08 14:33:04 +03:00
neptoken neptoken: add Info to replace old NEPXXTokenInfo methods 2022-08-29 22:52:27 +03:00
nns nns: it's NEP-11, so make NEP-11 methods available too 2022-09-08 14:33:04 +03:00
notary rpc: add Wait wrapper to Notary actor 2022-10-24 06:09:36 +03:00
oracle rpcclient: add oracle package for OracleContract 2022-08-17 11:42:20 +03:00
policy rpcclient: add policy package for the PolicyContract contract 2022-08-16 12:43:25 +03:00
rolemgmt unwrap: add ArrayOfPublicKeys() 2022-08-17 12:45:46 +03:00
unwrap unwrap: add a complete set of simple array unwrappers 2022-11-14 13:01:13 +03:00
client.go rpc: implement transaction awaiting functionality 2022-10-24 06:09:36 +03:00
doc.go rpcclient: update documentation, mention subpackages 2022-09-08 14:33:04 +03:00
doc_test.go rpc/client: move to pkg/rpcclient 2022-07-21 22:39:53 +03:00
helper.go rpcclient: move result processing code into unwrap package 2022-08-09 17:38:47 +03:00
native.go Merge pull request #2665 from nspcc-dev/notary-rpcclient 2022-08-30 12:43:13 +03:00
nep.go rpcclient: move result processing code into unwrap package 2022-08-09 17:38:47 +03:00
nep11.go wallet: add ScriptHash() to Account 2022-09-02 14:43:34 +03:00
nep17.go wallet: add ScriptHash() to Account 2022-09-02 14:43:34 +03:00
policy.go rpcclient; deprecate more methods 2022-09-08 14:33:04 +03:00
rpc.go *: use uint*Size and SignatureLen constants where appropriate 2022-10-05 10:45:52 +03:00
rpc_test.go rpc: merge response and request under pkg/neorpc 2022-07-25 11:57:53 +03:00
wsclient.go rpcclient: fix WS-client unsubscription process 2022-11-16 23:44:30 +03:00
wsclient_test.go rpc: refactor WSClient subscriptions API 2022-10-26 15:32:54 +03:00