erigon-pulse/core
ledgerwatch 81ea5bab78
More updates to downloader, new p2psentry protocol (#1559)
* Initial commit

* Add sentry gRPC interface

* p2psentry directory

* Update README.md

* Update README.md

* Update README.md

* Add go package

* Correct syntax

* add external downloader interface (#2)

* Add txpool (#3)

* Add private API (#4)

* Invert control.proto, add PeerMinBlock, Separare incoming Tx message into a separate stream (#5)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Separate upload messages into its own stream (#6)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Only send changed accounts to listeners (#7)

* Txpool interface doc (#9)

* More additions

* More additions

* Fix locking

* Intermediate

* Fix separation of phases

* Intermediate

* Fix test

* More transformations

* New simplified way of downloading headers

* Fix hard-coded header sync

* Fixed syncing near the tip of the chain

* Add architecture diagram source and picture (#10)

* More fixes

* rename tip to link

* Use preverified hashes instead of preverified headers

* Fix preverified hashes generation

* more parametrisation

* Continue parametrisation

* Fix grpc data limit, interruption of headers stage

* Add ropsten preverified hashes

* Typed hashes (#11)

* Typed hashes

* Fix PeerId

* 64-bit tx nonce

* Disable penalties

* Add goerli settings, bootstrap nodes

* Try to fix goerly sync

* Remove interfaces

* Add proper golang packages, max_block into p2p sentry Status

* Prepare for proto overhaul

* Squashed 'interfaces/' content from commit ce36053c2

git-subtree-dir: interfaces
git-subtree-split: ce36053c24db2f56e48ac752808de60afa1dfb4b

* Change EtherReply to address

* Adaptations to new types

* Switch to new types

* Fixes

* Fix formatting

* Fix lint

* Lint fixes, reverse order in types

* Fix lint

* Fix lint

* Fix lint

* Fix test

* Not supporting eth/66 yet

* Fix shutdown

* Fix lint

* Fix lint

* Fix lint

* return stopped check

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: b00ris <b00ris@mail.ru>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: canepat <16927169+canepat@users.noreply.github.com>
2021-03-19 21:24:49 +00:00
..
asm core/asm: allow numbers in labels (#20362) 2019-12-03 13:55:30 +01:00
bloombits eth, core: speed up some tests (#22000) 2021-03-09 10:03:01 +01:00
forkid fix some eth handler tests 2021-03-16 15:18:14 +01:00
rawdb Split header prefix bucket to headers, td and canonical (#1556) 2021-03-19 12:54:47 +00:00
state Align Cursor API with LMDB/MDBX (#1558) 2021-03-19 14:45:01 +07:00
types lint passes 2021-03-18 11:58:19 +01:00
vm cleanup runtime_test from the unimplemented EIP 2021-03-16 13:41:42 +01:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-03-12 15:40:24 +01:00
block_validator_test.go Don't force sync in case InMemDb (#1174) 2020-10-02 14:08:28 +01:00
block_validator.go core: fix a typo in comment (#21439) 2020-10-06 14:12:09 +02:00
blockchain_insert.go Mdbx devel 5 (#1413) 2020-12-16 14:35:14 +00:00
blockchain.go Merge branch 'master' into geth-1-10-1 2021-03-17 16:50:20 +01:00
blocks.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
bloom_indexer.go Fix lints 2021-03-17 22:24:46 +00:00
chain_indexer.go Method delete to accept second param: allow delete dupsort values (#1297) 2020-10-29 13:19:31 +00:00
chain_makers.go lint passes 2021-03-18 11:58:19 +01:00
dao_test.go Another step in migrating tests to staged sync (#970) 2020-08-24 18:00:40 +01:00
error.go Compilation fixes 2021-03-14 08:00:37 +00:00
eth_backend.go More updates to downloader, new p2psentry protocol (#1559) 2021-03-19 21:24:49 +00:00
events.go eth/filters: remove use of event.TypeMux for pending logs (#20312) 2020-01-30 13:36:30 +02:00
evm.go Compilation fixes 2021-03-14 08:00:37 +00:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis_account.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_genesis.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
genesis_alloc.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-03-12 15:40:24 +01:00
genesis.go More updates to downloader, new p2psentry protocol (#1559) 2021-03-19 21:24:49 +00:00
headerchain_test.go and more lint fixes 2021-03-18 11:53:34 +01:00
headerchain.go Fix lints 2021-03-18 06:58:14 +00:00
mkalloc.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
pruner_test.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
pruner.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
rlp_test.go Speed up GenerateChain by using intermediate hashes (#736) 2020-07-10 22:37:34 +01:00
skip_analysis.go Update skip analysis 2021-03-18 12:35:56 +01:00
state_prefetcher.go more linter fixes 2021-03-18 11:44:22 +01:00
state_processor_test.go more linter fixes 2021-03-18 11:44:22 +01:00
state_processor.go Compilation fixes 2021-03-14 08:00:37 +00:00
state_transition.go Compilation fixes 2021-03-14 08:00:37 +00:00
tx_cacher.go Grpc-based remoteDb (#788) 2020-07-27 19:15:48 +07:00
tx_journal.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
tx_list_test.go fixes to core tests (compilation) 2021-03-16 12:44:38 +01:00
tx_list.go Compilation fixes 2021-03-14 08:00:37 +00:00
tx_noncer.go Remove Copy from IntraBlockState and use references instead of copies in other places. 2019-11-07 13:32:20 +01:00
tx_pool_test.go Fix lints 2021-03-18 07:27:50 +00:00
tx_pool.go Fix lints 2021-03-18 08:30:14 +00:00
types.go Jumpdest skip optimisation (#851) 2020-08-01 17:56:57 +01:00