aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorJeffrey Czyz <[email protected]>2019-10-22 10:06:02 -0700
committerJeffrey Czyz <[email protected]>2019-10-22 13:44:51 -0700
commit8734c856f85cb506fa97596383dd7e7b9edd7e03 (patch)
treeaa176beeb597fdb711ebca78f3e3a545beb4c9d5 /src/httpserver.cpp
parentMerge #16557: [wallet] restore coinbase and confirmed/conflicted checks in Su... (diff)
downloaddiscoin-8734c856f85cb506fa97596383dd7e7b9edd7e03.tar.xz
discoin-8734c856f85cb506fa97596383dd7e7b9edd7e03.zip
Replace the LogPrint function with a macro
Calling LogPrint with a category that is not enabled results in evaluating the remaining function arguments, which may be arbitrarily complex (and possibly expensive) expressions. Defining LogPrint as a macro prevents this unnecessary expression evaluation. This is a partial revert of #14209. The decision to revert is discussed in #16688, which adds verbose logging for validation event notification.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions