From 65dfb8198f161ff32a263891908ff1803edae4ed Mon Sep 17 00:00:00 2001 From: iamkubi Date: Wed, 23 May 2018 16:14:14 -0700 Subject: [PATCH 1/4] Litecoin: Make it easier to specify gbuild resource limits Add variables for gbuild thread and memory limits. Simplifies using custom values. --- doc/release-process.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/release-process.md b/doc/release-process.md index ca86167016..7df4a2ba4f 100644 --- a/doc/release-process.md +++ b/doc/release-process.md @@ -113,17 +113,20 @@ The gbuild invocations below DO NOT DO THIS by default. ### Build and sign Litecoin Core for Linux, Windows, and macOS: + export GITIAN_THREADS=2 + export GITIAN_MEMORY=3000 + pushd ./gitian-builder - ./bin/gbuild --num-make 2 --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-linux.yml + ./bin/gbuild --num-make $GITIAN_THREADS --memory $GITIAN_MEMORY --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-linux.yml ./bin/gsign --signer "$SIGNER" --release ${VERSION}-linux --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-linux.yml mv build/out/litecoin-*.tar.gz build/out/src/litecoin-*.tar.gz ../ - ./bin/gbuild --num-make 2 --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-win.yml + ./bin/gbuild --num-make $GITIAN_THREADS --memory $GITIAN_MEMORY --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-win.yml ./bin/gsign --signer "$SIGNER" --release ${VERSION}-win-unsigned --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-win.yml mv build/out/litecoin-*-win-unsigned.tar.gz inputs/litecoin-win-unsigned.tar.gz mv build/out/litecoin-*.zip build/out/litecoin-*.exe ../ - ./bin/gbuild --num-make 2 --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-osx.yml + ./bin/gbuild --num-make $GITIAN_THREADS --memory $GITIAN_MEMORY --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-osx.yml ./bin/gsign --signer "$SIGNER" --release ${VERSION}-osx-unsigned --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-osx.yml mv build/out/litecoin-*-osx-unsigned.tar.gz inputs/litecoin-osx-unsigned.tar.gz mv build/out/litecoin-*.tar.gz build/out/litecoin-*.dmg ../ From 150a28d7aee54cc39e1ca738ce7042f5c3c710ee Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Wed, 3 Apr 2019 21:43:29 -0700 Subject: [PATCH 2/4] Litecoin: Update man pages --- doc/man/litecoin-cli.1 | 4 ++-- doc/man/litecoin-qt.1 | 4 ++-- doc/man/litecoin-tx.1 | 4 ++-- doc/man/litecoind.1 | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/man/litecoin-cli.1 b/doc/man/litecoin-cli.1 index 262a312d61..dc9dff4b17 100644 --- a/doc/man/litecoin-cli.1 +++ b/doc/man/litecoin-cli.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH LITECOIN-CLI "1" "February 2019" "litecoin-cli v0.17.1.0" "User Commands" +.TH LITECOIN-CLI "1" "April 2019" "litecoin-cli v0.17.1.0" "User Commands" .SH NAME litecoin-cli \- manual page for litecoin-cli v0.17.1.0 .SH SYNOPSIS @@ -15,7 +15,7 @@ litecoin-cli \- manual page for litecoin-cli v0.17.1.0 .B litecoin-cli [\fI\,options\/\fR] \fI\,help Get help for a command\/\fR .SH DESCRIPTION -Litecoin Core RPC client version v0.17.1.0\-dirty +Litecoin Core RPC client version v0.17.1.0 .SH OPTIONS .HP \-? diff --git a/doc/man/litecoin-qt.1 b/doc/man/litecoin-qt.1 index 816880a34b..f0e4654ca8 100644 --- a/doc/man/litecoin-qt.1 +++ b/doc/man/litecoin-qt.1 @@ -1,12 +1,12 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH LITECOIN-QT "1" "February 2019" "litecoin-qt v0.17.1.0" "User Commands" +.TH LITECOIN-QT "1" "April 2019" "litecoin-qt v0.17.1.0" "User Commands" .SH NAME litecoin-qt \- manual page for litecoin-qt v0.17.1.0 .SH SYNOPSIS .B litecoin-qt [\fI\,command-line options\/\fR] .SH DESCRIPTION -Litecoin Core version v0.17.1.0\-dirty (64\-bit) +Litecoin Core version v0.17.1.0 (64\-bit) .SH OPTIONS .HP \-? diff --git a/doc/man/litecoin-tx.1 b/doc/man/litecoin-tx.1 index 864107d17e..073255dc8b 100644 --- a/doc/man/litecoin-tx.1 +++ b/doc/man/litecoin-tx.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH LITECOIN-TX "1" "February 2019" "litecoin-tx v0.17.1.0" "User Commands" +.TH LITECOIN-TX "1" "April 2019" "litecoin-tx v0.17.1.0" "User Commands" .SH NAME litecoin-tx \- manual page for litecoin-tx v0.17.1.0 .SH SYNOPSIS @@ -9,7 +9,7 @@ litecoin-tx \- manual page for litecoin-tx v0.17.1.0 .B litecoin-tx [\fI\,options\/\fR] \fI\,-create \/\fR[\fI\,commands\/\fR] \fI\,Create hex-encoded litecoin transaction\/\fR .SH DESCRIPTION -Litecoin Core litecoin\-tx utility version v0.17.1.0\-dirty +Litecoin Core litecoin\-tx utility version v0.17.1.0 .SH OPTIONS .HP \-? diff --git a/doc/man/litecoind.1 b/doc/man/litecoind.1 index 1a558b2283..0e5e41a310 100644 --- a/doc/man/litecoind.1 +++ b/doc/man/litecoind.1 @@ -1,12 +1,12 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH LITECOIND "1" "February 2019" "litecoind v0.17.1.0" "User Commands" +.TH LITECOIND "1" "April 2019" "litecoind v0.17.1.0" "User Commands" .SH NAME litecoind \- manual page for litecoind v0.17.1.0 .SH SYNOPSIS .B litecoind [\fI\,options\/\fR] \fI\,Start Litecoin Core Daemon\/\fR .SH DESCRIPTION -Litecoin Core Daemon version v0.17.1.0\-dirty +Litecoin Core Daemon version v0.17.1.0 .SH OPTIONS .HP \-? From 8995c4ba5b5dbe1f5b0baa2970e0eaab80f8fd30 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Wed, 3 Apr 2019 21:59:09 -0700 Subject: [PATCH 3/4] Litecoin: Bump blockchain size to 22GB Currently 21716230253 bytes as of block 1608392 --- src/qt/intro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 378ae83fe1..6763d759ca 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -23,7 +23,7 @@ static const uint64_t GB_BYTES = 1000000000LL; /* Minimum free space (in GB) needed for data directory */ -constexpr uint64_t BLOCK_CHAIN_SIZE = 20; +constexpr uint64_t BLOCK_CHAIN_SIZE = 22; /* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */ static const uint64_t CHAIN_STATE_SIZE = 3; /* Total required space (in GB) depending on user choice (prune, not prune) */ From d9b8d9eda92b50ebafe3c15bc371078254257461 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Wed, 3 Apr 2019 22:05:20 -0700 Subject: [PATCH 4/4] Litecoin: Adjust splashscreen padding --- src/qt/splashscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index dc15da8cbe..1cdc38c411 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -28,7 +28,7 @@ SplashScreen::SplashScreen(interfaces::Node& node, Qt::WindowFlags f, const Netw QWidget(0, f), curAlignment(0), m_node(node) { // set reference point, paddings - int paddingRight = 70; + int paddingRight = 75; int paddingTop = 110; int titleVersionVSpace = 17; int titleCopyrightVSpace = 40;