Skip to content

Conversation

Bushstar
Copy link
Collaborator

@Bushstar Bushstar commented May 1, 2018

[qa] Add --failfast option to functional test runner
bitcoin/bitcoin#13105

Make vpwallets usage thread safe
bitcoin/bitcoin#13028

[tests] Fix race in rpc_deprecated.py
bitcoin/bitcoin#13130

util: Refactor logging code into a global object
bitcoin/bitcoin#12954

jamesob and others added 9 commits May 1, 2018 09:05
Also cleans up run_test's arguments list (no more mutable default for `args`)
and call site.
Fixes a block generation race.
The object encapsulates logging configuration, and in a later commit,
set up routines will also be moved into the class.
Changing parameter types from pointers to references and uint32_t to
BCLog::LogFlags simplies calling code.
-BEGIN VERIFY SCRIPT-
sed -i "s/fileout/m_fileout/" src/logging.h src/logging.cpp
sed -i "s/mutexDebugLog/m_file_mutex/" src/logging.h src/logging.cpp
sed -i "s/vMsgsBeforeOpenLog/m_msgs_before_open/" src/logging.h src/logging.cpp
sed -i "s/logCategories/m_categories/" src/logging.h src/logging.cpp
sed -i "s/fPrintToConsole/m_print_to_console/" src/logging.h src/logging.cpp src/init.cpp
sed -i "s/fPrintToDebugLog/m_print_to_file/" src/logging.h src/logging.cpp src/init.cpp src/test/test_bitcoin.cpp src/bench/bench_bitcoin.cpp
sed -i "s/fLogTimestamps/m_log_timestamps/" src/logging.h src/logging.cpp src/init.cpp
sed -i "s/fLogTimeMicros/m_log_time_micros/" src/logging.h src/logging.cpp src/init.cpp
sed -i "s/fReopenDebugLog/m_reopen_file/" src/logging.h src/logging.cpp src/init.cpp
sed -i "s/fStartedNewLine/m_started_new_line/" src/logging.h src/logging.cpp
-END VERIFY SCRIPT-
This breaks the cyclic between logging and util.
@Bushstar Bushstar merged commit 5e91a0e into FeatherCoin:master May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants