Skip to content

Commit 6e56097

Browse files
AlexeyAkhunovvorot93b00risAlexey Sharp
authored
Bring in refactored p2p sentry interface and adjust downloader for it (#1497)
* 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> * Use new p2psentry interface * Remove * Fix lint * Fix lint * Separate upload messages into its own stream (#6) Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local> * Add header upload * Remove * Add upload of block headers * Add block bodies upload * Fix lint * Bugfix for blockBodies * Fix for body upload logging * Print peerId for GetBlockHeaders * Invoke block hashes stage to enable block body upload * Fix test * Fix stuck bodies download Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me> Co-authored-by: b00ris <b00ris@mail.ru> Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
1 parent 101c7d7 commit 6e56097

File tree

17 files changed

+1431
-1072
lines changed

17 files changed

+1431
-1072
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ integration:
7676
@echo "Run \"$(GOBIN)/integration\" to launch integration tests."
7777

7878
headers:
79-
$(GOBUILD) -o $(GOBIN)/headers ./cmd/headers
79+
$(GOBUILD) -o $(GOBIN)/headers -tags 'mdbx' ./cmd/headers
8080
@echo "Done building."
81-
@echo "Run \"$(GOBIN)/integration\" to run headers download PoC."
81+
@echo "Run \"$(GOBIN)/headers\" to run headers download PoC."
8282

8383
db-tools:
8484
go mod vendor; cd vendor/github.com/ledgerwatch/lmdb-go/dist; make clean mdb_stat mdb_copy mdb_dump mdb_load; cp mdb_stat $(GOBIN); cp mdb_copy $(GOBIN); cp mdb_dump $(GOBIN); cp mdb_load $(GOBIN); cd ../../../../..; rm -rf vendor

0 commit comments

Comments
 (0)