Commit Graph

14649 Commits

Author SHA1 Message Date
ledgerwatch
0d34a5b9c5
[State sync experiment] Building dictionary for state file compression (#2721)
* Kasai experiments

* Use divsufsort instead of standard lib

* Refactor experiments, split dictionary building into chunks

* Fixes

* Estimate compression, sample

* More stats

* Parallelise

* Fix lint

* dictionary aggregator

* Actual replacement

* Fixes, separate dictionary processing

* Test file

* More correct dictionary, decompression

* Use dynamic programming to reduce dictionary

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-09-27 21:32:53 +01:00
Alex Sharov
bf5bde0a09
Pool: break data-dependency between effectiveTip and other fields (#2735) 2021-09-27 21:26:53 +07:00
e-danko
7d338f5e1c
#2660: added Kovan network (#2733) 2021-09-27 19:56:17 +07:00
Alex Sharov
3dcc226b8b
--mdbx.augment.limit (#2734) 2021-09-27 18:43:24 +07:00
Alex Sharov
a148e71d9d
Pool: switch to pendingBaseFee (#2732) 2021-09-26 23:09:36 +07:00
Enrique Jose Avila Asapche
3f1d51121c
Decoding incarnation and Tests (#2727) 2021-09-26 19:58:20 +07:00
Zachinquarantine
5da7fb64bf
Remove deprecated Whisper code (#2726) 2021-09-25 22:28:25 +07:00
alex.sharov
0976b9e452 add todo list to txpool readme 2021-09-24 09:42:17 +07:00
Igor Mandrigin
001e79d948 begin 2021.09.05 release cycle 2021-09-23 14:24:55 +03:00
ledgerwatch
8bbd5916b3
Update skip_analysis.go (#2723) 2021-09-23 10:38:28 +01:00
Alex Sharov
2b804cdc35
save (#2722) 2021-09-23 09:14:00 +07:00
Alexandr Borodulin
d7159cd8bd
More convenient pruning for non-PoW consensus: add --prune.*.before flags (#2714) 2021-09-23 09:13:19 +07:00
Alex Sharov
0b776eead4
flag --txpool.v2 to enable --state.stream flag (#2718) 2021-09-22 15:39:51 +07:00
Alex Sharov
787ec652a0
Sender check read from db (#2717) 2021-09-22 11:57:09 +07:00
Alex Sharov
3de50637cd
remove changeset.Walk func (#2716) 2021-09-22 07:54:29 +07:00
Alex Sharov
133eec0c7e
Pool: correct new pending txs notifications (#2715) 2021-09-21 17:35:28 +07:00
ledgerwatch
3e0528b557
Update ci.yml (#2713) 2021-09-21 16:31:07 +07:00
ledgerwatch
a9e4cbc83e
Recsplit experiments (#2706)
* Only do 2m

* Optimisation

* Flexible count

* Count properly

* count

* Bijection check

* Add keys

* Print bucket info

* Collision map

* Collision map

* Add tracing

* Tracing

* Fix split

* No trace, print lookup time

* Not override count if block=0

* fix count

* Go mod tidy

* Fix lint

* Measurements

* Cleanup

* Latest erigon-lib

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-09-21 07:53:22 +01:00
alex.sharov
6927165f0e save 2021-09-21 08:57:23 +07:00
Alex Sharov
a0321e2f3a
Pool: return lost error, fix race of 2 sentries, more friendly logs (#2707) 2021-09-20 20:16:50 +07:00
Alex Sharov
1f8937fdd1
Pool: discard reasons, lru, start pool even if no --mine flag (#2704) 2021-09-20 13:20:50 +07:00
Alex Sharp
c519b04551 Revert "state mphf experiment"
This reverts commit b0182d7834.
2021-09-19 11:41:51 +01:00
Alex Sharp
b0182d7834 state mphf experiment 2021-09-19 11:40:23 +01:00
ledgerwatch
836d7e07f9
Recreate bitmap in call traces (#2700)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-09-18 22:41:27 +01:00
Alex Sharov
8d9e058eb7
Pool: chain config, non-mainnet (#2702) 2021-09-18 20:58:23 +07:00
Alex Sharov
b30ccd2ddf
Revert "Add prune before parameters" (#2701)
This reverts commit 49a98ad4b6.
2021-09-18 08:37:39 +07:00
Alexandr Borodulin
49a98ad4b6
Add prune before parameters 2021-09-17 19:01:15 +07:00
Alex Sharov
165fe1696f
Pool: readme (#2699) 2021-09-17 18:21:21 +07:00
Jaanek Oja
5e4bd653d7
mark support for eip-1559 tx types for most permissive signer (#2698)
Co-authored-by: Jaanek Oja <jaanekoja@gmail.com>
2021-09-17 10:00:23 +01:00
Alex Sharov
400c71b7ce
Pool: txID-based cache (#2697) 2021-09-17 10:31:20 +07:00
Alex Sharov
8b7b05fb1b
increase max jump in 1 tx from 1k to 8k 2021-09-16 21:09:14 +07:00
Alex Sharov
3b9f07f550
don't recover sender only to print it in logs (#2695) 2021-09-16 21:08:46 +07:00
Igor Mandrigin
5c377a4f01 begin 2021.09.04 release cycle 2021-09-16 13:24:38 +03:00
ledgerwatch
44768b5a4f
Update skip_analysis.go (#2692) 2021-09-16 15:21:21 +07:00
e-danko
70ff9bb0bb
#2371: added saving Erigon version in database (#2683) 2021-09-15 20:44:22 +07:00
Alex Sharov
896bf5edf5
Pool: up to last version (#2689) 2021-09-15 20:16:49 +07:00
alex.sharov
f4969876ad suppress rlp parse warnings 2021-09-15 20:06:18 +07:00
alex.sharov
74df0a9516 suppress rlp parse warnings 2021-09-15 20:04:57 +07:00
Alex Sharov
76dd448c70
Pool: switch cache to tx.ID(), add blockNum to tx info to drop from full pool old txs first (#2688) 2021-09-15 19:34:05 +07:00
Alex Sharov
ad1682cf40
Expose mdbx's txID to remote_kv (#2686) 2021-09-15 14:22:57 +07:00
Alex Sharov
ec14cba611
Remote Pool: add mining rpc, test pending txs stream (#2685) 2021-09-15 09:09:19 +07:00
Andrew Ashikhmin
ced5965ef7
Remove ReceiptsKey in favour of EncodeBlockNumber (#2681) 2021-09-13 20:59:18 +07:00
George Hotz
1e94b3a13d
fix eth_callBundle by allowing nil baseFee in tx serialize (#2674) 2021-09-13 17:04:08 +07:00
Alex Sharov
77db993cfc
Pool: add coherent cache (#2678) 2021-09-13 14:58:25 +07:00
Alex Sharov
71b3491807
fix sentry forks slice race (#2677) 2021-09-13 14:29:08 +07:00
Alex Sharov
a3cd1d3df4
fix sentry forks slice race (#2676) 2021-09-13 13:54:12 +07:00
Alex Sharov
d7c929411b
fix sentry discover race (#2675) 2021-09-13 13:39:48 +07:00
Alex Sharov
8b22477fd5
Enode quit race (#2673) 2021-09-13 13:07:34 +07:00
Eugene
4bd8721d49
sentry/download: (#2672)
*Use atomics for `PeerInfo.Height()` and `PeerInfo.SetHeight(uint64)`
2021-09-12 17:51:15 +07:00
Giulio rebuffo
e9c4d77410
Merge pull request #2671 from ledgerwatch/enriavil1-more-generalised-pruneReceipts
Enriavil1 more generalised prune receipts
2021-09-12 12:26:52 +02:00