leonardchinonso
c154d65cec
Making corrections to code formatting
2021-11-22 19:15:12 +01:00
leonardchinonso
dc4c001f51
Implemented devnet test for eth_getBalance
2021-11-22 18:36:33 +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
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
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
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
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