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
Leonard Chinonso
808df67683
Fixed lint errors for staticcheck ( #4901 )
2022-08-02 21:07:39 +07:00
Andrew Ashikhmin
29d2f16bf0
Fix auth RPC logging ( #4899 )
2022-08-02 13:24:25 +02:00
Alex Sharov
9dc15ac5bb
integration mdbx_to_mdbx ( #4897 )
2022-08-02 13:37:57 +07:00
Andrew Ashikhmin
7199dcf7a2
Rename engine.* flags to authrpc.* for consistency with geth ( #4890 )
...
* Update README re. Engine API
* Remove obsolete code
* Don't apply --rpc.accessList to Engine API listener
* Simplify startAuthenticatedRpcServer
* Rename engine.* cmd flags to authrpc.* for consistency with geth
* More renamings
* Introduce --authrpc.vhosts flag
2022-08-02 13:15:01 +07:00
Alex Sharov
5cf933d0b0
torrent logs better ( #4896 )
2022-08-02 11:43:26 +07:00
Alex Sharov
053fc18b44
remove debug line ( #4895 )
2022-08-02 10:50:40 +07:00
Andrew Ashikhmin
41f27be140
Don't start engine API in standalone rpcdaemon ( #4887 )
2022-08-01 17:12:35 +02:00
nanevardanyan
cdcc031f41
cmd: make sure regular rpc server start is reachable ( #4885 )
2022-08-01 16:54:04 +02:00
Henry
9ed2f8d98b
cmd:use for_range read channel ( #4880 )
2022-08-01 12:58:09 +07:00
Alex Sharov
e60b38e283
decompress: catch maxDepth underflow ( #4882 )
...
* save
* save
2022-08-01 12:40:00 +07:00
Alex Sharov
539d14669a
fix empty sn list ( #4881 )
2022-08-01 11:49:37 +07:00
Alex Sharov
8ccae67447
savemdbx: better error msg( #4878 )
2022-08-01 11:14:48 +07:00
Alex Sharov
a50d4c2852
snap indexing: less logs ( #4877 )
2022-08-01 11:07:07 +07:00
Alex Sharov
bd4bed5933
fix 64kb pageSize page_full corner case ( #4847 )
2022-08-01 11:03:28 +07:00
ledgerwatch
2b517b7630
Erigon22 prototype to support BSC ( #4867 )
...
* Reduce workers and queue size
* Add traces and event logs
* Add chain flag
* Print
* Open consensus db as read only
* Use only one engine instance
* chainDb
* Display palia error
* Not to panic
* Not to exit
* Add syscall
* Print
* Pointer to TxTask
* Not register senders
* Print
* Relax check
* Skip system transactions
* increase workerCount again
* Remove print
* Change recon
* Fix types
* Skip system txs
* Print
* No rules for genesis commit
* Print genesis
* Print|
* Print
* Print
* Update
* Fix
* Remove print
* No print
* Support contract upgrades
* Use the same dif
* Print create2
* Fix
* Fix
* Print
* Hack iterate
* Print empty vals
* Fix hack
* Code hashes
* Code hashes
* Print
* No panic
* No panic
* Fix?
* another incarnation fix
* Remove print
* Remove print
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-07-31 21:54:23 +01:00
Giulio rebuffo
3a972cc074
Removed the use of memory mutation for side-fork unwinds. ( #4857 )
...
* done
* updated sum and mod
* error handling
* error handling
* comments
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-31 15:56:08 +02:00
nanevardanyan
de0471aace
cmd: separate auth rpc server from regular ( #4822 )
...
* WIP: cmd: separate auth rpc server from regular
* WIP: cmd: updates after code review
* WIP: cmd: eth and engine should be predefined values for authAPI
* cmd: http enabled flag should not affect admin
* cmd: eliminate engine checks in case of non-auth
* cmd: remove engine from http.api options
2022-07-31 12:16:19 +02:00
Andrew Ashikhmin
5dc8baee7a
Improve error handling for the non-delayed PoS downloader ( #4864 )
...
* PoSDownloaderTip is set to headerHash, so it should be used in IsBadHeaderPoS
* Don't wait for downloader if can't schedulePoSDownload
2022-07-31 11:58:26 +02:00
Enrique Jose Avila Asapche
66c033a241
Adding config-file flag ( #4868 )
...
* added flag
* working flag ovewrite for http
* setting up all flags with yaml file
* comment
* ops
* set flags in the cli trump yaml config file
* changed to config.yaml.file
* ops
* better naming
* accepting toml or yaml files
* fixed flag
* fixed messages
2022-07-31 10:46:00 +07:00
Leonard Chinonso
d866b11923
Added a documentation section to the README.md ( #4865 )
2022-07-29 21:06:59 +07:00
Alex Sharov
a862bd9913
Revert "fix streaming in error case ( #4861 )" ( #4862 )
...
This reverts commit deccbf973a
.
2022-07-29 16:59:31 +07:00
Delweng
4c6c3d6d30
cmd/utils/flags: fix a typo ( #4853 )
...
Signed-off-by: Delweng <delweng@gmail.com>
2022-07-29 09:59:12 +02:00
Alex Sharov
deccbf973a
fix streaming in error case ( #4861 )
...
* save
* save
2022-07-29 11:08:04 +07:00
Alex Sharov
2681ee392a
rpc: fix error stream ( #4860 )
2022-07-29 10:01:13 +07:00
Alex Sharov
454cea4811
docs cli antipattern ( #4859 )
...
* save
* save
2022-07-29 09:48:24 +07:00
Alex Sharov
554d27468e
parity_listStorageKeys: *mdbx.MdbxCursor is not kv.CursorDupSort ( #4858 )
2022-07-29 09:13:48 +07:00
Enrique Jose Avila Asapche
8b1574127a
checking txn chain id before adding it to the tx pool ( #4855 )
2022-07-29 08:26:15 +07:00
Andrew Ashikhmin
59bcbb4f33
No TTD mismatch if there's no TTD in chainConfig yet ( #4852 )
2022-07-28 18:25:01 +02:00
Andrew Ashikhmin
7ae99884af
Log data if cannot decode BlockBodiesPacket66 ( #4850 )
2022-07-28 17:26:34 +02:00
ledgerwatch
167de529a8
Fixes for erigon22 prototypes ( #4851 )
...
* Fixes for erigon22 prototypes
* Add waiting/applying stats
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-07-28 13:26:48 +01:00
hexoscott
75151e0700
fix memory leak in HandleInboundMessage ( #4848 )
2022-07-28 12:19:34 +01:00
ledgerwatch
09c104803a
Split erigon2.2 and erigon2.3 prototypes ( #4811 )
...
* Split erigon2.2 and erigon2.3 prototypes
* Renaming
* Interruptible and resumable erigon22
* Always regenerate trie
* Introduce aggregator
* Fixes
* cleanup
* Fix lint
* Update to erigon-lib main
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-07-28 12:16:37 +01:00
Alex Sharov
aee4b53788
save list of snapshots in db ( #4777 )
...
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
2022-07-28 16:57:38 +07:00
battlmonstr
620d65ef10
crypto: MarshalPubkey unit test ( #4846 )
2022-07-28 09:23:58 +07:00
Andrew Ashikhmin
d85e3c626e
Fix consensus tests ( #4844 )
...
* Fix timeout in (*MockSentry) insertPoSBlocks
* Fix bcInvalidHeaderTest/DifficultyIsZero
2022-07-27 17:43:48 +02:00