Commit Graph

14784 Commits

Author SHA1 Message Date
Igor Mandrigin
0f9c0b99b7 update Fermion devnet id to 1212120 to avoid clashes with https://chainlist.org (#2817) 2021-10-14 14:48:03 +03:00
Alexandr Borodulin
2440c8c672 Enable all hardforks in the fermion testnet (#2819)
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-14 14:48:03 +03:00
Alex Sharov
5d69481003 RemoteRPC: add --state.cache=keys_amount cli parameter (#2816) 2021-10-14 14:48:03 +03:00
Alex Sharov
ec09c5ff35 RemoteRPC: coherentCache for kv.Code; LocalRPC: enable small blocksLRU (#2815) 2021-10-14 14:48:02 +03:00
ledgerwatch
81fb494260 More mature experiments with the state and transaction compression (#2811)
* Change to use Patten inside patricia tree

* Huffman codes for compression

* Huffman coding of positions, generate tx files to test compression

* Split state into 3 files, relative positions, average decoding time

* Small optimisations of decompression

* Optimise intermediate compression

* Update erigon-lib ref

* Fix lint

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-10-14 14:48:02 +03:00
Eugene
99bcf97ff2 prealloc for block receipts (#2814) 2021-10-14 14:48:02 +03:00
Alex Sharov
102064a466 set correct default values of sub-pool sizes when --txpoo.v2 set (#2813) 2021-10-14 14:48:02 +03:00
Alex Sharov
d28ae44a5e Better prune logs (#2812) 2021-10-14 14:48:02 +03:00
ledgerwatch
9124808c03 Add files via upload 2021-10-14 14:48:02 +03:00
ledgerwatch
f0cd5352a0 Add files via upload 2021-10-14 14:48:02 +03:00
Alex Sharov
69372fd375 Checkpoint challenge timeout: remove td check after handshake (#2807)
* remove td check after handshake

* save
2021-10-14 14:48:02 +03:00
Alex Sharov
5a21fddbe0 Run first cycle in one db transaction if it's small enough (#2809) 2021-10-14 14:48:02 +03:00
Alex Sharov
eea1d47bae Pool: use cumulativeBalanceDistance and nonceDistance to compare txs quality (#2810) 2021-10-14 14:48:02 +03:00
Eugene
997b18c690 Implement test for RPC newHeads notification (#2805)
* implement test for `eth_subscribe`

* fix variable name collision
2021-10-14 14:48:02 +03:00
Eugene
dbc14feedd fix eth_subscribe (#2801) 2021-10-14 14:48:02 +03:00
Alexandr Borodulin
8db53a8632 implement-reading-the-signature-private-key-from-a-file (#2798)
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-14 14:48:02 +03:00
Alex Sharov
abc5388a10 Move lengths to erigon-lib other packages depend on it (#2799)
* move lengths to erigon-lib

* move lengths to erigon-lib
2021-10-14 14:48:02 +03:00
canepat
82b426c2e6 Add eth_call bench test (#2796)
Refactor requestAndCompare to check errors
2021-10-14 14:48:02 +03:00
Igor Mandrigin
81965c1c7b begin 2021.10.3 release cycle 2021-10-14 14:48:02 +03:00
alex.sharov
8afcdc6015 less warnings 2021-10-14 14:48:02 +03:00
Andrea Lanfranchi
e01355a450 Clean up DEBUG category logs (#2776)
- move many DEBUG logs into TRACE category
2021-10-14 14:47:54 +03:00
Igor Mandrigin
08f7084b20 begin 2021.10.4 release cycle 2021-10-14 13:54:54 +03:00
ledgerwatch
f4dee87794
Fail to insert headers with missing parent (#2822)
* Update header_algos.go

* Update header_algo_test.go

* Update header_algos.go

* Update header_data_struct.go
2021-10-13 16:18:09 +01:00
e-danko
c970261ac9
switched Fermion to Clique (#2823)
* switched Fermion to Clique

* Update Fermion to Clique: updated genesis block hash
2021-10-13 17:51:45 +03:00
Alex Sharov
a470da8c2c
enable London in mining, fix pre-london gasPool in mining (#2821) 2021-10-13 11:04:59 +07:00
e-danko
19b7354a1d
#2658: eliminated HeadersSeal function (#2731)
* #2658: removed using HeadersSeal function from experiments module

* #2658: lint issues

* #2658: fix typo
2021-10-13 08:31:04 +07:00
Andrew Ashikhmin
91df893e84
EIP-3607 (check if sender is EOA). Update tests to v10.0 (#2820)
* Update Ethereum tests to v10.0

* Implement EIP-3607
2021-10-13 08:30:09 +07:00
Igor Mandrigin
cd1e98d44b
update Fermion devnet id to 1212120 to avoid clashes with https://chainlist.org (#2817) 2021-10-13 08:28:07 +07:00
Alexandr Borodulin
2a7ed79eb8
Enable all hardforks in the fermion testnet (#2819)
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-12 16:05:18 +03:00
Alex Sharov
04f8ecb0ae
RemoteRPC: add --state.cache=keys_amount cli parameter (#2816) 2021-10-12 16:27:47 +07:00
Alex Sharov
da00e949c4
RemoteRPC: coherentCache for kv.Code; LocalRPC: enable small blocksLRU (#2815) 2021-10-12 12:04:04 +07:00
ledgerwatch
21d024b06a
More mature experiments with the state and transaction compression (#2811)
* Change to use Patten inside patricia tree

* Huffman codes for compression

* Huffman coding of positions, generate tx files to test compression

* Split state into 3 files, relative positions, average decoding time

* Small optimisations of decompression

* Optimise intermediate compression

* Update erigon-lib ref

* Fix lint

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-10-11 21:05:45 +01:00
Eugene
c431dbfb5d
prealloc for block receipts (#2814) 2021-10-11 21:24:21 +07:00
Alex Sharov
3bd223d5f8
set correct default values of sub-pool sizes when --txpoo.v2 set (#2813) 2021-10-11 12:40:39 +07:00
Alex Sharov
2d64584d4f
Better prune logs (#2812) 2021-10-11 11:58:57 +07:00
ledgerwatch
c16e25e90f
Add files via upload 2021-10-10 22:42:39 +01:00
ledgerwatch
7740c06bb1
Add files via upload 2021-10-10 20:50:09 +01:00
Alex Sharov
64178ff80d
Checkpoint challenge timeout: remove td check after handshake (#2807)
* remove td check after handshake

* save
2021-10-10 22:14:50 +07:00
Alex Sharov
bd099e4e3e
Run first cycle in one db transaction if it's small enough (#2809) 2021-10-10 19:00:13 +07:00
Alex Sharov
6561c48ffe
Pool: use cumulativeBalanceDistance and nonceDistance to compare txs quality (#2810) 2021-10-10 18:59:52 +07:00
Eugene
90e608c771
Implement test for RPC newHeads notification (#2805)
* implement test for `eth_subscribe`

* fix variable name collision
2021-10-09 16:04:54 +07:00
Eugene
177aff8260
fix eth_subscribe (#2801) 2021-10-09 08:39:40 +07:00
Alexandr Borodulin
4b881569c3
implement-reading-the-signature-private-key-from-a-file (#2798)
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-09 08:39:00 +07:00
Alex Sharov
5ca558c667
Move lengths to erigon-lib other packages depend on it (#2799)
* move lengths to erigon-lib

* move lengths to erigon-lib
2021-10-08 10:20:45 +07:00
canepat
03659cc801
Add eth_call bench test (#2796)
Refactor requestAndCompare to check errors
2021-10-08 08:43:54 +07:00
Igor Mandrigin
8b4d31f661
Stable 2021 10 02 (#2794)
* begin 2021.10.2 release cycle

* Revert "rpcdaemon: (#2752)" (#2762)

This reverts commit 2afd028d3d.

* Pool v2: --txpool.pricelimit support (#2763)

* --txpoo.pricelimit support

* Pool v2: --txpool.accountslots flag support (#2765)

* Update signal_windows.go (#2767)

Trap os.interrupt instead of SIGINT and SIGTERM

* Update stage_finish.go : notifications to rpc daemon (#2755)

* Dockerfile: switch to go1.17 and alpine3.14 (#2766)

* add logs in recoverFromDb func (#2769)

* eip 1559 in miner (#2773)

* Inner errors (#2774)

* Clean up DEBUG category logs (#2776)

- move many DEBUG logs into TRACE category

* 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

* No senders is fine (#2775)

* IntermediateHash stage - switch from incremental to re-generate mode - if jump > 100K blocks (#2781)

* Enable "State stream" by default (#2780)

* No json rpc streaming (#2779)

* reduce_bach_concurrency_default

* RPCDaemon: reduce --rpc.batch.concurrency default from 50 to 2 (#2784)

* Integration to print right stage in logs (#2785)

* remove debug prints

* RemoteDB: don't spend time to close cursors on end of tx - server will cleanup everything well (#2786)

* Fermion genesis block (#2787)

* updated Fermion genesis block

* Updated Fermion genesis block: added precompiles

* Rpcdaemon: add  --tevm flag to enable experiment (#2788)

* 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>

* Ignore MaxPeers param for staticpeers (#2789)

Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>

* less warnings

* Update skip_analysis.go (#2792)

* Extend preverified hashes for mainnet and ropsten (#2793)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
Co-authored-by: Andrea Lanfranchi <andrea.lanfranchi@gmail.com>
Co-authored-by: Enrique Jose  Avila Asapche <eavilaasapche@gmail.com>
Co-authored-by: e-danko <89912851+e-danko@users.noreply.github.com>
Co-authored-by: ledgerwatch <akhounov@gmail.com>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexandr Borodulin <sashaborodulin@gmail.com>
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-10-07 15:02:18 +03: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