bsc/common
Boqin Qin be6078ad83
all: fix a bunch of inconsequential goroutine leaks (#20667)
The leaks were mostly in unit tests, and could all be resolved by
adding suitably-sized channel buffers or by restructuring the test
to not send on a channel after an error has occurred.

There is an unavoidable goroutine leak in Console.Interactive: when
we receive a signal, the line reader cannot be unblocked and will get
stuck. This leak is now documented and I've tried to make it slightly 
less bad by adding a one-element buffer to the output channels of
the line-reading loop. Should the reader eventually awake from its
blocked state (i.e. when stdin is closed), at least it won't get stuck
trying to send to the interpreter loop which has quit long ago.

Co-authored-by: Felix Lange <fjl@twurst.com>
2020-04-03 20:07:22 +02:00
..
bitutil common/bitutil: use result of TestBytes to prevent dead code elimination (#19846) 2019-07-17 10:23:43 +02:00
compiler common/compiler: fix lint issue (#19967) 2019-08-15 12:12:56 +02:00
fdlimit all: update author list and licenses 2019-07-22 12:17:27 +03:00
hexutil common/hexutil: improve GraphQL error messages (#20353) 2019-11-21 15:51:25 +02:00
math core/signer, clef: improve ui-test flow, fix errors in uint handling (#19584) 2019-06-03 16:56:05 +02:00
mclock all: fix goroutine leaks in unit tests by adding 1-elem channel buffer (#20666) 2020-02-17 17:33:11 +01:00
prque all: fix a bunch of inconsequential goroutine leaks (#20667) 2020-04-03 20:07:22 +02:00
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes_test.go common: improve GraphQL error messages (#20354) 2019-11-21 16:34:28 +02:00
bytes.go core/state: optimize some internals during encoding 2019-09-10 15:15:34 +02:00
debug.go core: added basic chain configuration 2016-04-01 01:01:10 +02:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
size_test.go cmd/utils, eth: relinquish GC cache to read cache in archive mode 2019-02-07 14:36:25 +02:00
size.go core, cmd, vendor: fixes and database inspection tool (#15) 2019-05-16 10:39:34 +03:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
types_test.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00
types.go common: improve GraphQL error messages (#20354) 2019-11-21 16:34:28 +02:00