Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Holst Swende
8334b5f51a
common/lru: fix race in lru ( #26164 )
...
This fixes a problem in the SizeConstrainedLRU. The SCLRU uses an underlying simple lru which is not thread safe.
During the Get operation, the recentness of the accessed item is updated, so it is not a pure read-operation. Therefore, the mutex we need is a full mutex, not RLock.
This PR changes the mutex to be a regular Mutex, instead of RWMutex, so a reviewer can at a glance see that all affected locations are fixed.
2 years ago
..
bitutil
common,crypto: move fuzzers out of core ( #22029 )
4 years ago
compiler
common/compiler: json unmarshalling error checks ( #25449 )
3 years ago
fdlimit
fix: linter warning ( #25192 )
3 years ago
hexutil
build: upgrade to go 1.19 ( #25726 )
2 years ago
lru
common/lru: fix race in lru ( #26164 )
2 years ago
math
common/math, tests/fuzzers: use big.Int clone ( #26006 )
2 years ago
mclock
all: use AbsTime.Add instead of conversion ( #25417 )
3 years ago
prque
build: upgrade to go 1.19 ( #25726 )
2 years ago
big.go
core, vm, common: define constantinople fork + shift ( #16045 )
7 years ago
bytes.go
internal/ethapi: add db operations to api ( #24739 )
3 years ago
bytes_test.go
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago
debug.go
common: rename unused function with typo ( #23025 )
4 years ago
format.go
common: improve pretty duration regex ( #25073 )
3 years ago
path.go
common: improve documentation comments ( #16701 )
7 years ago
size.go
core, cmd, vendor: fixes and database inspection tool ( #15 )
6 years ago
size_test.go
common: increase StorageSize test coverage ( #25188 )
3 years ago
test_utils.go
all: replace uses of ioutil with io and os ( #24869 )
3 years ago
types.go
common/types: add `Address.Big` ( #26132 )
2 years ago
types_test.go
all: add whitespace linter ( #25312 )
3 years ago