Giulio rebuffo
e2a04f7567
fix ( #4425 )
2022-06-10 02:52:35 +02:00
Giulio rebuffo
f9024fed84
Removed annoying log ( #4424 )
2022-06-10 01:54:22 +02:00
Giulio rebuffo
4b4218d2f6
added licensing ( #4422 )
2022-06-09 16:57:00 +01:00
Andrew Ashikhmin
36eacd23c0
eth_blockNumber should be equal to latest in eth_getBlockByNumber ( #4421 )
2022-06-09 15:53:37 +02:00
ledgerwatch
f830401258
Update skip_analysis.go ( #4420 )
2022-06-09 13:38:00 +01:00
Andrew Ashikhmin
367a417d6b
core/types: remove unused field 'td' in Block ( #25010 ) ( #4416 )
...
Co-authored-by: Rajaram Gaunker <zimbabao@gmail.com>
2022-06-09 13:27:14 +01:00
Giulio rebuffo
b8e5cbf820
fixed timeout ( #4419 )
2022-06-09 13:16:11 +02:00
Alex Sharov
0e142e33a0
Reclaimable space in logs ( #4417 )
...
* save
* save
* save
* save
* save
* save
* save
2022-06-09 11:47:38 +01:00
Enrique Jose Avila Asapche
ace482bd00
revert #4411 ( #4418 )
2022-06-09 12:26:30 +02:00
Andrew Ashikhmin
27d652b2a4
WriteForkchoiceHead for no-op FCUs ( #4415 )
...
* WriteForkchoiceHead for no-op FCUs
* Flip WriteForkchoiceHead & safeAndFinalizedBlocksAreCanonical
2022-06-09 12:26:09 +02:00
Enrique Jose Avila Asapche
77e2934647
if no latest valid hash default to empty hash ( #4411 )
2022-06-09 09:47:33 +07:00
Alex Sharov
935975bebd
methods to configure db ( #4412 )
...
* save
* save
* save
2022-06-09 09:45:30 +07:00
ledgerwatch
f31abfe83b
Fixes for RPC notification log ( #4410 )
...
* Underflow fix
* Fix rpc notification to 0
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-09 08:48:19 +07:00
iFA
bd96c698a4
Fix operation order during tracing suicide op code ( #4409 )
2022-06-08 21:56:20 +01:00
Andrew Ashikhmin
644d25d25d
MergeForkBlock -> MergeNetsplitBlock ( #4407 )
2022-06-08 12:41:50 +02:00
ledgerwatch
2305d09d0d
Print blocks to TTD ( #4405 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-08 10:26:42 +01:00
Andrew Ashikhmin
46d026d8e8
Start txpool in AddLocalTxs ( #4406 )
2022-06-08 11:13:09 +02:00
Alex Sharov
c97064173e
Open reset blocks migration: to delete .torrent files also #4404 ( #4404 )
2022-06-08 09:51:07 +07:00
Willian Mitsuda
cbe25665db
Fix --help for --http; embedded rpcdaemon is off by default ( #4402 )
2022-06-08 09:30:24 +07:00
Alex Sharov
feabb96e69
Snapshots: allow delete .seg files #4403
2022-06-08 09:29:59 +07:00
Alex Sharov
d7d698f565
db migration to reset blocks ( #4389 )
...
* save
* save
* save
* save
* save
* save
* Update reset_blocks.go
* Not to remove too many tx lookup files
* Fix truncate blocks and add reset txlookup
* Fix bodies
* Fix nil pointer
Co-authored-by: ledgerwatch <akhounov@gmail.com>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-07 19:59:14 +01:00
Giulio rebuffo
07df1eb598
Fix mining PoS for Deleting of state entries ( #4399 )
...
* fixed delete hits
* added tests
2022-06-07 17:39:19 +01:00
Giulio rebuffo
a4a466bb75
Fixed Last in the mining mutation ( #4397 )
...
* removed left over from previous mining algo
* added ethereum database
* test improvement
2022-06-07 15:13:02 +01:00
Enrique Jose Avila Asapche
a1f4472f10
added back PR 3806 ( #4382 )
2022-06-07 10:51:28 +01:00
ledgerwatch
e90bc39e04
Another anchor fix ( #4395 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-07 09:42:58 +01:00
Alex Sharov
454c7aa87f
torrent: allow del db #4394
2022-06-07 13:12:27 +07:00
Alex Sharov
d655854b53
Snapshots: optimisticaly open at app startup ( #4393 )
...
* save
* save
2022-06-07 12:33:33 +07:00
Alex Sharov
2211088fa8
don't open snapshots at startup #4392
2022-06-07 12:20:49 +07:00
Alex Sharov
974b1d8844
more use of dirs config #4391
2022-06-07 12:08:24 +07:00
Alex Sharov
e146b66e35
more usage of dirs object #4390
2022-06-07 11:54:04 +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
f6c9d2beea
downloader torrent_hashes --verify: 1 error line per file #4386
2022-06-07 09:36:42 +07:00
ledgerwatch
3d3b190e42
Copy deletion key to prevent deleting more blocks ( #4384 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-06 23:04:24 +01:00
ledgerwatch
b2f9b25300
For for overwritten anchor ( #4379 )
...
* For for overwritten anchor
* Switch to time types, log retry time in diagnostics
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-06 18:23:41 +01:00
Andrew Ashikhmin
f3575ce46a
Fix MarkAllVerified ( #4380 )
2022-06-06 18:22:08 +01: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
Giulio rebuffo
135fe6f0a6
removed left over from previous mining algo ( #4377 )
2022-06-06 08:35:53 +07:00
ledgerwatch
3ad9359694
More skip analysis ( #4374 )
...
* More skip analysis
* Update
* Update to latest erigon-lib
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 22:42:33 +01:00
Nathan (Blaise) Bruer
2514fca7cb
Fix documentation of deprecated --syncmode -> --snapshots ( #4376 )
2022-06-05 19:13:32 +01:00
Nathan (Blaise) Bruer
ed1140e7a6
Add documentation on how to build in docker with BuildKit ( #4375 )
...
A recent change now causes docker-compose to use buildkit. This
change just documents how to run docker-compose with buildkit.
2022-06-05 19:13:25 +01:00
Giulio rebuffo
dce6ac22d0
Revert "Handling of already canonical payloads ( #4367 )" ( #4373 )
...
This reverts commit df80b0d915
.
2022-06-05 16:07:36 +02:00
ledgerwatch
4a5f97527b
Better diagnostic for stuck headers ( #4372 )
...
* More stuck headers diagnostics
* Temp print
* Remove temp print
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 15:00:13 +01:00
Giulio rebuffo
df80b0d915
Handling of already canonical payloads ( #4367 )
...
* deprecated ACCEPTED status
* pre-check for existing canonical header
2022-06-05 14:16:52 +02:00
ledgerwatch
1231f8c21c
Add bor mainnet to embed ( #4370 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 11:39:27 +01:00
Krishna Upadhyaya
0dae3ad69c
add bor-mainnet to chain snapshots ( #4369 )
2022-06-05 14:45:45 +05:30
ledgerwatch
7132a90613
Add bor mainnet snapshot hashes ( #4368 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 14:36:26 +05:30
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
ca2b0f19c1
Fix checkChangeSets and RPC daemon commands accessing history ( #4365 )
...
* Simplifications
* Print
* Fix
* Clean up
* Fixed RPC daemon command accessing history
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-04 23:06:30 +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