Skip to content

Commit

Permalink
Litecoin: Basic changes for v0.16 release (litecoin-project#482)
Browse files Browse the repository at this point in the history
* 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.

* Litecoin: Remove invalid doxygen link

* Litecoin: Add additional optional build steps for osx builds

Fixes: litecoin-project#463

* Litecoin: Show scrypt sse2 status in configure and fix scrypt syntax issue
  • Loading branch information
thrasher- committed Oct 12, 2018
1 parent 71dd3d7 commit ae848ac
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,7 @@ echo " with bench = $use_bench"
echo " with upnp = $use_upnp"
echo " use asm = $use_asm"
echo " sanitizers = $use_sanitizers"
echo " scrypt sse2 = $use_sse2"
echo " debug enabled = $enable_debug"
echo " gprof enabled = $enable_gprof"
echo " werror = $enable_werror"
Expand Down
1 change: 0 additions & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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)
Expand Down
10 changes: 10 additions & 0 deletions doc/build-osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,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
-------

Expand Down
2 changes: 1 addition & 1 deletion src/crypto/scrypt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/httpserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ static void http_reject_request_cb(struct evhttp_request* req, void*)
/** Event dispatcher thread */
static bool ThreadHTTP(struct event_base* base)
{
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()
Expand Down Expand Up @@ -330,7 +330,7 @@ static bool HTTPBindAddresses(struct evhttp* http)
/** Simple wrapper to set thread name and run work queue */
static void HTTPWorkQueueRun(WorkQueue<HTTPClosure>* queue)
{
RenameThread("bitcoin-httpworker");
RenameThread("litecoin-httpworker");
queue->Run();
}

Expand Down

0 comments on commit ae848ac

Please sign in to comment.