Alex Sharov
7390ac8381
avoid NAN duration in logs ( #3521 )
2022-02-16 11:54:39 +07:00
Alex Sharov
6d9ea162ab
rpc daemon embed (step 3) ( #3519 )
2022-02-16 11:24:51 +07:00
alex.sharov
1589a8d3d6
snapshots: header stage fixes
2022-02-16 09:30:57 +07:00
Alex Sharov
e652b5fa87
snapshots: header stage fixes ( #3518 )
2022-02-16 08:38:54 +07:00
Enrique Jose Avila Asapche
089a1dd5e7
adding engine_ExchangeTransitionConfigurationV1 ( #3454 )
2022-02-15 09:30:54 +00:00
ledgerwatch
c865290502
Add traceblock to erigon2 command ( #3516 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-02-14 23:15:24 +00:00
Andrew Ashikhmin
64f4de50cd
Optimized eth_createAccessList ( #3453 )
...
* Make blockNrOrHash optional in CreateAccessList (in line with geth)
* OptimizedAccessList
* cosmetics
* optimizeGas param instead of separate method
* Inline toAddress
2022-02-14 18:39:45 +00:00
Andrew Ashikhmin
b3905fb659
Fix rpcdaemon: borDb may be nil ( #3512 )
2022-02-14 13:00:54 +01:00
alex.sharov
83c99d66da
torrent flags - fix parsing logic
2022-02-14 14:14:37 +07:00
alex.sharov
b5a925d6b6
remove "golangci-lint cache clean" from "make clean"
2022-02-14 11:12:05 +07:00
alex.sharov
f23fdf51c1
snapshots: add torrent cli flags
2022-02-14 10:34:14 +07:00
ledgerwatch
dffcc57ecc
[erigon2] Fix history bug, optimise bitmap search ( #3510 )
...
* Fix history bug, optimise bitmap search
* Optimise SeekInBitmap64
* Update erigon-lib
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-02-13 20:02:18 +00:00
Alex Sharov
3655f9e629
set mdbx submodule to v0.11.4 tag ( #3509 )
2022-02-13 19:08:46 +07:00
ledgerwatch
d4e623b9e5
[header downloader] introduce queues instead of insertList ( #3489 )
...
* First change for header queues
* Fix
* Fix import
* trigger verification when highestInDb changes
* Print hash, fix MarkAllPreverified
* Fix test
* Cleanup
* More cleanup
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-02-13 11:27:53 +00:00
Alex Sharov
bbc4cd4fc1
snapshots: use blockReader in IH stage ( #3506 )
...
* use blockReader in IH stage
* use blockReader in IH stage
2022-02-13 16:03:10 +07:00
alex.sharov
ae652ad5c9
remove emed of rpcdaemon (not ready)
2022-02-13 13:48:51 +07:00
Alex Sharov
7566e1dbbe
return EOF on direct stream end ( #3504 )
2022-02-13 09:34:02 +07:00
alex.sharov
d488482c89
save
2022-02-13 08:53:10 +07:00
ledgerwatch
ef6013faff
Automation for gathering erigon2 history data ( #3501 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-02-12 22:16:06 +00:00
Alex Sharov
1ba95c1087
atomic close 2 channels ( #3498 )
2022-02-12 17:09:17 +00:00
ledgerwatch
2074b98568
Tools for gathering data on erigon2 history and bitmaps ( #3488 )
...
* Tools for gathering data on erigon2 history and bitmaps
* Always start with 0
* Always start with 0
* Clean up commitment files, trace block
* traceblock
* Add tracing to checkChangeSets
* Fixes to DeleteAccount
* Update to latest erigon-lib
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-02-12 15:48:38 +00:00
Alex Sharov
c9cee7a884
path -> filepath (path package is for urls) ( #3493 )
2022-02-12 20:33:09 +07:00
Alex Sharov
479c7f3d9d
Embed rpcdaemon: prepared direct clients ( #3492 )
2022-02-12 19:47:19 +07:00
leonardchinonso
aca755ab43
Fix/rpcdaemon ws upgrade ( #3490 )
...
* Added a method to `cmd/rpcdaemon/cli/config.go` to check header of incoming http request for a ws upgrade request
* Added the testing of the 'GET /' request for ws to the devnet tool
* Fixed lint errors
2022-02-12 12:40:19 +01:00
Alex Sharov
8d7eca012a
user-friendly pagesize flag ( #3484 )
2022-02-12 15:23:06 +07:00
alex.sharov
cd7d7dfa06
prometheus: 150d expiry
2022-02-12 14:08:20 +07:00
Alex Sharov
e5ba5c8c59
grpc disabled server txpool ( #3485 )
2022-02-12 12:24:19 +07:00
alex.sharov
c454e25543
prometheus: increase retention.time to 150 days
2022-02-12 09:04:52 +07:00
Alex Sharov
b26a56e814
prometheus: increase retention.time to 150 days ( #3483 )
2022-02-12 09:03:08 +07:00
ledgerwatch
eb6a168603
[erigon2] Chain history and bitmap indices ( #3437 )
...
* First update
* Update to latest erigon-lib
* Fix lint
* Update
* Update
* Update
* Add history2 command
* Updates
* Update erigon-lib
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-02-12 00:06:57 +00:00
Andrew Ashikhmin
fe9f841172
Add Beacon payloads to body downloader prefetch ( #3482 )
...
* Block instead of PayloadMessage
* tx.MarshalBinary instead of rlp.Encode in StartProposer
* Add Beacon payloads to body downloader prefetch
* Restore PayloadMessage
2022-02-11 13:24:29 +01:00
Alex Sharov
a1318f869a
make services net-independent ( #3481 )
2022-02-11 17:11:59 +07:00
alex.sharov
49efd8c051
downloader: fix Ctrl+C
2022-02-11 14:59:51 +07:00
alex.sharov
8068a1bed2
save
2022-02-11 14:57:59 +07:00
Alex Sharov
dcabe33f33
Downloader: don't setup erigon's config if --dowloader.api.addr is set ( #3480 )
2022-02-11 14:39:28 +07:00
Alex Sharov
f66f937d4d
downloader: print logs on validity check ( #3479 )
2022-02-11 12:47:29 +07:00
Alex Sharov
3d3315132c
downloader switch back to bolt backend ( #3478 )
2022-02-11 12:44:18 +07:00
alex.sharov
92fc5ae3de
Revert "downloader: enable logs"
...
This reverts commit db97199d5b
.
2022-02-11 11:21:42 +07:00
alex.sharov
db97199d5b
downloader: enable logs
2022-02-11 11:17:42 +07:00
leonardchinonso
9dbedb2e1d
Chore/improve devnettest ( #3476 )
...
* Increased hardcoded gas price from 50000
* Added functionality to search for last propagated transaction in mined blocks after sending a transaction.
* Added functionality to search for last propagated transaction in mined blocks after sending a transaction.
2022-02-11 10:23:40 +07:00
ledgerwatch
a5bd91e2e1
Update skip analysis and preverified hashes ( #3471 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-02-10 14:10:10 +00:00
Andrew Ashikhmin
d6525b342d
Update instead of SaveStageProgress for stages.Header ( #3456 )
...
* Update instead of SaveStageProgress for stages.Header
* Call WriteHeadHeaderHash/stage.Update after the loop
2022-02-10 13:18:51 +00:00
ledgerwatch
2e0602b8dd
Revert "Inverted lowestNum and highestNum in header downloader ( #3301 )" ( #3468 )
...
This reverts commit 6704c48ed7
.
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-02-10 12:23:40 +00:00
Alex Sharov
79de194edf
snapshot: less logs ( #3467 )
2022-02-10 16:16:55 +07:00
Alex Sharov
ccf434f270
GetTransactionByHash: fallback to txpool ( #3463 )
...
* GetTransactionByHash: fallback to txpool
* GetTransactionByHash: fallback to txpool
2022-02-10 08:36:24 +00:00
Alex Sharov
2e17b8f515
snapshot: parallel transaction index, recsplit: reset offset collector, etl: faster flush and load ( #3465 )
2022-02-10 14:40:29 +07:00
Jared Doro
0223489183
[WIP] Adding Support for Sepolia ( #3462 )
...
* [WIP] Adding Sepolia
* Fix formatting
* Added Timestamp to Sepolia genesis
* update config
* fixed formating
2022-02-10 07:27:36 +00:00
Alex Sharov
7346f0b56d
Update readme.md
2022-02-10 08:33:05 +07:00
Alex Sharov
e695a6e58b
state and newHead: 1 goroutine per subscriber ( #3452 )
2022-02-10 08:25:58 +07:00
Thomas Jay Rush
1e42e0679a
Updating README to include running two instances on the same machine. ( #3460 )
...
* Updating README to include running two instances on the same machine.
* Updating formatting
2022-02-09 22:11:47 +00:00