Skip to content

Commit

Permalink
Update Litecoin references to Garlicoin
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-shaw committed Jun 10, 2018
1 parent 5d06595 commit d299c62
Show file tree
Hide file tree
Showing 167 changed files with 3,781 additions and 4,205 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
@@ -1,4 +1,4 @@
<!-- This issue tracker is only for technical issues related to Litecoin Core.
<!-- This issue tracker is only for technical issues related to Garlicoin Core.
This issue tracker is only for technical issues related to garlicoin-core.
Expand All @@ -11,7 +11,7 @@ General garlicoin questions and/or support requests and are best directed to the

<!--- How reliably can you reproduce the issue, what are the steps to do so? -->

<!-- What version of Litecoin Core are you using, where did you get it (website, self-compiled, etc)? -->
<!-- What version of Garlicoin Core are you using, where did you get it (website, self-compiled, etc)? -->

<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -69,13 +69,13 @@ before_script:
tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
- make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
script:
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "garlicoin-project/garlicoin" -a
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "GarlicoinOrg/Garlicoin" -a
"$TRAVIS_PULL_REQUEST" = "false" ]; then while read LINE; do travis_retry gpg --keyserver
hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys;
fi
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "garlicoin-project/garlicoin" -a
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "GarlicoinOrg/Garlicoin" -a
"$TRAVIS_PULL_REQUEST" = "false" ]; then git fetch --unshallow; fi
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "garlicoin-project/garlicoin" -a
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "GarlicoinOrg/Garlicoin" -a
"$TRAVIS_PULL_REQUEST" = "false" ]; then contrib/verify-commits/verify-commits.sh;
fi
- export TRAVIS_COMMIT_LOG=`git log --format=fuller -1`
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -54,12 +54,12 @@ the pull request affects. Valid areas as:

- *Consensus* for changes to consensus critical code
- *Docs* for changes to the documentation
- *Qt* for changes to litecoin-qt
- *Qt* for changes to garlicoin-qt
- *Mining* for changes to the mining code
- *Net* or *P2P* for changes to the peer-to-peer network code
- *RPC/REST/ZMQ* for changes to the RPC, REST or ZMQ APIs
- *Scripts and tools* for changes to the scripts and tools
- *Tests* for changes to the litecoin unit tests or QA tests
- *Tests* for changes to the garlicoin unit tests or QA tests
- *Trivial* should **only** be used for PRs that do not change generated
executable code. Notably, refactors (change of function arguments and code
reorganization) and changes in behavior should **not** be marked as trivial.
Expand Down
2 changes: 1 addition & 1 deletion COPYING
Expand Up @@ -2,7 +2,7 @@ The MIT License (MIT)

Copyright (c) 2009-2018 The Bitcoin Core developers
Copyright (c) 2009-2018 Bitcoin Developers
Copyright (c) 2011-2018 The Litecoin Core developers
Copyright (c) 2011-2018 The Garlicoin Core developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions INSTALL.md
@@ -1,5 +1,5 @@
Building Litecoin
Building Garlicoin
================

See doc/build-*.md for instructions on building the various
elements of the Litecoin Core reference implementation of Litecoin.
elements of the Garlicoin Core reference implementation of Garlicoin.
4 changes: 2 additions & 2 deletions build-aux/m4/bitcoin_qt.m4
Expand Up @@ -7,7 +7,7 @@ dnl Output: If qt version is auto, set bitcoin_enable_qt to false. Else, exit.
AC_DEFUN([BITCOIN_QT_FAIL],[
if test "x$bitcoin_qt_want_version" = xauto && test "x$bitcoin_qt_force" != xyes; then
if test "x$bitcoin_enable_qt" != xno; then
AC_MSG_WARN([$1; litecoin-qt frontend will not be built])
AC_MSG_WARN([$1; garlicoin-qt frontend will not be built])
fi
bitcoin_enable_qt=no
bitcoin_enable_qt_test=no
Expand Down Expand Up @@ -54,7 +54,7 @@ AC_DEFUN([BITCOIN_QT_INIT],[
dnl enable qt support
AC_ARG_WITH([gui],
[AS_HELP_STRING([--with-gui@<:@=no|qt4|qt5|auto@:>@],
[build litecoin-qt GUI (default=auto, qt5 tried first)])],
[build garlicoin-qt GUI (default=auto, qt5 tried first)])],
[
bitcoin_qt_want_version=$withval
if test "x$bitcoin_qt_want_version" = xyes; then
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -8,7 +8,7 @@ define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2018)
define(_COPYRIGHT_HOLDERS,[The %s developers])
define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Garlicoin Core]])
AC_INIT([Garlicoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[https://github.com/garlicoin-project/garlicoin/issues],[garlicoin],[https://garlicoin.io/])
AC_INIT([Garlicoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[https://github.com/GarlicoinOrg/Garlicoin/issues],[garlicoin],[https://garlicoin.io/])
AC_CONFIG_SRCDIR([src/validation.cpp])
AC_CONFIG_HEADERS([src/config/bitcoin-config.h])
AC_CONFIG_AUX_DIR([build-aux])
Expand Down Expand Up @@ -301,7 +301,7 @@ CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS"

AC_ARG_WITH([utils],
[AS_HELP_STRING([--with-utils],
[build litecoin-cli bitcoin-tx (default=yes)])],
[build garlicoin-cli bitcoin-tx (default=yes)])],
[build_bitcoin_utils=$withval],
[build_bitcoin_utils=yes])

Expand Down
2 changes: 1 addition & 1 deletion contrib/linearize/example-linearize.cfg
@@ -1,7 +1,7 @@
# garlicoind RPC settings (linearize-hashes)
rpcuser=someuser
rpcpassword=somepassword
#datadir=~/.litecoin
#datadir=~/.garlicoin
host=127.0.0.1
port=42068
#port=42070
Expand Down
4 changes: 2 additions & 2 deletions contrib/windeploy/win-codesign.cert
@@ -1,7 +1,7 @@
Bag Attributes
friendlyName: Litecoin Foundation LTD.'s DigiCert Inc ID
friendlyName: Garlicoin Foundation LTD.'s DigiCert Inc ID
localKeyID: 2F AA 3A 86 85 98 1A 53 D5 23 F0 2E A0 22 CC 51 21 6D 78 B0
subject=/C=SG/L=Singapore/O=Litecoin Foundation LTD./CN=Litecoin Foundation LTD.
subject=/C=SG/L=Singapore/O=Garlicoin Foundation LTD./CN=Garlicoin Foundation LTD.
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Assured ID Code Signing CA
-----BEGIN CERTIFICATE-----
MIIFKjCCBBKgAwIBAgIQDvRXzQ2H3xYGUBDUDBeH/TANBgkqhkiG9w0BAQsFADBy
Expand Down
2 changes: 1 addition & 1 deletion depends/description.md
@@ -1,4 +1,4 @@
This is a system of building and caching dependencies necessary for building Litecoin.
This is a system of building and caching dependencies necessary for building Garlicoin.
There are several features that make it different from most similar systems:

### It is designed to be builder and host agnostic
Expand Down
2 changes: 1 addition & 1 deletion doc/README_osx.md
Expand Up @@ -92,6 +92,6 @@ build process to remain somewhat deterministic. Here's how it works:
that have been previously (deterministically) built in order to create a
final dmg.
- The Apple keyholder uses this unsigned app to create a detached signature,
using the script that is also included there. Detached signatures are available from this [repository](https://github.com/garlicoin-project/garlicoin-detached-sigs).
using the script that is also included there. Detached signatures are available from this [repository](https://github.com/GarlicoinOrg/Garlicoin-detached-sigs).
- Builders feed the unsigned app + detached signature back into Gitian. It
uses the pre-built tools to recombine the pieces into a deterministic dmg.
4 changes: 2 additions & 2 deletions doc/build-netbsd.md
Expand Up @@ -25,12 +25,12 @@ python27

Download the source code:
```
git clone https://github.com/litecoin-project/litecoin
git clone https://github.com/GarlicoinOrg/Garlicoin
```

See [dependencies.md](dependencies.md) for a complete overview.

### Building Litecoin Core
### Building Garlicoin Core

**Important**: Use `gmake` (the non-GNU `make` will exit with an error).

Expand Down
2 changes: 1 addition & 1 deletion doc/build-openbsd.md
Expand Up @@ -23,7 +23,7 @@ The default C++ compiler that comes with OpenBSD 5.9 is g++ 4.2. This version is
GCC
-------

git clone https://github.com/litecoin-project/litecoin.git
git clone https://github.com/GarlicoinOrg/Garlicoin.git
```
See [dependencies.md](dependencies.md) for a complete overview.
Expand Down
4 changes: 2 additions & 2 deletions doc/build-osx.md
Expand Up @@ -62,9 +62,9 @@ Build Garlicoin Core

or

cd ~/litecoin/src
cd ~/garlicoin/src
cp litecoind /usr/local/bin/
cp litecoin-cli /usr/local/bin/
cp garlicoin-cli /usr/local/bin/

Running
-------
Expand Down
2 changes: 1 addition & 1 deletion doc/dependencies.md
@@ -1,7 +1,7 @@
Dependencies
============

These are the dependencies currently used by Litecoin Core. You can find instructions for installing them in the `build-*.md` file for your platform.
These are the dependencies currently used by Garlicoin Core. You can find instructions for installing them in the `build-*.md` file for your platform.

| Dependency | Version used | Minimum required | CVEs | Shared | [Bundled Qt library](https://doc.qt.io/qt-5/configure-options.html) |
| --- | --- | --- | --- | --- | --- |
Expand Down
6 changes: 3 additions & 3 deletions doc/developer-notes.md
Expand Up @@ -648,7 +648,7 @@ A few guidelines for introducing and reviewing new RPC interfaces:
- Try not to overload methods on argument type. E.g. don't make `getblock(true)` and `getblock("hash")`
do different things.

- *Rationale*: This is impossible to use with `litecoin-cli`, and can be surprising to users.
- *Rationale*: This is impossible to use with `garlicoin-cli`, and can be surprising to users.

- *Exception*: Some RPC calls can take both an `int` and `bool`, most notably when a bool was switched
to a multi-value, or due to other historical reasons. **Always** have false map to 0 and
Expand All @@ -667,7 +667,7 @@ A few guidelines for introducing and reviewing new RPC interfaces:

- Add every non-string RPC argument `(method, idx, name)` to the table `vRPCConvertParams` in `rpc/client.cpp`.

- *Rationale*: `litecoin-cli` and the GUI debug console use this table to determine how to
- *Rationale*: `garlicoin-cli` and the GUI debug console use this table to determine how to
convert a plaintext command line to JSON. If the types don't match, the method can be unusable
from there.

Expand All @@ -689,7 +689,7 @@ A few guidelines for introducing and reviewing new RPC interfaces:
RPCs whose behavior does *not* depend on the current chainstate may omit this
call.

- *Rationale*: In previous versions of Litecoin Core, the wallet was always
- *Rationale*: In previous versions of Garlicoin Core, the wallet was always
in-sync with the chainstate (by virtue of them all being updated in the
same cs_main lock). In order to maintain the behavior that wallet RPCs
return results as of at least the highest best-known block an RPC
Expand Down
6 changes: 3 additions & 3 deletions doc/gitian-building.md
Expand Up @@ -314,7 +314,7 @@ Clone the git repositories for garlicoin and Gitian.

```bash
git clone https://github.com/devrandom/gitian-builder.git
git clone https://github.com/garlicoin-project/garlicoin
git clone https://github.com/GarlicoinOrg/Garlicoin
git clone https://github.com/garlicoin-project/gitian.sigs.ltc.git
```

Expand Down Expand Up @@ -372,7 +372,7 @@ Output from `gbuild` will look something like
remote: Total 57959 (delta 0), reused 0 (delta 0), pack-reused 57958
Receiving objects: 100% (57959/57959), 53.76 MiB | 484.00 KiB/s, done.
Resolving deltas: 100% (41590/41590), done.
From https://github.com/garlicoin-project/garlicoin
From https://github.com/GarlicoinOrg/Garlicoin
... (new tags, new branch etc)
--- Building for trusty amd64 ---
Stopping target if it is up
Expand Down Expand Up @@ -448,7 +448,7 @@ Then when building, override the remote URLs that gbuild would otherwise pull fr
```bash

cd /some/root/path/
git clone https://github.com/garlicoin-project/garlicoin-detached-sigs.git
git clone https://github.com/GarlicoinOrg/Garlicoin-detached-sigs.git

BTCPATH=/some/root/path/garlicoin
SIGPATH=/some/root/path/garlicoin-detached-sigs
Expand Down
28 changes: 14 additions & 14 deletions doc/litecoin-release-notes/release-notes-0.10.2.2.md
@@ -1,13 +1,13 @@
Litecoin Core version 0.10.2.2 is now available from:
Garlicoin Core version 0.10.2.2 is now available from:

<https://download.litecoin.org/litecoin-0.10.2.2/>
<https://download.garlicoin.org/garlicoin-0.10.2.2/>

This is a new major version release, bringing bug fixes and translation
updates. It is recommended to upgrade to this version.

Please report bugs using the issue tracker at github:

<https://github.com/litecoin-project/litecoin/issues>
<https://github.com/GarlicoinOrg/Garlicoin/issues>

Upgrading and downgrading
=========================
Expand All @@ -17,15 +17,15 @@ How to Upgrade

If you are running an older version, shut it down. Wait until it has completely
shut down (which might take a few minutes for older versions), then run the
installer (on Windows) or just copy over /Applications/Litecoin-Qt (on Mac) or
litecoind/litecoin-qt (on Linux).
installer (on Windows) or just copy over /Applications/Garlicoin-Qt (on Mac) or
litecoind/garlicoin-qt (on Linux).

Downgrade warning
------------------

Because release 0.10+ and later makes use of headers-first synchronization and
parallel block download (see further), the block files and databases are not
backwards-compatible with pre-0.10 versions of Litecoin Core or other software:
backwards-compatible with pre-0.10 versions of Garlicoin Core or other software:

* Blocks will be stored on disk out of order (in the order they are
received, really), which makes it incompatible with some tools or
Expand All @@ -44,14 +44,14 @@ supported and may break as soon as the older version attempts to reindex.
This does not affect wallet forward or backward compatibility.


Litecoin 0.10.2.2 Change log
Garlicoin 0.10.2.2 Change log
============================
This release is based upon Bitcoin Core v0.10.2. Their upstream changelog applies to us and
is included in as separate release-notes. This section describes the Litecoin-specific differences.
is included in as separate release-notes. This section describes the Garlicoin-specific differences.

Protocol:
- Scrypt Proof-of-Work instead of sha256d, however block hashes are sha256d for performance reasons.
- Litecoin TCP port 9333 (instead of 8333)
- Garlicoin TCP port 9333 (instead of 8333)
- RPC TCP port 9332 (instead of 8332)
- Testnet TCP port 19333 (instead of 18333)
- Testnet RPC TCP port 19332 (instead of 18332)
Expand All @@ -62,22 +62,22 @@ Protocol:
- bnProofOfWorkLimit = >> 20 (instead of >> 32)
- See 9a980612005adffdeb2a17ca7a09fe126dd45e0e for Genesis Parameters
- zeitgeist2 protection: b1b31d15cc720a1c186431b21ecc9d1a9062bcb6 Slightly different way to calculate difficulty changes.
- Litecoin Core v0.10.2.2 is protocol version 70003 (instead of 70002)
- Garlicoin Core v0.10.2.2 is protocol version 70003 (instead of 70002)

Relay:
- Litecoin Core rounds transaction size up to the nearest 1000 bytes before calculating fees. This size rounding behavior is to mimic fee calculation of Litecoin v0.6 and v0.8.
- Bitcoin's IsDust() is disabled in favor of Litecoin's fee-based dust penalty.
- Garlicoin Core rounds transaction size up to the nearest 1000 bytes before calculating fees. This size rounding behavior is to mimic fee calculation of Garlicoin v0.6 and v0.8.
- Bitcoin's IsDust() is disabled in favor of Garlicoin's fee-based dust penalty.
- Fee-based Dust Penalty: For each transaction output smaller than DUST_THRESHOLD (currently 0.001 LTC) the default relay/mining policy will expect an additional 1000 bytes of fee. Otherwise the transaction will be rejected from relay/mining. Such transactions are also disqualified from the free/high-priority transaction rule.
- Miners and relays can adjust the expected fee per-KB with the -minrelaytxfee parameter.

Wallet:
- Coins smaller than 0.00001 LTC are by default ignored by the wallet. Use the -mininput parameter if you want to see smaller coins.

Notable changes since Litecoin v0.8
Notable changes since Garlicoin v0.8
===================================

- The Block data and indexes of v0.10 are incompatible with v0.8 clients. You can upgrade from v0.8 but you downgrading is not possible. For this reason you may want to make a backup copy of your Data Directory.
- litecoind no longer sends RPC commands. You must use the separate litecoin-cli command line utility.
- litecoind no longer sends RPC commands. You must use the separate garlicoin-cli command line utility.
- Watch-Only addresses are now possible.

Credits
Expand Down
20 changes: 10 additions & 10 deletions doc/litecoin-release-notes/release-notes-0.10.4.md
@@ -1,14 +1,14 @@
Litecoin Core version 0.10.4.0 is now available from:
Garlicoin Core version 0.10.4.0 is now available from:

<https://download.litecoin.org/litecoin-0.10.4.0/>
<https://download.garlicoin.org/garlicoin-0.10.4.0/>

This is a new minor version release, bringing bug fixes, the BIP65
(CLTV) consensus change, and relay policy preparation for BIP113. It is
recommended to upgrade to this version as soon as possible.

Please report bugs using the issue tracker at github:

<https://github.com/litecoin-project/litecoin/issues>
<https://github.com/GarlicoinOrg/Garlicoin/issues>

Upgrading and downgrading
=========================
Expand All @@ -18,15 +18,15 @@ How to Upgrade

If you are running an older version, shut it down. Wait until it has completely
shut down (which might take a few minutes for older versions), then run the
installer (on Windows) or just copy over /Applications/Litecoin-Qt (on Mac) or
litecoind/litecoin-qt (on Linux).
installer (on Windows) or just copy over /Applications/Garlicoin-Qt (on Mac) or
litecoind/garlicoin-qt (on Linux).

Downgrade warning
------------------

Because release 0.10+ and later makes use of headers-first synchronization and
parallel block download (see further), the block files and databases are not
backwards-compatible with pre-0.10 versions of Litecoin Core or other software:
backwards-compatible with pre-0.10 versions of Garlicoin Core or other software:

* Blocks will be stored on disk out of order (in the order they are
received, really), which makes it incompatible with some tools or
Expand Down Expand Up @@ -66,13 +66,13 @@ specified point in the future.
longer accept new version 3 blocks and it will only accept version 4
blocks if they comply with the BIP65 rules for CLTV.

**Notice to miners:** Litecoin Core’s block templates are now for
**Notice to miners:** Garlicoin Core’s block templates are now for
version 4 blocks only, and any mining software relying on its
getblocktemplate must be updated in parallel to use libblkmaker either
version v0.4.3 or any version from v0.5.2 onward.

- If you are solo mining, this will affect you the moment you upgrade
Litecoin Core, which must be done prior to BIP65 achieving its 951/1001
Garlicoin Core, which must be done prior to BIP65 achieving its 951/1001
status.

- If you are mining with the stratum mining protocol: this does not
Expand All @@ -89,7 +89,7 @@ Windows bug fix for corrupted UTXO database on unclean shutdowns
----------------------------------------------------------------

Several Windows users reported that they often need to reindex the
entire blockchain after an unclean shutdown of Litecoin Core on Windows
entire blockchain after an unclean shutdown of Garlicoin Core on Windows
(or an unclean shutdown of Windows itself). Although unclean shutdowns
remain unsafe, this release no longer relies on memory-mapped files for
the UTXO database, which significantly reduced the frequency of unclean
Expand All @@ -105,7 +105,7 @@ next major release.

This release is based upon Bitcoin Core v0.10.4. Their upstream changelog applies to us and
is included in as separate release-notes, see: [Release Notes](release-notes.md).
This section describes the Litecoin-specific differences.
This section describes the Garlicoin-specific differences.

- Added BIP65 CHECKLOCKTIMEVERIFY softfork.
- Increased OP_RETURN relay size to 80 bytes.
Expand Down
2 changes: 1 addition & 1 deletion doc/litecoin-release-notes/release-notes-0.13.2.md
Expand Up @@ -7,7 +7,7 @@ It is recommended to upgrade to this version.

Please report bugs using the issue tracker at github:

<https://github.com/garlicoin-project/garlicoin/issues>
<https://github.com/GarlicoinOrg/Garlicoin/issues>

Compatibility
==============
Expand Down

0 comments on commit d299c62

Please sign in to comment.