Commit Graph

13873 Commits

Author SHA1 Message Date
ledgerwatch
12cde41772
Aleut support (Eip1559) (#1704)
* Where I am at

* Refactoring of transaction types

* More refactoring

* Use Homested signer in rpc daemon

* Unified signer

* Continue unified signer

* A bit more

* Fixes and down the rabbit hole...

* More tx pool fixes

* More refactoring fixes

* More fixes'

* more fixes

* More fixes

* More compile fixes

* More RLP hand-writing

* Finish RLP encoding/decoding of transactions

* Fixes to header encoding, start on protocol packets

* Transaction decoding

* Use DecodeTransaction function

* Decoding BlockBodyPacket

* Encode and decode for pool txs

* Start fixing tests

* Introduce SigningHash

* Fixes to SignHash

* RLP encoding fixes

* Fixes for encoding/decoding

* More test fixes

* Fix more tests

* More test fixes

* More test fixes

* Fix core tests

* More fixes for signer

* Fix for tx

* Fixes to string encoding/size

* Fix eip2930 test

* Fix rest of ./tests

* More fixes

* Fix compilation

* More test fixes

* More test fixes

* Test fixes

* More fixes

* Reuse EncodingSize in EncodeRLP for accessList

* Rearrange things in dynamic fee tx

* Add MarshalBinary

* More fixes

* Make V,R,S non-pointers

* More NPE fixes

* More fixes

* Receipt fixes

* Fix core/types

* Fix ./eth

* More compile fixes for tests

* More test fixes

* More test fixes

* Try to see lint errors better

* Try to see lint errors better

* Fix lint

* Debugging eip1559 test

* Fix TestEIP1559Transition test

* Fix NewBlockPacket encoding/decoding

* Fix calculation of TxHash

* Fix perf problem with senders

* Update aleut config values

* Try adding static peers

* Add staticpeers to defaul flags

* Change aleut networkID

* Fix test

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-04-22 18:11:37 +01:00
Igor Mandrigin
770fa6005b begin 2021.05.01 release cycle 2021-04-22 16:45:45 +02:00
ledgerwatch
851769f833
Update skip_analysis.go (#1783) 2021-04-22 14:28:26 +01:00
Alex Sharov
0af3085461
Revert "GetAsOf: do not return error on nil (#1769)" (#1782)
This reverts commit 60196abf50.
2021-04-22 13:45:04 +01:00
Alex Sharov
1f839f5b54
Txpool minor fixes (#1778) 2021-04-22 10:33:34 +07:00
ledgerwatch
80a3edae2f
Fixes to the sentry/downloader (#1767)
* Complete eth/66 migration, temporary disable broadcast

* Update header stage progress correctly

* Fix restarting

* Not pass blockPropagator to headers stage

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-04-21 23:24:01 +01:00
Alex Sharov
e7a78a2d9f
Mdbx: speedup tests (#1776) 2021-04-21 20:03:08 +07:00
Alex Sharov
4b803bfa6a
Notify RPCDaemon after sync cycle commit (#1772) 2021-04-21 17:58:23 +07:00
Artem Vorotnikov
9a3e47a498
Remove StateCache where unused (#1770) 2021-04-21 16:14:23 +07:00
Alex Sharov
bbe9af3e25
Stages as const (#1774) 2021-04-21 15:02:21 +07:00
Alex Sharov
41fa29d421
Mining fixes (#1771) 2021-04-21 12:01:25 +07:00
Artem Vorotnikov
60196abf50
GetAsOf: do not return error on nil (#1769) 2021-04-21 10:47:46 +07:00
Artem Vorotnikov
ffcb4b62a6
Adapters refactor (#1768) 2021-04-21 09:18:05 +07:00
Artem Vorotnikov
c967655c1d
More cleanups (#1765) 2021-04-21 08:48:37 +07:00
alex.sharov
e25b57511d fix nil pointer in peer 2021-04-20 23:34:54 +07:00
alex.sharov
a6fe31e1f2 fix nil pointer in peer 2021-04-20 23:31:42 +07:00
alex.sharov
b08532b278 fix nil pointer in peer 2021-04-20 23:24:09 +07:00
Alex Sharov
bf1c219531
Move txPool.Get method behind direct-grpc (#1760) 2021-04-20 21:41:46 +07:00
Alex Sharov
7e20142dc5
more commit info (#1766) 2021-04-20 21:04:00 +07:00
ledgerwatch
3d0fbb488f
Try adding static peers (#1762)
* Try adding static peers

* Add staticpeers to defaul flags

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-04-20 12:32:06 +01:00
Alex Sharov
a95bc0e34d
Mdbx devel up 3 (#1763) 2021-04-20 16:01:28 +07:00
Artem Vorotnikov
9e3aae1b9b
Cleanup StateReader (#1759) 2021-04-20 13:23:16 +07:00
Alex Sharov
22980c11a1
create make_protocols_method similar to eth.MakeProtocols (#1754) 2021-04-20 12:36:25 +07:00
Alex Sharov
bf6f042a5d
Start mining on new tx (#1740) 2021-04-20 09:12:08 +07:00
Chase Wright
9e0d9625a3
Add eth_getBlockReceipts to rpcdaemon README (#1755)
* Add eth_getBlockReceipts to rpcdaemon README
2021-04-19 22:58:21 +01:00
Evgeny Danilenko
17c07c50a5
Move clique buckets to separate DB (#1703)
* debug

* debug

* it works

* rename clique bucket

* remove genesis special case

* copy snapshot

* remove debug

* migration

* debug

* regenerate snapshots

* simplify

* regeneration

* after merge

* tests

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-04-19 22:58:05 +01:00
Alex Sharov
c5162fc3e7
RPCDaemon: Fix verbosity (#1757) 2021-04-19 21:14:12 +07:00
Alex Sharov
93a57f46a6
minimal_golang_version_check (#1752) 2021-04-19 17:54:56 +07:00
Alex Sharov
e44b5eb84e
less blockchain object use step 5 (#1751) 2021-04-19 15:36:50 +07:00
Alex Sharov
5019610cfb
remove database field from Ethereum object (#1750) 2021-04-19 14:56:44 +07:00
Alex Sharov
00f700675b
add --datadir parameter to integration, snapshot generator, header downloader (#1749) 2021-04-19 14:25:26 +07:00
Alex Sharov
22b9522112
RPCDaemon: add --datadir flag, use --chaindata only if wanna redefine default chaindata folder (#1747) 2021-04-19 12:44:14 +07:00
Alex Sharov
868e6adc6c
add total counter rusage to board (#1746) 2021-04-19 10:24:12 +07:00
Alex Sharov
ad6526c318
check block for nil in ReadBlockWithSenders (#1737) 2021-04-19 10:18:13 +07:00
ledgerwatch
e9934cad23
Update stages.go (#1745) 2021-04-19 10:17:59 +07:00
ledgerwatch
d3aa6844c5
Add stage_bodies command to integration tool (#1744)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-04-18 21:28:08 +01:00
Alex Sharov
368f37a02f
Simplify blockchain obj, step 5 (#1739) 2021-04-18 12:27:07 +07:00
Alex Sharov
05e77cb4d3
get block receipts method (#1735) 2021-04-18 12:05:54 +07:00
Alex Sharov
b6a58b8263
Eth 66 sentry (#1721)
* eth66

* eth66

* test v0

* save

* sentry handshake test

* sentry handshake test

* sentry handshake test

* clean

* clean

* clean

* clean

* clean

* clean
2021-04-16 14:05:35 +01:00
Alex Sharov
9273090761
Move TxPool stage to rwtx (#1734) 2021-04-16 13:30:58 +07:00
Alex Sharov
07913a4d96
Mdbx force madv random (#1733) 2021-04-16 08:12:45 +07:00
Artem Vorotnikov
86f3190806
trace_block: fix block number in traces (#1731) 2021-04-15 21:58:06 +03:00
Artem Vorotnikov
c935f7a996
trace_block: execute block on top of previous block (#1720) 2021-04-15 13:48:42 +03:00
Alex Sharov
a6541b5402
[merge after release] remove trie cache cli flags and logic (#1725) 2021-04-15 17:06:38 +07:00
Alex Sharov
5703059f29
[merge after release] Move history stage to rwtx (#1727) 2021-04-15 17:06:30 +07:00
Alex Sharov
7aabdeb829
Remote tx pool generate code (#1730) 2021-04-15 17:06:05 +07:00
Alex Sharov
f4a0839ff7
[merge after release] move ih stage to rwtx (#1726) 2021-04-15 17:05:55 +07:00
Igor Mandrigin
5f9909581d begin 2021.04.04 release cycle 2021-04-15 11:31:13 +02:00
Igor Mandrigin
d7d85af8c4 update skip analysis 2021-04-15 11:01:09 +02:00
Alex Sharov
a839de5c73
solve mess with git subtree (#1729) 2021-04-15 15:58:26 +07:00