Commit Graph

14823 Commits

Author SHA1 Message Date
Giulio Rebuffo
224441cb07 initial commit2 2021-11-20 17:27:11 +01:00
Giulio rebuffo
44fe9765f3
Merge pull request #2978 from ledgerwatch/eip4399
[Eip4399 part 3/3] Supplant DIFFICULTY opcode with RANDOM
2021-11-17 19:47:11 +01:00
Giulio rebuffo
e6916d4d00
[EIP-4399 2/3] Added total difficulty stage and transition logic (#2964)
* added diff stage

* added td stage

* improvements + more tests

* added err check

* added err check

* transition raw interfaces

* interface for transition

* unwind updates

* maybe this fix

* now fixed?

* fixes

* better db-format

* better db-format

* sum and mod

* sum and mod

* fixed headers unwind
2021-11-17 15:50:41 +00:00
Alex Sharov
9762e25596
txpool.Pending() grpc method, which preserve ready-for-mining order #2976 2021-11-17 17:26:02 +07:00
ledgerwatch
2ad6ca10cf
Ropsten and main net preverified hashes, skip analysis (#2973)
* Ropsten preverified hashes

* Pre-verified hashes for mainnet, skip analysis

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-16 20:14:26 +00:00
ledgerwatch
514e3d3053
Run CI actions on PRs and pushes for stable branch (#2968) 2021-11-16 12:13:36 +00:00
Alex Sharov
861ef7a6c1
Open blocks snapshots (#2957) 2021-11-16 15:33:41 +07:00
Alex Sharov
39b5cf289a
Update README.md 2021-11-16 15:29:42 +07:00
Alex Sharov
544b962243
Pool: PooledTransactions to produce correct rlp for non-legacy txs (#2965)
* save

* save
2021-11-16 07:05:51 +00:00
Giulio Rebuffo
94d477cdd9 EIP 4399 finalized 2021-11-15 21:23:56 +01:00
Giulio Rebuffo
a1d773e8f7 Merge branch 'eip4399' of https://www.github.com/ledgerwatch/erigon into eip4399 2021-11-15 21:03:43 +01:00
ledgerwatch
6b43aac65e
Delete header_download.md 2021-11-15 17:17:12 +00:00
ledgerwatch
12f565697e
pending nonce (#2953)
* pending nonce

* Increment nonce of last tx to get tx count

* Upgrade erigon-lib

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-15 10:54:31 +00:00
TBC Dev
5ddbf843d1
Avoid a redundant rlpHash() in FeedHeader() (#2959) 2021-11-15 08:52:14 +00:00
alex.sharov
bca0d1d473 Increase default txpool size 2021-11-15 10:16:03 +07:00
Alex Sharov
5fb1a4ce49
Add db-tools to Dockerfile (#2950) 2021-11-15 10:14:19 +07:00
TBC Dev
a902880e99
Refactor sentry peers (#2961) 2021-11-15 10:07:57 +07:00
Giulio rebuffo
0b1027ea2c
added random field to block type (#2962) 2021-11-15 10:05:53 +07:00
Giulio Rebuffo
2f275cb16d added random field to block type 2021-11-14 22:46:28 +01:00
TBC Dev
9e5ae33eb0
Use IsZero() instead of Sign() for uint256.int (#2960) 2021-11-14 22:18:47 +07:00
TBC Dev
669b5dd3ab
Add trusted peers flag (#2958)
* Refactor and consolidate enode-list config parsing

* Add trustedpeers flag
2021-11-14 18:44:44 +07:00
Alex Sharov
aad0d0c777
grpc GetBlock api (#2955) 2021-11-14 11:08:52 +07:00
Igor Mandrigin
a5a3c62fff begin 2021.11.03 release cycle 2021-11-11 14:21:27 +01:00
TBC Dev
484c8eed91
Fix SendHeaderRequest peer minBlock (#2946) 2021-11-11 08:34:13 +00:00
TBC Dev
3df4197f2e
Fix header skeleton (#2945)
* Fix underflow only

* Rename queryRange to maxHeight

* Fix additional cases
2021-11-11 07:53:32 +00:00
alex.sharov
c1cbb21f3d save 2021-11-11 10:39:44 +07:00
Alex Sharov
95c0e45cfa
Check existence before write - because WriteRawBody isn't idempotent (it allocates new sequence range for transactions on every call) (#2941) 2021-11-11 10:17:33 +07:00
Giulio rebuffo
ab4c080cbc
Merge pull request #2939 from ledgerwatch/enginev1
Dropped ETH65
2021-11-10 21:44:39 +01:00
Giulio Rebuffo
da83ad3d20 updated erigon-lib 2021-11-10 21:02:19 +01:00
Alex Sharov
f31a76baea
Compress: add maxPatternLen=64 (#2943) 2021-11-10 22:10:01 +07:00
Alex Sharov
c7a014b72f
RPC: don't save nil's to blocksLRU (#2937) 2021-11-10 10:31:13 +07:00
Alex Sharov
f96a591611
hack.go LCP int8 overflow: change to int32 (#2940) 2021-11-10 09:48:57 +07:00
Giulio Rebuffo
e4ab9b6793 lint 2021-11-09 20:40:48 +01:00
Giulio Rebuffo
4d432362b7 dropped eth65 2021-11-09 20:08:48 +01:00
Giulio Rebuffo
e12f8fdee8 dropped eth65 2021-11-09 20:07:23 +01:00
Christian
832bae93c6
Dev Chain Tutorial (#2936) 2021-11-09 17:48:16 +07:00
Alex Sharov
e670f3930f
Lcp must be int32 (#2934) 2021-11-09 17:47:12 +07:00
Alex Sharov
3842351293
move DictAggregator to erigon-lib (#2933) 2021-11-09 10:12:25 +07:00
Alex Sharov
3d3a1d30cc
Remove Docker from deps (#2930) 2021-11-08 21:11:57 +07:00
Alex Sharov
deed48c01a
Small step towards torrent downloader (#2929) 2021-11-08 20:40:56 +07:00
Alex Sharov
9ab2bbee1b
recsplit: single offset bucket (#2928) 2021-11-08 14:27:47 +07:00
Giulio Rebuffo
02d3c697d1 removed eth64/65 tests 2021-11-07 22:16:49 +01:00
Giulio Rebuffo
f34ccb75e5 refactor downloader 2021-11-07 20:25:37 +01:00
Alex Sharov
194330fa4b
Recsplit: preserve immutability threshold (#2926) 2021-11-07 13:01:33 +07:00
Alex Sharov
49ff8ff166
Recsplit: collision typed error (#2925) 2021-11-07 09:58:20 +07:00
Alex Sharov
ed83d2974f
Pool: don't send empty events (#2924) 2021-11-07 09:45:00 +07:00
alex.sharov
e802e43fa8 add pprof http to hack 2021-11-07 09:16:25 +07:00
Giulio rebuffo
c1e7650106
added engine_ namespace in rpcdaemon (#2923) 2021-11-07 08:38:36 +07:00
Alex Sharov
e14fb4756b
ETL: revert file name change (#2922) 2021-11-06 17:34:39 +07:00
Andrei Ivasko
65400b241f
HashState stage genesis sync - read PlainState only once (#2884) 2021-11-06 16:37:33 +07:00