Giulio rebuffo
d83b7a4ae0
Proper PoS Error reporting ( #4631 )
...
* better reporting
* removed debug log
* proper error reporting
2022-07-05 01:31:16 +02:00
Giulio rebuffo
3fc51f5ef7
Revert "Proper Pos block checker when INVALID/ACCEPTED status is sent ( #4604 )" ( #4616 )
...
This reverts commit e90e03ae31
.
2022-07-03 13:11:16 +02:00
Giulio rebuffo
e90e03ae31
Proper Pos block checker when INVALID/ACCEPTED status is sent ( #4604 )
...
* added proper PoS block checker
* proper invalid lvh
* p
* fixed smol thingy
* fix more
* fixed engine API
* fixed engine API
* better nil hash
* added 0x0 checks
* full support
2022-07-03 11:58:57 +02:00
Giulio rebuffo
8558778ee2
fixed engine unit tests ( #4581 )
...
* fixed engine unit tests
* done
2022-06-30 02:27:34 +02:00
Giulio rebuffo
687295f01b
fixed stall ( #4576 )
2022-06-29 17:49:33 +02:00
Andrew Ashikhmin
dc5d3ffaac
Revert "Switch from eth/66 to eth/67 ( #4549 )" ( #4562 )
...
This reverts commit 16e57aa8a2
.
2022-06-28 13:42:35 +02:00
Andrew Ashikhmin
16e57aa8a2
Switch from eth/66 to eth/67 ( #4549 )
...
* Switch from eth/66 to eth/67
* Fix a compilation error
* Update erigon-lib
* Refresh erigon-lib
2022-06-28 10:12:48 +02:00
Enrique Jose Avila Asapche
29760d1425
Getting rid of unnecessary cache ( #4494 )
...
* whitelistedTable used
* added descriptions
* no cache
* lint
2022-06-19 19:39:43 +01:00
ledgerwatch
64067a2b77
Debugging Engine API ( #4488 )
...
* defer tx rollback
* Add http.trace flag
* Fixed http.trace flag
* Fix lint
* Fix lint
* Delete unused tests
* Fix lint
* Fix lint
* Fix lint
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-19 13:40:28 +01:00
Andrew Ashikhmin
d1aab4e59b
Bring a corner case in line with the Engine API spec ( #4477 )
2022-06-17 19:24:36 +01:00
Giulio rebuffo
2e600316e3
Used memory batches from Erigon ( #4469 )
...
* modded summed
* deleted
* ops
2022-06-16 16:39:56 +02:00
Giulio rebuffo
631d485476
Renamed mutations types to be exported ( #4463 )
...
* renamed
* ops
2022-06-15 19:59:20 +02:00
Giulio rebuffo
663ccfd4dc
better flush ( #4459 )
2022-06-15 18:45:05 +02:00
Giulio rebuffo
ff5cbcb75d
Made in memory mutation compatible with all buckets ( #4454 )
...
* progress #1
* progress #2
* proper file naming
* more mature memory mutation
2022-06-15 01:10:41 +02:00
Giulio rebuffo
cad32ee1cf
added deletion support ( #4451 )
2022-06-14 21:43:44 +02:00
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
Giulio rebuffo
4b4218d2f6
added licensing ( #4422 )
2022-06-09 16:57:00 +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
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
Giulio rebuffo
135fe6f0a6
removed left over from previous mining algo ( #4377 )
2022-06-06 08:35:53 +07:00
Andrew Ashikhmin
45cf6ee978
Fix LatestValidHash nil pointer ( #4338 )
2022-06-02 16:35:42 +02:00
Giulio rebuffo
40230d5ab5
Refactor mining batch ( #4322 )
...
* refactooor
* updated ethdb
* more fixing
* more fixing
* more
* refactoor
* fixed mdbx crash
2022-06-01 22:48:42 +01:00
Giulio rebuffo
576d736570
Added first prototype of mining mutation ( #4266 )
...
* added first prototype of mining mutation
* tests and lint
* fixed some stuff
* more progress
* bug fixing
* more refactoring
* account only modifications are allowed
* Added account trie memory calculation
* SeekBothRange adjustments
* more on both range
* finished
* lint
* fix account tries
* fixes
* more fixes to storage tries
* more fixes
* just saving progress
* better version
* more progress
* done please
* lint
2022-06-01 01:26:08 +02:00
Andrew Ashikhmin
4d2b80639b
Update Engine API errors ( #4318 )
2022-05-31 15:06:00 +02:00
Andrew Ashikhmin
4b117e600d
LatestValidHash should be 0x00... instead of nil if TTD not reached yet ( #4314 )
2022-05-31 12:33:15 +02:00
Alex Sharov
fc1a37e6dc
create turbo/services pkg ( #4269 )
2022-05-26 10:31:06 +07:00
ledgerwatch
8ea2bb55d0
Prevent deletion of extra block worth of tx lookup records when pruning ( #4232 )
...
* Print
* Prevent underflow, return 0 block if tx lookup failed
* Return nil receipt for 0 block
* Update to main erigon-lib
* Fix other places
* Fix other places
* Comment
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-22 20:35:02 +01:00
Giulio rebuffo
52c4846b26
deprecated old status ( #4196 )
2022-05-18 21:33:35 +02:00
Giulio rebuffo
1e3ad39202
added FCU hash on proposing ( #4193 )
2022-05-18 09:40:41 +02:00
Giulio rebuffo
e383aae147
fixed proposing on invalid fcu ( #4189 )
2022-05-17 22:20:57 +02:00
Giulio rebuffo
1a811f0aa1
added latest valid hash ( #4188 )
2022-05-17 21:25:39 +02:00
Giulio rebuffo
12829209c0
fixed bug in proposing ( #4184 )
2022-05-17 18:57:32 +02:00
Giulio rebuffo
23b648d7ce
ops ( #4183 )
2022-05-17 17:44:25 +02:00
Giulio rebuffo
01a98a4582
fixed finalized portion ( #4181 )
2022-05-17 15:26:47 +02:00
Håvard Anda Estensen
0a75065e7a
Use go:build lines and remove obsolete +build lines ( #4175 )
2022-05-17 14:46:53 +07:00
leonardchinonso
3b87f8c726
Fix disabled value for --prune.*
flags ( #4165 )
...
* Changes:
* Proceeded to check if other h, r, t or c flags for 'before' and 'older' are set before returning from the default state of --prune
Concern:
* Does the 'disabled' value for '--prune=' need to be updated if the '--prune.*' flags are set but the '--prune=' flag is not?
* Modify mode.Initialised only when it is changed
* Updated layout for --prune=*
* save
* save
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-05-17 09:31:14 +07:00
Giulio rebuffo
e8a1e64df6
Revert "fixed finalized portion ( #4170 )" ( #4171 )
...
This reverts commit 46f9411e79
.
2022-05-16 23:22:16 +02:00
Giulio rebuffo
46f9411e79
fixed finalized portion ( #4170 )
2022-05-16 23:21:07 +02: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
f590bf682f
RPCDaemon - open snapshots only when they are ready (and indices ready).
2022-05-04 12:55:58 +07:00
Alex Sharov
76c36c2c09
typed sender ( #4016 )
...
* save
* save
2022-04-28 15:35:14 +07:00
Alex Sharov
352869fc3a
rename field "type" ( #4015 )
...
* save
* save
* save
2022-04-28 15:02:06 +07:00
battlmonstr
fc3eecae5e
RPC: admin.peers() ( #3960 )
...
* RPC: admin.peers()
This RPC method returns information about the connected remote nodes.
https://geth.ethereum.org/docs/rpc/ns-admin#admin_peers
The peers are collected from all configured sentries.
See: https://github.com/ledgerwatch/interfaces/pull/102
Test with:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc": "2.0", "method": "admin_peers", "params": [], "id":1}' localhost:8545
* save
* liner fix
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-04-25 14:40:04 +01:00
Giulio rebuffo
5a805abdd4
revert ( #3908 )
2022-04-18 08:55:30 +07:00
Giulio rebuffo
94e21d0c41
done ( #3889 )
2022-04-16 17:57:39 +02:00
Giulio rebuffo
ef14176007
Caching Least Recently Used Contract Code in Stage Execution ( #3887 )
...
* caching gets
* whitelist
* fix
* less ram
* comment
2022-04-14 23:34:03 +02:00
Giulio rebuffo
e9dba096b1
fixed SIGINT during stage execution in hashmaps ( #3849 )
2022-04-08 10:24:27 +07:00