Commit Graph

14872 Commits

Author SHA1 Message Date
Giulio Rebuffo
8e7954ee00 payload unwind placeholder 2021-11-26 21:46:43 +01:00
Giulio Rebuffo
d8e99d4c33 Merge branch 'enginev1' of https://www.github.com/ledgerwatch/erigon into enginev1 2021-11-26 19:47:53 +01:00
Giulio Rebuffo
6bffeb8f5f better notation 2021-11-26 19:47:23 +01:00
Giulio rebuffo
38548e28fb
Merge branch 'devel' into enginev1 2021-11-26 15:42:36 +01:00
ledgerwatch
6910e18e7f
[txpool] Introduce PriceBump, change tx replacement logic, add test (#3039)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-26 14:39:26 +00:00
Giulio Rebuffo
dbfa51960c added downloader unit tests 2021-11-26 14:51:32 +01:00
Giulio Rebuffo
7c60126347 added unit tests for simple execution 2021-11-26 11:59:05 +01:00
Giulio Rebuffo
e72d2399da updated lib 2021-11-25 19:44:02 +01:00
ledgerwatch
14f81db038
Not try to create temporary file with enode (#3035)
* Update server.go

* Update server.go
2021-11-25 18:36:15 +00:00
Giulio Rebuffo
f1ca526e33 lint 2021-11-24 23:37:26 +01:00
Giulio Rebuffo
768617f412 added proper errors 2021-11-24 23:19:40 +01:00
Giulio Rebuffo
435d1d1519 channels implemented 2021-11-24 23:00:00 +01:00
TBC Dev
905818f4e2
Simplify SentPeers replies (#3028) 2021-11-24 17:17:08 +00:00
Alex Sharov
67c49cf1c3
Pool: support multi sentry (#3030)
* save

* save

* save

* save

* save

* save

* save

* save
2021-11-24 17:15:14 +00:00
Alex Sharov
9d46c80046
save (#3031) 2021-11-24 17:09:14 +00:00
alex.sharov
726278fd8a save 2021-11-24 10:55:25 +07:00
leonardchinonso
607e958123
Committing changes for devnettest (#3026) 2021-11-23 16:44:46 +00:00
Alex Sharov
0ccae84583
remove block_fetcher and tx_fetcher (#3024) 2021-11-23 07:12:56 +00:00
TBC Dev
8b4bc39e5d
Fix atomic peer height update (#3019) 2021-11-22 18:40:57 +00:00
Alex Sharov
6d24a30a01
Drop txpool v1 (#3017)
* drop_txpool_v1

* drop_txpool_v1

Co-authored-by: Alex Sharp <alexsharp@alexs-macbook-pro.home>
2021-11-22 18:38:51 +00:00
ledgerwatch
becb25021b
Revert erroneous merge (#3022)
* Revert "Making corrections to code formatting"

This reverts commit c154d65cec.

* Revert "Implemented devnet test for eth_getBalance"

This reverts commit dc4c001f51.

Co-authored-by: Alex Sharp <alexsharp@alexs-macbook-pro.home>
2021-11-22 18:33:37 +00:00
leonardchinonso
c154d65cec Making corrections to code formatting 2021-11-22 19:15:12 +01:00
Giulio Rebuffo
ddb01b6314 ? 2021-11-22 18:39:23 +01:00
leonardchinonso
dc4c001f51 Implemented devnet test for eth_getBalance 2021-11-22 18:36:33 +01:00
Giulio Rebuffo
af4caf4459 fixed compilation 2021-11-22 16:17:01 +01:00
Giulio Rebuffo
bac85f854b added getPayloadV1 2021-11-22 16:12:34 +01:00
Alex Sharov
4d3cee7436
Mdbx fix for signature update (#3014)
* save

* save

* save

* drop_txpool_v1

* fix

Co-authored-by: Alex Sharp <alexsharp@alexs-mbp.home>
2021-11-22 13:07:20 +00:00
Giulio Rebuffo
c05e3a9fa1 connected to daemon 2021-11-22 11:36:52 +01:00
TBC Dev
e1c44cd19b
Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey) (#3013)
* Rename protoHandshake.ID to protoHandshake.Pubkey

* Fix enode.ID comment descriptions

* Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey)

* Simplify PeerInfo helpers
2021-11-22 05:39:31 +00:00
Giulio Rebuffo
21cbc19f21 using batch over tx 2021-11-21 23:11:50 +01:00
Giulio Rebuffo
1267d540b1 added engine_executePayloadV1 2021-11-21 22:47:33 +01:00
Giulio Rebuffo
23883d9104 merge 2021-11-21 21:55:41 +01:00
Giulio Rebuffo
4eb650fb0c payload manipulation 2021-11-21 21:52:36 +01:00
Dmitry Savelev
77a31a8b36
Fix Sentry server initialization (#3008) 2021-11-21 19:36:26 +00:00
ledgerwatch
f0ca5eacd8
Update skip_analysis.go (#3009) 2021-11-21 16:43:47 +00:00
ledgerwatch
3335532481
Update preverified hashes for mainnet and ropsten (#3010)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-21 16:43:40 +00:00
Alex Sharov
44c9940364
Pool: reject low nonce and low balance txs (#3005)
* save

* save
2021-11-21 11:39:09 +00:00
ledgerwatch
2f9128cf21
eth_estimateGas to correctly recap to balance for London txs (#3006)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-21 11:19:33 +00:00
ledgerwatch
2ddfa52515
trace_block to return empty result for genesis (#3002)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-21 09:59:28 +00:00
ledgerwatch
b073787f1d
eth_getTransactionReceipt not to return unrelated txs (#2998)
* Cleanup

* Restore

* Fix for existing tx

* Cleanup

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-11-21 09:22:29 +00:00
Alex Sharov
b3e8a1a02a
hack: remove createIdx and txLookup methods (#3000) 2021-11-21 12:06:36 +07:00
Alex Sharov
f3aebbe1aa
Snapshot: common indexing func (#2999) 2021-11-21 11:14:37 +07:00
Alex Sharov
e55256296b
snapshots: read block from snapshots, add sender to txs file (#2996) 2021-11-21 10:32:14 +07:00
Giulio Rebuffo
6dd2d67121 Added ExecutePayloadV1 method to engine_ namespace 2021-11-20 22:53:03 +01:00
Giulio Rebuffo
224441cb07 initial commit2 2021-11-20 17:27:11 +01:00
Alex Sharov
d4850b6adc
Hack: dump bodies and headers (#2994) 2021-11-20 09:41:01 +07:00
Alex Sharov
2a08dbd3d9
Recsplit: move files read/write helpers to erigon-lib (#2993) 2021-11-19 12:12:25 +07:00
Alex Sharov
5b634a790e
Canonical tx ids (#2986)
* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save
2021-11-18 14:07:55 +00:00
ledgerwatch
69fa571f8d
Fix for eth_getLogs with zero fromBlock and toBlock (#2989) 2021-11-18 14:05:20 +00:00
Andrea Lanfranchi
7ddb0be92d
Update README.md (#2981) 2021-11-18 07:03:25 +00:00