Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

p2p finish syncing new nodes #515

Closed
Closed

Description

@pmesnier

This is focusing on retrieving the blocks newer than the last irreversible. My assumption is that when a peer sends a notification of blocks, the vector will contain the blocks in order.

Finally the peer needs to collect unblocked signed transactions. I suppose there are on average 1.5 seconds worth of transactions which could still be 10000s of txns.

Activity

  1. pmesnier commented on Sep 29, 2017

    @pmesnier
    ContributorAuthor

    Many of the necessary code changes for the notify/request/supply of "reversible" blocks is already in branch p2p-send-block-summaries, so I a continuing in that source branch.

  2. pmesnier commented on Oct 2, 2017

    @pmesnier
    ContributorAuthor

    All the code is in, at least as a first pass, but I still see sync failures as described in #421. The failure that is most common occurs when the launcher uses the "star" topology which happens to set up connections to peers except to adjacent ones.

  3. added 2 commits that reference this issue on Oct 2, 2017
  4. pmesnier commented on Oct 5, 2017

    @pmesnier
    ContributorAuthor

    The fix is in for the sync test failure reported in #421. Also added a config.ini option: send-whole blocks=[TRUE/false] when false, the net plugin will send block summaries instead of full blocks.

    I still lack an effective way to bulk-transfer unblocked signed transactions, although I have some ideas. This is only an issue when the new send-whole-blocks option is set to false and a node needs to sync up with the chain.

    I'll make a PR for what's ready now, so this issue will close along with #421 and I'll open a new one to tackle the un-blocked transactions situation.

  5. added 2 commits that reference this issue on Oct 5, 2017
  6. pmesnier commented on Oct 5, 2017

    @pmesnier
    ContributorAuthor

    PR #543 addresses this issue

  7. added this to the EOS Dawn 1.1 milestone on Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions