Alex Sharov
d37447727a
torrent: reduce deps of cfg #4305
2022-05-30 17:36:02 +07:00
Alex Sharov
e5c8a9a1bf
torrent: download rate ( #4304 )
2022-05-30 17:29:54 +07:00
Alex Sharov
955c669d21
Group few sync configs ( #4303 )
...
* save
* save
2022-05-30 17:08:49 +07:00
Alex Sharov
0795bcb865
integration: validate syncmode flag ( #4300 )
2022-05-30 09:59:38 +07:00
ledgerwatch
974e01bcd3
Allow skeleton requests to more peers ( #4290 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-05-28 13:38:22 +01:00
Alex Sharov
11e96460cf
Torrent: verify is more informative ( #4283 )
...
* save
* save
2022-05-27 10:44:07 +07:00
battlmonstr
da45be9319
sentry: log peer events in erigon ( #4275 )
...
* sentry: log peer events in erigon
* refactor pumpStreamLoop to support streams with arbitrary message types
* subscribe to PeerEvents
* fixup! use generics
2022-05-27 08:33:00 +07:00
Andrew Ashikhmin
16950ebc2c
Fix OverrideTerminalTotalDifficulty when datadir is not empty ( #4280 )
2022-05-26 21:21:51 +02:00
Andrew Ashikhmin
0c76286509
Add rules to AsMessage to vet transaction types ( #4276 )
...
* Add rules to AsMessage to vet transaction types
* Fix TestState
2022-05-26 18:20:34 +02:00
Alex Sharov
6eb10ba9a8
Use ETL to fill kv.HeaderNumber from snapshots ( #4272 )
...
* merge devel
* save
2022-05-26 21:41:05 +07:00
leonardchinonso
3102a04d7f
Draft PR for the devnet automation ( #4057 )
...
* Draft PR for the devnet automation
* Committing to save for later edit
* Finished creating shells, to test
* Changes:
* Added a shell for picking eth commands
* Implemented erigon node running with the --http flag to save processes
* Shell commands for get-balance and send-tx implemented
TODO:
* Make UX more friendly by adding start, stop and exit commands
* Add progress bar to show wait in progress
* Add flag or input to enable mining option for erigon node
* Implemented stress tests for other eth methods
* Experimenting
* little clean up
* lint
* Transitioned to static runs and tests from shell
* Finished stress test methods
* Rendering fixes
* save
* Cleanup
* Fixed lint
* Still fixing lint
* Removed args append ineffect
* Removed println in genesis init.go
* Removed println in genesis init.go
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Enrique Avila <eavilaasapche@gmail.com>
2022-05-26 13:08:25 +01:00
Andrew Ashikhmin
86de64a2a3
TangerineWhistle instead of EIP150 & SpuriousDragon instead of EIP155/158 ( #4273 )
...
* EIP150Block -> TangerineWhistleBlock
* Merge EIP158Block into EIP155Block
* EIP155Block -> SpuriousDragonBlock
2022-05-26 12:08:59 +02:00
primal_concrete_sledge
5c055b9697
Fix/block new filters ( #4271 )
...
* Add filters functions
* Fix: forbid new filters for requests
* Merge devel fix
2022-05-26 16:16:11 +07:00
Alex Sharov
66248c4bfb
Torrent: verify all files ( #4270 )
2022-05-26 12:27:44 +07:00
battlmonstr
8a47a7ce33
sentry: PeerById method ( #4260 )
2022-05-26 10:53:23 +07:00
battlmonstr
6b1f91407d
sentry: multi sentry client refactoring ( #4265 )
2022-05-26 10:45:35 +07:00
Alex Sharov
fc1a37e6dc
create turbo/services pkg ( #4269 )
2022-05-26 10:31:06 +07:00
Alex Sharov
d4d4c2ec13
Open Integration: use same db limit ( #4259 )
2022-05-25 16:22:02 +07:00
primal_concrete_sledge
a10d5910d5
Add filters functions ( #4253 )
2022-05-25 16:08:06 +07:00
Alex Sharov
9fd05cd812
lastDup no key ( #4258 )
2022-05-25 15:26:20 +07:00
Alex Sharov
1eb9aec08a
Better validate --torrent.verbosity flag ( #4257 )
...
* lastDup no key
* lastDup no key
* lastDup no key
2022-05-25 15:24:11 +07:00
Alex Sharov
b9bf97362b
save ( #4251 )
2022-05-24 18:04:26 +01:00
Alex Sharov
52d6f1d551
kv_mdbx: atomic closed flag #464 ( #4247 )
2022-05-24 12:24:20 +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
Enrique Jose Avila Asapche
2ec9733cee
default api list ( #4227 )
...
* default api list
* Revert "default api list"
This reverts commit 8f0bf6cb440b35b3ab628cc297fa6ff822038ed3.
* added engine to default
* added to erigon
2022-05-21 22:48:36 +02:00
ledgerwatch
6974a98aca
Clean anchors, forward sort of headers ( #4225 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-21 18:00:26 +01:00
Alex Sharov
c2e0956e3e
return err on invalid syncmode ( #4219 )
...
* save
* save
* save
2022-05-20 16:04:38 +07:00
Artem Tsebrovskiy
f4c8f44f61
removed obsolete trie variant ( #4172 )
2022-05-20 15:03:27 +07:00
Alex Sharov
7ecdf51d92
methods to read single txn by txnID ( #4215 )
2022-05-20 14:12:12 +07:00
Giulio rebuffo
c66bde2df8
fixed miner.sigfile option ( #4210 )
2022-05-19 20:16:21 +07:00
Alex Sharov
c43ae65bba
Bor: GetTransactionReceipt ( #4209 )
2022-05-19 20:03:58 +07:00
Alex Sharov
10bcbf4a68
Snap: faster Erigon re-start ( #4201 )
2022-05-19 12:28:33 +07:00
Alex Sharov
726ef081ce
option to disable runtime.ReadMemStats ( #4200 )
2022-05-19 11:48:07 +07:00
Alex Sharov
64508a7d4e
Snap: call AddHeadersFromSnapshot only at initialCycle ( #4198 )
2022-05-19 10:38:53 +07:00
battlmonstr
25b14edbf6
p2p: STUN external IP detection ( #4195 )
...
--nat stun is an automatic external IP detection alternative to manual --nat extip option.
It can be used both at home or on production servers without any extra setup.
It is fast (up to 5 ms) and more reliable than alternatives (as the request goes to the public internet).
This auto-detection is useful to run multiple instances of a service in cloud environments
where the node IPs are not known in advance.
2022-05-18 16:50:50 +01:00
Alex Sharov
78f1d01a82
Update readme.md ( #4192 )
2022-05-18 13:50:28 +07:00
Alex Sharov
80d1d8a114
Trackers: split file lines cross-platform way #4191
2022-05-18 10:28:14 +07:00
Alex Sharov
4e7807251a
Ensure snapshotDir not created by accident ( #4164 )
...
* save
* save
* save
2022-05-17 09:40:45 +07:00
ledgerwatch
a2a494a3d1
Fix eth_feeHistory ( #4168 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-16 21:42:23 +01:00
battlmonstr
d845eb2a69
sentry: refactor eth handshake checks ( #4163 )
2022-05-16 20:28:03 +07: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
ledgerwatch
25208964e5
Export chainspecs into json files ( #4148 )
...
* Export chainspecs into json files
* Add sepolia
* Add more chains
* Extract rest of the chains
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-15 17:37:42 +01:00
ledgerwatch
7125593cf5
Fix nil deference in ProcessHeadersPOS ( #4155 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-05-15 17:09:27 +01:00
ledgerwatch
0e457ba9d7
Restore skip analysis ( #4146 )
...
* Restore skip analysis optimisation
* Make checkChangeSets work with snapshots
* Add syncmode to checkChangeSets
* Add block number for BSC
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-14 20:17:23 +01:00
ledgerwatch
e02c77bf5a
Further simplify header download, req/resp metrics ( #4121 )
...
* Further simplify header download, req/resp metrics
* Not break the loop
* Move anchors correctly
* Log anchor state
* Print minNum
* Print hash
* Always add links
* Remove obsolete test
* cleanup
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-macbook-pro.home>
2022-05-13 11:18:30 +01:00
Alex Sharov
4e0f3c8c4c
Sentry: batch events ( #4140 )
2022-05-13 11:00:44 +07:00
Alex Sharov
1b82acd7ff
it's ok to not have snapshots dir ( #4135 )
...
* save
* save
* save
2022-05-12 15:14:16 +07:00
Alex Sharov
691ceb1c3d
save ( #4126 )
2022-05-12 10:31:45 +07:00
Alex Sharov
79e12edb52
Torrent: mmap store ( #4123 )
...
* save
* save
2022-05-12 10:20:30 +07:00
Alex Sharov
45adf8fba9
Torrent: don't drop db on "torrent_hashes --rebuild" #4118 Open
2022-05-11 14:38:37 +07:00