Andrew Ashikhmin
9b8888d797
Delete bad blocks on unwind ( #4529 )
...
* Delete bad headers
* Delete bad bodies
2022-06-24 15:52:04 +02:00
Giulio rebuffo
7a2b575e56
Added memory execution ( #4446 )
...
* add
* added in memory execution draft
* func to state
* added functionality
* backend function for memory execution
* simplified stage state
* haltable stage execution
* added mod sum
* hd
* sl
* LOL
* LOL again
* need trace
* more logs
* added cleanup on fcu
* fcu
* mod
* bunch of prtln
* feed
* ops
* headers notify
* revert
* slightly more commented
* head
* nil block retire
* comments
* prevent clean
* corrected occasional panics
* fixed lint
2022-06-19 20:45:36 +01:00
Andrew Ashikhmin
eb497372ae
Interruptible PoS block building ( #4438 )
...
* Fix a typo
* BlockBuilder dummy
* BlockProposerParametersPOS -> BlockBuilderParameters
* Pass tx to MiningStep
* BlockBuilderFunc
* Interrupt in MiningExec Stage
* Draft implementation of BlockBuilder
* Fail back to empty header
* Add a comment
* cosmetic change
* Cosmetic change again
* It's not safe to pass transactions between goroutines
2022-06-13 15:43:09 +02:00
Alex Sharov
935975bebd
methods to configure db ( #4412 )
...
* save
* save
* save
2022-06-09 09:45:30 +07:00
Alex Sharov
7c79d6d453
Cfg dirs ( #4388 )
2022-06-07 11:00:37 +07:00
Alex Sharov
a53642b4bf
datadir.Dirs configuration object to group dir config ( #4387 )
2022-06-07 10:24:50 +07:00
Alex Sharov
109e8ab814
StageSenders: wrong canonical array size at initial sync with snapshots ( #4378 )
...
* save
* save
* save
2022-06-06 18:08:33 +01:00
Enrique Jose Avila Asapche
9f1cc40c89
changed syncmode flag to snapshots flag ( #4353 )
...
* changed syncmode flag to snapshots flag
* using boolT
* Remove syncmode concept
* Add mumbai
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 07:33:55 +01:00
ledgerwatch
ee4ffd190d
Update skip analysis ( #4364 )
...
* Skip analysis advance, fix for change sets
* Optimisations for integration
* Print
* Print
* Fix
* Fix
* Fix
* Remove prints
* No panic
* More checks
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-04 16:54:22 +01:00
Alex Sharov
f838268e44
[wip] Snapshots: more runtime invariants check ( #4350 )
2022-06-03 18:50:01 +07:00
Enrique Jose Avila Asapche
49292346b3
Auto correcting sync mode instead of giving an error ( #4337 )
2022-06-03 09:38:10 +01:00
Enrique Jose Avila Asapche
bc21ab9d97
syncmode changes ( #4334 )
...
* log syncmode
* little comment
* ops
* calling log in correct place
* got rid of error instead we warn
* no return
2022-06-02 14:15:00 +01:00
battlmonstr
0c5d1d64a3
observer: sentry candidates intake ( #4321 )
...
* sentry client: log connected peer info
* observer: unseen sentry peers report
* observer: refactoring node.go to node_utils
* observer: sentry candidates intake
2022-06-01 22:48:24 +01:00
Alex Sharov
955c669d21
Group few sync configs ( #4303 )
...
* save
* save
2022-05-30 17:08:49 +07:00
Alex Sharov
0795bcb865
integration: validate syncmode flag ( #4300 )
2022-05-30 09:59:38 +07:00
Alex Sharov
6eb10ba9a8
Use ETL to fill kv.HeaderNumber from snapshots ( #4272 )
...
* merge devel
* save
2022-05-26 21:41:05 +07:00
Alex Sharov
66248c4bfb
Torrent: verify all files ( #4270 )
2022-05-26 12:27:44 +07:00
battlmonstr
6b1f91407d
sentry: multi sentry client refactoring ( #4265 )
2022-05-26 10:45:35 +07:00
Alex Sharov
fc1a37e6dc
create turbo/services pkg ( #4269 )
2022-05-26 10:31:06 +07:00
Alex Sharov
d4d4c2ec13
Open Integration: use same db limit ( #4259 )
2022-05-25 16:22:02 +07:00
Alex Sharov
c2e0956e3e
return err on invalid syncmode ( #4219 )
...
* save
* save
* save
2022-05-20 16:04:38 +07:00
Alex Sharov
10bcbf4a68
Snap: faster Erigon re-start ( #4201 )
2022-05-19 12:28:33 +07:00
Alex Sharov
64508a7d4e
Snap: call AddHeadersFromSnapshot only at initialCycle ( #4198 )
2022-05-19 10:38:53 +07:00
Alex Sharov
4e7807251a
Ensure snapshotDir not created by accident ( #4164 )
...
* save
* save
* save
2022-05-17 09:40:45 +07:00
Alex Sharov
e1dec529d4
Generic sort of slices (no allocs, inlinable) ( #4161 )
...
* save
* save
* save
* save
* save
2022-05-16 08:24:12 +01:00
Alex Sharov
2c26583f6f
Rename sentry.ControlServerImpl to sentry.MultyClient and sentry.SentryServerImpl to sentry.GrpcServer #444
2022-05-10 12:17:44 +07:00
Alex Sharov
3e4fb5dd49
up linter version ( #4108 )
...
* save
* save
* save
2022-05-10 10:14:09 +07:00
Alex Sharov
4ba1f03efe
Snapshots: atomic dir, step 3 ( #4103 )
2022-05-10 09:29:44 +07:00
Alex Sharov
32d8ab34d9
atomic snapshot dir, step 2 ( #4093 )
...
* atomic snapshot dir
* atomic snapshot dir
2022-05-07 14:53:21 +07:00
Alex Sharov
a13c5ba904
Fix non-starting download ( #4031 )
...
* save
* save
* save
* save
2022-04-30 11:42:36 +07:00
Alex Sharov
77560b6732
More careful handle of sequences in stage_headers --reset ( #4023 )
...
* save
* save
* save
* save
2022-04-29 14:37:02 +07:00
ledgerwatch
285c782b1b
More efficient header verification of headers for Parlia when snapshots are used ( #3998 )
...
* Update stageloop.go
* Print
* Consider snapshot headers as parlia checkpoints
* Not fail after not loading snapshot
* Lazy snapshots
* Print number of validators
* More printing
* Use epoch instead of checkpoint interval
* Reduce logging
* Fix compilation
* Remove trace jump dest
* Fix lint
* Not store snapshots every epoch
* Separate snapshot for verification and finalisation
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-29 07:10:31 +01:00
ledgerwatch
bd3b734027
[integration tool] Clean BorReceipt when reset state ( #4013 )
...
* Update reset_state.go
* Update reset_state.go
2022-04-28 14:59:04 +07:00
Alex Sharov
831da9ba41
reduce downloader deps ( #4011 )
2022-04-28 12:42:14 +07:00
Alex Sharov
2655d57288
reduce downloader deps ( #4010 )
...
* reduce downloader deps
* reduce downloader deps
2022-04-28 12:13:30 +07:00
Alex Sharov
e04f7fc9f8
Integration: allow headers --reset ( #3972 )
2022-04-26 12:54:05 +07:00
Alex Sharov
3906d7e51f
Snapshots: allow stage_headers --unwind behind available snapshots ( #3971 )
...
* save
* save
* save
2022-04-26 12:04:38 +07:00
Krishna Upadhyaya
4a8eb34d1e
Use heimdall url in integration bor consensus ( #3940 )
2022-04-22 15:41:49 +07:00
Giulio rebuffo
c5b1836481
Added Ethstats service ( #3931 )
...
* somewhat there but not yet
* lol
* more efficient ethstats
* lint
* not die on no wifi
2022-04-22 07:23:52 +01:00
Alex Sharov
6aa4999729
Parallel indexing ( #3921 )
2022-04-21 10:34:10 +07:00
Alex Sharov
8d81c3b0f8
Rwdir fix2 ( #3915 )
2022-04-19 08:55:46 +07:00
Alex Sharov
f2a9763a6d
integration: senders check that snapshots are not nil #3905
2022-04-17 09:52:05 +07:00
Alex Sharov
9b47daee44
Default syncmode=snap for Mainnet, Bsc, Goerli ( #3861 )
...
* change syncmode default to snap sync
* save
2022-04-10 07:20:20 +01:00
Alex Sharov
80bd44fce5
Snapsthos: build indices on retire blocks ( #3823 )
...
* grpc up
* grpc up
* grpc up
2022-04-05 16:22:11 +07:00
Alex Sharov
3030526afb
Delete blocks on integration stage_header --unwind ( #3813 )
...
* fix for non-can block
* fix for non-can block
2022-04-04 14:12:14 +07:00
alex.sharov
10f195578b
fix linter
2022-04-01 15:11:02 +07:00
Alex Sharov
d1218181b0
Snapshots: geth compatibility, use --syncmode=snap flag ( #3808 )
2022-04-01 15:00:50 +07:00
Alex Sharov
477d04f669
Integration: update StageFinish too #3782
2022-03-29 13:45:53 +07:00
Alex Sharov
89d4477df3
Snapshots: nil indices on p2p fix ( #3772 )
2022-03-27 10:07:58 +07:00
Alex Sharov
4da85fe94e
integration_unwind_sender ( #3767 )
2022-03-25 11:00:52 +07:00