What is Bitcoin?
Bitcoin is a digital form of cash. But unlike the fiat currencies you’re used to, there is no central bank controlling it. Instead, the financial system in Bitcoin is run by thousands of computers distributed around the world. Anyone can participate in the ecosystem by downloading open-source software.
Bitcoin was the first cryptocurrency, announced in 2008 (and launched in 2009). It provides users with the ability to send and receive digital money (bitcoins, with a lower-case b, or BTC). What makes it so attractive is that it can’t be censored, funds can’t be spent more than once, and transactions can be made at any time, from anywhere.
What is Bitcoin used for?
People use Bitcoin for a number of reasons. Many appreciate it for its permissionless nature – anyone with an Internet connection can send and receive it. It’s a bit like cash in that no one can stop you from using it, but its digital presence means that it can be transferred globally.
What makes Bitcoin valuable?
Bitcoin is decentralized, censorship-resistant, secure, and borderless.
This quality has made it appealing for use cases such as international remittance and payments where individuals don’t want to reveal their identities (as they would with a debit or credit card).
Many don’t spend their bitcoins, instead choosing to hold them for the long-term (also known as hodling). Bitcoin has been nicknamed digital gold, due to a finite supply of coins available. Some investors view Bitcoin as a store of value. Because it’s scarce and difficult to produce, it has been likened to precious metals like gold or silver.
Holders believe that these traits – combined with global availability and high liquidity – make it an ideal medium for storing wealth in for long periods. They believe that Bitcoin’s value will continue to appreciate over time.
How does Bitcoin work?
When Alice makes a transaction to Bob, she’s not sending funds in the way you’d expect. It’s not like the digital equivalent of handing him a dollar bill. It’s more like her writing on a sheet of paper (that everyone can see) that she’s giving one dollar to Bob. When Bob goes to send those same funds to Carol, she can see that Bob has them by looking at the sheet.
The sheet is a particular kind of database called a blockchain. Network participants all have an identical copy of this stored on their devices. The participants connect with each other to synchronize new information.
When a user makes a payment, they broadcast it directly to the peer-to-peer network – there isn’t a centralized bank or institution to process transfers. In order to add new information, the Bitcoin blockchain uses a special mechanism called mining. It is through this process that new blocks of transactions are recorded in the blockchain.
What is the blockchain?
The blockchain is a ledger that is append-only: that is to say, data can only be added to it. Once information is added, it is extremely difficult to modify or delete it. The blockchain enforces this by including a pointer to the previous block in every subsequent block.
The pointer is actually a hash of the previous block. Hashing involves passing data through a one-way function to produce a unique “fingerprint” of the input. If the input is modified even slightly, the fingerprint will look completely different. Since we chain the blocks along, there is no way for someone to edit an old entry without invalidating the blocks that follow. Such a structure is one of the components making the blockchain secure.
Is Bitcoin legal?
Bitcoin is perfectly legal in most countries. There are a handful of exceptions, though – be sure to read up on the laws of your jurisdiction before investing in cryptocurrency.
In countries where it’s legal, government entities take varying approaches to it where taxation and compliance are concerned. The regulatory landscape is still highly underdeveloped overall and will likely change considerably in the coming years.
A History of Bitcoin
Who created Bitcoin?
Nobody knows! Bitcoin’s creator used the pseudonym Satoshi Nakamoto, but we don’t know anything about their identity. Satoshi could be one person or a group of developers anywhere in the world. The name is of Japanese origin, but Satoshi’s mastery of English has led many to believe that he/she/they originate from an English-speaking country.
Satoshi published the Bitcoin white paper as well as the software. However, the mysterious creator disappeared in 2010.
Did Satoshi invent blockchain technology?
Bitcoin actually combines a number of existing technologies that had been around for some time. This concept of a chain of blocks wasn’t born with Bitcoin. The use of unalterable data structures like this can be traced back to the early 90s when Stuart Haber and W. Scott Stornetta proposed a system for timestamping documents. Much like the blockchains of today, it relied on cryptographic techniques to secure data and to prevent it from being tampered with.
Interestingly, at no point does Satoshi’s white paper make use of the term “blockchain.”
Digital cash before Bitcoin
Bitcoin wasn’t the first attempt at digital cash, but it is certainly the most successful. Previous schemes paved the way for Satoshi’s invention:
DigiCash
DigiCash was a company founded by cryptographer and computer scientist David Chaum in the late 1980s. It was introduced as a privacy-oriented solution for online transactions, based on a paper authored by Chaum (explained here).
The DigiCash model was a centralized system, but it was nonetheless an interesting experiment. The company later went bankrupt, which Chaum believes was due to its introduction before e-commerce had truly taken off.
B-money
B-money was initially described in a proposal by computer engineer Wei Dai, published in the 1990s. It was cited in the Bitcoin white paper, and it’s not hard to see why.
B-money proposed a Proof of Work system (used in Bitcoin mining) and the use of a distributed database where users sign transactions. A second version of b-money also described an idea similar to staking, which is used in other cryptocurrencies today.
Ultimately, b-money never took off, as it didn’t make it past the draft stage. That said, Bitcoin clearly takes inspiration from the concepts presented by Dai.
Bit Gold
Such is the resemblance between Bit Gold and Bitcoin that some believe that its creator, computer scientist Nick Szabo, is Satoshi Nakamoto. At its core, Bit Gold consists of a ledger that records strings of data originating from a Proof of Work operation.
Like b-money, it was never further developed. Bit Gold’s similarities to Bitcoin have, however, cemented its place as the “precursor to Bitcoin.”
Chapter 2 - Where Do Bitcoins Come From?
How are new bitcoins created?
Bitcoin has a finite supply, but not all units are in circulation yet. The only way to create new coins is through a process called mining – the special mechanism for adding data to the blockchain.
How many bitcoins are there?
The protocol fixes Bitcoin’s max supply at twenty-one million coins. As of 2020, just under 90% of these have been generated, but it will take over one-hundred years to produce the remaining ones. This is due to periodic events known as halvings, which gradually reduce the mining reward.
How does Bitcoin mining work?
By mining, participants add blocks to the blockchain. To do so, they must dedicate computing power to solving a cryptographic puzzle. As an incentive, there is a reward available to whoever proposes a valid block.
It’s expensive to generate a block, but cheap to check if it’s valid. If someone tries to cheat with an invalid block, the network immediately rejects it, and the miner will be unable to recoup the mining costs.
The reward – often labeled the block reward – is made up of two components: fees attached to the transactions and the block subsidy. The block subsidy is the only source of “fresh” bitcoins. With every block mined, it adds a set amount of coins to the total supply.
How long does it take to mine a block?
The protocol adjusts the difficulty of mining so that it takes approximately ten minutes to find a new block. Blocks aren’t always found exactly ten minutes after the previous one – the time taken merely fluctuates around this target.
Chapter 3 - Getting Started with Bitcoin
How can I buy Bitcoin?
How to buy Bitcoin with a credit/debit card
Binance allows you to seamlessly buy Bitcoin in your browser. To do so:
Go to the Buy and Sell Cryptocurrency portal.
Select the cryptocurrency you want to buy, and the currency you wish to pay with.
Log in to Binance, or register if you don’t already have an account.
Select your payment method.
If prompted, insert your card details and complete identity verification.
That’s it! Your Bitcoin will be credited to your Binance account.
How to buy Bitcoin on peer-to-peer markets
You can also buy and sell Bitcoin on peer-to-peer markets. This allows you to purchase coins from other users directly from the Binance mobile app. To do so:
Launch the app and log in or register.
Select One click buy sell, followed by the Buy tab in the top left corner of the interface.
You’ll be prompted with a number of different offers – tap Buy on the one you wish to go with.
You can pay with other cryptocurrencies (the By Crypto tab) or fiat currency (the By Fiat tab).
Below, you’ll be asked for your payment method. Pick whichever one suits you.
Select Buy BTC.
You now have to make the payment. When you’re done, tap Mark as paid, and confirm.
The transaction is completed when the seller sends your coins.
What can I buy with Bitcoin?
There are a lot of things you can buy with Bitcoin. At this stage, it can be difficult (though not impossible) to locate merchants that accept Bitcoin in physical stores. However, you’ll still be able to find websites that accept it or allow you to purchase gift cards with it for other services.
Just to name a few, some of the things you can buy with Bitcoin are:
Airplane tickets
Hotel rooms
Real estate
Food & drink
Clothing
Gift cards
Online subscriptions
Where can I spend Bitcoin?
You can spend your Bitcoin at a growing number of places! Let’s go through a few of them.
TravelbyBit
Save on hefty credit card fees while traveling the world! You can book flights and hotels with Bitcoin and other cryptocurrencies through TravelbyBit. Register and book with crypto with a 10% discount on your purchase.
Spendabit
Spendabit is a search engine for products that you can buy with Bitcoin. Just search for what you’d like to buy and get a list of merchants who you can buy it from with Bitcoin.
Coinmap
Search for all the cryptocurrency merchants and ATMs around your area. If you’re eager to spend your Bitcoin and just looking for a place to spend it, this might be an ideal choice for you.
Bitrefill
You can buy gift cards for hundreds of services and top up your phone with Bitcoin and other cryptocurrencies here. It’s quite easy to do, and you can also use the Lightning Network to pay.
Heatmap of retailers which accept cryptocurrency as payment. Source: https://coinmap.org/
What if I lose my bitcoins?
Because there’s no bank involved, you’re responsible for keeping your coins secure. Some prefer to store them on exchanges, while others take custody with a variety of wallets. If you use a wallet, it’s crucial that you write down your seed phrase so that you can restore it.
Can I revert Bitcoin transactions?
Once data is added to the blockchain, it’s not easy to remove it (in practice, it’s virtually impossible). This means that when you make a transaction, it can’t be undone. You should always double- and triple-check that you’re sending your funds to the right address.
For an example of how you could theoretically reverse a transaction, see What is a 51% Attack?
Can I make money with Bitcoin?
You can make money with Bitcoin, but you can also lose money with it. Typically, long-term investors buy and hold Bitcoin believing it will rise in price in the future. Others choose to actively trade Bitcoin against other cryptocurrencies to make short- to mid-term profits. Both of these strategies are risky, but they’re often more rewarding than low-risk approaches.
Some investors adopt hybridized strategies. They hold bitcoins as a long-term investment while simultaneously trading some (in a separate portfolio) in the short-term. There isn’t a correct or incorrect way to allocate assets in your portfolio – each investor will have a different risk appetite and different goals.
Lending is an increasingly popular form of passive income. By lending your coins to someone else, you can generate interest that they will pay out at a later date. Platforms like Binance Lending allow you to do this with Bitcoin and other cryptocurrencies.
How can I store my bitcoin?
There are many options to store coins, each with their own strengths and weaknesses.
Storing your bitcoin on Binance
A custodial solution refers to storage where the user doesn’t actually hold the coins themselves but trusts a third party to do so. To make transactions, they would log in to the third party’s platform. Exchanges like Binance often use this model as it’s vastly more efficient for trades.
Storing your coins on Binance allows you to easily access them for the purposes of trading or lending.
Storing your coins in a bitcoin wallet
Non-custodial solutions are the opposite – they put the user in control of their funds. To store funds with such a solution, you use something called a wallet. A wallet doesn’t hold your coins directly – rather, it holds cryptographic keys that unlock them on the blockchain. You have two main options on this front:
Hot wallets
A hot wallet is software that connects in some way to the Internet. Generally, it will take the form of a mobile or desktop application that allows you to easily send and receive coins. An easy to use example of a mobile wallet with a lot of supported coins is Trust Wallet. Because they’re online, hot wallets are generally more convenient for payments, but they’re also more vulnerable to attack.
Cold wallets
Cryptocurrency wallets that are not exposed to the Internet are known as cold wallets. They’re less prone to attack because there is no online attack vector, but they consequently tend to provide a clunkier user experience. Examples include hardware wallets or paper wallets.
For a more in-depth breakdown of wallet types, be sure to check out Crypto Wallet Types Explained.
Chapter 4 - The Bitcoin Halving
What is the Bitcoin halving?
A Bitcoin halving (also called a Bitcoin halvening) is simply an event that reduces the block reward. Once a halving occurs, the reward given to miners for validating new blocks is divided by two (they only receive half of what they used to). However, there is no impact on transaction fees.
How does the Bitcoin halving work?
When Bitcoin launched, miners would be awarded 50 BTC for each valid block they found.
The first halving took place on November 28th, 2012. At that point, the protocol reduced the block subsidy from 50 BTC to 25 BTC. The second halving occurred on July 9th, 2016 (25 BTC to 12.5 BTC). The last one took take place on May 11th, 2020, bringing the block subsidy down to 6.25 BTC.
You might notice a certain pattern here. Give or take a handful of months, a new halving seems to occur every four years. That’s by design, but the protocol does not set specific dates on which a halving takes place. Instead, it goes by block height – every 210,000 blocks, a halving occurs. So, we can expect it to take about 2,100,000 minutes for the subsidy to halve (remember, a block takes ~10 minutes to mine).
In the above chart, we can see the decrease in the block subsidy over time and its relationship with the total supply. At first, it may seem that the rewards have dropped to zero and that the max supply is already in circulation. But this is not the case. The curves trend incredibly close, but we expect the subsidy to reach zero around the year 2140.
Why does the Bitcoin halving happen?
It’s one of Bitcoin’s main selling points, but Satoshi Nakamoto never fully explained his reasoning for capping the supply at twenty-one million units. Some speculate that it’s merely a product of starting with a block subsidy of 50 BTC, which is halved every 210,000 blocks.
Having a finite supply means that the currency is not prone to debasement in the long run. It stands in stark contrast to fiat money, which loses purchasing power over time as new units enter into circulation.
It makes sense that there are limits on how fast participants can mine coins. After all, 50% were generated by block 210,000 (i.e., by 2012). If the subsidy remained the same, all units would have been mined by 2016.
With the halving mechanism, there is an incentive to mine for 100+ years. This gives the system more than enough time to attract users so that a fee market can develop.
What impact does the Bitcoin halving have?
Those that are most impacted by halvings are miners. It makes sense, as the block subsidy makes up a significant part of their revenue. When it is halved, they only receive half of what they once did. The reward also consists of transaction fees, but to date, these have only made up a fraction of the block reward.
Halvings could, therefore, make it unprofitable for some participants to continue mining. What this means for the wider industry is unknown. A reduction in block rewards might lead to further centralization in mining pools, or it could simply promote more efficient mining practices.
If Bitcoin continues to rely on a Proof of Work algorithm, fees would need to rise to keep mining profitable. This scenario is entirely possible, as blocks can only hold so many transactions. If there are a lot of pending transactions, those with higher fees will be included first.
Historically, a sharp rise in Bitcoin price has followed a halving. Of course, there isn’t much data available as we’ve only seen two so far. Many attribute the price movement to an appreciation of Bitcoin’s scarcity by the market, a realization triggered by the halving. Proponents of this theory believe that value will once again skyrocket following the event in May 2020.
Others disagree with this logic, arguing that the market has already factored the halving in (see Efficient Market Hypothesis). It’s not like the event comes as a surprise – participants have known for over a decade that the reward would be reduced in May 2020. Another point often made is that the industry was extremely underdeveloped during the first two halvings. Nowadays, it has a higher profile, offers sophisticated trading tools, and is more accommodating to a broader investor pool.
When is the next Bitcoin halving?
The next halving is expected to take place in 2024, when the reward will drop to 3.125 BTC. Keep an eye on the countdown with Binance Academy's Bitcoin Halving Countdown.
Chapter 5 - Common Bitcoin Misconceptions
Is Bitcoin anonymous?
Not really. Bitcoin might seem anonymous initially, but this isn’t correct. The Bitcoin blockchain is public and anyone can see the transactions. Your identity isn’t tied to your wallet addresses on the blockchain, but an observer with the right resources could potentially link the two together. It’s more accurate to describe Bitcoin as pseudonymous. Bitcoin addresses are viewable to everybody, but the names of their owners are not.
That said, the system is relatively private, and there are methods to make it even harder for observers to figure out what you’re doing with your bitcoins. Freely available technologies can create plausible deniability to “break the link” between addresses. What’s more, future upgrades could massively boost privacy – see An Introduction to Confidential Transactions for an example.
Is Bitcoin a scam?
No. Just like fiat money, Bitcoin may also be used for illegal activities. But, this doesn’t make Bitcoin a scam in and of itself.
Bitcoin is a digital currency that isn’t controlled by anyone. Detractors have branded it a pyramid scheme, but it doesn’t fit the definition. As digital money, it functions just as well at $20 per coin as it does at $20,000 per coin. It’s over a decade old, and the technology has proven to be very secure and reliable.
Unfortunately, Bitcoin is used in many scams that you should be aware of. These might include phishing and other social engineering schemes, such as fake giveaways and airdrops. As a general rule: if something sounds too good to be true, it’s probably a scam. Never give your private keys or seed phrase to anyone, and be cautious of schemes that offer to multiply your money with little risk on your behalf. If you send your coins to a scammer or to a fake giveaway, they will be lost forever.
Is Bitcoin a bubble?
Throughout the many parabolic rises in Bitcoin price, it was common to see people referring to it as a speculative bubble. Many economists have compared Bitcoin to periods like the Tulip Mania or the dot-com boom.
Due to Bitcoin’s unique nature as a decentralized digital commodity, its price is entirely dictated by speculation in the free market. So, while there are many factors driving the Bitcoin price, they ultimately affect market supply and demand. And since Bitcoin is scarce and follows a strict issuance schedule, it’s thought that long-term demand will exceed supply.
The cryptocurrency markets are also relatively small when compared to traditional markets. This means that Bitcoin and other crypto assets tend to be more volatile, and it’s quite common to see short-term market imbalances between supply and demand.
In other words, Bitcoin can be a volatile asset at times. But volatility is part of the financial markets, especially ones with relatively lower volume and liquidity.
Does Bitcoin use encryption?
No. This is a common misconception, but Bitcoin’s blockchain doesn’t use encryption. Every peer on the network needs to be able to read transactions to ensure that they’re valid. Instead, it uses digital signatures and hash functions. While some digital signature algorithms do use encryption, that’s not the case for Bitcoin.
It’s worth noting, though, that many applications and crypto wallets make use of encryption to protect users’ wallets with passwords. Still, these encryption methods have nothing to do with the blockchain – they’re just incorporated into other technologies that tap into it.
Chapter 6 - Bitcoin Scalability
What is scalability?
Scalability is a measure of a system's ability to grow to accommodate increasing demand. If you host a website that's overrun with requests, you might scale it by adding more servers. If you want to run more intensive applications on your computer, you could upgrade its components.
In the context of cryptocurrencies, we use the term to describe the ease of upgrading a blockchain so it can process a higher number of transactions.
Why does Bitcoin need to scale?
To function in day-to-day payments, Bitcoin must be fast. As it stands, it has a relatively low throughput, meaning that a limited amount of transactions can be processed per block.
As you know from the previous chapter, miners receive transaction fees as part of the block reward. Users attach these to their transactions to incentivize miners to add their transactions to the blockchain.
Miners seek to make a return on their investment into hardware and electricity, so they prioritize transactions with higher fees. If there are a lot of transactions in the network’s “waiting room” (called the mempool), fees can rise significantly as users bid to have theirs included. At its worst, the average fee was upwards of $50.
How many transactions can Bitcoin process?
Based on the average number of transactions per block, Bitcoin can manage approximately five transactions per second at the moment. It’s much lower than that of centralized payment solutions, but this is one of the costs of a decentralized currency.
Because it’s not managed by a data center that a single entity can upgrade at will, Bitcoin must limit the size of its blocks. A new block size that allows 10,000 transactions per second could be integrated, but it would harm the network’s decentralization. Remember that full nodes need to download new information roughly every ten minutes. If it becomes too burdensome for them to do so, they’ll likely go offline.
If the protocol is to be used to payments, Bitcoin enthusiasts believe that effective scaling needs to be achieved in different ways.
What is the Lightning Network?
The Lightning Network is a proposed scalability solution for Bitcoin. We call it a layer two solution because it moves transactions away from the blockchain. Instead of recording all transactions on the base layer, they’re handled by another protocol built on top of it.
The Lightning Network allows users to send funds near-instantly and for free. There are no constraints on throughput (provided users have the capacity to send and receive). To use the Bitcoin Lightning Network, two participants lock up some of their coins in a special address. The address has a unique property – it only releases the bitcoins if both parties agree.
From there, the parties keep a private ledger that can reallocate balances without announcing it to the main chain. They only publish a transaction to the blockchain when they’re done. The protocol then updates their balances accordingly. Note that they don’t need to trust each other, either. If one tries to cheat, the protocol will detect it and punish them.
In total, a payment channel like this one only requires two on-chain transactions from the user – one to fund their address and one to later dispense the coins. This means that thousands of transfers can be made in the meantime. With further development and optimization, the technology could become a critical component for large blockchain systems.
For a more detailed explainer on the scalability issue and its potential solutions, take a look at Blockchain Scalability – Sidechains and Payment Channels.
What are forks?
Since Bitcoin is open-source, anyone can modify the software. You could add new rules or remove old ones to suit different needs. But not all changes are created equal: some updates will make your node incompatible with the network, while others will be backward-compatible.
Soft forks
A soft fork is a change to the rules that allows updated nodes to interact with old ones. Let’s take block size as an example. Suppose that we have a block size of 2MB and that half of the network implements a change – from now on, all blocks must not exceed 1MB. They would reject anything bigger.
Older nodes can still receive these blocks or propagate their own. That means that all nodes remain part of the same network, no matter which version they run.
In the below animation, we can see that the smaller blocks are accepted both by older and updated nodes. However, newer nodes will not recognize 2MB blocks, because they are already following the new rules.
Bitcoin’s Segregated Witness (or SegWit) is an example of a soft fork. Using a clever technique, it introduced a new format for blocks and transactions. Old nodes continue to receive blocks, but they don’t validate the new transaction type.
Hard forks
A hard fork is messier. Suppose now that half of the network wants to increase the block size from 2MB to 3MB. If you try to send a 3MB block to older nodes, the nodes reject it as the rules clearly state that 2MB is the maximum they can accept. Because the two networks are no longer compatible, the blockchain splits into two.
The black chain in the diagram above is the original one. Block 2 is where the hard fork has taken place. Here, nodes that have upgraded have started producing larger blocks (the green ones). The older nodes don’t recognize those, so they continue along a different path. There are now two blockchains, but they share a history until Block 2.
Now there are two different protocols, each with a different currency. All the balances on the old one are cloned, meaning that if you had 20 BTC on the original chain, you have 20 NewBTC on the new one.
In 2017, Bitcoin went through a controversial hard fork in a scenario similar to the above. A minority of participants wanted to increase the block size to ensure more throughput and cheaper transaction fees. Others believed this to be a poor scaling strategy. Eventually, the hard fork gave birth to Bitcoin Cash (BCH), which split from the Bitcoin network and now has an independent community and roadmap.
Chapter 7 - Participating in the Bitcoin Network
What is a Bitcoin node?
“Bitcoin node” is a term used to describe a program that interacts with the Bitcoin network in some way. It can be anything from a mobile phone operating a Bitcoin wallet to a dedicated computer that stores a full copy of the blockchain.
There are several types of nodes, each performing specific functions. All of them act as a communication point to the network. Within the system, they transmit information about transactions and blocks.
How does a Bitcoin node work?
Full nodes
A full node validates transactions and blocks if they meet certain requirements (i.e., follow the rules). Most full nodes run the Bitcoin Core software, which is the reference implementation of the Bitcoin protocol.
Bitcoin Core was the program released by Satoshi Nakamoto in 2009 – it was simply named Bitcoin at the time, but was later renamed to avoid any confusion. Other implementations can be used, too, provided they’re compatible with Bitcoin Core.
Full nodes are integral to Bitcoin’s decentralization. They download and validate blocks and transactions, and propagate them to the rest of the network. Because they independently verify the authenticity of the information they’re being provided with, the user doesn’t rely on a third party for anything.
If a full node stores a full copy of the blockchain, it is referred to as a full archival node. Some users discard older blocks, though, in order to save space – the Bitcoin blockchain contains over 200GB of transaction data.
Global distribution of Bitcoin full nodes. Source: bitnodes.earn.com
Light nodes
Light nodes are not as capable as full nodes, but they’re also less resource-intensive. They allow users to interface with the network without performing all of the operations that a full node does.
Where a full node downloads all blocks to validate them, light nodes only download a portion of each block (called a block header). Though the block header is tiny in size, it contains information that allows users to check that their transactions are in a specific block.
Light nodes are ideal for devices with constraints in bandwidth or space. It’s common to see this type of node being used in desktop and mobile wallets. Because they can’t perform validation, however, light nodes are dependent on full nodes.
Mining nodes
Mining nodes are full nodes that perform an additional task – they produce blocks. As we touched on earlier, they require specialized equipment and software to add data to the blockchain.
Mining nodes take pending transactions and hash them along with other information to generate a number. If the number falls below a target set by the protocol, the block is valid and can be broadcast to other full nodes.
But in order to mine without relying on anyone else, miners need to run a full node. Otherwise, they can’t know what transactions to include in the block.
If a participant wants to mine but doesn’t want to use a full node, they can connect to a server that gives them the information they need. If you mine in a pool (that is, by working with others), only one person needs to run a full node.
For a breakdown of the different kinds of nodes, see What are Nodes?
How to run a full Bitcoin node
A full node can be advantageous for developers, merchants, and end-users. Running the Bitcoin Core client on your own hardware gives you privacy and security benefits, and strengthens the Bitcoin network overall. With a full node, you no longer rely on anyone else to interact with the ecosystem.
A handful of Bitcoin-oriented companies offer plug-and-play nodes. Pre-built hardware is shipped to the user, who just needs to power it on to begin downloading the blockchain. This can be more convenient for less technical users, but it’s often considerably more expensive than setting up your own.
In most cases, an old PC or laptop will suffice. It’s not advisable to run a node on your day-to-day computer as it could slow it down considerably. The blockchain grows continuously, so you’ll need to ensure that you have enough memory to download it in its entirety.
A 1TB hard drive will suffice for the next several years, provided there isn’t any major change to the block size. Other requirements include 2GB of RAM (most computers have more than this by default) and a lot of bandwidth.
From there, the Running a Full Node guide on bitcoin.org details the process of setting your node up.
How to mine Bitcoin
In the early days of Bitcoin, it was possible to create new blocks with conventional laptops. The system was unknown at that point, so there was little competition in mining. Because activity was so limited, the protocol naturally set a low mining difficulty.
As the network’s hash rate rose, participants needed to upgrade to better equipment to stay competitive. Transitioning through various kinds of hardware, the mining industry eventually entered what we might call the Application-Specific Integrated Circuits (ASICs) era.
As the name might suggest, these devices are built with a specific purpose in mind. They’re extremely efficient, but they’re only capable of performing one task. So, a mining ASIC is a specialized computer that is used for mining and nothing else. A Bitcoin ASIC can mine Bitcoin, but can’t mine coins that don’t use the same algorithm.
Mining Bitcoin today requires significant investment – not only in hardware but also in energy. At the time of writing, a good mining device performs upwards of ten trillion operations per second. Although very efficient, ASIC miners consume tremendous amounts of electricity. Unless you have access to several mining rigs and cheap electricity, you’re unlikely to ever turn a profit with Bitcoin mining.
With the materials, however, setting up your mining operation is straightforward – many ASICs come with their own software. The most popular option is to point your miners towards a mining pool, where you work with others to find blocks. If you’re successful, you’ll receive part of the block reward proportional to the hash rate you’ve provided.
You can also choose to solo mine, where you work alone. The probability of generating a block will be lower, but you’ll keep all of the rewards if you create a valid one.
How long does it take to mine a bitcoin?
It’s difficult to give a one-size-fits-all answer because there are a number of variables to consider. How quickly you can mine a coin depends on the amount of electricity and hash rate available to you. You’ll also need to factor in the costs of actually operating a mining device.
To get an idea of the revenue generated from mining Bitcoin, it’s recommended that you use a mining calculator to estimate costs.
Who can contribute to the Bitcoin code?
The Bitcoin Core software is open-source, meaning that anyone can contribute to it. You can propose or review new features to be added to the 70,000+ lines of code. You can also report bugs, or translate and improve the documentation.
Changes to the software go through a rigorous reviewing process. After all, software that handles hundreds of billions of dollars in value must be free of any vulnerabilities.
If you’re interested in contributing to Bitcoin, be sure to check out developer Jimmy Song’s blog post on getting involved, or the Bitcoin Core website.