Commit Graph

14817 Commits

Author SHA1 Message Date
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
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
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
Alex Sharov
a5bbe82a59
ETL: use logPrefix as suffix of tmp files (#2921) 2021-11-05 17:19:44 +07:00
Igor Mandrigin
a2d5b00496 begin 2021.11.02 release cycle 2021-11-04 20:58:21 +01:00
Igor Mandrigin
4a5aaeea72 unbreak rpc daemon after snapshot.dir removal 2021-11-04 20:47:55 +01:00
iszubok
1a94b85bec
tests, secp256k1: secp256k1 fuzzer implementation (#2906)
* added secp256k1 fuzzer

* Updated references to secp256k1 and erigon-lib

* Update go.sum

* Update go.mod

* Update go.mod

* Update go.sum

Co-authored-by: ledgerwatch <akhounov@gmail.com>
2021-11-04 12:16:26 +00:00
ledgerwatch
c0fffb6f0a
Update skip_analysis.go (#2915) 2021-11-04 11:15:01 +00:00
Alex Sharov
4dbf025fb5
suppress some p2p errors (#2914)
* save

* save
2021-11-04 11:14:49 +00:00