Commit Graph

14649 Commits

Author SHA1 Message Date
canepat
03659cc801
Add eth_call bench test (#2796)
Refactor requestAndCompare to check errors
2021-10-08 08:43:54 +07:00
Igor Mandrigin
e5c8628c8e begin 2021.10.3 release cycle 2021-10-07 14:42:05 +03:00
ledgerwatch
21823e3dd3
Extend preverified hashes for mainnet and ropsten (#2793)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-10-07 11:42:27 +01:00
ledgerwatch
e097490118
Update skip_analysis.go (#2792) 2021-10-07 11:16:48 +03:00
alex.sharov
161f59bb7d less warnings 2021-10-07 14:50:50 +07:00
Alexandr Borodulin
6336f9ab1d
Ignore MaxPeers param for staticpeers (#2789)
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-07 08:33:13 +07:00
ledgerwatch
7e4996bb09
Reworkings of state compression experiments (#2790)
* Changes

* Progress

* Another way

* More

* More

* Produce encoding

* Add uncoded characters

* cleanup

* Add sortdict

* Fixes

* Use patricia from erigon-lib

* Cleanup

* Switch to dynamic programming, optimise allocations in FindMatches

* Optimise allocations

* Reduce allocations

* Switch to main branch of erigon-lib, reduce allocations further

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-10-06 19:58:12 +01:00
Alex Sharov
54cdf74394
Rpcdaemon: add --tevm flag to enable experiment (#2788) 2021-10-06 16:09:47 +07:00
e-danko
900f687e84
Fermion genesis block (#2787)
* updated Fermion genesis block

* Updated Fermion genesis block: added precompiles
2021-10-06 12:00:23 +03:00
Alex Sharov
e27d66b042
RemoteDB: don't spend time to close cursors on end of tx - server will cleanup everything well (#2786) 2021-10-06 15:15:02 +07:00
alex.sharov
74168d9426 remove debug prints 2021-10-06 14:05:22 +07:00
Alex Sharov
a6a63e8b0e
Integration to print right stage in logs (#2785) 2021-10-06 14:02:50 +07:00
Alex Sharov
b878096ef0
RPCDaemon: reduce --rpc.batch.concurrency default from 50 to 2 (#2784) 2021-10-06 13:58:18 +07:00
alex.sharov
ff00efa911 reduce_bach_concurrency_default 2021-10-06 13:10:46 +07:00
Alex Sharov
ba9e2c0ede
No json rpc streaming (#2779) 2021-10-05 16:12:43 +07:00
Alex Sharov
2e93434a94
Enable "State stream" by default (#2780) 2021-10-05 16:06:45 +07:00
Alex Sharov
21785780bf
IntermediateHash stage - switch from incremental to re-generate mode - if jump > 100K blocks (#2781) 2021-10-05 15:32:18 +07:00
Alex Sharov
0625cd4f11
No senders is fine (#2775) 2021-10-05 10:03:49 +07:00
Enrique Jose Avila Asapche
3c0cb82454
Decoding incarnation implemented (#2764)
* WIP decoding incarnation specifically

* Changed decodeIncarnation to be an external function

* added tests to for decoding incarnations

* ran gofmt -w -s

* changed test name, and changed incarnations to 4

* Created a test which tests if it returns an error when there is one

* ran gofmt

* Capitalized all tests and made breaking test

* added an error check

* changed decodingForStorage for decodingIncarnationFromStorage

* ran gofmt -w -s
2021-10-05 08:14:57 +07:00
Andrea Lanfranchi
3bc3be4b5f
Clean up DEBUG category logs (#2776)
- move many DEBUG logs into TRACE category
2021-10-05 08:14:04 +07:00
Andrea Lanfranchi
c913f35c2e
Inner errors (#2774) 2021-10-04 22:16:52 +07:00
Alex Sharov
044aa6748c
eip 1559 in miner (#2773) 2021-10-04 19:47:52 +07:00
Alex Sharov
de16cb9e23
add logs in recoverFromDb func (#2769) 2021-10-04 19:46:05 +07:00
Alex Sharov
b890e973db
Dockerfile: switch to go1.17 and alpine3.14 (#2766) 2021-10-04 08:04:38 +07:00
Andrea Lanfranchi
f70dd63a30
Update stage_finish.go : notifications to rpc daemon (#2755) 2021-10-04 07:30:42 +07:00
Andrea Lanfranchi
ca3dda2a5f
Update signal_windows.go (#2767)
Trap os.interrupt instead of SIGINT and SIGTERM
2021-10-04 07:28:31 +07:00
Alex Sharov
83555c2255
Pool v2: --txpool.accountslots flag support (#2765) 2021-10-03 13:27:37 +07:00
alex.sharov
e73d6c2282 --txpoo.pricelimit support 2021-10-03 07:52:18 +07:00
Alex Sharov
d61a9ad073
Pool v2: --txpool.pricelimit support (#2763) 2021-10-02 17:34:57 +07:00
Alex Sharov
f167df06c2
Revert "rpcdaemon: (#2752)" (#2762)
This reverts commit 2afd028d3d.
2021-10-01 18:30:14 +07:00
Igor Mandrigin
6be44fa551 begin 2021.10.2 release cycle 2021-10-01 11:51:19 +03:00
canepat
e19dcd89fc
Add check to have pre-Homestead behavior on code store error (#2749)
* Add check to have pre-Homestead behavior on code store error

* Fix linter error
2021-10-01 12:24:48 +07:00
Eugene
2afd028d3d
rpcdaemon: (#2752)
*Change `TxPoolApiAddr` to match that one being set by default
2021-10-01 09:15:58 +07:00
alex.sharov
76aa1a7c1a no panic on nil filters 2021-10-01 09:15:45 +07:00
ledgerwatch
99cc7b7b13
Fix for the RPC daemon dual mode (#2756)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-09-30 17:40:58 +01:00
Andrea Lanfranchi
859a4fca3e
Wrong notifyFrom value in NotifyNewHeaders (#2750)
* Wrong notifyFrom value

* Move log.info line after possible error

* Better wording
2021-09-30 21:40:37 +07:00
Alex Sharov
0ec73d6390
no panic on nil filters (#2751) 2021-09-30 18:42:25 +07:00
ledgerwatch
31d04ad88b
Update skip_analysis.go (#2747) 2021-09-30 11:14:48 +03:00
Igor Mandrigin
e57c6d7546 begin 2021.10.1 release cycle 2021-09-30 08:52:48 +03:00
Alex Sharov
c86851a0a0
downgrade mdbx to v0.10.1 (#2745) 2021-09-30 10:14:26 +07:00
Enrique Jose Avila Asapche
677d2f88bf
test tha produces an error for decoding incarnation (#2742) 2021-09-30 08:52:58 +07:00
alex.sharov
3f10758faf add --txpool.globalbasefeeeslots 2021-09-29 14:55:43 +07:00
alex.sharov
fc44197f06 fix merge conflict 2021-09-29 14:48:19 +07:00
Alex Sharov
2d98c3bd0d
Remote RPC: add blocksLRU (#2744) 2021-09-29 13:51:51 +07:00
alex.sharov
3c58aa101c fix merge conflict 2021-09-29 10:32:41 +07:00
Alex Sharov
17abe11cc0
Remote RPC: add state cache (#2738) 2021-09-29 08:36:25 +07:00
e-danko
0c93c314d4
added Fermion network (#2737) 2021-09-29 08:35:43 +07:00
Eugene
2e086bc188
increase frame size (#2739) 2021-09-28 16:28:08 +07:00
Igor Mandrigin
9848028aef
Implement a simple healthcheck (#2740) 2021-09-28 16:27:57 +07:00
Nickolay Savchenko
d027d712eb
Json rpc eip1898 correctness (#2736) 2021-09-28 09:25:56 +07:00