Skip to content

Commit

Permalink
analytics: cleanup now unused statsd client implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Feb 20, 2023
1 parent 6ea12ae commit e64ac7a
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 323 deletions.
1 change: 0 additions & 1 deletion contrib/devtools/copyright_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
'src/crypto/*',
'src/ctpl_stl.h',
'src/reverse_iterator.h',
'src/statsd_client.cpp',
'src/test/fuzz/FuzzedDataProvider.h',
'src/tinyformat.h',
'src/bench/nanobench.h',
Expand Down
2 changes: 0 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ BITCOIN_CORE_H = \
spork.h \
stacktraces.h \
streams.h \
statsd_client.h \
support/allocators/mt_pooled_secure.h \
support/allocators/pooled_secure.h \
support/allocators/secure.h \
Expand Down Expand Up @@ -458,7 +457,6 @@ libbitcoin_server_a_SOURCES = \
script/sigcache.cpp \
shutdown.cpp \
spork.cpp \
statsd_client.cpp \
timedata.cpp \
torcontrol.cpp \
txdb.cpp \
Expand Down
247 changes: 0 additions & 247 deletions src/statsd_client.cpp

This file was deleted.

69 changes: 0 additions & 69 deletions src/statsd_client.h

This file was deleted.

1 change: 0 additions & 1 deletion test/lint/lint-cppcheck-dash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ FILES=$(git ls-files -- "src/analytics/*.cpp" \
"src/spork.*" \
"src/saltedhasher.*" \
"src/stacktraces.*" \
"src/statsd_client.*" \
"src/test/block_reward_reallocation_tests.cpp" \
"src/test/bls_tests.cpp" \
"src/test/dip0020opcodes_tests.cpp" \
Expand Down
2 changes: 0 additions & 2 deletions test/lint/lint-format-strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
("src/qt/networkstyle.cpp", "strprintf(titleAddText, gArgs.GetDevNetName())"),
("src/rpc/evo.cpp", "strprintf(it->second, nParamNum)"),
("src/stacktraces.cpp", "strprintf(fmtStr, i, si.pc, lstr, fstr)"),
("src/statsd_client.cpp", "snprintf(d->errmsg, sizeof(d->errmsg), \"could not create socket, err=%m\")"),
("src/statsd_client.cpp", "snprintf(d->errmsg, sizeof(d->errmsg), \"sendto server fail, host=%s:%d, err=%m\", d->host.c_str(), d->port)"),
("src/util/system.cpp", "strprintf(_(COPYRIGHT_HOLDERS).translated, COPYRIGHT_HOLDERS_SUBSTITUTION)"),
("src/wallet/wallet.h", "WalletLogPrintf(std::string fmt, Params... parameters)"),
("src/wallet/wallet.h", "LogPrintf((\"%s \" + fmt).c_str(), GetDisplayName(), parameters...)"),
Expand Down
1 change: 0 additions & 1 deletion test/lint/lint-locale-dependence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ KNOWN_VIOLATIONS=(
"src/dbwrapper.cpp.*stoul"
"src/dbwrapper.cpp:.*vsnprintf"
"src/rest.cpp:.*strtol"
"src/statsd_client.cpp:.*snprintf"
"src/test/dbwrapper_tests.cpp:.*snprintf"
"src/test/fuzz/locale.cpp"
"src/test/fuzz/string.cpp"
Expand Down

0 comments on commit e64ac7a

Please sign in to comment.