Skip to content

Conversation

@mikegogulski
Copy link

hopefully a proper rebasing of #2075

The goal here is to work toward a clean interface to the wallet object. For now this involves moving code out of rpc*.cpp which deals with wallet internals and making that code into methods on the CWallet object.

src/wallet.cpp Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Here's still a CBitcoinAddress left.

Copy link
Author

Choose a reason for hiding this comment

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

I need to hunt that one down yet since I think it's used outside of rpc*.cpp. I'll post a new commit working on that soon.

@BitcoinPullTester
Copy link

Copy link
Member

Choose a reason for hiding this comment

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

Why is this a TODO?

Copy link
Author

Choose a reason for hiding this comment

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

I saw a method returning bool and the return value being ignored, so I put in that note. Looking around the codebase now I see that it's hardly ever used, so maybe it can be ignored. Want a new commit?

@sipa
Copy link
Member

sipa commented Jan 6, 2013

Many of your TODO's look like todo's for yourself rather than concrete plans for changes in the source code - leave those out. If there is a concrete plan, and it's obvious: just add a commit that actually implements the change. If it's something big you'd rather leave for a follow-up pull request, a TODO in the code is fine.

Also, squash some commits together. "Indentation fix" certainly doesn't require a separate commit.

@mikegogulski
Copy link
Author

Okay, I stripped out the todos. Should I squash everything in this branch down to one commit in order to get it pulled? (total git noob here)

@BitcoinPullTester
Copy link

@BitcoinPullTester
Copy link

@luke-jr
Copy link
Member

luke-jr commented Jan 30, 2013

Rebase needed

@jgarzik
Copy link
Contributor

jgarzik commented Jun 19, 2013

Poke @mikegogulski

The general sentiment towards these changes seems positive. Let's rebase and get this moving, or close.

@luke-jr
Copy link
Member

luke-jr commented Jul 17, 2013

I've rebased this as my mikegogulski_walletencap3 branch. It does, however, create a dependency from wallet.cpp -> main.h; I don't see any obvious way to fix this, considering that IsFinalTx is not tied to any class.

@jgarzik
Copy link
Contributor

jgarzik commented Aug 25, 2013

Closing - non-responsive. Feel free to rebase and reopen.

@jgarzik jgarzik closed this Aug 25, 2013
owlhooter pushed a commit to owlhooter/mazacoin-new that referenced this pull request Oct 11, 2018
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants