Unit III Notes
Unit III Notes
Here are the key features and components of the Bitcoin blockchain:
Transparent: - The Bitcoin blockchain is also transparent. Anyone can view the
blockchain and see all of the transactions that have taken place. This makes it a
very reliable way to track and verify Bitcoin ownership.
1|Page
Introduction to Bitcoin UNIT-III
Limited Supply: Bitcoin has a capped supply of 21 million coins. This scarcity is
programmed into the protocol and serves to control inflation and create a digital
asset with potential long-term value.
Global and 24/7: The Bitcoin network operates 24/7, allowing for borderless and
continuous transactions without dependence on traditional banking hours or
holidays.
The Bitcoin blockchain has gained significant attention as a store of value and digital
gold, as well as for its potential to transform the financial industry. It has inspired the
development of thousands of other cryptocurrencies and blockchain projects,
contributing to the broader blockchain and cryptocurrency ecosystem.
A Bitcoin transaction is a transfer of value between Bitcoin wallets that gets included
in the blockchain. The transaction is initiated by the sender and broadcast to the
Bitcoin network. Once the transaction is verified by a miner, it is included in a block
of transactions that is recorded on the blockchain. Once recorded on the blockchain
and confirmed by sufficient subsequent blocks, the transaction becomes a permanent
part of the Bitcoin open-distributed ledger and is accepted as valid by all participants.
2|Page
Introduction to Bitcoin UNIT-III
Bitcoin transactions are not typically constructed directly using opcodes at the user
level. Instead, users interact with Bitcoin through wallets and use wallet software to
create transactions. However, at the lower level, Bitcoin transactions do involve
scripting using Bitcoin Script, a simple, stack-based programming language.
Here, is the basic overview of some commonly used Bitcoin Script opcodes and how
they can be used to perform transactions. These are simplified ones, and Bitcoin
Script can be quite complex.
OP_DUP
OP_HASH160
<public key>
OP_EQUALVERIFY
OP_CHECKSIG
This script first duplicates the public key, then computes the RIPEMD160 hash of the
public key, and pushes the hash onto the stack. The next opcode,
OP_EQUALVERIFY, verifies the signature of the hash using the public key. If the
signature is valid, the script pushes TRUE onto the stack and the transaction is
considered valid. Otherwise, the script pushes FALSE and the transaction is rejected.
3|Page
Introduction to Bitcoin UNIT-III
The final opcode, OP_CHECKSIG, is used to ensure that the signature is valid. This
is the most important opcode in the script, as it is what prevents anyone from
spending someone else's Bitcoin.
There are many other opcodes that can be used in Bitcoin scripts, but these are some
of the most common ones. The specific opcodes that are used in a script will depend
on the type of transaction that is being performed.
4|Page
Introduction to Bitcoin UNIT-III
4. Bob receives the transaction and creates an input with an unlocking script
that provides his public key as proof that he is authorized to spend the
output.
5. The input and output scripts are combined and executed, verifying that
Bob’s public key matches the one specified in the locking script.
6. The transaction is added to the blockchain as a valid transaction.
The locking and unlocking scripts in a Bitcoin transaction are written in the Bitcoin
Scripting Language. When a node receives the transaction data, it runs the locking
and unlocking scripts together to see if the digital signature matches the address that
the output has been locked to. If the scripts are valid, the node accepts the transaction
and adds it to the blockchain.
Micropayments
Micropayments are small payments that are typically made for digital content or
services. They can be difficult to implement using traditional payment systems, as the
transaction fees can be high. Blockchain technology can be used to create
micropayment systems that are low-cost and efficient.
One way to do this is to use a micropayment channel. A micropayment channel is a
two-party payment channel that allows users to make multiple small payments to each
other without having to pay transaction fees on each payment. Micropayment
channels can be used to pay for digital content, such as articles, videos, and music,
as well as for services, such as cloud storage and streaming video.
Another way to use blockchain technology for micropayments is to use a
cryptocurrency with low transaction fees. There are a number of cryptocurrencies that
have been designed specifically for micropayments, such as Nano and Bitcoin Cash.
These cryptocurrencies can be used to make small payments quickly and cheaply.
Escrow
Escrow is a process where a third party holds funds until certain conditions are met.
This is often used in online transactions to protect both the buyer and the seller.
Blockchain technology can be used to create decentralized escrow systems that are
more secure and efficient than traditional escrow systems.
One way to do this is to use a smart contract. A smart contract is a self-executing
contract that is stored on the blockchain. Smart contracts can be used to create
escrow agreements that automatically release funds to the seller once the buyer has
confirmed that they have received the goods or services.
5|Page
Introduction to Bitcoin UNIT-III
6|Page
Introduction to Bitcoin UNIT-III
PoW:
Advantages: Secure, decentralized, and tamper-proof.
Disadvantages: Energy-intensive and expensive to mine.
PoS:
Advantages: Energy-efficient and relatively inexpensive to mine.
Disadvantages: Can be less secure than PoW and more vulnerable to
centralization.
7|Page
Introduction to Bitcoin UNIT-III
Here are some of the benefits of using Gridcoin to contribute to scientific research
projects:
8|Page
Introduction to Bitcoin UNIT-III
9. Demonstrate the concept of Folding Coin and how it is utilized for the
research of protein folding.
FoldingCoin (FLDC) is a cryptocurrency that rewards participants for their
contributions to the Folding@home project. Folding@home is a distributed computing
project that uses the idle processing power of millions of computers to simulate the
folding of proteins. Protein folding is a complex process that is essential for many
biological functions, and understanding it better could lead to new treatments and
cures for diseases such as cancer and Alzheimer's.
FLDC is earned by running the Folding@home software on your computer. The more
processing power you contribute, the more FLDC you will earn. FLDC can be
exchanged for other cryptocurrencies or fiat currencies, or it can be used to support
the Folding@home project.
FoldingCoin utilizes the traditional Proof-of-Work (PoW) mechanism of the Bitcoin
blockchain. Miners use their computing power to secure the network, similar to how
Bitcoin miners validate transactions and add them to the blockchain.
FoldingCoin is utilized for protein folding research by providing a financial incentive
for people to contribute their computing power to the Folding@home project. The
more people who participate in Folding@home, the more computing power is
available to simulate protein folding, which can help researchers to better understand
this process and develop new treatments and cures for diseases.
Here is an example of how FoldingCoin is utilized for protein folding research:
A researcher wants to simulate the folding of a particular protein.
• They create a work unit (WU) that contains the necessary data to simulate the
protein folding process.
• The WU is sent to the Folding@home network, where it is distributed to
volunteers who are running the Folding@home software on their computers.
• The volunteers' computers simulate the protein folding process and return the
results to the researcher.
• The researcher analyzes the results and uses them to learn more about protein
folding.
• The volunteers are rewarded with FLDC for contributing their computing power.
FoldingCoin is a valuable tool for protein folding research because it provides a way
to harness the computing power of millions of computers to simulate protein folding.
This can help researchers to better understand this process and develop new
treatments and cures for diseases.
9|Page
Introduction to Bitcoin UNIT-III
10. Illustrate the fundamental concepts of genomics and how they are
incorporated into blockchain based solutions.
Genomics is the study of genes and genomes. A gene is a basic unit of heredity
that is passed down from parents to offspring. A genome is the complete set of
genes in an organism.
Genomics has revolutionized our understanding of biology and medicine. By
sequencing and analyzing genomes, scientists have identified genes that are
associated with diseases, developed new diagnostic tools, and created
personalized treatments.
Blockchain is a distributed ledger technology that can be used to store and share
data in a secure and transparent way. Blockchain is best known for its role in
cryptocurrencies, but it has the potential to be used in a wide variety of
applications, including genomics.
Blockchain-based genomic solutions are still in their early stages of development,
but they have the potential to improve the way we store, share, and analyze
genomic data.
Here are some examples of how blockchain is being incorporated into
genomics:
Data Security and Privacy: Genomic data is highly sensitive and personal.
Blockchain's cryptographic features can provide robust data security and privacy.
Patients can have control over who accesses their genomic data, and they can
grant or revoke permissions as needed.
Data Ownership and Control: Blockchain allows individuals to maintain
ownership and control over their genomic data. They can decide whether to share
it with researchers, healthcare providers, or pharmaceutical companies and under
what terms.
Data Sharing and Collaboration: Blockchain facilitates secure and transparent
data sharing among different stakeholders in the genomics field. Researchers,
institutions, and pharmaceutical companies can collaborate more effectively while
ensuring data integrity and privacy.
Monetization of Data: Patients and research participants can choose to monetize
their genomic data by granting access to it for research purposes. Smart contracts
on the blockchain can automate the payment process, ensuring fair compensation
for data contributors.
10 | P a g e
Introduction to Bitcoin UNIT-III
11 | P a g e