neoneo-go/pkg/services
Leonard Lyubich d09158161e services/rpcsrv: Strengthen Server error channel's type
According to docs, `Server` uses provided error channel only to write
encountered error to it. In this case, there is no need to accept rw
channel to create `Server` instance. Strengthening the type to
write-only will allow the caller to ensure control of reading errors
from the provided channel.

The change is backward compatible since any `chan` is `chan<-`.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2023-01-23 10:33:46 +03:00
..
helpers/rpcbroadcaster rpc/client: move to pkg/rpcclient 2022-07-21 22:39:53 +03:00
metrics services: allow multiple listen addresses for simple services 2022-12-07 11:23:01 +03:00
notary config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
oracle config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
rpcsrv services/rpcsrv: Strengthen Server error channel's type 2023-01-23 10:33:46 +03:00
stateroot config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00