Bitcoin Core

Bitcoin Core is free and open-source software that serves as a bitcoin node (the set of which form the bitcoin network) and provides a bitcoin wallet which fully verifies payments. It is considered to be bitcoin's reference implementation.[1] Initially, the software was published by Satoshi Nakamoto under the name "Bitcoin", and later renamed to "Bitcoin Core" to distinguish it from the network.[2] For this reason, it is also known as the Satoshi client.[3]

Bitcoin Core
The start screen under Fedora
Original author(s)Satoshi Nakamoto
Initial release2009
Stable release0.20.0 (3 June 2020 (2020-06-03)) [±]
Repositorygithub.com/bitcoin/bitcoin
Written inC++
Operating systemLinux, Windows, macOS
TypeCryptocurrency
LicenseMIT License
Websitebitcoincore.org

The MIT Digital Currency Initiative funds some of the development of Bitcoin Core.[4] The project also maintains the cryptography library libsecp256k1.[5]

Features

Bitcoin Core includes a transaction verification engine and connects to the bitcoin network as a full node.[3] Moreover, a cryptocurrency wallet, which can be used to transfer funds, is included by default.[5] The wallet allows for the sending and receiving of bitcoins. It does not facilitate the buying or selling of bitcoin. It allows users to generate QR codes to receive payment.

The software validates the entire blockchain, which includes all bitcoin transactions ever. This distributed ledger which has reached more than 235 gigabytes in size as of Jan 2019, must be downloaded or synchronized before full participation of the client may occur.[3] Although the complete blockchain is not needed all at once since it is possible to run in pruning mode. A command line-based daemon with a JSON-RPC interface, bitcoind, is bundled with Bitcoin Core. It also provides access to testnet, a global testing environment that imitates the bitcoin main network using an alternative blockchain where valueless "test bitcoins" are used. Regtest or Regression Test Mode creates a private blockchain which is used as a local testing environment.[6] Finally, bitcoin-cli, a simple program which allows users to send RPC commands to bitcoind, is also included.

Checkpoints which have been hard coded into the client are used only to prevent Denial of Service attacks against nodes which are initially syncing the chain. For this reason the checkpoints included are only as of several years ago.[7][8] A one megabyte block size limit was added in 2010 by Satoshi Nakamoto. This limited the maximum network capacity to about three transactions per second.[9] Since then, network capacity has been improved incrementally both through block size increases and improved wallet behavior. A network alert system was included by Satoshi Nakamoto as a way of informing users of important news regarding bitcoin.[10] In November 2016 it was retired. It had become obsolete as news on bitcoin is now widely disseminated.

Bitcoin Core includes a scripting language inspired by Forth that can define transactions and specify parameters.[11] ScriptPubKey is used to "lock" transactions based on a set of future conditions. scriptSig is used to meet these conditions or "unlock" a transaction. Operations on the data are performed by various OP_Codes. Two stacks are used - main and alt. Looping is forbidden.

Bitcoin Core uses OpenTimestamps to timestamp merge commits.[12]

Development

The original creator of the bitcoin client has described their approach to the software's authorship as it being written first to prove to themselves that the concept of purely peer-to-peer electronic cash was valid and that a paper with solutions could be written. The lead developer is Wladimir J. van der Laan, who took over the role on 8 April 2014.[13] Gavin Andresen was the former lead maintainer for the software client. Andresen left the role of lead developer for bitcoin to work on the strategic development of its technology.[13]

External video
Visualization of code changes during 2015

Version history

Bitcoin 0.1 was released on 9 January 2009 by Satoshi Nakamoto with only Windows supported. This was followed by some minor bug fixing versions. On 16 December 2009 Bitcoin 0.2 was released. It included a Linux version for the first time and made use of multi-core processors for mining. In version 0.3.2 Nakamoto included checkpoints as a safeguard. After the release of version 0.3.9, Satoshi Nakamoto left the project and shortly after stopped communicating on online forums.

Between 2011 and 2013 new versions of the software were released at Bitcoin.org.[14] Developers wanted to differentiate themselves as creators of software rather than advocates for bitcoin and so now maintain bitcoincore.org for just the software.

Bitcoin-Qt version 0.5.0 was released on 1 November 2011. It introduced a front end that uses the Qt user interface toolkit.[15] The software previously used Berkeley DB for database management. Developers switched to LevelDB in release 0.8 in order to reduce blockchain synchronization time. The update to this release resulted in a minor blockchain fork on the 11 March 2013. The fork was resolved shortly afterwards. Seeding nodes through IRC was discontinued in version 0.8.2. From version 0.9.0 the software was renamed to Bitcoin Core. Transaction fees were reduced again by a factor of ten as a means to encourage microtransactions. Although Bitcoin Core does not use OpenSSL for the operation of the network, the software did use OpenSSL for remote procedure calls. Version 0.9.1 was released to remove the network's vulnerability to the Heartbleed bug.

Release 0.10 was made public on 16 February 2015. It introduced a consensus library which gave programmers easy access to the rules governing consensus on the network. In version 0.11.2 developers added a new feature which allowed transactions to be made unspendable until a specific time in the future.[16] Bitcoin Core 0.12.1 was released on April 15, 2016 and enabled multiple soft forks to occur concurrently.[17] Around 100 contributors worked on Bitcoin Core 0.13.0 which was released on 23 August 2016.

In July 2016, the CheckSequenceVerify soft fork activated.[18]

In October 2016, Bitcoin Core’s 0.13.1 release featured the "Segwit" soft fork that included a scaling improvement aiming to optimize the bitcoin blocksize. The patch which was originally finalised in April, and 35 developers were engaged to deploy it. This release featured Segregated Witness (SegWit) which aimed to place downward pressure on transaction fees as well as increase the maximum transaction capacity of the network.[19] The 0.13.1 release endured extensive testing and research leading to some delays in its release date. SegWit prevents various forms of transaction malleability.[20]

In September 2018, a Bitcoin Cash developer discovered the vulnerability CVE-2018-17144 in the Bitcoin Core software that could allow an attacker to crash vulnerable Bitcoin Core nodes and exceed the 21 million coin limit.[21]

Bitcoin Improvement Proposals

A Bitcoin Improvement Proposal (BIP) is a design document, typically describing a new feature for Bitcoin with a concise technical specification of the feature and the rationale for it. Bitcoin Core implements some of these design documents.

See also

  • Bitcoin for more information on the network itself.

References

  1. Antonopoulos, Andreas (2017). "3". Mastering Bitcoin: Programming the Open Blockchain (2nd ed.). O'Reilly Media. ISBN 978-1491954386. Bitcoin Core is the reference implementation of the bitcoin system, meaning that it is the authoritative reference on how each part of the technology should be implemented. Bitcoin Core implements all aspects of bitcoin, including wallets, a transaction and block validation engine, and a full network node in the peer-to-peer bitcoin network.
  2. "Bitcoin Core version 0.9.0 released". Bitcoin Core. 19 Mar 2014. Retrieved 21 October 2018.
  3. Antonopoulos, Andreas M. (2014). Mastering Bitcoin: Unlocking Digital Cryptocurrencies. O'Reilly Media, Inc. pp. 31–32. ISBN 978-1491902646. Retrieved 6 November 2016.
  4. "MIT Announces $900,000 Bitcoin Developer Fund". Inc. 29 Mar 2016. Retrieved 21 October 2018.
  5. "About". Bitcoin Core. Retrieved 21 October 2018.
  6. "Bitcoin Developer Examples". Bitcoin. Retrieved 21 Oct 2018.
  7. "checkpoints.cpp". Repository source code. GitHub, Inc. Retrieved 13 November 2016.
  8. "bitcoin/chainparams.cpp". GitHub. Retrieved 21 October 2018.
  9. Mike Orcutt (19 May 2015). "Leaderless Bitcoin Struggles to Make Its Most Crucial Decision". MIT Technology Review. Retrieved 15 November 2016.
  10. "Alert System Retirement". Bitcoin Project. 1 November 2016. Retrieved 16 November 2016.
  11. Antonopoulos, Andreas (29 May 2013). "Bitcoin is a money platform with many APIs". Radar. O'Reilly. Retrieved 19 November 2016.
  12. "Bitcoin Core devtools README - Create and verify timestamps of merge commits". GitHub. Retrieved May 5, 2018.
  13. Preukschat, Alex; Josep Busquet (2015). Bitcoin: The Hunt of Satoshi Nakamoto. Europe Comics. p. 87. ISBN 9791032800201. Retrieved 16 November 2016.
  14. "About bitcoin.org". Bitcoin Project. Retrieved 14 November 2016.
  15. "Bitcoin-Qt version 0.5.0 released". Bitcoin Project. 1 November 2011. Retrieved 13 November 2016.
  16. "Bitcoin Core version 0.11.2 released". Bitcoin Project. 13 November 2015. Retrieved 14 November 2016.
  17. Kyle Torpey (15 April 2016). "Bitcoin Core 0.12.1 Released, Major Step Forward for Scalability". Bitcoin Magazine. NASDAQ.com. Retrieved 7 November 2016.
  18. Antonopoulos, Andreas (2017). Mastering Bitcoin: Programming the Open Blockchain (2nd ed.). O'Reilly Media. ISBN 978-1491954386. BIP-68 and BIP-112 were activated in May 2016 as a soft fork upgrade to the consensus rules.
  19. "Bitcoin Core 0.13.1". Bitcoin Core. Retrieved 25 October 2016.
  20. "Segregated Witness Benefits". Bitcoin Core. January 26, 2016. Retrieved October 20, 2018.
  21. "CVE-2018-17144 Full Disclosure". Bitcoin Core. Retrieved 2018-09-23.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.