ledgerwatch
9dc7067e9c
Fix snapshot merge and anchor removal ( #4228 )
...
* Print retire
* Print
* Print
* Print
* Print
* Not fail when block is not found
* Remove prints
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-22 11:08:03 +01:00
Alex Sharov
7ecdf51d92
methods to read single txn by txnID ( #4215 )
2022-05-20 14:12:12 +07:00
Alex Sharov
e328049353
Remove dependency on leveldb ( #4213 )
...
* save
* save
* save
* save
* save
* save
2022-05-20 11:24:28 +07:00
Alex Sharov
64508a7d4e
Snap: call AddHeadersFromSnapshot only at initialCycle ( #4198 )
2022-05-19 10:38:53 +07:00
Håvard Anda Estensen
0a75065e7a
Use go:build lines and remove obsolete +build lines ( #4175 )
2022-05-17 14:46:53 +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
ledgerwatch
25208964e5
Export chainspecs into json files ( #4148 )
...
* Export chainspecs into json files
* Add sepolia
* Add more chains
* Extract rest of the chains
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-15 17:37:42 +01:00
ledgerwatch
eef8e4f366
Update skip_analysis.go ( #4156 )
2022-05-15 17:31:16 +01:00
ledgerwatch
0e457ba9d7
Restore skip analysis ( #4146 )
...
* Restore skip analysis optimisation
* Make checkChangeSets work with snapshots
* Add syncmode to checkChangeSets
* Add block number for BSC
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-14 20:17:23 +01:00
Alex Sharov
dc75f767fd
Parlia: log prefix and less logs #4128
2022-05-12 10:55:41 +07:00
Alex Sharov
8703bb67a7
Parlia: log prefixes and less logs #4127
2022-05-12 10:54:30 +07:00
Alex Sharov
3e4fb5dd49
up linter version ( #4108 )
...
* save
* save
* save
2022-05-10 10:14:09 +07:00
Alex Sharov
7f60171ae2
Revert "state_processor: fix ignored SkipAnalysis() result ( #4046 )" ( #4087 )
...
This reverts commit cf44803621
.
2022-05-06 15:24:57 +07:00
battlmonstr
0fc99b7c55
rpcdaemon: optimize tests ( #4082 )
...
* reuse the generated test blockchain across tests
* copy ChainPack to ensure test isolation
This improves the speed from 10s to 4s.
The package tests timeout can be reduced to 5s:
go test ./cmd/rpcdaemon/commands -count 1 --timeout 5s
2022-05-06 08:54:26 +07:00
battlmonstr
c9a1c93b44
tests: split slow integration tests ( #4048 )
2022-05-04 10:35:59 +07:00
ledgerwatch
1e5e8d69ce
Update skip_analysis.go ( #4052 )
2022-05-03 12:05:44 +01:00
Groute
cf44803621
state_processor: fix ignored SkipAnalysis() result ( #4046 )
...
`cfg` is not a pointer
2022-05-02 18:56:49 +01:00
ledgerwatch
f9d7cb5ca9
Cleanup isBor ( #4045 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-01 11:25:42 +01:00
ledgerwatch
14cbc01683
Fix for Bor (Polygon) ( #4044 )
...
* print branchHash
* Print state changes
* Print val
* Fix for author
* Remove prints
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-01 08:44:47 +01:00
Alex Sharov
e68879810e
make sure stage_headers --reset doesn't left garbage in bodies table #4043
2022-05-01 11:38:35 +07:00
ledgerwatch
e0d7998eb0
Truncate bor receipts on unwind ( #4033 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-30 15:46:08 +01: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
Alex Sharov
352869fc3a
rename field "type" ( #4015 )
...
* save
* save
* save
2022-04-28 15:02:06 +07:00
ledgerwatch
7b24090408
Update skip_analysis.go ( #4003 )
2022-04-27 21:12:42 +01:00
Alex Sharov
3906d7e51f
Snapshots: allow stage_headers --unwind behind available snapshots ( #3971 )
...
* save
* save
* save
2022-04-26 12:04:38 +07:00
Alex Sharov
dba9544edc
Delete blocks in [from, to) range ( #3970 )
2022-04-26 11:15:45 +07:00
Giulio rebuffo
5e1900cc48
cleaned up forkchoices db insertions #3949
2022-04-24 08:13:49 +07:00
Håvard Anda Estensen
6844e74ad2
Replace ioutil with io and os ( #3946 )
2022-04-23 15:43:00 +01: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
ledgerwatch
ac4cc0598c
Update skip_analysis.go ( #3917 )
2022-04-19 08:59:38 +01:00
ledgerwatch
f41c61de7c
Update skip_analysis.go ( #3897 )
2022-04-15 21:39:33 +01:00
Alex Sharov
b329d675ec
Torrent best trackers ( #3870 )
...
* best trackers
* save
2022-04-11 14:01:12 +07:00
Alex Sharov
0842e2bd12
RetireBlocks: preserve genesis ( #3869 )
...
* save
* save
* save
2022-04-11 13:16:45 +07:00
Andrew Ashikhmin
9b9da14cd1
Check that safe & finalized blocks are ancestors of head block ( #3839 )
...
* Check that safe & finalized blocks are ancestors of head block
* Add logging
2022-04-07 09:37:12 +02:00
Andrew Ashikhmin
634e9e4f3c
Prohibit EIP-2718 txn wrapped as RLP strings ( #3827 )
2022-04-06 10:40:44 +02:00
ledgerwatch
d604b5e107
Update preverified hashes and skip analysis ( #3831 )
...
* Update skip_analysis
* Preverified hashes
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-05 21:49:45 +01: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
Giulio rebuffo
1b0d7c80bf
Better batches for Execution (Hashmaps based instead of BTree based) ( #3814 )
2022-04-04 14:11:59 +07:00
Alex Sharov
d1218181b0
Snapshots: geth compatibility, use --syncmode=snap flag ( #3808 )
2022-04-01 15:00:50 +07:00
Andrew Ashikhmin
6ff6c39d13
Prefer forkchoice head as latest block in RPC ( #3806 )
...
* LastForkchoice accessors
* Update erigon-lib
* Prefer forkchoice head as latest block in RPC
* Fix typo
2022-04-01 08:33:50 +07:00
ledgerwatch
eb07ad89dd
Update Skip analysis and preverified hashes ( #3777 )
...
* Update skip analysis
* Add preverified hashes for mainnet and ropsten
* preverified hashes and bootnode for sepolia
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-03-27 09:42:33 +01:00
Alex Sharov
89d4477df3
Snapshots: nil indices on p2p fix ( #3772 )
2022-03-27 10:07:58 +07:00
Enrique Jose Avila Asapche
022e0dd6b2
Added kiln devnet ( #3742 )
...
* kiln-devnet flag
* kiln-devnet genesis
* bootnodes
* added chain name
* lint
* allocs
2022-03-19 17:04:48 +00:00
Artem Tsebrovskiy
f14df3faa3
added support of Clique consensus for block processing for erigon2 ( #3705 )
...
* added support of Clique consensus for block processing for erigon2
* erigon2: remove block reader which doesn't use system pre and post block transactions
2022-03-17 07:30:47 +00:00
Alex Sharov
469b75c3d3
Snapshots: retire blocks by default ( #3707 )
2022-03-16 09:57:48 +07:00
ledgerwatch
10aee02e2e
Update skip analysis and preverified hashes ( #3700 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-03-15 14:45:36 +00:00
ledgerwatch
a0df37f508
Update gaspool.go
2022-03-12 00:08:04 +00:00
Alex Sharov
b003d07839
Add system-txs to begin end of block ( #3654 )
...
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* up torrent
* up torrent
* up torrent
* up torrent
* up torrent
* up torrent
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
2022-03-10 07:48:58 +00:00