Giulio rebuffo
0863048d6d
added P2P gossip for newBlock66 ( #4987 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-10 14:56:06 +02:00
Alex Sharov
351cd49c21
go1.19 gofmt ( #4988 )
2022-08-10 19:04:13 +07:00
Alex Sharov
0beb295745
torrent: try burst limit fix panic ( #4983 )
...
* save
* save
2022-08-10 18:52:36 +07:00
Alex Sharov
cebb44b486
up_metrics version ( #4986 )
...
* save
* save
* save
2022-08-10 18:39:27 +07:00
Giulio rebuffo
17e3f17ca0
removed goroutine from sealing ( #4984 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-10 13:08:00 +02:00
Alex Sharov
e702e48bc3
disable StateCache when rpcdaemon when embedded #4985
2022-08-10 17:30:02 +07:00
hexoscott
a573f8356f
rpc: concurrent map issue with log subscription fix ( #4971 )
...
* rpc: concurrent map issue with log subscription fix
* rpc: subscription changes around locking
2022-08-10 16:01:53 +07:00
Enrique Jose Avila Asapche
832d9fd3ec
notifying header if cannonical ( #4930 )
...
* notifying header if cannonical
* checking if header is cannonical at notification
* getting hash from rlp
* adding to headerRlp if cannonical
* declaration
2022-08-10 11:22:11 +07:00
cgst
f560f3788f
HeaderByHash segment loop should break on result ( #4969 )
2022-08-09 15:03:39 +07:00
Alex Sharov
bd721b9fd7
Erigon22: reduce amount of variables. progress object and use of db.update ( #4967 )
...
* save
* save
* save
* save
* save
2022-08-09 11:46:57 +07:00
Alex Sharov
b717ff5df5
erigon22: move worker to package ( #4966 )
...
* save
* save
* save
* save
* save
2022-08-09 10:39:34 +07:00
Alex Sharov
9595c239c2
erigon22: optimize index.add #571 ( #4965 )
...
* save
* bsc
2022-08-09 10:28:36 +07:00
fenghaojiang
5540db0529
add erigon_getLogs
api and add field timestamp
( #4964 )
...
* add_abigen_error_handle
* add abigen error type test code
* add field timestamp in `eth_getLogs` api
add field timestamp in `eth_getLogs` api
* undo add field timestamp in `eth_getLogs`
* add `erigon_getLogs` api and add field `timestamp`
add `erigon_getLogs` api and add field `timestamp`
2022-08-09 10:00:36 +07:00
Giulio rebuffo
6d86b3a403
use of memory batch ( #4961 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-08 18:20:12 +02:00
Enrique Jose Avila Asapche
0d08bd096f
disabled hive test ( #4959 )
2022-08-08 15:19:39 +03:00
Enrique Jose Avila Asapche
c12d298f1c
new rpc block number ( #4953 )
...
* new rpc block number
* log
* ops
2022-08-08 19:07:24 +07:00
Giulio rebuffo
7a64fe44eb
UX improvement for pre-merge sync with Teku ( #4955 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-08 11:26:34 +02:00
Alex Sharov
1b20322b60
snap: no tmp subfolder ( #4940 )
...
* save
* save
* save
* save
* save
2022-08-08 09:24:39 +07:00
fenghaojiang
bc7921a8ab
add field timestamp
to eth_getLogs
response ( #4950 )
...
* add_abigen_error_handle
* add abigen error type test code
* add field timestamp in `eth_getLogs` api
add field timestamp in `eth_getLogs` api
2022-08-08 09:17:32 +07:00
Dan Kelly
cce64f6a33
Fix rpc json #4838 ( #4894 )
...
* Fixing RPC JSON errors
* Use local rpc mod
* Revert "Use local rpc mod"
This reverts commit 61d06a72d218f5ecb84e9e4ddddf8762a04f714c.
* Make handle error accessible
* Port fixes to rpcdaemon22
* Remove unused...
* ... and use correct function name
* Handle errors outside iterator loop. Fix missing rpcdaemon22 error handling
* Bubble up higher level errors to the top-level object
* Fix linter error - semi-colon..
2022-08-08 09:15:58 +07:00
Enrique Jose Avila Asapche
a02c71c006
added VRS hard-coded values ( #4949 )
2022-08-06 19:05:51 +03:00
Giulio rebuffo
a481b77489
removed incarnation updates and removed side forks past fcu ( #4944 )
...
* removed incarnation updates and removed side forks past fcu
* has
* fixed hive
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-05 18:07:27 +02:00
Max Revitt
8b475564d9
feat(ci): hive xunit output parse ( #4945 )
2022-08-05 17:28:56 +03:00
Alex Sharov
7a2e7e8c06
enable_remote_rpcdaemon ( #4938 )
2022-08-05 10:15:40 +07:00
Alex Sharov
05e5634653
snap indexing: fix logging #4937
2022-08-05 09:01:17 +07:00
Max Revitt
dfa77ac871
fix(ci): hive run event file location update ( #4932 )
2022-08-04 15:23:11 +01:00
Leonard Chinonso
43f5ab09f8
Fixed lint errors for gosec linter ( #4933 )
...
* Fixed lint errors for gosec linter
* Changed uint64 to int64 in common/GetRandInt
* Changed naming of function
2022-08-04 14:59:40 +01:00
Leonard Chinonso
592fe32217
Refactoring To Increase Code Quality ( #4842 )
...
* General cleanup and fixes
* Cleaning part 2
* cleanup part 3
* Refactored staterunner to have a handler function
* Fixed linting
* Cleanup part 4
* Changed the initialization of the require package and updated .golangci.yml
* Fixed lint errors from golangci-lint
* deleted state_recon_1.go
* fixed build error
* Added ReadHeaderTimeouts for httpServer
* made changes to golangci
* Reset golangci.yml
2022-08-04 20:23:00 +07:00
ledgerwatch
e56491c601
Erigon22 prototype without parallel execution, fix for BSC upgrade contract ( #4884 )
...
* No parallelisation in erigon22 prototype
* Remove paralell
* tx/s
* commit
* Fix overlap
* workers argument
* Print
* Print
* Stable sort
* Print
* Init
* Remove print
* Remove print
* Remove print
* No sorting
* Cleanup
* Fix hangs
* Fix reconstitution for contract upgrades
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-08-04 13:00:46 +01:00
Enrique Jose Avila Asapche
a0da31bb1d
Transaction count fix ( #4888 )
...
* getBlockTransactionCountByHash using snapshots
* got body from block reader
* requesting block body with transactions
* tests
* added tx amount into blocreader body
* using txAmount from body
2022-08-04 18:49:53 +07:00
Andrew Ashikhmin
5ea692f2de
Remove authrpc.* flags from rpcdaemon ( #4931 )
...
* README: Move port 8551 from RPC to erigon ports
* Some renaming for consistency
* Remove authrpc.* flags from rpcdaemon
* docker-compose: move --authrpc.jwtsecret to erigon
* minor typo
2022-08-04 12:51:01 +02:00
hexoscott
c61fbff74c
fix eth gas estimate when no pending block is available ( #4898 )
2022-08-04 11:47:11 +01:00
Andrew Ashikhmin
ea6305339b
Revert "Log data if cannot decode BlockBodiesPacket66 ( #4850 )" ( #4929 )
...
This reverts commit 7ae99884af
.
2022-08-04 12:01:36 +02:00
Andrew Ashikhmin
4fb27b60f9
Clean up BodyDownload.VerifyUncles ( #4928 )
2022-08-04 11:47:01 +02:00
Enrique Jose Avila Asapche
0908536e0a
check if eip-1559 ( #4927 )
2022-08-04 12:30:20 +03:00
Alex Sharov
3680bfc326
Mdbx: semaphore fix release ( #4926 )
...
* save
* save
2022-08-04 12:34:26 +07:00
Alex Sharov
1413b1c37c
Sn: parallel files indexing progress logs ( #4925 )
2022-08-04 12:31:25 +07:00
Alex Sharov
eb07869065
fix --snap.keepblocks flag use ( #4924 )
2022-08-04 10:03:39 +07:00
Alex Sharov
c3777f2820
Sn better log indexing2 ( #4923 )
...
* auto-build-idx
* save
* save
2022-08-04 09:55:06 +07:00
Alex Sharov
b1db36eb09
snap: better log indexing ( #4921 )
2022-08-04 09:39:29 +07:00
Shinto C V
3c7a2c4376
Fix perma link to beacon chain in README ( #4919 )
2022-08-04 08:32:23 +07:00
Alex Sharov
35878b29c4
erigon22: auto-create dir ( #4912 )
2022-08-03 15:10:28 +07:00
Alex Sharov
0d21da4a01
erigon22: auto create dir ( #4911 )
2022-08-03 14:43:47 +07:00
Alex Sharov
db0c4e9d41
torrent: reduce network packet size, to increase network responsiveness ( #4910 )
2022-08-03 09:39:08 +07:00
Giulio rebuffo
311d18ae92
better error ( #4907 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-03 07:49:06 +07:00
Enrique Jose Avila Asapche
0640e946dd
updated eth_subscribe info ( #4905 )
2022-08-02 20:45:37 +03:00
hexoscott
98c639784b
rpc: fix for map concurrency issue in logs subscription ( #4903 )
...
moving a couple of mutex locks and introducing another to prevent a deferred call to unsubscribe clashing with a new call to subscribe
2022-08-03 00:37:34 +07:00
Leonard Chinonso
ec67e80a8a
Fixed lint errors for gocritic linter ( #4904 )
2022-08-03 00:35:22 +07:00
Leonard Chinonso
6061690f61
Fixed lint errors for unused linter ( #4902 )
2022-08-02 22:01:53 +07:00
Leonard Chinonso
8774e1d8a2
Fixed lint errors from gosimple linter ( #4900 )
2022-08-02 21:09:00 +07:00