Page MenuHomePhabricator

qt: clean up initialize/shutdown signals
ClosedPublic

Authored by jasonbcox on Oct 9 2018, 03:10.

Details

Summary
  • Change initializeResult(int) to initializeResult(bool) to avoid implicit type conversion.
  • Use EXIT_FAILURE and EXIT_SUCCESS instead of magic numbers.
  • Remove the argument from shutdownResult(int); it was called with a constant argument.

Backport of https://github.com/bitcoin/bitcoin/pull/9834

Completes T427

Co-authored-by: Jason B. Cox <contact@jasonbcox.com>

Test Plan

make check && test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr9834
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3543
Build 5162: Bitcoin ABC Buildbot (legacy)
Build 5161: arc lint + arc unit