Alex Sharov
cfd14d0297
erigon22: step toward /tests
2022-08-25 15:31:59 +07:00
Andrew Ashikhmin
62a3060555
Avoid redefinitions in gsacak.h ( #602 )
2022-08-24 15:29:17 +02:00
alex.sharov
5110fa3a13
save
2022-08-24 16:07:32 +07:00
Andrew Ashikhmin
23c7f503e0
WithTablessCfg -> WithTableCfg ( #601 )
2022-08-24 11:02:47 +02:00
Alex Sharov
a26ef5ea88
metrics version up ( #600 )
2022-08-24 11:46:21 +07:00
alex.sharov
0d63496706
save
2022-08-24 11:45:32 +07:00
Alex Sharov
c7cf5b6530
clean ( #599 )
2022-08-22 15:56:18 +07:00
Alex Sharov
eab2010195
InvertedIndex don't loose last key ( #597 )
...
* save
* save
2022-08-22 15:45:59 +07:00
Alex Sharov
09dba54e27
Compress: limit patternMaxDepth ( #598 )
...
* save
* save
* save
* save
* save
* save
2022-08-22 13:04:01 +07:00
alex.sharov
36778a2db3
save
2022-08-22 10:33:14 +07:00
Artem Tsebrovskiy
db7322ef87
compress: implemented consensed huffman pattern tables ( #536 )
...
* dirty working equal dictionaries
* slow but working decompression
* much cleaner implementation with LRU words in dictionary with configurable condensity
* fixed comment
* removed tabs in comment line to fix lint
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-08-22 09:11:56 +07:00
Enrique Jose Avila Asapche
4c744ae88a
separated gb calculation from BytesCount ( #593 )
...
* separated gb calculation from BytesCount
* ignoring function in lint
2022-08-19 11:27:19 +07:00
Alex Sharov
30d30ce96f
get code/acc/storage index from aggregator ( #596 )
2022-08-19 11:25:00 +07:00
alex.sharov
abcfb230fc
save
2022-08-19 11:23:56 +07:00
Alex Sharov
d93972c581
domain: docs of tables format ( #595 )
2022-08-18 15:02:24 +07:00
Alex Sharov
8db5419002
wait_block_reduce ( #594 )
2022-08-18 12:50:41 +07:00
Alex Sharov
6c392a1baf
Lint fix ( #592 )
...
* save
* save
2022-08-17 16:40:32 +07:00
Alex Sharov
0b4dcfb43d
erigon22: unwind code ( #591 )
...
* save
* save
2022-08-17 16:37:42 +07:00
hexoscott
ca4cbfe62e
comments for collector loadFilesIntoBucket ( #590 )
2022-08-16 21:58:29 +07:00
Alex Sharov
59dfcc471c
erigon22: prune - check key existance ( #588 )
2022-08-15 14:33:32 +07:00
Alex Sharov
4945162dd7
erigon22: unwind code #587
2022-08-15 10:27:08 +07:00
ledgerwatch
e160c1ad9c
Optimise state erigon2.2 reconstitution ( #570 )
...
* Start iterator1
* No parallel buildFiles and mergeFiles
* Optimise GetNoState
* Fixes
* Fix 2
* Another fix
* Fix
* More changes iter
* Provide keys in ScanIterator
* Tables for bitmaps
* Add X tables
* Change signature of GeNoState
* More on changes iterator
* Test for changed keys iterator
* ReconDb tables
* Changed key iterator
* Fix lint
* Fix lint
* uncovert
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-mbp.lan>
2022-08-14 14:56:47 +01:00
Alex Sharov
404276494a
state22.Unwind() ( #586 )
2022-08-14 17:53:53 +07:00
Alex Sharov
0b68b61b52
fix for loop
2022-08-14 10:21:38 +07:00
Enrique Jose Avila Asapche
491cdeb434
fixing c-99 ( #579 )
...
* fixing c-99
* using c99 at compile
* back to before
Co-authored-by: Enrique Jose Avila Asapche <enriavil1@Enriques-MacBook-Pro-2.local>
2022-08-13 18:15:35 +03:00
Alex Sharov
27ce06026f
Aggregator22.Unwind() ( #584 )
2022-08-13 18:51:23 +07:00
Alex Sharov
8e9ea275cd
txpool: reduce db growth step #583
2022-08-12 23:02:40 +07:00
Alex Sharov
dfb87cc33b
expose_growth_step ( #582 )
2022-08-12 22:59:28 +07:00
Alex Sharov
6289ca7519
dir.Recreate() ( #581 )
2022-08-12 22:38:29 +07:00
Alex Sharov
8ed848acbc
dir.Recreate() ( #580 )
2022-08-12 17:48:00 +07:00
Leonard Chinonso
c96a22dcdc
WIP: Fix null pointer reference error in rpcdaemon ( #578 )
...
* saving changes for draft PR
* typo
* Revert "typo"
This reverts commit a7d96e384e87eeceff1a6c51a2bed659eb014ad0.
* checking if reclected value is nil
* Removed print statements
* Removed unused import
* forcing lint ignore
Co-authored-by: Enrique Avila <eavilaasapche@gmail.com>
2022-08-12 12:12:20 +03:00
Andrew Ashikhmin
55fa5d7006
Various fixes and improvements of MemoryMutation ( #573 )
...
* Remove duplicate function
* Close cursor in ForAmount
* Correct ForEach & ForPrefix
* Switch GetOne implementation to cursor
* Switch Has implementation to cursor
* Small fixes
* statelessCursors should be cleared in UpdateTxn
* cursorentry -> cursorEntry
* Fix memoryMutationCursor.NextNoDup
* Don't swallow errors
* Fix memoryMutationCursor.First for DupSort tables
* TestFirstAfterClearBucket
* Add TestAutoDupSort
* WithTablessCfg -> WithTablesCfg
* WithTablesCfg -> WithTableCfg
* Add TestAutoDupSort
* Remove memoryMutationCursor.currentPair
* Merge duplicated cursors
* goForward -> resolveCursorPriority
* Extend TestAutoDupSort
* Amend skipIntersection
* Restore currentPair
* Revert "Merge duplicated cursors"
This reverts commit 13ba28f2fd4c63d6ef17254aa93ac05172e37429.
* Revert WithTablessCfg -> WithTableCfg
* Small fix to AppendDup
* Revert "Revert "Merge duplicated cursors""
This reverts commit b94b7612617750d26eebe8b149e5a8d7f219a4db.
* Pay more attention to isTableCleared
* Remove convertAutoDupsort
* Fix DeleteCurrentDuplicates
* Small simplification of memoryMutationCursor.SeekBothRange
* Revert BaseCase -> baseCase
* Revert parameter renaming
* Restore an assertion
* Add TestAutoConversionSeekBothRange
* CursorDupSort doesn't do AutoDupSortKeysConversion
2022-08-11 09:55:28 +02:00
Alex Sharov
71d14b3d85
enable some linters ( #577 )
2022-08-10 19:08:09 +07:00
Alex Sharov
1e029ac6d8
go1.19 gofmt ( #576 )
...
* save
* save
2022-08-10 19:00:19 +07:00
dmitriyselivanov
4a534fd86e
add PendingBlock to EthBackend ( #572 )
2022-08-10 18:58:13 +07:00
Alex Sharov
3f6d59cb7d
up_metrics version ( #575 )
2022-08-10 18:39:19 +07:00
Alex Sharov
95e94b2eb5
erigon22: optimize index.add ( #571 )
...
* save
* save
2022-08-09 10:28:29 +07:00
Alex Sharov
2be46669d5
Progress type ( #568 )
2022-08-04 12:31:17 +07:00
Ryan Schneider
8fbf01ca91
mdbx: fix possible semaphore exhaustion on cancelled context ( #567 )
2022-08-04 11:43:56 +07:00
Andrew Ashikhmin
1d6c297797
Make Delete() remove all values for DupSort tables ( #565 )
...
* panic in MemoryMutation.Reset
* Make Delete remove all values for DupSort tables
2022-08-03 15:36:49 +02:00
Alex Sharov
0c9ada1ab0
dir.Exists() method ( #564 )
2022-08-03 15:07:36 +07:00
Alex Sharov
01585ae2a0
go modules instead of git-subtree ( #563 )
...
* save
* save
2022-08-03 11:54:34 +07:00
Alex Sharov
127d1bac5b
decompress: catch maxDepth underflow
2022-08-01 12:37:10 +07:00
Alex Sharov
ea2d29332c
mdbx: better error msg ( #561 )
2022-08-01 11:13:58 +07:00
Håvard Anda Estensen
ad2344a6cc
Replace ioutil with io and os ( #560 )
2022-08-01 11:03:48 +07:00
Alex Sharov
b552ed4386
fix 64kb pageSize page_full corner case #557 ( #557 )
2022-08-01 10:54:35 +07:00
Alex Sharov
dd32747db2
parity_listStorageKeys: *mdbx.MdbxCursor is not kv.CursorDupSort ( #559 )
2022-07-29 09:13:40 +07:00
Giulio rebuffo
5d7fb4ddb0
Expose Reset ( #558 )
...
* exposed Reset()
* exposed Reset()
* unimplemented commit
* complete reset
* complete reset
* complete reset
* better reset
* finished Reset
* fixed memory mutation
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-28 22:42:23 +02:00
ledgerwatch
fadc9b21d1
[erigon2.2] Split 2.2 and 2.3 prototype ( #548 )
...
* Introduce access functions to history
* Add missing functions
* Add missing functions
* Add missing functions
* Changeover in the aggregator
* Intermediate
* Fix domain tests
* Fix lint
* Fix lint
* Fix lint
* Close files
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-07-28 08:47:13 +01:00
Yusaku Sako
4a04d92840
Fixes an issue where pending transaction push was throttled to at most 1 per 100ms. https://github.com/ledgerwatch/erigon/issues/3892 ( #555 )
2022-07-27 12:09:20 +07:00