Andrew Ashikhmin
02f6cac7b7
Move hexutil.Bytes to erigon-lib ( #7305 )
2023-04-13 11:19:02 +00:00
alex.sharov
6e57f3ef92
e3: less conlicts
2023-04-10 09:38:08 +07:00
Alex Sharov
e26c607922
e3: combine input tasks channel+heap to class PriorityQueueWithRetry and add docs ( #7275 )
2023-04-07 06:43:05 +00:00
Alex Sharov
9b5d7357dd
e3: remove sync.Cond and make ownership of first queue clearer (producer will close it). ( #7268 )
...
Separate:
- new tasks coming by channel with limited capacity (touching the limit
will block - like sync.Cond.Wait() does, but composable). as a result -
don't need track queue size (it will not increase conflict-rate).
- re-exec tasks are going to priority-queue (which is also higher
priority than 1-st `chan`).
2023-04-06 09:03:54 +00:00
Alex Sharov
65fcec8d85
e3: replace sync.Cond to fix deadlock ( #7243 )
2023-04-03 11:33:43 +00:00
Alex Sharov
8720641c3a
e3: register metric the right way ( #7244 )
2023-04-03 08:55:10 +00:00
Alex Sharov
b34b7e8fd2
e3: add done txs metric ( #7241 )
2023-04-03 04:54:20 +00:00
Alex Sharov
04b5c0c67b
e4: small tests preparations ( #7220 )
2023-03-31 02:19:56 +00:00
Alex Sharov
592ec1ee0d
e4: step 1 to run tests ( #7209 )
2023-03-29 14:01:27 +00:00
Alex Sharov
417a437584
Break dependency of ethcfg
package to core
/consensus
/etc... move genesis struct to 'types' package ( #7206 )
2023-03-29 07:27:06 +00:00
alex.sharov
0f14970689
kv_temporal lost commit
2023-03-26 12:15:08 +07:00
Alex Sharov
cff73b8aec
add constant kv.Unlim=-1 ( #7183 )
2023-03-26 03:18:04 +00:00
Alex Sharov
201572c6f5
enable more linters #954 ( #7179 )
2023-03-25 05:13:27 +00:00
Alex Sharov
7a51a29991
e3: DomainGetAsOf, DomainRange ( #7177 )
2023-03-25 03:51:43 +00:00
Alex Sharov
f4fb329c55
e3: remove some iterator ( #7174 )
2023-03-24 08:36:52 +00:00
Alex Sharov
9001f668a7
go 1.19 atomics ( #7164 )
2023-03-23 05:11:28 +00:00
Alex Sharov
223fcd178c
e3: domain range api simplify ( #7158 )
2023-03-22 07:36:03 +00:00
Alex Sharov
0ffaca865e
e3: unionKV limit ( #7157 )
2023-03-22 06:58:01 +00:00
Alex Sharov
28c1b1d50d
e4: to use serializev3 ( #7154 )
2023-03-22 04:53:49 +00:00
Alex Sharov
f2d99f9d85
e3: split "changed keys" iterator to simplify ( #7086 )
2023-03-13 08:06:50 +00:00
Alex Sharov
f432cde16b
e3: reconst: run workers in errgroup ( #7071 )
2023-03-13 04:04:49 +00:00
Alex Sharov
d4e25daf22
etl: distinct empty values from nil ( #7039 )
...
Reverts ledgerwatch/erigon#7038
2023-03-07 04:19:00 +00:00
Alex Sharov
78aa8652d2
e3: native map instead of btree where can (because e2 experience shows - it's faster) ( #7010 )
2023-03-07 02:34:30 +00:00
Alex Sharov
a4f69abb97
e3: less locks, less casts ( #6991 )
2023-03-01 07:59:56 +00:00
alex.sharov
4e5f14c4c1
Revert "e3: faster apply ( #6970 )"
...
This reverts commit 4b4d27195c
.
2023-03-01 10:11:30 +07:00
Alex Sharov
4b4d27195c
e3: faster apply ( #6970 )
2023-02-27 14:57:02 +07:00
Alex Sharov
8bffe4499b
e3: less wal locks ( #6971 )
2023-02-27 07:03:00 +00:00
Alex Sharov
4d2c3c2522
e3: branchless get ( #6969 )
2023-02-27 06:57:49 +00:00
Alex Sharov
860f0fd569
evm: remove mutex from journal ( #6967 )
2023-02-27 05:48:18 +00:00
Alex Sharov
fae889f815
e3: index readers pool ( #6954 )
2023-02-26 02:04:46 +00:00
Alex Sharov
ddcb1c90cd
e3: don't collect readList in ApplyWorker, because it's conflict-free ( #6916 )
2023-02-21 05:11:45 +00:00
ledgerwatch
1705a52876
Cleanup in IntraBlockState ( #6900 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-19 17:19:52 +00:00
alex.sharov
a251da2515
e3: move part to ergion-lib
2023-02-15 11:16:34 +07:00
alex.sharov
917b14962e
e3: simplify mutex
2023-02-15 11:07:34 +07:00
alex.sharov
35c1bc07e7
e3: discard history flag
2023-02-15 10:23:19 +07:00
alex.sharov
dbc3bb178f
fix lint
2023-02-14 14:51:03 +07:00
Alex Sharov
d3d88c9ad6
e3: cast keys same way as e2 does ( #6870 )
2023-02-14 06:38:50 +00:00
Alex Sharov
794051ba0e
e3: int type for size fields to avoid underflow and simplify ( #6857 )
2023-02-13 05:58:01 +00:00
Alex Sharov
999899d66d
e3: read files list from db ( #6833 )
2023-02-13 05:17:01 +00:00
ledgerwatch
f27a94621c
Fix tests after merge ( #6841 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-11 21:22:17 +00:00
ledgerwatch
ee83447fa1
CL lightclient to create memdb in the tmpdir which gets cleaned up on… ( #6829 )
...
… startup
---------
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-11 20:44:51 +00:00
Kian
b40e81bf3a
Fix 'make bindings' ( #6824 )
...
Solidity 0.8.0 breaks the current use of `payable` in these test
contracts, resulting in errors like
```
Error: Type address is not implicitly convertible to expected type address payable.
--> selfDestructor.sol:10:9:
|
10 | address payable nil = address(0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
Related to #6680
2023-02-10 09:03:45 +07:00
Alex Sharov
aaec53857f
e3: last reader to close/remove merged files (marked as canDelete
) inside tx.Rollback() ( #6738 )
2023-02-01 15:44:13 +07:00
Alex Sharov
dfca60c054
e3: indices wal - to reuse etl collector ( #6757 )
2023-02-01 10:02:29 +07:00
Alex Sharov
44f7ff3c95
e3: small rename ( #6734 )
2023-01-29 10:56:14 +07:00
Alex Sharov
9287a2202b
e3: eth_getModifiedAccountsByNumber ( #6733 )
2023-01-29 10:10:39 +07:00
Alex Sharov
2998aa6386
e3: debug_accountRange ( #6726 )
2023-01-28 12:03:24 +07:00
Alex Sharov
b99e4abb3e
move math big constants to erigon-lib ( #6719 )
2023-01-27 11:39:34 +07:00
Andrew Ashikhmin
d12fda5cbd
Switch AccessList, IntrinsicGas, SafeAdd/Mul to erigon-lib ( #6709 )
...
Reduce code duplication.
2023-01-26 12:26:12 +01:00
Alex Sharov
30fefd1fe1
e3: trace_filter on iter ( #6707 )
2023-01-26 17:24:29 +07:00