Alex Sharov
6df6640868
erigon22: prune - check key existance ( #5059 )
2022-08-15 14:36:57 +07:00
Alex Sharov
1a1b606146
erigon22: unwind code ( #5058 )
2022-08-15 10:27:32 +07:00
Alex Sharov
fa223eef24
Win path ( #5056 )
2022-08-15 08:45:23 +07:00
ledgerwatch
0f20e1cb93
erigon2.2 optimise reconstitution of state ( #4958 )
...
* No parallel buildFiles and mergeFiles to conserve memory
* go mod
* Fix and optimise
* Fix
* Another fix
* Fix
* Extra return value
* Optimise recon
* Another optimisation of recon
* Different order of usage
* Fix
* Fix
* Optimise allocations
* Lookup before going to history
* Fix
* Fix
* Optimise a bit more
* Only use one helper table
* Set bro tx
* Set broTx to writer
* Use same db for recon and x
* Write into chainDb
* Update to latest erigon-lib
* Remove test
* Set execution progress
* Fix compilation
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-mbp.lan>
2022-08-14 19:49:32 +01:00
Alex Sharov
f82cca8288
up atomic lib version #5053
2022-08-14 21:12:48 +07:00
Reinhard Schu
7009a2cbb2
Update README.md ( #5052 )
...
Update the description of the stages to align with current alpha version
2022-08-14 20:32:37 +07:00
Alex Sharov
6495ec6d28
erigon22: working PlainState unwind ( #5051 )
2022-08-14 18:06:32 +07:00
Alex Sharov
a8cbf6e476
Open erigon_watchTheBurn: could not find block header ( #5050 )
2022-08-14 17:52:42 +07:00
Mark Shields
29234b4fc2
feat: Dockerfile apk add curl jq ( #5047 )
2022-08-14 09:04:15 +07:00
Giulio rebuffo
c58a3be765
ops ( #5048 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-13 23:40:53 +02:00
Giulio rebuffo
6713abb420
fixed exec22 panic ( #5045 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-13 18:54:32 +01:00
Alex Sharov
52987a56f3
rpcdaemon: start without panic when --snapshots=false #5043
2022-08-13 22:16:24 +07:00
Alex Sharov
60ff998133
integration: make --datadir and --chain required #5041
2022-08-13 21:46:25 +07:00
Alex Sharov
778792e20e
Sentry doc ( #5040 )
...
* save
* save
* save
2022-08-13 21:37:51 +07:00
Alex Sharov
52fd0d0e8b
Aggregator22.Unwind() ( #5039 )
...
* save
* save
2022-08-13 18:51:25 +07:00
Alex Sharov
64bc837ccf
erigon22: integration, to support parallel execution ( #5037 )
...
* save
* save
2022-08-13 16:53:10 +07:00
Alex Sharov
5ee318e722
--db.read.concurrency must be not less than 10 ( #5036 )
...
* save
* save
2022-08-13 16:16:18 +07:00
Alex Sharov
de3a602a24
erigon22: bsc fixes
2022-08-13 16:09:52 +07:00
Alex Sharov
4f007ae43e
erigon22: use chainDB instead of db22 for everything ( #5034 )
2022-08-13 12:08:15 +07:00
Alex Sharov
e27f669a3f
erigon2.2: save stage progress to chainDB, can run "integration stage_exec" and "state erigon22" on same datadir ( #5033 )
2022-08-13 11:17:24 +07:00
Alex Sharov
8f086605d9
save ( #5032 )
2022-08-13 09:53:19 +07:00
Giulio rebuffo
8ade569cc5
Save PoW blocks for processing received through P2P ( #5015 )
...
* save terminal blocks
* ops
* save less PoW blocks
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-12 21:54:20 +02:00
Alex Sharov
40535837c9
Simplify write body ( #5031 )
...
* save
* save
2022-08-13 00:14:42 +07:00
Alex Sharov
fc8f3fabc3
mdbx: expose_growth_step ( #5030 )
...
* save
* save
* save
* save
* save
2022-08-12 23:04:47 +07:00
Andrew Ashikhmin
0e55660f11
Don't log "Wrote block ..." unless we're actually writing something ( #5027 )
2022-08-12 22:40:27 +07:00
Alex Sharov
811f531561
erigon22: support of integration stage_exec ( #5029 )
2022-08-12 22:39:33 +07:00
Alex Sharov
25d85d88c5
state erigon22: use right db ( #5028 )
2022-08-12 21:45:09 +07:00
Max Revitt
7a87da9497
fix(sentry): add locks in sentry grpc ( #4981 ) ( #5025 )
2022-08-12 21:18:43 +07:00
fynn.z
6a4cd468c7
fix stage sync hang at a mined block ( #5018 )
2022-08-12 17:01:50 +07:00
Enrique Jose Avila Asapche
bec93b54e6
erigon-lib nill ptr check ( #5021 )
2022-08-12 17:01:31 +07:00
Andrew Ashikhmin
a5efcd721a
Mainnet Terminal Total Difficulty ( #5020 )
2022-08-12 16:22:33 +07:00
Alex Sharov
4594ce5ef7
erigon22: history.v2 flag, align rpcdaemon22 ( #5016 )
...
* save
* save
* save
* save
* save
2022-08-12 16:13:14 +07:00
Giulio rebuffo
348be13508
fixed gossip post TTD ( #5012 )
...
* gossip all gossip
* gossip all gossip
* fixed tests
* fixed gossip post TTD
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-11 19:55:59 +02:00
nanevardanyan
8749fb4a70
cmd: make sure chain config is initialized before accessing it ( #5006 )
...
* cmd: make sure chain config is initialied before accessing it
* cmd: avoid using lazy field directly
2022-08-11 23:44:11 +07:00
Enrique Jose Avila Asapche
30df8a9765
Solving log index out of bound error ( #5009 )
2022-08-11 19:08:20 +03:00
Max Revitt
9732b3435c
feat(hiveci): thorax dockerhub repo with updated hive ( #5005 )
2022-08-11 21:43:16 +07:00
Alex Sharov
206f41811d
save ( #5010 )
2022-08-11 21:37:14 +07:00
Alex Sharov
a7d07ad04d
erigon22 add to exec stage ( #5008 )
...
* save
* save
* save
2022-08-11 21:06:41 +07:00
Andrew Ashikhmin
2fc084c321
erigon-lib: Various fixes and improvements of MemoryMutation ( #4990 )
...
* erigon-lib: Various fixes and improvements of MemoryMutation
* Switch back to main branch of erigon-lib
2022-08-11 10:43:00 +02:00
Alex Sharov
61d3b6c297
erigon22 use initialSync variable ( #5004 )
2022-08-11 12:08:27 +07:00
Henrique Barcelos
f868bf6678
docs: add --authrpc.port
flag to instructions to run multiple instances on the same host ( #4994 )
...
* Multiple instances: add `--authrpc.port` flag
Fix #4993 .
* Fix instructions for running multiple instance in one machine
* Refactor: reorganize the order of the flags
2022-08-11 11:37:02 +07:00
Alex Sharov
d643da3db8
erigon22 move exec to own package ( #5003 )
...
* save
* save
2022-08-11 11:36:13 +07:00
Alex Sharov
e786cbac24
E22 step2 ( #5002 )
2022-08-11 11:19:59 +07:00
Alex Sharov
f83032533f
Revert "move exec22 to package, call it from stage_exec ( #5000 )" ( #5001 )
...
This reverts commit efa6dfd8ce
.
2022-08-11 11:18:23 +07:00
Alex Sharov
efa6dfd8ce
move exec22 to package, call it from stage_exec ( #5000 )
2022-08-11 11:17:03 +07:00
Alex Sharov
18757053cf
fix merge conflict ( #4998 )
2022-08-11 09:18:17 +07:00
fenghaojiang
12cf311b7c
feat: add erigon_getLogs
with timestamp field to erigon rpcdaemon and fix the issue 4982 ( #4968 )
...
* add_abigen_error_handle
* add abigen error type test code
* add field timestamp in `eth_getLogs` api
add field timestamp in `eth_getLogs` api
* undo add field timestamp in `eth_getLogs`
* add `erigon_getLogs` api and add field `timestamp`
add `erigon_getLogs` api and add field `timestamp`
* feat: add `erigon_getLogs` with timestamp field to erigon rpcdaemon
feat: add `erigon_getLogs` with timestamp field to erigon rpcdaemon
* fix: issue `4982` roaring out of range
fix: issue 4982 roaring out of range
* convert rangeEnd to latest
convert rangeEnd to latest when range end is a big value that go out of range of MaxUint32
* add begin condition
add begin condition in case of bigger than latest block
* add annotation to unreachable code
2022-08-11 09:16:40 +07:00
Giulio rebuffo
b09de9e0d5
[P2P] gossip all gossip ( #4995 )
...
* gossip all gossip
* gossip all gossip
* fixed tests
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-10 22:08:56 +02:00
Enrique Jose Avila Asapche
816ecc56db
Get logs fix ( #4992 )
...
* getting header number from snapshots
* Revert "getting header number from snapshots"
This reverts commit b2a899ae6b1a18d5eb769522c30caa3aebd060e7.
* using latest executed block number && snapshots
* printing bimaps
* log info
* more logs
* more logs
* logs
* ops
* nil ptr
* log topic
* more print
* ops
* storing bor logs
* got rid of the logs
* clearing buf
2022-08-10 19:03:22 +03:00
Enrique Jose Avila Asapche
8e96958fa9
having transactions ( #4991 )
...
* having transactions
* checking if we have field
* ops
2022-08-10 22:59:40 +07:00