Tuesday, December 22, 2015

Litecoin Core v0.10.4.0

Follow the Google+ page or Twitter for the latest dev news.

Summary
This release of Litecoin Core is an important update, featuring the BIP65 (CLTV) consensus change and bug fixes. The most notable changes are outlined below.

BIP65 soft fork to enforce OP_CHECKLOCKTIMEVERIFY opcode
This release includes several changes related to the BIP65 soft fork which redefines the existing OP_NOP2 opcode as OP_CHECKLOCKTIMEVERIFY (CLTV) so that a transaction output can be made unspendable until a specified point in the future. This change paves the way for many new exciting features such as payment channels, time-locked refunds, escrow, two-factor wallets and is a major requirement for technologies like the lightning network.

  • This release will only relay and mine transactions spending a CLTV output if they comply with the BIP65 rules as provided in code.
  • This release will produce version 4 blocks by default. Please see the notice to miners below.
  • Once 951 out of a sequence of 1,001 blocks on the local node's best block chain contain version 4 (or higher) blocks, this release will no longer accept new version 3 blocks and it will only accept version 4 blocks if they comply with the BIP65 rules for CLTV.

For a detailed explanation about BIP65, you can view the documentation here.

Notice to miners: 
Litecoin 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 status.
  • If you are a P2Pool user, you must upgrade to the latest version which can be obtained from here.
  • If you are mining with the stratum mining protocol: this does not affect you.
  • If you are mining with the getblocktemplate protocol to a pool: this will affect you at the pool operator’s discretion, which must be no later than BIP65 achieving its 951/1001 status.

You can track the progress of the soft fork roll out via this link:
http://www.litecoinblockhalf.com/blocks.php

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 (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 shutdowns leading to required reindexes during testing.

IMPORTANT
All users using versions older then Litecoin Core 0.10.2.2 MUST upgrade to ensure that your signatures are encoded using 'low-s' ECDSA signature encoding scheme. Otherwise you run the risk of your transactions not being relayed once all miners upgrade. 

If you use Electrum, a release candidate version has also been released which ensures all transactions abide by the 'low-s' ECDSA encoding scheme. The release candidate version for Electrum can be found here.

If you use the Litecoin Android wallet, and are running an older version then 3.30.10. You will need to upgrade to 3.30.10 which can be found here.

For a complete list of Litecoin Core specific changes, you can view the release notes here.
For a complete list of Bitcoin Core specific changes, you can view the release notes here.


WARNING
Despite this version being heavily tested, this version may contain bugs.  Always back up your wallet.dat file before upgrading. If you encounter any issues, please let us know by posting to the bug reporting section below.


Download Binaries
https://dev.litecoin.org/

Please use GPG to verify the integrity of the release binaries. This ensures that the binary you have downloaded has not been tampered with. Linux, MacOS and Win32 cygwin command line GPG instructions are available here. Please also note that we GPG sign the binaries as a convenience to you, the ultimate way to verify the integrity of the builds is to build them yourself using Gitian. Instructions on how to perform these builds, can be found here.

For this release, the binaries have been signed with key identifier FE3348877809386C.

Source
https://github.com/litecoin-project/litecoin/commits/master-0.10
The master-0.10 branch contains the latest commits to the next stable releases of Litecoin Core.

Build instructions for Linux can be found here.
Build instructions for OSX can be found here.

Bug Reporting
https://github.com/litecoin-project/litecoin

Mailing Lists
https://groups.google.com/forum/#!forum/litecoin-announce
https://groups.google.com/forum/#!forum/litecoin-dev
Sign up for announcements only or development discussion.


Discuss Litecoin 0.10.4.0 in this forum thread.

Thursday, June 18, 2015

Litecoin v0.10.2.2

Follow the Google+ page or Twitter for the latest dev news.

Version 0.10.2.2 is the official release version of Litecoin Core. On top of the new features, this update contains very important security fixes and all users MUST upgrade to this version as soon as possible as details on several vulnerabilities will be made public on July 7th (Official Bitcoin warning). Pool operators, P2Pool and solo miners especially, as once BIP 66 is enforced, version 2 blocks will be rejected from the network entirely. P2Pool miners must upgrade to the latest version which can be obtained from here.

What's New in version v0.10?
This is a major release of Litecoin Core, featuring the technical equivalent of Bitcoin v0.10.2 but with Litecoin specific patches. On a general level, most of what is new is is hidden where block synchronization and various internals are considerably faster and more efficient, and it has several major privacy improvements.  The most significant changes include:


  • Watch-only wallet support. This allows the wallet to track transactions to and form wallets for which you know the address of but do not have the private key to.
  • Faster blockchain synchronization due to headers-first synchronization and support for downloading blocks in parallel. Downloading the blockchain is now much quicker and can be completed within a few hours instead of taking days for some users.
  • A REST interface which allows unauthenticated access to public node data when the -rest flag is specified.
  • RPC Server “Warm-Up” Mode which starts earlier than previous versions. This helps users or services relying on it know that the server has already started and will be available soon.
  • Improved signing security. This is due to using the libsecp256k1 library for signing instead of OpenSSL. libsecp256k1 is a cryptographic library optimized for elliptic curve uses which Litecoin relies on and was created by Bitcoin Core developer Pieter Wuille. Featuring better security, via hardening against timing leaks and derandomization, this library is believed to be better tested and more thoroughly reviewed than the implementation in OpenSSL.
  • New utility applications including litecoin-tx for transaction related functionality and litecoin-cli for RPC command line functionality as litecoind no longer accepts them.
  • Strict DER encoding for signatures (BIP 66). This introduces block version 3 and a new consensus rule which prevents non-standard transactions from being included in blocks. This also removes the dependency on OpenSSL’s signature parsing. Eventually, libsecp256k1 will be used for all consensus related tasks, depreciating the need for OpenSSL entirely.
  • RPC Access Changes. RPC access now supports binary network addresses. This means that you can specify a single IP address, a CIDR network address or a netmask for accessing the RPC service. Please note, wildcard string matching no longer works and will display an error in the debug.log file when you attempt to use a wildcard string in the rpcallowip= variable, either as a config setting or launch parameter. For some examples on what has changed, please click here.

The major user-visible features that were new in Bitcoin v0.9 and v0.10 are not actually new for Litecoin v0.10 because we backported it to Litecoin v0.8 (like Coin Control).

For a complete list of Litecoin Core specific changes, you can view the release notes here.
For a complete list of Bitcoin Core specific changes, you can view the release notes here.

What’s New in version v0.10.2.2?
Litecoin v0.10.2.2 is a minor release from the previous release candidate, featuring improvements and bug fixes. The changes can be seen below:


  • Added option -alerts’ to opt out of the network alert system. Please note that disabling network alerts should only be used by power users as this system is used for network emergencies and important security releases. The default behavior is that network alerts are enabled.
  • Detect and reject LibreSSL. This prevents a non-approved SSL library being used for compiling Litecoin Core, preventing potential consensus compatibility issues.
  • Improved getbalance RPC functionality to allow the user to display zero confirmation transactions (this works with watch-only addresses as well).
  • PID file bug fix for non-Windows based systems.
  • Bug fix for signing and verifying messages.


New GPG Signing Process
To enhance the security of Litecoin Core releases, we have changed the GPG signing procedure and opted for one of the Litecoin development team members to individually sign the release binaries.

Prior to this, we used a team signing key. The problem with this is that if the key were to be compromised, we would not be able to identify the member of who it was obtained from. Switching to this new procedure allows us to pinpoint the leak, revoke the individual key and leads to further decentralization of the build process.

As with any release, please use GPG to verify the integrity of the release binaries. This ensures that the binary you have downloaded has not been tampered with. Linux, MacOS and Win32 cygwin command line GPG instructions are available here. Please also note that we GPG sign the binaries as a convenience to you, the ultimate way to verify the integrity of the builds is to build them yourself using Gitian. Instructions on how to perform these builds, can be found here.

For the v0.10.2.2 release, the binaries have been signed with key identifier FE3348877809386C.

Download Binaries
Binaries for Litecoin can be located at https://dev.litecoin.org covering all major operating systems. Litecoin Core 64bit versions are now also available.

Source
The master-0.10 branch contains the latest commits to the next stable releases of Litecoin Core.

Bug Reporting
Updates
Updates will be placed here as needed.

Mailing Lists
Sign up for announcements only or development discussion.

WARNING
While this branch has been extensively tested to be compatible with the existing Litecoin 0.8 network there is the possibility that we missed something.  BACKUP YOUR LITECOIN DATADIR and wallet.dat because after you run v0.10 the old v0.8 version is no longer compatible with your on-disk data.

Discuss
For v0.10.2.2 discussion, please visit the forum thread here.

Tuesday, January 13, 2015

Litecoin v0.8.7.5

Follow the Google+ page or Twitter for the latest dev news.

Summary
This is a critical update for the openssl compatibility issue as documented for Bitcoin by gmaxwell.  If you build Litecoin from source you MUST upgrade to Litecoin v0.8.7.5 because your operating system's openssl has become incompatible in a security update for CVE-2014-8275.  This is especially important for Linux users and mining pools who built from source.

Technical Changelog
  • v0.8.7.5

    • Critical: Maintain consensus with openssl-1.0.1k+ or CVE-2014-8275.
    • If you are running the v0.8.7.4 binaries from litecoin.org you do not need to upgrade as that contained an older version of openssl before the consensus breaking change in openssl-1.0.1k.  v0.8.7.5 was released primarily to remove all confusion about what version is safe to operate.

  • v0.8.7.4
    • Enforce v2 blocks at height 710000 on mainnet, 400000 on testnet
      • All miners must upgrade prior to this point or they run the risk of losing future block rewards.
    • Add `-maxorphantx=<n>` option for control over the maximum orphan transactions and blocks
    • Don't poll showmyip.com, it doesn't exist anymore

      BACKUP YOUR WALLET.DAT BEFORE UPGRADING

      https://litecoin.info/Data_directory
      Follow the directions on this page to find the location of your wallet.dat.  Make a backup copy before you upgrade.  This is the only file you need to recover if anything goes wrong.

      Download Binaries
      Warning: Please use GPG to verify the integrity of the binary downloads.  Linux, MacOS or Win32 cygwin command line GPG instructions are available here.  The community wrote a Windows GPG4Win guide with screenshots which is available here.  All builds are signed by the team GPG key C37E4723969276F5.  The exact binaries for Linux and Win32 are reproducible with Gitian.
      Discuss Litecoin 0.8.7.5 in this forum thread.