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

Split wallet.cpp into smaller files #2013

Merged
merged 13 commits into from Oct 2, 2019
Merged

Split wallet.cpp into smaller files #2013

merged 13 commits into from Oct 2, 2019

Conversation

jmjatlanta
Copy link
Contributor

@jmjatlanta jmjatlanta commented Sep 24, 2019

Fixes #2003 #950

This will split wallet.cpp into smaller files to alleviate problems compiling such a large file.

The definition of the implementation was moved into a header, and some of the implementation of methods moved into separate .cpp files.

  • organize and move the rest of the methods into respective .cpp files

@crypto-ape
Copy link
Contributor

After rebasing to develop I had to split wallet.cpp into one more additional file, then it finally worked and I was able to compile everything with MinGW.

@jmjatlanta jmjatlanta marked this pull request as ready for review September 26, 2019 22:21
@jmjatlanta
Copy link
Contributor Author

After rebasing to develop I had to split wallet.cpp into one more additional file, then it finally worked and I was able to compile everything with MinGW.

I have cleaned up more of the implementations. Please try again and let me know if you have any problems. Thanks!

@crypto-ape
Copy link
Contributor

After rebasing to develop I had to split wallet.cpp into one more additional file, then it finally worked and I was able to compile everything with MinGW.

I have cleaned up more of the implementations. Please try again and let me know if you have any problems. Thanks!

Compiles OK with MinGW 7.3 on Linux and Windows.

Copy link
Contributor

@pmconrad pmconrad left a comment

Choose a reason for hiding this comment

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

Confirmed code was moved and reformatted as of daa7f95
Also confirmed that the gitian windows build works with this version.

libraries/wallet/wallet_network.cpp Outdated Show resolved Hide resolved
libraries/wallet/wallet_sign.cpp Show resolved Hide resolved
libraries/wallet/wallet_sign.cpp Outdated Show resolved Hide resolved
libraries/wallet/wallet_sign.cpp Outdated Show resolved Hide resolved
libraries/wallet/wallet_voting.cpp Outdated Show resolved Hide resolved
libraries/wallet/wallet_debug.cpp Outdated Show resolved Hide resolved
Protocol Upgrade Release (5.0.0) automation moved this from In development to In testing Oct 2, 2019
@pmconrad
Copy link
Contributor

pmconrad commented Oct 2, 2019

Thanks! I would have grouped differently in some cases, but that's more a matter of personal taste.

@abitmore abitmore self-requested a review October 2, 2019 13:17
@jmjatlanta jmjatlanta merged commit fe108e5 into develop Oct 2, 2019
Protocol Upgrade Release (5.0.0) automation moved this from In testing to Done Oct 2, 2019
@jmjatlanta jmjatlanta deleted the jmj_2003 branch October 2, 2019 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants