Rename CWalletInterface to CValidationInterface #5105

pull sipa wants to merge 1 commits into bitcoin:master from sipa:renamehandler changing 5 files +33 −33
  1. sipa commented at 2:07 AM on October 20, 2014: member

    It's useful for much more than wallets.

  2. luke-jr commented at 2:21 AM on October 20, 2014: member

    Can we have default no-op virtuals instead of the pure virtuals? EraseFromWallet doesn't make sense in non-wallet interfaces :)

  3. sipa force-pushed on Oct 20, 2014
  4. sipa commented at 3:11 AM on October 20, 2014: member

    @luke-jr done

  5. luke-jr commented at 3:15 AM on October 20, 2014: member

    Do you want to rename Register/UnregisterWallet?

  6. laanwj commented at 7:54 AM on October 20, 2014: member

    Rename is a clear improvement, ACK.

    Aside: I've always wondered if the intermediate abstract/virtual class makes sense at all. In principle anything could just subscribe/unsubscribe from the signals they care about, instead of having to inherit a class and add methods with specific names (potentially resulting in collisions).

  7. Rename CWalletInterface to CValidationInterface
    It's useful for much more than wallets.
    a96d113962
  8. sipa force-pushed on Oct 20, 2014
  9. sipa commented at 6:01 PM on October 20, 2014: member

    @luke-jr renamed.

  10. TheBlueMatt commented at 7:23 PM on October 20, 2014: member

    CValidationInterface sounds like something that is doing validation, maybe CValidationClient or so? or CValidationReceiver? I dunno

  11. sipa commented at 8:25 PM on October 20, 2014: member

    CValidationClient? CValidationSignals? CValidationNotification? CValidationCallbacks? CValidationListener? CValidationVisitor?

    Let the bikeshedding begin.

  12. luke-jr commented at 5:29 AM on October 21, 2014: member

    CValidationClient sounds fine. Prefer not to bikeshed this though, since there's now 4 deep PRs waiting on it :p (#5106, #3727, and #1816)

  13. laanwj commented at 9:19 AM on October 21, 2014: member

    @luke-jr can you ACK then? :)

  14. luke-jr commented at 9:30 AM on October 21, 2014: member

    Sure, ACK regardless of what it's called. :)

  15. laanwj merged this on Oct 21, 2014
  16. laanwj closed this on Oct 21, 2014

  17. laanwj referenced this in commit b88cb1a96e on Oct 21, 2014
  18. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me