From 12d337447b265deecd4055b32b192a46058b556d Mon Sep 17 00:00:00 2001 From: Steven Williams Date: Wed, 16 May 2018 17:47:52 -0700 Subject: [PATCH 1/4] Litecon: Modify thread names Since this string is displayed externally within lists of processes and should be consistent with branding, and not cause confusion for admins, when running "top", "ps aux", "pgrep" or similar commands. --- src/httpserver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/httpserver.cpp b/src/httpserver.cpp index f78ce13737256..901032d53e664 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -280,7 +280,7 @@ static void http_reject_request_cb(struct evhttp_request* req, void*) /** Event dispatcher thread */ static bool ThreadHTTP(struct event_base* base, struct evhttp* http) { - RenameThread("bitcoin-http"); + RenameThread("litecoin-http"); LogPrint(BCLog::HTTP, "Entering http event loop\n"); event_base_dispatch(base); // Event loop will be interrupted by InterruptHTTPServer() @@ -329,7 +329,7 @@ static bool HTTPBindAddresses(struct evhttp* http) /** Simple wrapper to set thread name and run work queue */ static void HTTPWorkQueueRun(WorkQueue* queue) { - RenameThread("bitcoin-httpworker"); + RenameThread("litecoin-httpworker"); queue->Run(); } From 517faf4c72e6ee46846090f58f73dce759ae2197 Mon Sep 17 00:00:00 2001 From: Billy Smolen Date: Wed, 16 May 2018 17:57:01 -0700 Subject: [PATCH 2/4] Litecoin: Remove invalid doxygen link --- doc/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/README.md b/doc/README.md index 24d2bfa42cbb6..7c2ce137f43e5 100644 --- a/doc/README.md +++ b/doc/README.md @@ -51,7 +51,6 @@ The Litecoin repo's [root README](/README.md) contains relevant information on t - [Developer Notes](developer-notes.md) - [Release Notes](release-notes.md) - [Release Process](release-process.md) -- [Source Code Documentation (External Link)](https://dev.visucore.com/litecoin/doxygen/) - [Translation Process](translation_process.md) - [Translation Strings Policy](translation_strings_policy.md) - [Travis CI](travis-ci.md) From ceddcbadf5d40f1a407d5b1c6820b5b753a1e5f3 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Wed, 16 May 2018 18:16:30 -0700 Subject: [PATCH 3/4] Litecoin: Add additional optional build steps for osx builds Fixes: https://github.com/litecoin-project/litecoin/issues/463 --- doc/build-osx.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/build-osx.md b/doc/build-osx.md index 013fe8c9ff25a..e65ecee51e1cb 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -70,6 +70,16 @@ Build Litecoin Core make deploy +5. Installation into user directories (optional): + + make install + + or + + cd ~/litecoin/src + cp litecoind /usr/local/bin/ + cp litecoin-cli /usr/local/bin/ + Running ------- From 18adb3d71f17712d63ec951209ee472b2235849b Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Thu, 17 May 2018 21:24:25 -0700 Subject: [PATCH 4/4] Litecoin: Show scrypt sse2 status in configure and fix scrypt syntax issue --- configure.ac | 1 + src/crypto/scrypt.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3a3ebcd8cd559..e366ade970710 100644 --- a/configure.ac +++ b/configure.ac @@ -1347,6 +1347,7 @@ echo " with test = $use_tests" echo " with bench = $use_bench" echo " with upnp = $use_upnp" echo " use asm = $use_asm" +echo " scrypt sse2 = $use_sse2" echo " debug enabled = $enable_debug" echo " werror = $enable_werror" echo diff --git a/src/crypto/scrypt.cpp b/src/crypto/scrypt.cpp index c3a8d5653fa0f..588468ef24dfb 100644 --- a/src/crypto/scrypt.cpp +++ b/src/crypto/scrypt.cpp @@ -313,7 +313,7 @@ std::string scrypt_detect_sse2() if (cpuid_edx & 1<<26) { scrypt_1024_1_1_256_sp_detected = &scrypt_1024_1_1_256_sp_sse2; - ret = "scrypt: using scrypt-sse2 as detected"); + ret = "scrypt: using scrypt-sse2 as detected"; } else {