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

refactor: Consolidate Gridcoin-specific code #1894

Merged

Conversation

cyrossignol
Copy link
Member

@cyrossignol cyrossignol commented Sep 23, 2020

This is a series of mostly trivial, move-only changes that reorganize Gridcoin-specific code into the "gridcoin" directory to prepare for a full-scale upgrade of the base Bitcoin code. This PR separates almost all of the remaining Gridcoin core functionality from the Bitcoin tree except for some necessary customizations to data structures and APIs.

I also left the RPCs and miner-related code alone entirely. These are more involved areas that warrant focused PRs of their own and may be easier to refactor while in the process of merging upstream changes. I also see no need to mess with the organization of the GUI code at this time because we won't likely port Bitcoin's GUI code as it is.

Please read the commit descriptions for details. We can probably squash some of these if desired. I kept the breakdown for clarity and to make adjustments easier if we don't agree on the proposed organization.

@jamescowens jamescowens self-requested a review September 23, 2020 14:47
@jamescowens jamescowens added compatibility enhancement refactor This is for refactoring (if also an enhancement, use that label too). and removed enhancement labels Sep 23, 2020
@jamescowens jamescowens added this to the Gladys milestone Sep 23, 2020
@jamescowens
Copy link
Member

Very good. I will go through this today, but first glance looks like the right approach for packaging to prepare us for the base code rebase work.

@jamescowens jamescowens requested a review from div72 September 23, 2020 14:50
Copy link
Member

@jamescowens jamescowens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow... This is going to break every PR or planned PR out there, but it has to be done, and the best time is the present. Approved.

@jamescowens jamescowens removed the request for review from div72 September 24, 2020 15:12
@jamescowens jamescowens merged commit b4b5585 into gridcoin-community:development Sep 24, 2020
@cyrossignol cyrossignol deleted the reorganize-gridcoin branch September 24, 2020 22:34
jamescowens added a commit that referenced this pull request Oct 8, 2020
…cyrossignol)

 - refactor: port chainparams #1878 (@div72)
 - gui: Update default font to Inter-Regular and console font to Inconsolata (@opsinphark, @jamescowens)
 - gui: Add "review beacon verification" button to wizard summary page #1912 (@cyrossignol)
 - rpc, wallet: Implement liststakes #1909 (@jamescowens)
 - rpc: Add "getlaststake" RPC function #1913 (@cyrossignol)
 - gui: Install bold variant of Inter font #1914 (@cyrossignol)

 - refactor: Consolidate Gridcoin-specific code #1894 (@cyrossignol)
 - script: Setup improvements #1895 (@nathanielcwm)
 - gui: Diagnostics refresh #1899 (@jamescowens)
 - superblock: Optimize superblock size calculation #1906 (@cyrossignol)
 - gui: Adjust stylesheets and scale icons to improve HiDPI side toolbar display #1911 (@jamescowens)
 - doc: Tell user to disable win32 application support in WSL (for building) #1917 (@nathanielcwm)
 - rpc: Revise and expand help for beaconconvergence rpc call #1918 (@jamescowens)
 - scheduler: Increase default update check interval to 5 days #1920 (@cyrossignol)
 - gui: Prevent multiple dialogs from being open at the same time #1922 (@scribblemaniac)

 - refactor: Clean up remaining legacy timer code #1892 (@cyrossignol)

 - build: Add --without-brotli option to curl.mk #1902 (@G_UK)
 - test: Remove fs_tests... file after the fs test #1903 (@div72)
 - util, gui: Fix shutdown segfault and repair broken overview page staking status #1901 (@jamescowens)
 - scraper: Fix order of destruction for global scraper objects #1904 (@cyrossignol)
 - scraper: Fix global object destruction order for MacOS #1905 (@cyrossignol)
 - util: Decouple out-of-sync state from block acceptance #1921 (@cyrossignol)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility refactor This is for refactoring (if also an enhancement, use that label too).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants