neoneo-go/pkg
Roman Khimov eeeb0f6f0e core: accept two-side channels for sub/unsub, read on unsub
Blockchain's notificationDispatcher sends events to channels and these
channels must be read from. Unfortunately, regular service shutdown procedure
does unsubscription first (outside of the read loop) and only then drains the
channel. While it waits for unsubscription request to be accepted
notificationDispatcher can try pushing more data into the same channel which
will lead to a deadlock. Reading in the same method solves this, any number of
events can be pushed until unsub channel accepts the data.
2022-08-19 22:08:40 +03:00
..
compiler Merge pull request #2644 from nspcc-dev/fix-gen-decl 2022-08-18 17:44:50 +03:00
config cli: also check new ApplicationConfiguration for consistency 2022-07-27 12:30:08 +03:00
consensus core: accept two-side channels for sub/unsub, read on unsub 2022-08-19 22:08:40 +03:00
core core: accept two-side channels for sub/unsub, read on unsub 2022-08-19 22:08:40 +03:00
crypto crypto: adjust Checksum documentation 2022-05-13 13:20:40 +03:00
encoding *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
interop *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
io [#2442] English Check 2022-05-04 19:48:27 +03:00
neorpc rpcsrv: return more configuration data to the client 2022-08-09 15:36:40 +03:00
neotest *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
network core: accept two-side channels for sub/unsub, read on unsub 2022-08-19 22:08:40 +03:00
rpcclient rpcclient: provide nep11 package for NEP-11 tokens 2022-08-19 10:37:22 +03:00
services core: accept two-side channels for sub/unsub, read on unsub 2022-08-19 22:08:40 +03:00
smartcontract Merge pull request #2632 from nspcc-dev/rpcclient-actor 2022-08-09 17:21:24 +03:00
util *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
vm *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
wallet Merge pull request #2632 from nspcc-dev/rpcclient-actor 2022-08-09 17:21:24 +03:00