lotus/chain
Ian Davis 696469aae7
fix: avoid potential hang when starting event listener
It was possible for NewEvents to never return, blocked on waiting for a WaitGroup to be done.
The call to Done was in a goroutine that could exit before reaching the Done call.

Replace the WaitGroup with a channel that is closed to signal that initialisation is complete.
Also, while we are waiting on the channel, wait on the context so we can exit clealy if the
context is canceled.
2020-12-09 11:29:48 +00:00
..
actors change typeV7 make len 2020-11-20 17:24:52 +08:00
beacon update drand to v1.2.1 2020-10-21 16:49:59 -07:00
events fix: avoid potential hang when starting event listener 2020-12-09 11:29:48 +00:00
exchange combine add and remove evts and use a single emitter 2020-11-20 16:15:44 +02:00
gen delete repeat call func 2020-12-02 20:05:01 +08:00
market test: for FundManager panic to ensure it is fixed 2020-11-12 15:35:43 +01:00
messagepool Downgrade duplicate nonce logs to debug (#4933) 2020-11-23 13:03:41 +01:00
messagesigner Refactor from crypto.SigType to types.KeyType 2020-10-12 00:07:53 +02:00
metrics Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
state port to v2 imports 2020-10-21 12:16:23 -07:00
stmgr feat: error out deals that are not activated by proposed deal start epoch 2020-11-30 15:27:40 +01:00
store Fix cs.tipsets being unbounded 2020-11-26 23:37:59 +01:00
sub replace code with func 2020-11-19 20:46:40 +08:00
types fix lint 2020-12-01 20:00:55 +01:00
vectors Refactor from crypto.SigType to types.KeyType 2020-10-12 00:07:53 +02:00
vm Enable Callers tracing when GasTracing is enabled 2020-12-01 13:53:30 +01:00
wallet fix lint check 2020-11-26 21:36:40 +08:00
badtscache.go sync unmark-bad --all 2020-10-10 10:26:42 +02:00
block_receipt_tracker.go Lint everything 2020-08-20 20:46:36 -07:00
checkpoint.go Allow marking a certain tipset as checkpointed 2020-09-09 14:34:00 -04:00
sync_manager_test.go set BootstrapPeerThreshold to 1 for tests 2020-10-29 19:32:09 +02:00
sync_manager.go sync: log a message when there aren't enough peers 2020-12-03 01:27:07 +00:00
sync_test.go port to v2 imports 2020-10-21 12:16:23 -07:00
sync.go fix log format 2020-11-24 19:09:48 +08:00
syncstate.go Expose WorkerID 2020-10-28 20:22:07 +01:00
types_test.go Add an envvar to set address network version 2020-09-25 15:45:27 -04:00