Commit Graph

4 Commits

Author SHA1 Message Date
Felix Lange
44674cb96c eventer: fix data race 2014-10-08 16:31:08 +02:00
Felix Lange
d451269977 eventer: add test for concurrent Post/Register
This test reports the race condition when run
using "go test -race".
2014-10-08 16:31:08 +02:00
Felix Lange
7c9508ed71 eventer: fix tests 2014-10-08 16:31:08 +02:00
obscuren
ab6ede51d7 Working on new (blocking) event machine.
The new event machine will be used for loose coupling and handle the
communications between the services:

1) Block pool finds blocks which "links" with our current canonical
chain
2) Posts the blocks on to the event machine
3) State manager receives blocks & processes them
4) Broadcasts new post block event
2014-09-29 12:57:51 +02:00