Giulio rebuffo
1f36d76e09
Added Flush function to memory mutation ( #4439 )
2022-06-13 18:20:18 +02: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
ledgerwatch
fd8adddce8
trace_filter implementation based on erigon 2 update 2 data ( #4431 )
...
* trace_filter implementation based on erigon 2 update 2 data
* Fix test compile, extract txNums
* Update to erigon-lib, add generic heap
* Fix getHeaderHash for RPC methods
* Missing files
* Skip tests
* Add reward traces
* Filter trace lint
* Reinstate filtering
* Print
* Print
* Fix
* Print
* Print txNums
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Remove prints
* Fix nil dereference
* Inclusive toBlock bound
* Print
* Print
* Hack
* remove some deps
* Fix lint
* Update erigon-lib
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-12 12:44:01 +01:00
iFA
41c0a47485
Add REVERT result to trace ( #4434 )
...
* Add REVERT result to trace
* topTrace error should be changed too
2022-06-11 12:05:26 +01:00
ledgerwatch
3f1e9948fa
Update skip_analysis.go ( #4435 )
2022-06-11 08:53:02 +01:00
ledgerwatch
1cc5b92dd8
Another fix for stuck header download ( #4433 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-11 08:13:40 +01:00
ledgerwatch
8e3ac8a21c
Erigon2 upgrade 2 prototype ( #4341 )
...
* Erigon2 upgrade 2 prototype
* Latest erigon-lib
* Fixes
* Fix print
* Fix maxSpan
* Reduce maxSpan
* Remove duplicate joins
* TxNum
* Fix resuming
* first draft of history22
* Introduce historical reads
* Update to erigon-lib
* Update erigon-lib
* Update erigon-lib
* Fixes and tracing for checkChangeSets
* More trace
* Print account details
* fix getHeader
* Update to erigon-lib main
* Add tracer indices and event log indices
* Fix calltracer
* Fix calltracer
* Duplicate rpcdaemon into rpcdaemon22
* Fix tests
* Fix tests
* Fix tests
* Update to latest erigon-lib
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-10 16:18:43 +01:00
ledgerwatch
43f5f0ae27
Close peerInfo tasks channel ( #4429 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-10 11:59:31 +01:00
Krishna Upadhyaya
1e3c90ba80
Bor devnet option ( #4428 )
...
* bor mining testing
* Implemented bor-devent network
* Minor fixes
* use signer as validator
* remove unused spaces
* fix typo
2022-06-10 15:32:04 +07:00
Alex Sharov
059e5d1ea5
roaring: up version #4427
2022-06-10 09:02:00 +07:00
Alex Sharov
b004589610
up mmap-go version to solve Win problem #4426
2022-06-10 08:47:24 +07:00
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