Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(p2p): block sync protocol #915

Merged
merged 109 commits into from
Aug 8, 2024
Merged

feat(p2p): block sync protocol #915

merged 109 commits into from
Aug 8, 2024

Commits on Aug 2, 2024

  1. wip

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a738547 View commit details
    Browse the repository at this point in the history
  2. wip

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    f5aa307 View commit details
    Browse the repository at this point in the history
  3. disc

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    901a171 View commit details
    Browse the repository at this point in the history
  4. added persistent p2p

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    4a137d7 View commit details
    Browse the repository at this point in the history
  5. status code

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5216e61 View commit details
    Browse the repository at this point in the history
  6. status and sync height

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    141be8b View commit details
    Browse the repository at this point in the history
  7. remove duplicate func

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    62b73f9 View commit details
    Browse the repository at this point in the history
  8. get block

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a325424 View commit details
    Browse the repository at this point in the history
  9. block adv refresh

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    738c809 View commit details
    Browse the repository at this point in the history
  10. refactoring

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    7fdab35 View commit details
    Browse the repository at this point in the history
  11. missing blocks

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    6278a24 View commit details
    Browse the repository at this point in the history
  12. sync block manager

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    2d00c26 View commit details
    Browse the repository at this point in the history
  13. refactor da fetching

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    f417cee View commit details
    Browse the repository at this point in the history
  14. skip gossip received height

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c4e55a0 View commit details
    Browse the repository at this point in the history
  15. cleaning

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d2385d9 View commit details
    Browse the repository at this point in the history
  16. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    fd5b295 View commit details
    Browse the repository at this point in the history
  17. minor edits + godoc

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d918237 View commit details
    Browse the repository at this point in the history
  18. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    43755a3 View commit details
    Browse the repository at this point in the history
  19. validator + godoc

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    81c2877 View commit details
    Browse the repository at this point in the history
  20. godoc update

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c68ad0f View commit details
    Browse the repository at this point in the history
  21. fixing tests

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    027f385 View commit details
    Browse the repository at this point in the history
  22. adv fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    9f007d3 View commit details
    Browse the repository at this point in the history
  23. cleaning

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d3896fe View commit details
    Browse the repository at this point in the history
  24. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    8e598a2 View commit details
    Browse the repository at this point in the history
  25. test

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d25813a View commit details
    Browse the repository at this point in the history
  26. store id test

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3bd3363 View commit details
    Browse the repository at this point in the history
  27. comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    b6e2c72 View commit details
    Browse the repository at this point in the history
  28. add block on reception

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    f397170 View commit details
    Browse the repository at this point in the history
  29. set initial height

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    982e4da View commit details
    Browse the repository at this point in the history
  30. Update store/store.go

    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    srene and coderabbitai[bot] committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    650a5c5 View commit details
    Browse the repository at this point in the history
  31. event data check pubsub

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    f1d49b9 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    2306c65 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    63999ba View commit details
    Browse the repository at this point in the history
  34. Update store/store.go

    Co-authored-by: Michael Tsitrin <[email protected]>
    srene and mtsitrin committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    e7a8886 View commit details
    Browse the repository at this point in the history
  35. fixing store cid func name

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    0e1e6cd View commit details
    Browse the repository at this point in the history
  36. improving error message

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3339556 View commit details
    Browse the repository at this point in the history
  37. Update config/p2p.go

    Co-authored-by: Michael Tsitrin <[email protected]>
    srene and mtsitrin committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    20ad6aa View commit details
    Browse the repository at this point in the history
  38. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3abb47b View commit details
    Browse the repository at this point in the history
  39. restore celestia retrieve

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    481c82f View commit details
    Browse the repository at this point in the history
  40. rebase fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    0fe88f3 View commit details
    Browse the repository at this point in the history
  41. addressing pr comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a2c614c View commit details
    Browse the repository at this point in the history
  42. fixing tests

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    7425ee8 View commit details
    Browse the repository at this point in the history
  43. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c54ea2c View commit details
    Browse the repository at this point in the history
  44. fixing logs

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5303d24 View commit details
    Browse the repository at this point in the history
  45. addressing comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3a3eeab View commit details
    Browse the repository at this point in the history
  46. addressing comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a630584 View commit details
    Browse the repository at this point in the history
  47. refactor StartBlockSync

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    377df06 View commit details
    Browse the repository at this point in the history
  48. max in latestSeenHeight

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    973f6d9 View commit details
    Browse the repository at this point in the history
  49. blocksync loop desc

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    b9f6da9 View commit details
    Browse the repository at this point in the history
  50. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    53922d1 View commit details
    Browse the repository at this point in the history
  51. docstring

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    b5c550b View commit details
    Browse the repository at this point in the history
  52. dht validator fix + test

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    854dbac View commit details
    Browse the repository at this point in the history
  53. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c946279 View commit details
    Browse the repository at this point in the history
  54. addressing comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    0319ec9 View commit details
    Browse the repository at this point in the history
  55. unify sync from da

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    7d2b376 View commit details
    Browse the repository at this point in the history
  56. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a99b0c8 View commit details
    Browse the repository at this point in the history
  57. pruning blocks blocksync store

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    ce779ff View commit details
    Browse the repository at this point in the history
  58. fix after rebase

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    b30495a View commit details
    Browse the repository at this point in the history
  59. minor edits

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3984c41 View commit details
    Browse the repository at this point in the history
  60. sync mutex

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    9e6390d View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    172f06b View commit details
    Browse the repository at this point in the history
  62. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    f19f39f View commit details
    Browse the repository at this point in the history
  63. block cache mu

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5dfb529 View commit details
    Browse the repository at this point in the history
  64. minor edit

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    ec22327 View commit details
    Browse the repository at this point in the history
  65. validate + doscstring

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c401a18 View commit details
    Browse the repository at this point in the history
  66. addressing comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c94c312 View commit details
    Browse the repository at this point in the history
  67. pruning cids

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    e75fd83 View commit details
    Browse the repository at this point in the history
  68. added pruning cid test

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    71796ae View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    8078622 View commit details
    Browse the repository at this point in the history
  70. fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    6515e0d View commit details
    Browse the repository at this point in the history
  71. comment

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    71d0d80 View commit details
    Browse the repository at this point in the history
  72. lint

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d7c4dc2 View commit details
    Browse the repository at this point in the history
  73. addressing comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    4126f25 View commit details
    Browse the repository at this point in the history
  74. addressing comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    6afe9b6 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    87cc763 View commit details
    Browse the repository at this point in the history
  76. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    311270f View commit details
    Browse the repository at this point in the history
  77. removing namespace testutil

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    4e23781 View commit details
    Browse the repository at this point in the history
  78. addressing comments

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a712250 View commit details
    Browse the repository at this point in the history
  79. Update block/p2p.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    2a33969 View commit details
    Browse the repository at this point in the history
  80. var rename

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    4d5d90e View commit details
    Browse the repository at this point in the history
  81. add disable option

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    571d87f View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    6c3b07d View commit details
    Browse the repository at this point in the history
  83. lint fix + not returning error in block-sync pruning to avoid error i…

    …n pruning blocksync causes not pruning in store
    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    dfa73c3 View commit details
    Browse the repository at this point in the history
  84. rename

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    629c424 View commit details
    Browse the repository at this point in the history
  85. blocks received map refactor

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    2a6a27d View commit details
    Browse the repository at this point in the history
  86. Update p2p/block_sync.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    b63787a View commit details
    Browse the repository at this point in the history
  87. Update p2p/client.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c2fe48a View commit details
    Browse the repository at this point in the history
  88. Update p2p/block_sync.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    15bdd43 View commit details
    Browse the repository at this point in the history
  89. Update p2p/block_sync.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    f05d9c1 View commit details
    Browse the repository at this point in the history
  90. renaming

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    dc839c3 View commit details
    Browse the repository at this point in the history
  91. Update p2p/block_sync.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    0856963 View commit details
    Browse the repository at this point in the history
  92. Update p2p/block_sync.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5fa92a4 View commit details
    Browse the repository at this point in the history
  93. Update p2p/block_sync.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    337eb7e View commit details
    Browse the repository at this point in the history
  94. Update p2p/client.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3d04db4 View commit details
    Browse the repository at this point in the history
  95. Update p2p/client.go

    Co-authored-by: Omri <[email protected]>
    srene and omritoptix committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3263cfa View commit details
    Browse the repository at this point in the history
  96. lint fix

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    e1a8e68 View commit details
    Browse the repository at this point in the history
  97. param name update

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    26a6603 View commit details
    Browse the repository at this point in the history
  98. dont use gossipsub fork

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    161760b View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    b01ddaf View commit details
    Browse the repository at this point in the history
  100. solving issues after rebase

    srene committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    927ca67 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    bff1394 View commit details
    Browse the repository at this point in the history
  2. fix block source tag

    srene committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e6db914 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Update p2p/client.go

    Co-authored-by: Daniel T <[email protected]>
    srene and danwt authored Aug 6, 2024
    Configuration menu
    Copy the full SHA
    21109fd View commit details
    Browse the repository at this point in the history
  2. minor fix

    srene committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    25f6eff View commit details
    Browse the repository at this point in the history
  3. minor fix

    srene committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    16fe90c View commit details
    Browse the repository at this point in the history
  4. minor fix

    srene committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    529fb15 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7150f44 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Danwt/patch srene p2p block sync protocol merge main resolve conflicts (

    #1001)
    
    Co-authored-by: Michael Tsitrin <[email protected]>
    Co-authored-by: Omri <[email protected]>
    3 people authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    7d866ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9d3723 View commit details
    Browse the repository at this point in the history