1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-22 08:08:11 +00:00
bitcoinbook/glossary.asciidoc

245 lines
17 KiB
Plaintext
Raw Normal View History

2014-11-12 13:14:24 +00:00
[preface]
2014-11-21 13:10:41 +00:00
== Quick Glossary
2014-11-12 13:14:09 +00:00
2014-11-12 13:16:23 +00:00
This quick glossary contains many of the terms used in relation to bitcoin. These terms are used throughout the book, so bookmark this for a quick reference.
2014-11-12 13:14:09 +00:00
address::
2017-04-26 17:08:26 +00:00
A bitcoin address looks like +1DSrfJdB2AnWaFNgSbv3MZC2m74996JafV+. It consists of a string of letters and numbers. It's really an encoded base58check version of a public key 160-bit hash. Just like you ask others to send an email to your email address, you would ask others to send you bitcoin to one of your bitcoin addresses.
2014-11-12 13:14:09 +00:00
bip::
2017-04-26 17:08:26 +00:00
Bitcoin Improvement Proposals. A set of proposals that members of the bitcoin community have submitted to improve bitcoin. For example, BIP-21 is a proposal to improve the bitcoin uniform resource identifier (URI) scheme.
2014-11-12 13:14:09 +00:00
bitcoin::
2017-04-26 17:08:26 +00:00
The name of the currency unit (the coin), the network, and the software.
2014-11-12 13:14:09 +00:00
block::
2017-04-26 17:08:26 +00:00
A grouping of transactions, marked with a timestamp, and a fingerprint of the previous block. The block header is hashed to produce a proof of work, thereby validating the transactions. Valid blocks are added to the main blockchain by network consensus.
2014-11-12 13:14:09 +00:00
2014-11-21 13:09:21 +00:00
blockchain::
2017-04-26 17:08:26 +00:00
A list of validated blocks, each linking to its predecessor all the way to the genesis block.
Byzantine Generals Problem::
2017-04-26 17:08:26 +00:00
A reliable computer system must be able to cope with the failure of one or more of its components. A failed component may exhibit a type of behavior that is often overlooked--namely, sending conflicting information to different parts of the system. The problem of coping with this type of failure is expressed abstractly as the Byzantine Generals Problem.
coinbase::
A special field used as the sole input for coinbase transactions. The coinbase allows claiming the block reward and provides up to 100 bytes for arbitrary data.
2017-04-26 17:08:26 +00:00
Not to be confused with Coinbase transaction.
coinbase transaction::
The first transaction in a block. Always created by a miner, it includes a single coinbase.
2017-04-26 17:08:26 +00:00
Not to be confused with Coinbase.
cold storage::
2017-04-26 17:08:26 +00:00
Refers to keeping a reserve of bitcoin offline. Cold storage is achieved when Bitcoin private keys are created and stored in a secure offline environment. Cold storage is important for anyone with bitcoin holdings. Online computers are vulnerable to hackers and should not be used to store a significant amount of bitcoin.
Colored coins::
2017-04-26 17:08:26 +00:00
It's an open source Bitcoin 2.0 protocol that enables developers to create digital assets on top of Bitcoin Blockchain utilizing its functionalities beyond currency.
2014-11-12 13:14:09 +00:00
confirmations::
2017-04-26 17:08:26 +00:00
Once a transaction is included in a block, it has one confirmation. As soon as _another_ block is mined on the same blockchain, the transaction has two confirmations, and so on. Six or more confirmations is considered sufficient proof that a transaction cannot be reversed.
2014-11-12 13:14:09 +00:00
consensus::
When several nodes, usually most nodes on the network, all have the same blocks in their locally-validated best block chain.
2017-04-26 17:08:26 +00:00
Not to be confused with consensus rules.
consensus rules::
The block validation rules that full nodes follow to stay in consensus with other nodes.
2017-04-26 17:08:26 +00:00
Not to be confused with consensus.
2014-11-12 13:14:09 +00:00
difficulty::
2017-04-26 17:08:26 +00:00
A network-wide setting that controls how much computation is required to produce a proof of work.
2014-11-12 13:14:09 +00:00
2014-11-12 13:17:53 +00:00
difficulty retargeting::
2017-04-26 17:08:26 +00:00
A network-wide recalculation of the difficulty that occurs once every 2,016 blocks and considers the hashing power of the previous 2,016 blocks.
difficulty target::
2017-04-26 17:08:26 +00:00
A difficulty at which all the computation in the network will find blocks approximately every 10 minutes.
Double spending::
2017-04-26 17:08:26 +00:00
Double-spending is the result of successfully spending some money more than once. Bitcoin protects against double spending by verifying each transaction added to the block chain to ensure that the inputs for the transaction had not previously already been spent.
ECDSA::
2017-04-26 17:08:26 +00:00
Elliptic Curve Digital Signature Algorithm or ECDSA is a cryptographic algorithm used by Bitcoin to ensure that funds can only be spent by their rightful owners.
Extra Nonce::
As difficulty increased, miners often cycled through all 4 billion values of the nonce without finding a block. Because the coinbase script can store between 2 and 100 bytes of data, miners started using that space as extra nonce space, allowing them to explore a much larger range of block header values to find valid blocks. (("Extra Nonce")))
2014-11-12 13:14:09 +00:00
fees::
2017-04-26 17:08:26 +00:00
The sender of a transaction often includes a fee to the network for processing the requested transaction. Most transactions require a minimum fee of 0.5 mBTC.
2014-11-12 13:14:09 +00:00
fork::
2017-04-26 17:08:26 +00:00
Fork, also known as accidental fork, occurs when two or more blocks have the same block height, forking the block chain. Typically occurs when two or more miners find blocks at nearly the same time. Can also happen as part of an attack.
2014-11-12 13:14:09 +00:00
genesis block::
2017-04-26 17:08:26 +00:00
The first block in the blockchain, used to initialize the cryptocurrency.
Hard Fork::
Hard Fork, also known as Hard-Forking Change, is a permanent divergence in the blockchain, commonly occurs when non-upgraded nodes cant validate blocks created by upgraded nodes that follow newer consensus rules.
2017-04-26 17:08:26 +00:00
Not to be confused with Fork, Soft fork, Software fork or Git fork.
Hardware Wallet::
2017-04-26 17:08:26 +00:00
A hardware Wallet is a special type of bitcoin wallet which stores the user's private keys in a secure hardware device.
hash::
2017-04-26 17:08:26 +00:00
A digital fingerprint of some binary input.
hashlocks::
2017-04-26 17:08:26 +00:00
A Hashlock is a type of encumbrance that restricts the spending of an output until a specified piece of data is publicly revealed. Hashlocks have the useful property that once any hashlock is opened publicly, any other hashlock secured using the same key can also be opened. This makes it possible to create multiple outputs that are all encumbered by the same hashlock and which all become spendable at the same time.
HD Protocol::
2017-04-26 17:08:26 +00:00
The Hierarchical Deterministic (HD) key creation and transfer protocol (BIP32), which allows creating child keys from parent keys in a hierarchy.
HD Wallet::
2017-04-26 17:08:26 +00:00
Wallets using the Hierarchical Deterministic (HD Protocol) key creation and transfer protocol (BIP32).
HD Wallet Seed::
2017-04-26 17:08:26 +00:00
HD Wallet Seed or Root Seed is a potentially-short value used as a seed to generate the master private key and master chain code for an HD wallet.
HTLC::
2017-04-26 17:08:26 +00:00
A Hashed TimeLock Contract or HTLC is a class of payments that use hashlocks and timelocks to require that the receiver of a payment either acknowledge receiving the payment prior to a deadline by generating cryptographic proof of payment or forfeit the ability to claim the payment, returning it to the payer.
KYC::
2017-04-26 17:08:26 +00:00
Know your customer (KYC) is the process of a business, identifying and verifying the identity of its clients. The term is also used to refer to the bank regulation which governs these activities.
LevelDB::
2017-04-26 17:08:26 +00:00
LevelDB is an open source on-disk key-value store. LevelDB is a light-weight, single-purpose library for persistence with bindings to many platforms.
Lightning networks::
2017-04-26 17:08:26 +00:00
Lightning Network is a proposed implementation of Hashed Timelock Contracts (HTLCs) with bi-directional payment channels which allows payments to be securely routed across multiple peer-to-peer payment channels. This allows the formation of a network where any peer on the network can pay any other peer even if they don't directly have a channel open between each other.
Locktime::
2017-04-26 17:08:26 +00:00
Locktime, or more technically nLockTime, is the part of a transaction which indicates the earliest time or earliest block when that transaction may be added to the block chain.
mempool::
2017-04-26 17:08:26 +00:00
The bitcoin Mempool (memory pool) is a collection of all transaction data in a block that have been verified by bitcoin nodes, but are not yet confirmed.
Merkle Root::
2017-04-26 17:08:26 +00:00
The root node of a merkle tree, a descendant of all the hashed pairs in the tree. Block headers must include a valid merkle root descended from all transactions in that block.
Merkle Tree::
2017-04-26 17:08:26 +00:00
A tree constructed by hashing paired data (the leaves), then pairing and hashing the results until a single hash remains, the merkle root. In Bitcoin, the leaves are almost always transactions from a single block.
2014-11-12 13:14:09 +00:00
miner::
2017-04-26 17:08:26 +00:00
A network node that finds valid proof of work for new blocks, by repeated hashing.
Multisignature::
2017-04-26 17:08:26 +00:00
Multisignature (multisig) refers to requiring more than one key to authorize a Bitcoin transaction.
2014-11-12 13:14:09 +00:00
network::
2017-04-26 17:08:26 +00:00
A peer-to-peer network that propagates transactions and blocks to every bitcoin node on the network.
Nonce::
2017-04-26 17:08:26 +00:00
The "nonce" in a Bitcoin block is a 32-bit (4-byte) field whose value is set so that the hash of the block will contain a run of leading zeros. The rest of the fields may not be changed, as they have a defined meaning.
Off-Chain Transactions::
2017-04-26 17:08:26 +00:00
An off-chain transaction is the movement of value outside of the block chain. While an on-chain transaction - usually referred to as simply 'a transaction' - modifies the blockchain and depends on the blockchain to determine its validity an off-chain transaction relies on other methods to record and validate the transaction.
Opcode::
2017-04-26 17:08:26 +00:00
Operation codes from the Bitcoin Script language which push data or perform functions within a pubkey script or signature script.
Open Assets Protocol::
2017-04-26 17:08:26 +00:00
The Open Assets Protocol is a simple and powerful protocol built on top of the Bitcoin Blockchain. It allows issuance and transfer of user-created assets. The Open Assets Protocol is an evolution of the concept of colored coins.
OP_RETURN::
2017-04-26 17:08:26 +00:00
An opcode used in one of the outputs in an OP_RETURN transaction. Not to be confused with OP_RETURN transaction.
OP_RETURN transaction::
2017-04-26 17:08:26 +00:00
A transaction type relayed and mined by default in Bitcoin Core 0.9.0 and later that adds arbitrary data to a provably unspendable pubkey script that full nodes dont have to store in their UTXO database. Not to be confused with OP_RETURN opcode.
Orphan Block::
2017-04-26 17:08:26 +00:00
Blocks whose parent block has not been processed by the local node, so they cant be fully validated yet.
Orphan Transactions::
2017-04-26 17:08:26 +00:00
Transactions that can't go into the pool due to one or more missing input transactions.
Output::
2017-04-26 17:08:26 +00:00
Output, Transaction Output or TxOut is an output in a transaction which contains two fields: a value field for transferring zero or more satoshis and a pubkey script for indicating what conditions must be fulfilled for those satoshis to be further spent.
P2PKH::
2017-04-26 17:08:26 +00:00
Transactions that pay a bitcoin address contain P2PKH or Pay To PubKey Hash scripts. An output locked by a P2PKH script can be unlocked (spent) by presenting a public key and a digital signature created by the corresponding private key.
P2SH::
2017-04-26 17:08:26 +00:00
P2SH or Pay To Script Hash is a powerful new type of transaction that greatly simplifies the use of complex transaction scripts. With P2SH the complex script that details the conditions for spending the output (redeem script) is not presented in the locking script. Instead, only a hash of it is in the locking script.
P2SH address::
2017-04-26 17:08:26 +00:00
P2SH addresses are Base58Check encodings of the 20-byte hash of a script, P2SH addresses use the version prefix "5", which results in Base58Check-encoded addresses that start with a "3". P2SH addresses hide all of the complexity, so that the person making a payment does not see the script.
P2WPKH::
2017-04-26 17:08:26 +00:00
The signature of a P2WPKH (Pay to Witness Public Key Hash) contains the same information as a P2PKH spending, but is located in the witness field instead of the scriptSig field. The scriptPubKey is also modified.
P2WSH::
2017-04-26 17:08:26 +00:00
The difference between P2SH and P2WSH (Pay to Witness Script Hash) is about the cryptographic proof location change from the scriptSig field to the witness field and the scriptPubKey that is also modified.
Paper wallet::
2017-04-26 17:08:26 +00:00
In the most specific sense, a paper wallet is a document containing all of the data necessary to generate any number of Bitcoin private keys, forming a wallet of keys. However, people often use the term to mean any way of storing bitcoin offline as a physical document. This second definition also includes paper keys and redeemable codes.
Payment channels::
2017-04-26 17:08:26 +00:00
A Micropayment Channel or Payment Channel is class of techniques designed to allow users to make multiple Bitcoin transactions without committing all of the transactions to the Bitcoin block chain. In a typical payment channel, only two transactions are added to the block chain but an unlimited or nearly unlimited number of payments can be made between the participants.
Pooled mining::
2017-04-26 17:08:26 +00:00
Pooled mining is a mining approach where multiple generating clients contribute to the generation of a block, and then split the block reward according the contributed processing power.
Proof-of-stake::
2017-04-26 17:08:26 +00:00
Proof-of-stake (PoS) is a method by which a cryptocurrency blockchain network aims to achieve distributed consensus. Proof of stake asks users to prove ownership of a certain amount of currency (their "stake" in the currency).
2014-11-12 13:14:09 +00:00
Proof-Of-Work::
2017-04-26 17:08:26 +00:00
A piece of data that requires significant computation to find. In bitcoin, miners must find a numeric solution to the SHA256 algorithm that meets a network-wide target, the difficulty target.
2014-11-12 13:14:09 +00:00
reward::
2017-04-26 17:08:26 +00:00
An amount included in each new block as a reward by the network to the miner who found the Proof-Of-Work solution. It is currently 12.5BTC per block.
RIPEMD-160::
2017-04-26 17:08:26 +00:00
RIPEMD-160 is a 160-bit cryptographic hash function. RIPEMD-160 is a strengthened version of RIPEMD with a 160-bit hash result, and is expected to be secure for the next ten years or more.
Satoshi Nakamoto::
2017-04-26 17:08:26 +00:00
Satoshi Nakamoto is the name used by the person or people who designed Bitcoin and created its original reference implementation, Bitcoin Core. As a part of the implementation, they also devised the first blockchain database. In the process they were the first to solve the double spending problem for digital currency. Their real identity remains unknown.
Script::
2017-04-26 17:08:26 +00:00
Bitcoin uses a scripting system for transactions. Forth-like, Script is simple, stack-based, and processed from left to right. It is purposefully not Turing-complete, with no loops.
ScriptPubKey (aka Pubkey Script)::
2017-04-26 17:08:26 +00:00
ScriptPubKey or Pubkey Script, is a script included in outputs which sets the conditions that must be fulfilled for those satoshis to be spent. Data for fulfilling the conditions can be provided in a signature script.
ScriptSig (aka Signature Script)::
2017-04-26 17:08:26 +00:00
ScriptSig or Signature Script, is the data generated by a spender which is almost always used as variables to satisfy a pubkey script.
2014-11-12 13:14:09 +00:00
secret key (aka private key)::
2017-04-26 17:08:26 +00:00
The secret number that unlocks bitcoin sent to the corresponding address. A secret key looks like +5J76sF8L5jTtzE96r66Sf8cka9y44wdpJjMwCxR3tzLh3ibVPxh+.
Segregated Witness::
2017-04-26 17:08:26 +00:00
Segregated Witness is a proposed upgrade to the Bitcoin protocol which technological innovation separates signature data from Bitcoin transactions. Segregated Witness is a proposed soft fork; a change that technically makes Bitcoins protocol rules more restrictive.
SHA::
2017-04-26 17:08:26 +00:00
The Secure Hash Algorithm or SHA is a family of cryptographic hash functions published by the National Institute of Standards and Technology (NIST).
Soft Fork::
Soft Fork or Soft-Forking Change is a temporary fork in the Blockchain which commonly occurs when miners using non-upgraded nodes don't follow a new consensus rule their nodes dont know about.
2017-04-26 17:08:26 +00:00
Not to be confused with Fork, Hard fork, Software fork or Git fork.
SPV (aka Simplified Payment Verification)::
2017-04-26 17:08:26 +00:00
SPV or Simplified Payment Verification is a method for verifying particular transactions were included in a block without downloading the entire block. The method is used by some lightweight Bitcoin clients.
Stale Block::
2017-04-26 17:08:26 +00:00
Block which were successfully mined but which isnt included on the current best block chain, likely because some other block at the same height had its chain extended first.
timelocks::
2017-04-26 17:08:26 +00:00
A Timelock is a type of encumbrance that restricts the spending of some bitcoin until a specified future time or block height. Timelocks feature prominently in many Bitcoin contracts, including payment channels and hashed timelock contracts.
2014-11-12 13:14:09 +00:00
transaction::
2017-04-26 17:08:26 +00:00
In simple terms, a transfer of bitcoin from one address to another. More precisely, a transaction is a signed data structure expressing a transfer of value. Transactions are transmitted over the bitcoin network, collected by miners, and included into blocks, made permanent on the blockchain.
Transaction Pool::
2017-04-26 17:08:26 +00:00
An unordered collection of transactions that are not in blocks in the main chain, but for which we have input transactions.
Turing completeness::
2017-04-26 17:08:26 +00:00
A program language is called "Turing complete", if that it can run any program that a Turing machine can run given enough time and memory.
UTXO (aka Unspent Transaction Output)::
2017-04-26 17:08:26 +00:00
UTXO is an Unspent Transaction Output that can be spent as an input in a new transaction.
2014-11-12 13:14:09 +00:00
wallet::
2017-04-26 17:08:26 +00:00
Software that holds all your bitcoin addresses and secret keys. Use it to send, receive, and store your bitcoin.
WIF (aka Wallet Import Format)::
2017-04-26 17:08:26 +00:00
WIF or Wallet Import Format is a data interchange format designed to allow exporting and importing a single private key with a flag indicating whether or not it uses a compressed public key.