neo-go/pkg
Roman Khimov 006337b1f8 network: rework discovery with rwmutex, add test
Keeping run() as the owner of all maps would mean adding at least three more
channels to keep address getters with thread-safety. But then there also is a
race between requestToWork() and run() which is way harder to solve with
channels because there are lots of possibilities for deadlocks. So rework all
of this with good old mutexes.

While at it, fix `requestCh` handling in the inner select of run, it will waste
one loop to handle it, so we should add one to the `requested`.

Fixes #445.
2019-10-28 13:37:27 +03:00
..
core core: add issue tx processing 2019-10-25 17:20:12 +03:00
crypto fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
internal/keytestcases *: add/fix godoc comments to satisfy golint 2019-09-03 17:57:51 +03:00
interop fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
io fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
network network: rework discovery with rwmutex, add test 2019-10-28 13:37:27 +03:00
rpc Merge pull request #443 from nspcc-dev/spellcheck 2019-10-22 18:01:40 +03:00
smartcontract smartcontract: fix PropertyState definitions 2019-10-25 11:05:58 +03:00
util fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
vm vm: implement stack isolation opcodes, fix #192 2019-10-25 18:25:12 +03:00
wallet fix spelling and godoc comments 2019-10-22 17:56:03 +03:00