Skip to content

Conversation

@barrystyle
Copy link

This won't be able to be used directly owing to the upcoming 4.0 release and associated change freeze (also work that has taken place in the meantime), however this will allow future upstream porting to be done with ease. Enjoy.

Fuzzbawls and others added 2 commits August 26, 2019 05:46
… opportunities:

  * Divide main.cpp into validation.cpp and net_processing.cpp
  * Move class/struct definitions where they should be
  * Confirmed tests compile and run correctly
@furszy
Copy link

furszy commented Nov 6, 2019

This was unexpected, effort really appreciated 👌 .

Yeah, it will need some cleanup and updates but great man 👍 . Will review it properly and most likely give you a hand with the updates after 4.0.

@Fuzzbawls Fuzzbawls added this to the 4.1.0 milestone Nov 8, 2019
@furszy
Copy link

furszy commented Dec 17, 2019

Hi, now that 4.0 is just about to be released, can continue moving forward with this 🤘 .

First step would be plan this big PR division into a subset of smaller and focalized PRs on top of 4.0, and slowly grow from there to this point, otherwise this will hardly pass the review process.

@barrystyle
Copy link
Author

barrystyle commented Dec 17, 2019 via email

@furszy
Copy link

furszy commented Dec 17, 2019

Hmm, that would most likely end up being still pretty big. Would start porting/moving the isolated code (class by class, method by method). The one who have no modifications and possibly just a single call. Each of them in a separated PR.

A quick example is the CBlockFileInfo, which just need to be moved from main.h to chain.h.

Slowly but steady cleaning the main.h/cpp file. Once we get rid off all of the isolated code, can move to the code that require further modifications and/or connections and start moving method by method to the net_processing file.

In this way, we will be able to always move forward merging PR by PR. Doing baby, well reviewed, steps.

@barrystyle
Copy link
Author

barrystyle commented Dec 18, 2019

Have prepared a PR, mainly to check if this is headed in the right direction:
#1209

Using Bitcoin 0.14 to 'steer' where required.

@furszy
Copy link

furszy commented Jun 29, 2020

is anyone opposed to closing this? No advances for a long period of time.

@random-zebra
Copy link

Yep. closing...

@random-zebra random-zebra modified the milestones: 5.0.0, 4.3.0 Sep 10, 2020
@Fuzzbawls Fuzzbawls removed this from the 4.3.0 milestone Sep 25, 2020
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.

4 participants