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

Backport Bitcoin PR#9075: Decouple peer-processing-logic from block-connection-logic (#3) #1560

Merged
merged 2 commits into from
Aug 2, 2017

Conversation

OlegGirko
Copy link

This is backport of Bitcoin PR bitcoin#9075.

This is another step in preparation for main.{h,cpp} split.
I've skipped the first commit of the original PR because it's revert of a commit that was not present in Dash.

The original PR description follows.

Yet another step towards splitting main.cpp. After this and bitcoin#8930 (which I will rebase after this is merged to clean it up a ton), we're ready to do the big code moves :).

This PR focuses on mapBlockSource, removing references to it from ProcessNewBlock and moving it to callsites, cleaning up logic in the process.

Built on bitcoin#9026 to avoid conflicts and simplify the backporting (bitcoin#9048).

@UdjinM6 UdjinM6 added this to the 12.2 milestone Aug 1, 2017
@UdjinM6 UdjinM6 merged commit b4b3431 into dashpay:v0.12.2.x Aug 2, 2017
@OlegGirko OlegGirko deleted the bc-pr-9075 branch August 2, 2017 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants