Commit Graph

14649 Commits

Author SHA1 Message Date
alex.sharov
e22758355f check that header not nil 2021-10-22 10:10:38 +07:00
Alex Sharov
e6bd6fbfcc
Add p2p msg to panic (#2861) 2021-10-22 09:51:49 +07:00
Alex Sharov
1a426548e8
Mdbx v0.11.0 (#2860) 2021-10-22 09:46:03 +07:00
alex.sharov
9c6a552a1e save 2021-10-22 08:41:16 +07:00
Alex Sharov
583a753e13
start_pool_at_genesis_on_devnet (#2856) 2021-10-21 16:01:34 +07:00
Alex Sharov
a28a0b7744
PoolV2: set default limit to sub-pools 10K (#2855) 2021-10-21 15:59:39 +07:00
Alex Sharov
a4d314719b
all chains to start txpool in same time (#2854) 2021-10-21 15:24:35 +07:00
alex.sharov
96ea5438d9 save snippet to add Geth to dev net 2021-10-20 15:26:13 +07:00
Alex Sharov
752f76847d
propagate all promoted txs when add local tx (#2841) 2021-10-20 10:40:23 +07:00
Alex Sharov
c4be246008
PoolV2: Use default crypto context - it's thread-safe - because creation of new one failing in Docker on linux host (#2847) 2021-10-20 09:37:05 +07:00
alex.sharov
bc5c09f5fc RPC: fix nil pointer on error 2021-10-20 07:28:14 +07:00
alex.sharov
e90dd3eb41 fix nil pointer on error 2021-10-20 06:43:42 +07:00
ledgerwatch
626a60d0cc
Update header_algos.go (#2846) 2021-10-20 00:18:41 +01:00
ledgerwatch
57ebf94c16
Revert "Trace calls to precompiles if value is not zero (#2839)" (#2842)
This reverts commit 7234210fe0.
2021-10-19 16:26:35 +01:00
ledgerwatch
7234210fe0
Trace calls to precompiles if value is not zero (#2839) 2021-10-19 07:53:39 +01:00
ledgerwatch
5e9c08ca92
Update header_algos.go (#2840) 2021-10-19 07:50:47 +01:00
Andrea Lanfranchi
a477aaadd9
Enable DeveloperPeriodFlag (#2838)
Setting a period !=0 allows mining of empty blocks
2021-10-19 07:50:25 +01:00
Andrea Lanfranchi
839e0c9d28
Allow peers in dev mode (#2836) 2021-10-18 19:36:01 +01:00
Alex Sharov
f82074125c
Poolv2: print local tx propagation info (#2835)
x
2021-10-18 12:28:21 +07:00
ledgerwatch
1cbde9a5ef
More robust preverification of headers and remove kludge for header download (#2833)
* Update header_algos.go

* Update stage_headers.go

* Update header_algos.go
2021-10-17 19:13:34 +01:00
ledgerwatch
2dec76123c
Use decompressor from erigon-lib and experiments with tx lookup (#2824)
* Use decompressor

* Use decompressor

* Close compressor

* Upgrade to latest erigon-lib

* Fix compile errors

* Fix lint

* Remove count from files

* Remove count from files

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-10-16 22:19:13 +01:00
e-danko
574be07415
Updated Fermion genesis extraData (#2830)
* updated Fermion extradata + fixed bug with PublicKey

* Update Fermion extradata: fix genesis hash
2021-10-16 13:12:57 +03:00
Alex Sharov
f81ade1b2b
enable poolv2 by default (#2831) 2021-10-16 12:37:43 +07:00
alex.sharov
7885cc6809 Revert "enable by default"
This reverts commit 7f58290a45.
2021-10-16 09:55:38 +07:00
alex.sharov
7f58290a45 enable by default 2021-10-16 09:55:23 +07:00
Alex Sharov
f345aba680
Mdbx v0.10.5 (#2828) 2021-10-15 09:43:30 +07:00
ledgerwatch
b37f733f14
Update skip_analysis.go (#2825) 2021-10-14 16:34:19 +01: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