Commit Graph

1195 Commits

Author SHA1 Message Date
Alex Sharov
bf836996ed
uint 256 lib up (#635) 2022-09-12 10:53:59 +07:00
Alex Sharov
34bd7cfc4d
dir remove ext (#634) 2022-09-12 10:51:50 +07:00
Giulio rebuffo
2017964398
added temporary database (#633)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-10 23:56:59 +02:00
Andrea Lanfranchi
09680a841f
MDBX does support empty keys (#631)
* MDBX does support empty keys

* Lint errors

* Amend test

Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-09-09 16:25:00 +02:00
Alex Sharov
4858acfb2e
fix lint (#632) 2022-09-09 21:07:39 +07:00
Alex Sharov
4fea8e9ba2
erigon22: history iterator v3 #630 2022-09-08 14:01:32 +07:00
Alex Sharov
6db97dbe2d
enable some test (#629) 2022-09-08 11:19:32 +07:00
Alex Sharov
e6276aeea8
erigon22: history iterator v2 (#628) 2022-09-08 11:09:54 +07:00
Alex Sharov
c22f737b87
Erigon22: use history iterator #627 2022-09-07 15:57:28 +07:00
Alex Sharov
f8060aa75d
erigon22: HistoryIterator1 v1 (#626) 2022-09-07 14:40:39 +07:00
Enrique Jose Avila Asapche
a1f691e032
returning an error if offset is wrong (#621)
* returning an error if offset is wrong

* added file broken

* index file being printed
2022-09-07 14:40:27 +07:00
Alex Sharov
841fe604f9
erigon22: fix infinity loop #624 2022-09-06 13:56:07 +07:00
Alex Sharov
775ace2e37
erigon22: historyReader22 and more tests #623 2022-09-06 13:54:58 +07:00
Andrew Ashikhmin
e572bef176
Remove TxParseContext.withBor (#622) 2022-09-04 13:15:02 +02:00
Andrew Ashikhmin
bae34e0149
Only legacy transactions can happen before EIP-2 (#620) 2022-09-02 13:48:50 +02:00
Andrew Ashikhmin
215695f939
Add a test with the bad txn on Görli (#619) 2022-09-02 10:37:02 +02:00
Enrique Jose Avila Asapche
7505532113
got rid of bor related things (#618) 2022-09-02 10:50:59 +07:00
ledgerwatch
d9648b4c69
Cleanup interfaces (#617)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 14:41:00 +01:00
Andrew Ashikhmin
987fb4a7e1
ParseTransaction: Validate v, r, s in signature (#616)
* Introduce TxParseContext.allowPreEip2s

* TxParsseConfig -> TxParseConfig

* Extract MustDecodeHex

* Validate v, r, s of txn signature

* Add comment
2022-09-01 15:26:42 +02:00
Giulio rebuffo
0883fdc23d
added check for same tx included more than once (#574)
* added check

* added check

* added check

* Update pool.go

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-31 14:41:51 +01:00
ledgerwatch
0263814f92
Cleanup interfaces (#615)
* Cleanup interfaces

* Add PendingBlock

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-08-31 14:41:33 +01:00
Håvard Anda Estensen
a9459aea68
Enable thelper linter (#610) 2022-08-31 10:09:44 +07:00
Alex Sharov
1508952df9
mdbx more metrics (#614) 2022-08-31 10:09:23 +07:00
Alex Sharov
22beae4579
mdbx more metrics (#613) 2022-08-31 10:04:53 +07:00
Enrique Jose Avila Asapche
393fcf6856
check with bor (#612)
* check with bor

* lol
2022-08-30 18:50:34 +07:00
Enrique Jose Avila Asapche
1a42afe5f2
Parse transaction for bor (#604)
* checking if it is a bor tx

* ops

* checking if sender is empty bytes

* no need for borSprint var

* fixing lint

* still returning p

* added isBor to slot

* added global var

* got rid of sender check

* ops

* ops two

* lint
2022-08-30 09:51:26 +07:00
Håvard Anda Estensen
f418be8e50
Enable unconvert linter (#609)
* Enable unconvert linter

* Print filename and line number when linting fails

* Use same golangci-lint version in makefile as in ci

* Remove unnecessary conversions

* Remove unnecessary conversions
2022-08-30 09:50:23 +07:00
Håvard Anda Estensen
82e0422a49
Upgrade golangci-lint (#606)
* Upgrade golangci-lint to 1.49

* Remove deprecated linters
2022-08-29 11:08:07 +07:00
Håvard Anda Estensen
3b0c5f75f8
Enable prealloc linter (#607) 2022-08-29 11:07:53 +07:00
Alex Sharov
e40691a4ad
history22: small renames #608 2022-08-29 11:07:10 +07:00
Alex Sharov
588519a33b
erigon22: recent history read (#605) 2022-08-28 11:25:53 +07:00
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