neo-go/pkg/services/rpcsrv
Tatiana Nesterenko f3760c1a98 rpcsrv: return ErrUnknownSession and ErrUnknownIterator
Behaviour change.
`terminatesession` returns ErrUnknownSession in case of impossibility of finding session,
previously there was no-error response with `false` result.
`traverseIterator`returns ErrUnknownSession in case of impossibility of finding session,
previously there was no-error response with default result; `traverseIterator`returns ErrUnknownIterator,
there were no such errors before.
Accordingly to proposal:
https://github.com/neo-project/proposals/pull/156
Also adding description of `traverseIterator` in docs/rpc.md.

Signed-off-by: Tatiana Nesterenko <tatiana@nspcc.io>
2023-08-16 14:16:14 +01:00
..
params neorpc: adjust SignerWithWitness scopes parsing 2023-07-20 10:33:48 +03:00
testdata rpcclient: fix WS-client unsubscription process 2022-11-16 23:44:30 +03:00
client_test.go rpcsrv: return ErrUnknownSession and ErrUnknownIterator 2023-08-16 14:16:14 +01:00
error.go rpcsrv: remove default request HTTP codes from switch statement 2023-08-16 14:00:24 +01:00
local_test.go rpcclient: add Internal client for direct RPC server calls 2023-02-16 23:49:58 +03:00
prometheus.go rpcsrv: remove deprecated RPC counters 2023-03-18 10:52:24 +03:00
server.go rpcsrv: return ErrUnknownSession and ErrUnknownIterator 2023-08-16 14:16:14 +01:00
server_helper_test.go rpcsrv: carefully store Oracle service 2023-08-10 10:12:01 +03:00
server_test.go rpcsrv: return ErrUnknownSession and ErrUnknownIterator 2023-08-16 14:16:14 +01:00
subscription.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
subscription_test.go *: use CompareAndSwap instead of CAS for atomics 2023-04-28 12:07:19 +03:00
tokens.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
util.go rpc/server: move to services/rpcsrv 2022-07-21 22:14:12 +03:00