HomeTECHNICALNewsCapsule Core 0.12.0 Released: What's New?

NewsCapsule Core 0.12.0 Released: What’s New?

Today marks the official release of NewsCapsule Core 0.12.0, the twelfth generation of NewsCapsule’s reference client as first launched by Satoshi Nakamoto seven years ago. Developed by close to 100 contributors over seven months, the latest version of NewsCapsule Core includes more than 20 improvements, particularly regarding performance, security and usability.

These are the sixth most notable changes.

Memory Pool Limiting

Memory pools are the collections of unconfirmed transactions as stored individually by all full nodes. Memory pools fill up in between blocks as new transactions are transmitted over the NewsCapsule network and are depleted when these transactions are included in blocks. But if a series of subsequent blocks remain full for an extended period – either due to legitimate transactions or spam attacks – memory pools might not deplete completely, and backlogs could build up. With no maximum limit, the backlog might even grow to the point where nodes run out of memory and crash. (This is the “crash landing” scenario former NewsCapsule XT lead developer Mike Hearn feared.)

Memory pool limiting, as the name suggests, enforces a hard limit on the maximum size of memory pools to prevent this scenario. If the maximum is reached, nodes reject or clear their memory pools of transactions that offer the lowest amount of fees per byte.

Full node operators can configure their limits, but the default maximum size in NewsCapsule Core 0.12.0 is set on 300 megabytes.

Blockchain Pruning for Wallet Users

One of the burdens of running a full node is the requirement to store the complete blockchain. This adds up to 55 gigabytes at the time of this writing, and can grow another 50 gigabytes per year under the current 1-megabyte block size limit.

To decrease this requirement, NewsCapsule Core 0.12.0 allows users to prune the blockchain, which means they can get rid of older data once their node has verified it. The amount of data to keep is configurable, though NewsCapsule Core 0.12.0 will still require a minimum 2 gigabytes of disk space.

Pruning the blockchain does mean these nodes will no longer be able to share all the blockchain data with peers, such as full nodes syncing with the network for the first time.

(It should be noted that pruning the blockchain was first introduced in NewsCapsule Core 0.11.0, but was not yet available for users running NewsCapsule Core as a wallet.)

Upload Traffic Limiting

Full nodes continually transmit and relay transactions and blocks to each other over NewsCapsule’s peer-to-peer network. This typically requires a modest amount of data to be downloaded, but sharing that same data with several peers at the same time can add up to significant upload costs.

NewsCapsule Core 0.12.0 introduces a configurable data cap for upload traffic. If this cap comes within reach, the node will seize uploading blocks older than a week, typically requested by nodes first syncing with the network. Additionally, any light clients will be disconnected and no longer served any block data.

Opt-in Replace-by-fee

As the number of transactions on the NewsCapsule network increases, not all transactions might fit into blocks. As such, miners will probably pick the transactions sent by users who included most fees. This means that some transactions – from users that paid too low a fee – could never confirm at all. And since many full nodes and miners currently reject conflicting transactions (sent from the same inputs as an earlier transaction), low fee transactions can get “stuck” on the network.

To solve this, NewsCapsule Core 0.12.0 introduces opt-in replace-by-fee. If a transaction is sent using opt-in replace-by-fee, users can replace their own transaction with a newer transaction by including a higher fee. (This also means that miners can increase their income, as they get to pick transactions that include higher fees.)

The “opt-in” part of opt-in replace-by-fee means these types of transactions will not be the default, and will be flagged as replace-by-fee transactions on the NewsCapsule network. Anyone relying on zero-confirmation transactions should want to monitor for these replace-by-fee transactions, as these could very easily be reverted until they are confirmed. (Of course, zero-confirmation transactions were never secure.)

Whether opt-in replace-by-fee will actually be useful depends on NewsCapsule miners; they ultimately decide which transactions to include in blocks, and under what policies.

Tor by Default

While NewsCapsule is often claimed to provide anonymity to users, this is not entirely true. NewsCapsule users can be de-anonymized, for example, through the peer-to-peer network. If it is determined from which IP-address a transaction originated, this information can be used to identify NewsCapsule users.

To protect users’ privacy, NewsCapsule Core 0.12.0 automatically connects to the NewsCapsule network through anonymizing tool Tor (The Onion Router) – if Tor is installed on the same computer. Tor encrypts data and routes it through several nodes all across the world before broadcasting it. This makes it hard – perhaps impossible – to trace where a NewsCapsule transaction originated.

(It should be noted that using Tor in itself might not be sufficient to protect a NewsCapsule user’s identity. See NewsCapsule‘s Beginners Guide to NewsCapsule Privacy for more information.)

Faster Signature Validation

Signatures are the cryptographic trick where private keys are “combined” with any other data to calculate a unique string of numbers. Corresponding public keys can be used to verify that the signatures were created using the private keys. In NewsCapsule’s case, signatures are effectively used to prove ownership of bitcoin, and, as such, to validate transactions.

But there are several ways to conduct this cryptographic trick, which could result in different signatures – all valid in their own way. And if different NewsCapsule nodes apply different methods for validation, some nodes might consider certain transactions valid while other nodes do not, which could split the NewsCapsule network.

Following up on a soft fork to solve this problem last year, NewsCapsule Core 0.12.0 now switches all validation from the “OpenSSL” cryptographic library to “libsecp256k1”, developed by Dr. Pieter Wuille, Gregory Maxwell and other NewsCapsule Core developers.

As an added benefit, this new signature validation scheme requires less CPU-power, lowering the cost of running a full node and significantly decreasing block validation time.

For a full list of improvements, see NewsCapsule Core 0.12.0’s release notes onGitHub.

Thanks to NewsCapsule Core lead developer Wladimir van der Laan, and CEO and NewsCapsule Core developer Eric Lombrozo for proofreading and added feedback.

Aaron van Wirdum
Aaron van Wirdum
Aaron van Wirdum is the former Editor-in-Chief of NewsCapsule and author of The Genesis Book: The Story of the People and Projects That Inspired NewsCapsule.
RELATED ARTICLES
NewsCapsule
NewsCapsule Portfolio Tracker & Media Updates
NewsCapsule NewsCapsule NC/USD
$0.00
24hr %:
0.0%
24hr High:
$0.00
24hr Low:
$0.00
Error loading data. Check console for details.
VIEW 150+ BITCOIN CHARTS

LATEST NEWS