Roo's All-In Giveaway, $300,000 in Prizes
888 views

The Undocumented Features of Bitcoin’s (BTC) Architecture

The introduction of Bitcoin in 2009 marked the start of a new financial era with a decentralized financial control structure that eliminates third parties in financial transactions. However, Bitcoin is more than just a digital currency; it’s a revolutionary technology that has helped shape the modern economy. 

Bitcoin also helped popularize blockchain technology, which has gained widespread use cases in various sectors, including supply chain services, the Internet of Things (IoT), and reputation systems with the launch of blockchain-based applications. 

Despite Bitcoin’s popularity, few people understand the technical aspects of the world’s popular cryptocurrency. While the whitepaper lies down Bitcoin’s network architecture, some aspects of the network have been undocumented, outdated, or omitted. Here are some undocumented features of Bitcoin’s architecture.    

Bitcoin Technical

Bitcoin constitutes three main technical components: the consensus protocol, transactions (including scripts), and the communication network. 

Bitcoin architecture is overly complicated and requires a sufficient technical background to understand the network architecture. Nonetheless, here is a simple breakdown of Bitcoin’s architecture. 

Bitcoin Architecture

When analyzing Bitcoin’s architecture, you’ll want to consider five key aspects. These are the Bitcoin application itself, nodes and the node’s discovery process, transactions, security implementation, and adding new blocks to the Bitcoin chain. 

Bitcoin network itself runs on a set of distributed servers. A transaction database at the network’s core functions as a secure ledger. The secure ledger is shared by all nodes (servers) that run the Bitcoin protocol’s full stack—the protocol functions as a decentralized transaction system with the tendencies of a highly transparent ledger. 

Nodes running on the blockchain protocol run the entire network locally. Bitcoin nodes install the full stack of software in their devices and then sync up automatically with other network nodes in a peer-to-peer fashion. Therefore, the nodes ensure that all transactions on the network are valid, arranged in chronological order, and enforced by cryptographic rules. 

The nodes in the network employ a peer-to-peer IP network to process and verify transactions. A consensus is reached when nodes are in the same block as individual databases. 

Bitcoin Blockchain Design

The bitcoin blockchain is designed to create and disseminate a global public ledger that records all bitcoins in the system. Each entry in the public ledger is a transaction representing the transfer of a crypto coin from one virtual account to another. Bitcoin transactions consist of inputs and outputs: a transaction “spends” a set of transaction inputs and “creates” a transaction output. 

All transactions contain an input reference, i.e., a hash of an output of a previous transaction. Each transaction output consists of a value representing the quantity of bitcoin currency plus information regarding the coin owners. Transactions on the network are usually structured as a directed graph to allow users to maintain invariants concerning the transaction log.  

Regarding blocks, the Bitcoin network’s first block was not a result of the Bitcoin consensus mechanism that supports mining. Instead, the first block was hard-coded into the source code. This was unique since the block doesn’t reference a previous block, and it’s referred to as the Genesis block. 

Another architectural concept in the Bitcoin network was the limited number of Bitcoins, resulting from mining (evaluating) a new block and the reward a miner can earn from the mining process. On the Bitcoin network, a new block is mined every 10 minutes (regardless of the technology used, as discussed later), and the mining reward at the beginning of the system was 50 Bitcoins per block. The block reward is halved every four years (or every 210 000 blocks on average) 

A crucial aspect of Bitcoin’s architecture is the block size. Currently, the block size is restricted to 1MB (on average), and one block can cover around 4000 transactions with an average size of 250 bytes. This results in an overall rate of about seven transactions per second (tps.) Each block’s information is recorded on the Bitcoin blockchain.  

Any node can broadcast transactions on the Bitcoin Network in the system simultaneously. At its best, a Bitcoin transaction comprises three parts, i.e., an input, an amount, and an output.  

The decision on which transactions of those broadcasted to be included in a new block is dependent on the node (the miner) running the proof-of-work (PoW) algorithm since the miners are responsible for picking a transaction from the so-called mem-pool where all validated transactions are stored, grouping them and including them in the block.

The miner’s selection of transactions depends on the transaction fee (the standard fee is 1.000 Satoshi= 10 µBTC = 0.01 mBTC = 0.0001 BTC per kB), which forms a reward for the miner’s efforts in addition to the Coinbase reward. To initiate a transaction on the Bitcoin blockchain, users must first generate the necessary Bitcoin keys starting with a random 256-bit private key. 

This private key is required to sign a transaction and Bitcoins. In addition, the elliptic curve DSA algorithm is required to generate a 512-bit public key from the private key. The public key is used to verify the signature for a transaction. However, the public key is not revealed until a transaction is signed.  

The Lightning Network

Following Bitcoin’s scalability challenges, the lighting network was introduced to enable fast transaction time. The Lightning Network is a “layer 2” payment protocol that operates on Bitcoin to allow for fast transactions among participating nodes. 

Transactions conducted on the lightning network are fast, cost much less, and are readily confirmed compared to those confirmed on the bitcoin blockchain. The Lightning Network was designed to decongest the bitcoin blockchain by making transactions off-chain away from the main blockchain and reducing the associated transaction fees. In addition, it allows for fast transactions among participating nodes. 

The Bitcoin Network Consensus

Bitcoin Network achieves consensus via mining using the PoW algorithm. While generating rewards primarily incentivizes mining in the network, mining in the Bitcoin network is to achieve a decentralized consensus in a trustless network. Mining enables a network-wide consensus without a central authority. 

Bitcoin’s decentralized consensus arises from the interplay of four processes occurring independently on nodes across the network. Bitcoin’s decentralized network consensus follows four major processes as below: 

  • Independent verification of each transaction by every full node, based on a comprehensive list of criteria
  • Independent aggregation of these transactions into new blocks by mining nodes, coupled with computational efforts using a proof of work algorithm
  • Independent verification of the new blocks by every node and assembly into a chain
  • Independent selection by every node of the chain with the most cumulative computational effort demonstrated through a proof of work.

Since the Bitcoin network is decentralized, two nodes may announce a valid block simultaneously, meaning two blockchains encompass different transactions. The situation depends on the block creation time relative to the block propagation time. 

Conclusion 

The Bitcoin network employs peer-to-peer broadcasts to confirm blocks and distribute pending transactions. Transactions on the network are first analyzed based on Bitcoin’s protocol rules and then validated using a scripting language based on locking and unlocking scripts. 

Bitcoin live price
Btc
Bitcoin
$27.496
price
2.87315%
price change
TRADE NOW

For a transaction to be validated on the network, full Bitcoin nodes (miners) will select transactions from the memory pool, hashing pairs of transaction values until only one hash remains, anchoring the transaction tree into the block header. In addition, Bitcoin employs a unique and extraordinary architecture where transactions are private or anonymous.    

Stay up to date with our latest articles

More posts

What You Need to Know About Bitcoin Ordinals

Bitcoin Ordinals are digital assets inscribed on a satoshi, the smallest denomination of a Bitcoin (BTC). This strategy allows users to create Non-Fungible Tokens (NFTs) on the Bitcoin blockchain. NFTs are unique digital assets representing art, collectibles, and more. Ordinals have become popular due to their ability to provide an extra layer of security and decentralization for Bitcoin transactions. This has caused a surge in Bitcoin network development, making it easier for users to store assets securely. The Ordinals protocol…

Drivechain: The Bitcoin Upgrade to End All Altcoins?

Bitcoin, the world’s first cryptocurrency, regularly faces criticism for having ‘outdated’ tech and a tendency to evolve slowly relative to the rest of crypto. This leaves altcoin projects looking to build on Satoshi’s original invention room to differentiate and compete through added features, such as faster throughput, smart contracts, and tokenization.  However, a hotly-debated Bitcoin upgrade called “Drivechain” seeks to introduce these benefits to Bitcoin by opening up its development possibilities in one fell swoop. So what is Drivechain, its…

Top 10 Ways to Earn Free Bitcoin in 2023

Here are the best ways to earn free Bitcoin when your wallet is light. Are you interested in Bitcoin but still want to refrain from investing money? Alternatively, are you looking to stack every sat possible without the dry powder to buy more? Here’s a secret: you can put more bitcoin in your pocket without spending a dime – or even doing real work.  That’s not to say you’ll earn much bitcoin without either. After all, if Bitcoin weren’t hard…

What is Taro? Trading Assets and Currencies on Bitcoin

Taro leverages Bitcoin, lightning, and Taproot to enable the peer-to-peer transfer of currencies and assets beyond BTC. —  Are you worried that Bitcoin is too boring to play in the growing digital asset economy? Fret no longer.  Using Taro, the original blockchain network can support the decentralized exchange of multiple assets – including fiat currencies. Moreover, the protocol works with the lightning network, letting users transact – instantly and for free – with non-BTC-denominated balances.  Please read below to learn…

What is Fedimint? The Custody Solution to Bitcoin Privacy

Fedimint combines distributed custody with blind-signed ecash tokens to let Bitcoin users transact privately. --- Despite its growth, Bitcoin still needs some limitations to reach mass adoption as a fully censorship-proof payment network. One of them is privacy. Bitcoin’s ledger is open and public, meaning anyone can track another person’s transactions if they know his public address.  The other is a custody problem. While wallet software UX has improved considerably, many Bitcoin holders still store their assets with custodians,  exchanges,…

Ultimate Beginner Guide to Bitcoin Improvement Proposals (BIPs)

Bitcoin Improvement Proposals (BIPs) are essential tools in the crypto community. They allow the Bitcoin community to propose and vote on the Bitcoin Core software changes.  BIPs can also work for other wallets/services and have a process for development and implementation. This guide will explore what BIPs are, how they work, and some of their benefits and risks. What are Bitcoin Improvement Proposals (BIPs)? Bitcoin Improvement Proposals (BIPs) are proposals for changes to the Bitcoin protocol. Anyone can submit them,…

How Much Bitcoin Does Satoshi Nakamoto Own?

Satoshi Nakamoto – Bitcoin’s anonymous founder – may be the largest Bitcoin whale on the planet. However, there’s no evidence that Satoshi has or will spend his coins. The crypto community isn’t sure how many coins belong to the founder. Just how rich is the father of Bitcoin? And what implications could his ancient stash have for the network and the asset? The Patoshi Pattern One of the most popular theories is that Satoshi Nakamoto mined anywhere from 750,000 to…

What Are Bitcoin Covenants? A Guide to a Controversial Proposal

The proposal to implement Bitcoin covenants has spurred a fiery debate in the Bitcoin community, dividing people on the subject. On the one hand, covenants could make Bitcoin safer and more scalable. But conversely, others see it as an attack on the network’s decentralized, anonymous, and censorship-free nature. While experts unravel the implications of covenants for Bitcoin, we look closer at the proposal and how it could work. This guide to Bitcoin covenants should help clear the air if you…

Intel’s Blockscale – A New Bitcoin Mining Chip

Earlier this month, Intel announced Blocksale ASIC, the company's second-generation Bitcoin mining chip. Intel plans to deliver the new chip for the third quarter, which it claims will be more energy-efficient. What does this news mean for Intel and the blockchain sector? How will Bitcoin miners react? Intel’s Second Attempt to Attract Crypto Miners Intel's first mining chip, Bonanza Mine, is a 7nm process packed in lots of 300. So we can speak of a 3,600W mining machine with up…

SegWit2x – What is It and How Does It Work?

SegWit2x (“B2X” or “S2X”) was a failed, controversial Bitcoin hard fork effort aimed at doubling the block size limit. Some people in the BTC community went as far as to label this proposal as a “Corporate Takeover.” Over 80% of miners supported SegWit2x, but the community could not agree on the upgrade. Nevertheless, we can all learn several things from this story, as we will explain in the article. The difference between a “Soft Fork” and a “Hard Fork.” Before…