neo-go/internal
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
..
basicchain rpc/client: move to pkg/rpcclient 2022-07-21 22:39:53 +03:00
contracts native: add Oracle.finish reentrancy test 2022-08-10 19:02:36 +03:00
fakechain core: accept two-side channels for sub/unsub, read on unsub 2022-08-19 22:08:40 +03:00
keytestcases core: rename Neo.Crypto.CheckSig interop 2021-05-11 18:37:55 +03:00
random pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
testchain *: reuse smartcontract package to create standard entry scripts 2022-07-26 12:19:49 +03:00
testserdes [#2442] English Check 2022-05-04 19:48:27 +03:00