Andrew Ashikhmin
f2e3c2eea3
sync.Mutex instead of RWMutex in kvcache ( #743 )
...
Follow-up to PR #730
2022-11-22 14:08:32 +01:00
Andrew Ashikhmin
b810bb6ee0
Update interfaces ( #733 )
...
Pick up https://github.com/ledgerwatch/interfaces/pull/131
2022-11-11 16:36:22 +01:00
hexoscott
875b19b2b4
switch to standard lock to help cache perf ( #730 )
2022-11-08 16:20:47 +00:00
hexoscott
4b0ff0ae5e
cache validation check ( #700 )
...
draft for now to get early feedback
2022-11-05 14:25:41 +00:00
Håvard Anda Estensen
16a85ce522
cache: fieldalign ( #692 )
...
```bash
$ fieldalignment -fix kv/kvcache/cache.go
/Users/estensen/Developer/erigon-lib/kv/kvcache/cache.go:88:15: struct with 208 pointer bytes could be 144
/Users/estensen/Developer/erigon-lib/kv/kvcache/cache.go:117:19: struct with 32 pointer bytes could be 24
/Users/estensen/Developer/erigon-lib/kv/kvcache/cache.go:131:21: struct with 24 pointer bytes could be 8
// had to re-add comments in fields
```
I can do the rest of the packages too if it's interesting?
2022-10-21 12:56:23 +07:00
Håvard Anda Estensen
3b0c5f75f8
Enable prealloc linter ( #607 )
2022-08-29 11:07:53 +07:00
Alex Sharov
8db5419002
wait_block_reduce ( #594 )
2022-08-18 12:50:41 +07:00
Alex Sharov
1e029ac6d8
go1.19 gofmt ( #576 )
...
* save
* save
2022-08-10 19:00:19 +07:00
Alex Sharov
a86baf3e81
TxPool: btree with generics ( #514 )
2022-07-07 11:07:43 +06:00
Alex Sharov
7aa540e6fa
save ( #508 )
2022-07-01 10:10:23 +06:00
Alex Sharov
83951a1d62
Enable more linters ( #381 )
2022-03-19 11:38:37 +07:00
alex.sharov
9eae3ce63a
add codeEvict list metric
2021-10-12 15:59:35 +07:00
alex.sharov
f066f52b04
add codeEvict list metric
2021-10-12 15:16:25 +07:00
Alex Sharov
a745f2391c
Remove debug lines from cache ( #109 )
2021-10-12 11:17:33 +07:00
Alex Sharov
6a77e30374
Code cache ( #108 )
2021-10-11 21:25:22 +07:00
Alex Sharov
04d7bfe3ce
Fix race in cache ( #100 )
2021-10-05 16:06:22 +07:00
Alex Sharov
cc20173b74
MDBX: Don't block when open db from another process if main process holds long RW tx ( #99 )
2021-10-05 15:30:06 +07:00
Alex Sharov
33aa4498f0
Pool: speedup iteration over all txs ( #94 )
2021-09-28 15:54:02 +07:00
Alex Sharov
ffac34a86f
Pool: break data-dependency between effectiveTip and other fields ( #93 )
2021-09-27 19:45:10 +07:00
Alex Sharov
f5fa03d63f
Pool: switch to PendingBaseFee ( #90 )
2021-09-26 19:47:11 +07:00
Alex Sharov
13b0978d86
grpc enable instrumentation ( #84 )
2021-09-21 10:10:59 +07:00
Alex Sharov
6a7eeccad7
Pool: discard reasons, LRU ( #80 )
2021-09-20 12:44:29 +07:00
Alex Sharov
dfc14352d2
Pool: chain config, non-mainnet ( #78 )
2021-09-18 20:58:20 +07:00
Alex Sharov
8163e0cd93
Pool: cache based on txID ( #75 )
2021-09-17 09:56:04 +07:00
Alex Sharov
71308b02b3
Pool: switch cache to tx.ID(), more metrics ( #73 )
2021-09-15 20:15:32 +07:00
Alex Sharov
645eb83eca
Pool: mining rpc, remove block num from db, started atomic, more metrics, basic eviction ( #70 )
2021-09-14 22:01:33 +07:00
Alex Sharov
5b8e019246
Pool: add coherent state cache ( #68 )
2021-09-13 14:31:15 +07:00
Alex Sharov
fddc5719b3
Coherent cache: basic implementation ( #64 )
2021-09-10 14:18:00 +07:00