Alex Sharov
48bd0311d5
kv_remote: c.Count() ( #799 )
2022-12-22 12:44:06 +07:00
Alex Sharov
491423b6fe
e3: kv/temporal prototype 3 ( #796 )
2022-12-22 09:37:29 +07:00
Alex Sharov
f5db7c9bef
e3: kv/temporal prototype 2 ( #792 )
2022-12-20 09:28:09 +07:00
Alex Sharov
0d5c9f0fed
e3: kv/temporal prototype ( #791 )
2022-12-19 15:38:57 +07:00
Alex Sharov
d89b77ccb3
better memdb use in tesets ( #790 )
2022-12-19 10:58:15 +07:00
Alex Sharov
f239b04a72
e3: reconst MakeSteps - to check that files are indexed ( #789 )
2022-12-19 10:26:43 +07:00
Alex Sharov
2cabdd37fc
e3: prune all keys by DeleteCurrentDuplicates ( #788 )
2022-12-19 10:09:29 +07:00
Alex Sharov
0f8fdd40c2
unify logs a bit ( #787 )
2022-12-18 09:23:06 +07:00
hexoscott
55d0e42c95
yielded changes in txpool ( #784 )
...
pass in a slice of already yielded ids. Allows for per mining process
filtering. The global state before was causing issues with mining
processes stealing transactions.
2022-12-18 08:43:14 +07:00
Alex Sharov
3b68fec09a
mdbx: relax a bit merge limit (still leave it stronger than default) ( #786 )
2022-12-17 20:06:19 +07:00
Alex Sharov
199a9c890d
e3: increase default wal limit ( #785 )
2022-12-17 16:54:03 +07:00
Andrew Ashikhmin
125788cbac
Extend fork ID to timestamp-based forks ( #783 )
...
Prerequisite for https://github.com/ledgerwatch/erigon/pull/6324
2022-12-16 11:42:09 +01:00
Alex Sharov
9a8477f65c
e3: cancel background build ( #782 )
2022-12-15 17:07:37 +07:00
Alex Sharov
67815f5faa
e3: handle "kill -9" during merge, auto-hide history .ef file if not corresponding .v file ( #781 )
2022-12-15 13:49:03 +07:00
Alex Sharov
7f4876880c
e3: more aggressive prune ( #780 )
2022-12-14 09:50:31 +07:00
Alex Sharov
b20afcad3c
e3: auto-remove useless files ( #779 )
2022-12-14 09:03:09 +07:00
Max Revitt
c9c1b15547
Revert "Withdrawals - Database ( #758 )" ( #778 )
...
This reverts commit 183856e788
.
We will store the withdrawals in the body until we have a reason not to.
2022-12-12 12:23:21 +00:00
hexoscott
aa99053b78
reset yielded state in txpool ( #777 )
2022-12-12 10:14:56 +00:00
ledgerwatch
d70b55bc1a
Add PeerUseless function to instruct sentry that peer should not be used for a while ( #776 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-12-11 22:20:33 +00:00
ledgerwatch
874c497dda
Add passive_peers parameter to the sentry to better take advantage of non-POS block gossip ( #775 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2022-12-11 14:53:19 +00:00
Alex Sharov
2f641bdeb4
e3: earlier flush ( #774 )
2022-12-10 15:53:50 +07:00
ledgerwatch
dfd0e6cbfa
[erigon3] Add iterators and tables for incremental reconstitution ( #742 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-12-10 08:38:02 +00:00
hexoscott
c9a7ae152a
move to PeekBest and YieldBest methods in txpool ( #773 )
...
Following up on comments from the first iteration of this change. How
does this look?
2022-12-09 10:59:00 +00:00
hexoscott
9f72de1e9d
txpool to mark candidate txs for mining ( #772 )
...
as we're now visiting the txpool multiple times during mining we need a
way to ensure we're not trying to include the same transactions twice
and to only get new data each time. This seems a simple way to achieve
this, but if there would be a better way let me know.
2022-12-09 09:51:50 +00:00
Alex Sharov
3cf9b451e1
mdbx: runtime options are changeable in Ascedee mode ( #771 )
2022-12-07 17:10:32 +07:00
Alex Sharov
263a9e3583
mdbx: dirtySpace option expose ( #770 )
2022-12-07 16:35:55 +07:00
Alex Sharov
0c5a850177
mdbx bindings: remove txn.RawRead field ( #769 )
2022-12-07 13:08:51 +07:00
Alex Sharov
c9972dbc8f
e3: no wal support ( #768 )
2022-12-07 12:15:09 +07:00
Alex Sharov
2dcec83222
mdbx: add BeginRwAsync method ( #767 )
2022-12-07 11:19:08 +07:00
alex.sharov
bf912d4eaa
save
2022-12-07 10:31:14 +07:00
alex.sharov
3cd34cc900
Revert "save"
...
This reverts commit 00bb99d66d
.
2022-12-06 12:29:12 +07:00
alex.sharov
00bb99d66d
save
2022-12-06 12:28:53 +07:00
Max Revitt
183856e788
Withdrawals - Database ( #758 )
...
Adds withdrawals bucket to db.
2022-12-05 17:44:07 +00:00
Giulio rebuffo
c5f3972276
added getStatus ( #762 )
2022-12-05 03:55:18 +01:00
Alex Sharov
81be3e5d74
e3: buildFiles: return error when can ( #763 )
2022-12-04 16:19:49 +07:00
Håvard Anda Estensen
5a1726b107
Avoid leaking the popped item ( #760 )
...
Set the deleted item to its zero val so it can be garbage collected.
2022-12-04 16:19:09 +07:00
Håvard Anda Estensen
9d5f02ce76
Use hex package to convert bytes to string ( #761 )
...
From my
[benchmarks](https://github.com/estensen/benchmarks/blob/master/encoding/encoding.go )
it's a lot faster. Especially for few bytes.
```
cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
BenchmarkByteToHex/encode_bytes_to_hex_string_with_fmt.Sprintf_for_1_byte-12 12689306 89.64 ns/op 26 B/op 2 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_hex.EncodeToString_for_1_byte-12 80529291 14.74 ns/op 2 B/op 1 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_fmt.Sprintf_for_5_bytes-12 10836607 108.2 ns/op 40 B/op 2 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_hex.EncodeToString_for_5_bytes-12 42891154 28.82 ns/op 16 B/op 1 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_fmt.Sprintf_for_10_bytes-12 9706875 119.8 ns/op 48 B/op 2 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_hex.EncodeToString_for_10_bytes-12 31689613 33.88 ns/op 24 B/op 1 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_fmt.Sprintf_for_50_bytes-12 5202006 210.4 ns/op 136 B/op 2 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_hex.EncodeToString_for_50_bytes-12 10616301 109.5 ns/op 224 B/op 2 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_fmt.Sprintf_for_100_bytes-12 5614594 210.9 ns/op 136 B/op 2 allocs/op
BenchmarkByteToHex/encode_bytes_to_hex_string_with_hex.EncodeToString_for_100_bytes-12 10426776 108.6 ns/op 224 B/op 2 allocs/op
```
2022-12-04 16:17:37 +07:00
Alex Sharov
bee082f614
log experiment enabling ( #759 )
2022-12-03 12:56:12 +07:00
Alex Sharov
8a6090bcb7
e3: optimize incremental hashstate ( #756 )
2022-12-03 12:22:38 +07:00
hexoscott
6ec0a1ba7c
txpool to consider available gas in Best call ( #755 )
2022-12-02 15:32:56 +00:00
Alex Sharov
0613545530
mdbx: reproducibility of benchmarks ( #757 )
2022-12-02 18:42:35 +07:00
Alex Sharov
14ceff26c3
tests speedup ( #751 )
2022-12-01 14:45:03 +07:00
Andrew Ashikhmin
f32d6541e3
Add withdrawal operations to Engine API ( #734 )
...
See https://github.com/ethereum/execution-apis/pull/195
Prerequisite: https://github.com/ledgerwatch/interfaces/pull/134
2022-12-01 08:32:55 +01:00
Giulio rebuffo
fd11ffca3d
Added execution .proto ( #749 )
2022-11-30 11:20:21 +01:00
Alex Sharov
c63b54e470
e3: option to discard all history writes. useful to test execution performance. ( #753 )
2022-11-30 16:06:51 +07:00
Alex Sharov
7e661f184b
e3: option to discard all history writes. useful to test execution performance. ( #752 )
2022-11-30 15:33:43 +07:00
Alex Sharov
c793890fdd
grpc version up ( #750 )
2022-11-30 08:53:22 +07:00
Giulio rebuffo
2d86bff102
Sentinel interfaces ( #748 )
2022-11-29 00:01:03 +01:00
hexoscott
1e24a738bf
fix for windows tests ( #747 )
2022-11-28 16:17:27 +07:00
Giulio rebuffo
f776665b21
added BeaconBlocks table ( #746 )
2022-11-26 23:05:59 +01:00