Bitcoin Basics: Wallets, Transactions, and Double Spending Explained

6 views 50 slides May 05, 2025
Slide 1
Slide 1 of 50
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50

About This Presentation

Learn the fundamentals of how Bitcoin works, including how digital wallets store funds, how payments are made, and how the blockchain prevents double spending. This beginner-friendly guide is ideal for students, developers, and crypto enthusiasts exploring real-world blockchain applications.


Slide Content

UnderstandingBlockchain
withCryptocurrency:
AISHWARYA

BitcoinandBlockchain
Bitcoin:Bitcoinisadecentralizeddigitalcurrency,introducedbyananonymouspersonor
groupunderthepseudonymSatoshiNakamotoin2008.Itallowspeer-to-peertransactions
withouttheneedforacentralauthoritylikeabankorgovernment.

Key Features of Bitcoin:
Decentralization: Bitcoin operates on a network of computers (nodes) that are spread across
the globe, eliminating the need for intermediaries.
FixedSupply:Only21millionbitcoinswilleverbecreated,makingitdeflationaryanda
potentialstoreofvalue.
Transactions:Bitcointransactionsarerecordedontheblockchain.UserscontrolBitcoin
throughcryptographicprivateandpublickeys,whichactasdigitalsignaturesforsecuretransfers.
Mining:Newbitcoinsarecreatedthroughaprocesscalledmining,whereparticipantssolve
complexmathematicalproblemstovalidatetransactionsandaddthemtotheblockchain.In
return,minersarerewardedwithnewlycreatedbitcoins.
TransparencyandPseudonymity:Alltransactionsarepublicandvisibleonthe
blockchain,buttheidentitiesoftheusersremainpseudonymous(tiedtoaddresses,notpersonal
information).

Blockchain
BlockchainisthetechnologythatunderpinsBitcoinandmanyothercryptocurrencies.Itisa
distributed,immutableledgerthatrecordsalltransactionsacrossanetworkofcomputersina
secureandtransparentway.
HowBlockchainWorks:
DistributedLedger:Inablockchain,everynode(computer)onthenetworkhasacopyofthe
ledger.Whenanewtransactionismade,itisbroadcasttothenetworkforvalidation.
Blocks:Transactionsaregroupedtogetherintoblocks.Eachblockcontainsalistoftransactions,
areferencetothepreviousblock(ahash),andatimestamp.
ConsensusMechanism:Thenetworkusesaconsensusmechanism,suchasProofofWork(used
byBitcoin),toagreeonthestateoftheledgerandtovalidatenewblocks.Thisensuresthe
networkistrustless,meaningparticipantsdon’tneedtotrusteachother.

HowBlockchainWorks:
Immutability:Onceablockisaddedtotheblockchain,itcannotbealteredwithoutchangingall
subsequentblocks,makingtheblockchaintamper-proof.Thisfeatureprovidessecurityandtrust
inthesystem.
Decentralization:Blockchainisdecentralized,meaningit’snotcontrolledbyanysingleentity.
Eachparticipant(node)inthenetworkhasequalauthorityandcanverifytransactions
independently.

RelationshipBetweenBitcoinandBlockchain
BlockchainisthetechnologythatenablesBitcointooperateasadecentralizeddigitalcurrency.
Bitcoinisthefirstapplicationofblockchaintechnology,butblockchainhasmanypotential
usesbeyondcryptocurrencies(e.g.,supplychainmanagement,votingsystems,andhealthcare
records).
Bitcoin’sblockchainisspecializedfortrackingBitcoinownershipandensuringtheintegrityof
itsfinancialtransactions,butblockchainsingeneralcanbeadaptedformanyotherpurposes.

Benefits of Blockchain for Bitcoin:
Security:Thecryptographicnatureofblockchainensuressecuretransactions
andstorageofdata.
Transparency:EveryBitcointransactionisvisibleontheblockchain,providing
fulltransparency.
NoDouble-Spending:BlockchainensuresthatthesameBitcoincannotbespent
morethanoncethroughitsvalidationandconsensusmechanisms.
TrustlessEnvironment:Blockchaineliminatestheneedfortrustedthirdparties
(likebanks),asconsensusandcryptographyensuretheaccuracyandsecurityof
thenetwork.

Cryptocurrency ?
Cryptocurrency,sometimescalledcrypto-currencyorcrypto,isanyformof
currencythatexistsdigitallyorvirtuallyandusescryptographytosecure
transactions.
Cryptocurrenciesdon'thaveacentralissuingorregulatingauthority,instead
usingadecentralizedsystemtorecordtransactionsandissuenewunits

What is Cryptocurrency
•Cryptocurrencyisadigitalpaymentsystemthatdoesn'trelyonbankstoverify
transactions.It’sapeer-to-peersystemthatcanenableanyoneanywheretosend
andreceivepayments.
•Insteadofbeingphysicalmoneycarriedaroundandexchangedintherealworld,
cryptocurrencypaymentsexistpurelyasdigitalentriestoanonlinedatabase
describingspecifictransactions.
•Whenyoutransfercryptocurrencyfunds,thetransactionsarerecordedinapublic
ledger.Cryptocurrencyisstoredindigitalwallets.
The first cryptocurrency wasBitcoin

Creation of coins
Theunitsofcryptocurrencyarecreatedthroughaprocesscalledmining.
Miningistheprocessofvalidatingcryptocurrencytransactionsandcreatingnew
unitsofcryptocurrency.
Theminingprocessusespowerfulcomputerhardwareandsoftwaretosolve
complexmathematicalproblemsthatgeneratecoins.
Minersusepowerfulcomputerstosolvecomplexmathematicalproblems.
Whentheysolvetheseproblems,theyverifytransactionsandaddanew
blocktotheblockchain.
Asarewardfortheirwork,minersaregivennewcoins.Thisishownew
Bitcoin,forexample,iscreated.

Coins

Coins
•Coinsaredigitalcurrenciesthatoperateontheirownblockchain.Theyare
primarilyusedasamediumofexchange,liketraditionalmoney,andcanbe
minedorstaked.
•Examples:Bitcoin(BTC),Ethereum(ETH),Litecoin(LTC).
•Coinsaregenerallyusedforpayments,storeofvalue,ortransferringvalue
withintheirownnetworks.
•Eachcoinhasitsownindependentblockchain.Forexample,Bitcoinoperateson
theBitcoinblockchain,andEtheroperatesontheEthereumblockchain.

Tokens
Tokensaredigitalassetscreatedontopofanotherblockchain.Theyoften
representautilityorassetwithinaspecificprojectorplatform.
Examples:ERC-20tokensontheEthereumnetwork,likeChainlink(LINK)or
Uniswap(UNI).NFTs(non-fungibletokens)alsofallintothetokencategory.
Purpose:Tokenscanhavevariouspurposes:
◦Utilitytokens:Usedwithinaspecificapplicationorplatform(e.g.,foraccessor
transactions).
◦Securitytokens:Representownershipinanasset(similartostocks).
◦Stablecoins:PeggedtoastableassetliketheUSdollar(e.g.,USDT,USDC).
Blockchain:Tokensdonothavetheirownblockchain.Theyrelyonthe
infrastructureofanexistingblockchainlikeEthereum,BinanceSmartChain,or
Solana.

Coins vs Tokens
Parameters COINS TOKEN
Blockchain Operateontheirownblockchain
(e.g.,BitcoinontheBitcoin
blockchain,EtherontheEthereum
blockchain)
Createdonexistingblockchains,
usuallythroughsmartcontracts(e.g.,
tokensontheEthereumblockchain,
likeUSDTorChainlink).
Function Primarilyusedasdigitalcurrencyor
astoreofvalue(forpayments,
trading,etc.)
Oftenrepresentassets,accessto
services,orutilitywithinspecific
applicationsorecosystems.
Creation Createdthroughmining(Proofof
Work)orstaking(ProofofStake)as
partoftheblockchain'sconsensus
mechanism.
Createdthroughsmartcontracts,
typicallyviainitialcoinofferings
(ICOs)ordecentralizedapplications
(dApps).

Steps to create Cryptocurrency

Cryptocurrency mining reward
Cryptocurrency miners need money. They receive a small fraction of new units of
cryptocurrency for completing “blocks” of verified transactions that are added to
the blockchain.
1. Miners are compensated in the cryptocurrency they are mining. When miners
choose to validate a block of Bitcoin transactions, their reward is paid in Bitcoin.
2.Bypoolingtheirresourcestogether,minerscanboosttheirchancesof
successfullyminingablock,whilesharingtheexpenses.However,inthis
arrangement,theyonlyreceiveafractionofthetotalreward.Thisprocessis
referredtoasacryptocurrencyminingreward.

Payments
Apaymentincryptocurrencyinvolvestransferringdigitalassets(likeBitcoin,
Ethereum,etc.)fromonewallettoanother.
Eachpaymenttransactionisverifiedbyanetworkofcomputers(minersor
validators),ensuringthatthetransactionislegitimate.
Onceverified,thetransactionisaddedtotheblockchain,whichservesasa
permanent,unalterablerecord.

Double Spending
Doublespendingisapotentialriskuniquetodigitalcurrencieswherethesame
cryptocurrencyisspentmorethanonce.
Sincedigitalcurrenciesarejustbitsofdata,theoretically,someonecouldtryto
replicateoralterthetransactioninformationtospendthesamecoinsmultiple
times.
Forexample,apersonmighttrytosendthesameBitcointotwodifferent
merchantsorusersatthesametime.

How is Double Spending Prevented?
•BlockchaintechnologyandProofofWork(usedinBitcoin)orProofofStake
(usedinEthereum2.0)aredesignedtopreventdoublespending.
•Whenatransactionismade,itisbroadcasttothenetworkofminers/validators.
•Theycompetetoverifythetransactionandincludeitinanewblock.Oncea
blockisconfirmedandaddedtotheblockchain,thetransactionbecomes
permanentandcannotbealtered.
•Thisensuresthatthesamecryptocurrencycannotbespenttwice,asthenetwork
wouldrejectanyattempttodoso

Types Of Double Spending Attacks
FinneyAttack:Theattackerpre-minesablockcontainingaconflicting
transaction.Theattackerthenspendsthesamefundsinatransactionwiththe
merchant.Ifthepre-minedblockisaddedtotheblockchainbeforethe
merchant’stransactionisconfirmed,theattackercandoublespend.Thegoalisto
exploitthedelaybetweenthebroadcastofthemerchant’stransactionandthe
miningoftheattacker’spre-minedblock.
51%Attack:Anattackergainscontrolofmorethan50%ofthenetwork’stotal
computingpower(hashrate)orstake.Thismajoritycontrolallowstheattackerto
reorganizetheblockchain,invalidatetransactions,anddoublespend.Thegoalis
toaltertheblockchain’stransactionhistory,allowingtheattackertoreverseorre-
spendpreviouslyconfirmedtransactions.

Bitcoin Scripts
BitcoinScriptsaresmallprogramsorsetsofinstructionsembeddedinBitcoin
transactions.TheydefinetheconditionsthatneedtobemetfortheBitcoinbeing
senttobeunlockedandspentbytherecipient.
BitcoinusesascriptinglanguagecalledScript,whichissimple,notTuring-
complete(meaningitavoidscomplexloops),andspecificallydesignedforsecure
transactions.

Example:
Youwanttosend1Bitcoin(BTC)toyourfriend,andthetransactionneedstobe
lockedwithaconditionthatonlyyourfriendcanspenditbyprovidingtheir
signature.
Pay-to
PubKey-Hash(P2PKH)ScriptExample:
1.ScriptPubKey(LockingScript):
Whenyousend1BTCtoyourfriend,thetransactioncreatesaScriptPubKey.
Thisscript"locks"the1BTCwithaconditionthatonlysomeonewiththecorrespondingprivatekey(your
friend)canunlockit.
Thelockingscriptmightlooklikethis:
OP_DUP OP_HASH160
<Friend's Public Key Hash>
OP_EQUALVERIFY
OP_CHECKSIG

Each part:
•OP_DUP:Duplicatesthepublickeyprovidedbythespender.
•OP_HASH160:Hashesthepublickeytoproducethepublickeyhash.
•<Friend’sPublicKeyHash>:Thisisthehashedpublickeyofyourfriend
(Bitcoinaddress).
•OP_EQUALVERIFY :Verifiesthatthepublickeyhashmatchesyourfriend's
publickeyhash.
•OP_CHECKSIG:Checksthatthesignatureprovidedbythespender(your
friend)isvalid.

2. ScriptSig(Unlocking Script):
Whenyourfriendwantstospendthe1BTC,theymustprovideanunlockingscript(ScriptSig)
thatsatisfiestheconditionsoftheScriptPubKey.
Theunlockingscriptmightlooklikethis:
<Friend'sSignature>:Thedigitalsignaturecreatedusingtheirprivatekey.
<Friend'sPublicKey>:Thepublickeyassociatedwiththeprivatekeythatcreatedthe
signature.
<Friend's Signature>
<Friend's Public Key>

Bitcoin P2P Network
Apeer-to-peer(P2P)networkisbasedontheconceptofdecentralization,which
allowstheparticipantstoconducttransactionswithoutneedingacentralserver.
Thepeersornodes(usuallyacomputer)communicatewitheachotheronthe
networkfreelywithoutanintermediary.
Inthisnetwork,allparticipants(callednodes)communicatedirectlywithone
anothertovalidatetransactionsandblocks,propagateinformation,andmaintain
theintegrityofthesystem.

1. Nodes
NodesareindividualcomputersparticipatingintheBitcoinnetwork.They
performseveralkeytasks:
NodesvalidatenewtransactionsandblockstoensuretheyfollowtheBitcoin
protocol.Fullnodesstoretheentireblockchain,whichcontainsthehistoryofall
Bitcointransactions.Nodespropagatetransactionsandblockstoothernodesin
thenetwork.

2. Decentralization
There’snocentralserverorauthorityintheBitcoinnetwork.Eachnodeis
independentandconnectstoothernodes.Thisdecentralizationensures:
Nosinglepointoffailure
Increasedresilienceagainstattacksorcensorship
Globalaccesswithoutneedingpermission

3. Gossip Protocol
TheBitcoinP2Pnetworkusesagossipprotocoltoshareinformation.Whena
nodereceivesanewtransactionorblock,itforwards(or"gossips")this
informationtoitspeernodes,whichinturnpropagatethedatatotheirpeers.
Thisensuresthatnewinformationisquicklydistributedthroughoutthenetwork.

Transaction Propagation
WhenauserinitiatesaBitcointransaction,itisbroadcasttothenearestnode.
Thetransactionisverifiedbythenode(checkingforthingslikevalidsignatures
andsufficientfunds).
Onceverified,thenoderelaysthetransactiontoitsconnectedpeers,which
continuepropagatingthetransactionacrossthenetwork.
Minerscollectthesetransactionstoincludeinthenextblock.

5. Block Propagation
Onceaminersuccessfullyminesablock,itispropagatedtothenetwork.
EachreceivingnodevalidatestheblocktoensureitfollowstheBitcoin
consensusrules(correctProofofWork,validtransactions,correcthash,etc.).
Aftervalidation,thenoderelaystheblocktoitspeers,andtheprocesscontinues
untiltheblock

6. Mining and Consensus
ThenetworkreachesconsensusthroughtheProofofWorkmechanism,where
minerscompetetosolvecryptographicpuzzlesandcreatenewblocks.
Onceablockismined,itisaddedtotheblockchain,andothernodesverifyits
validity.
Iftwoblocksareminedatnearlythesametime,nodesmayhavedifferentviews
oftheblockchain,buteventually,oneofthechainsbecomeslonger,andthe
networkconvergesonthatchain.

7. Network Latency and Block Propagation
Time
Duetothedecentralizednatureofthenetwork,thereissomelatencyinhow
quicklytransactionsandblocksarepropagated.
Minimizingpropagationtimeisimportantforpreventingsituationswheretwo
minersunknowinglymineblocksatthesametime,resultingintemporaryforks
intheblockchain.

8. Peer Discovery
WhenanewnodejoinstheBitcoinnetwork,itneedstofindotherpeersto
connectwith.Thisisdonethroughaprocesscalledpeerdiscovery,whichuses
hardcodedDNSseednodesoralistoftrustednodes.
Onceconnected,thenewnodewillbegindownloadingtheblockchainfrompeers
andstartparticipatinginthenetwork.

Incentive Structure
TheBitcoinnetworkisself-sustainingthrougheconomicincentives.Minersare
rewardedwithnewbitcoins(blockrewards)andtransactionfeesforsecuringthe
networkandconfirmingtransactions.Thisprovidesafinancialmotivationfor
participantstomaintainthenetwork.

How do peer-to-peer (P2P) networks work?
AP2Pnetworkhasnocentralserveroverlookingthem;theusersornodesare
responsibleformaintainingthenetwork.Everynodeparticipatinginthe
networkactsasaserverthatcanupload,download,andsharefileswithother
nodes.
Thenodesusetheirharddrivesinsteadofacentralservertostorethisdata.As
thesecapabilitiestotransmit,receiveandstorefilesliewitheachnode,theP2P
networkismoresecure,fastandefficient.
Itisimportanttonotethattomakepeernodeseasilylocatabletonewpeersthat
jointhenetwork,theP2Parchitecturemusthavemanyactivenodesinthe
blockchainnetwork,asthisiswhenitfunctionsbest.Ifmanynodesleavethe
network,itisnecessarytoensureenougharelefttopickuptheslack.

Types of peer-to-peer (P2P) networks
1.Structuredpeer-to-peernetworks:Inthisnetwork,anorganisedstructureis
usedinwhichthenodesinteract,makingitpossibleforthenodestoeasilysearchforfilesevenif
thedataisunavailable.Duetothisorganisedstructure,someamountofcentralisationexistsin
thistypeofnetwork.
2.Unstructuredpeer-to-peernetworks:Inthistypeofnetwork,thereisnoset
structureforthenodestofollow.Participantscanjoinorleavethenetworkasandwhen
theydesire.
Thislackofadefinitestructureleadsparticipantstocommunicaterandomlywitheachother.This
networkiseasytobuild,butitrequireshighCPUpowerasallnodesmustremainactiveto
processahighnumberoftransactions

Hybridpeer-to-peernetworks:AhybridP2Pnetworkisacombinationofa
peer-to-peerandclient-servermodel.Thenetworkhasacentralserverthatstores
informationonthelocationofresourcesandusesthisservertoconductsearches.

Role of Peer-to-peer (P2P) in Blockchain
P2Pnetworkingarchitectureisafundamentalelementinblockchaintechnology,asitallows
cryptocurrencies(e.g.Bitcoinnetwork)tobetransferredgloballywithoutanyintermediary,
middlemanorcentralserver.
ThecreatorofBitcoin,SatoshiNakamoto,referredtoitasa“peer-to-peerelectroniccashsystem”
whichwascreatedwiththeaimofhavingaP2Pdigitalformofmoney.

Benefits of P2P networks
Low cost
In a P2P network, every node acts as a server, and there is no central server. This
saves the cost of buying an expensive server, making it a cost-effective network.
Scalable
Bottlenecks faced in a centralisedserver model, when the number of clients
increases, are eliminated in a P2P network as each node can be a server. The P2P
network is designed to be scalable, as an increase in the number of clients results
in an equal increase in the number of servers.

Benefits of P2P networks
Resilient
Compared to centralisednetworks, a P2P network is more resilient to failure as
the loss of a single node does not bring down the entire network.

Drawbacks of P2P networks
Slowperformance
EverynodeorcomputerintheP2Pnetworkisaccessedbyothernodes,slowing
downtheuser’sperformance.
Dataisvulnerable
Theabsenceofacentralserversometimesmakesthisnetworkhardto
manage,ascontrollingormonitoringillegalorprohibitedactivityisdifficult.No
centralauthoritymanagesoperations,sodatabecomesvulnerabletomalware
attacks.
Highcomputationalpower
AhugeamountofcomputingpowerisrequiredforP2Pnetworkssinceeachnode
actsasboththeclientandtheserver.

Transaction in Bitcoin Network
AtransactionintheBitcoinnetworkisafundamentaloperationthattransfers
ownershipofbitcoinsfromoneusertoanother.Everytransactionisrecorded
ontheblockchainandconsistsofinputs,outputs,andcryptographicsignatures
thatensureitsauthenticity.

Key Components of a Bitcoin Transaction:
Inputs:
Eachtransactioninputreferencesaprevioustransaction’soutputthatthesenderowns
andintendstospend.
Theinputincludes:
TransactionID(TxID):TheIDoftheprevioustransactionfromwhichthebitcoinis
coming.
OutputIndex:Aspecificreferencetotheindexoftheoutputfromtheprevious
transactionthatisbeingspent.
UnlockingScript(SignatureScriptorScriptSig):Ascriptthatprovestheownership
oftheinput.Itusuallyincludesadigitalsignatureandthepublickeyoftheowner,
provingtheycontrolthebitcoinbeingspent.

Key Components of a Bitcoin Transaction:
Outputs:
Each transaction output specifies where the bitcoin is being sent and how much is being sent.
The output includes:
◦Amount: The number of bitcoins being transferred to the recipient.
◦Locking Script (ScriptPubKey): A script that locks the output to a recipient's public address.
The recipient must provide a valid unlocking script (in a future transaction) to spend this
output.
A single transaction can have multiple outputs, for instance:
◦One output for the recipient.
◦One output for any change back to the sender if the input amount exceeds the intended
payment amount.

Key Components of a Bitcoin Transaction:
Digital Signatures:
Each input must be signed by the sender using their private key. This signature proves
that the sender is the legitimate owner of the bitcoins and authorizes the transfer.
The transaction signature is unique and prevents anyone from modifying the transaction
once signed.
Transaction Fee:
Transaction fees incentivize miners to include transactions in the next block. The fee is
calculated as the difference between the total value of the inputs and the total value of
the outputs:
Fee = (Sum of Inputs) -(Sum of Outputs).
While fees are optional, in practice, most transactions include fees to ensure they are
processed promptly.

How a Transaction Works in the Bitcoin
Network:
1.CreationofaTransaction:
Whenauserwantstosendbitcoins,theyinitiateatransactionbyselectingpreviously
receivedbitcoins(unspenttransactionoutputs,orUTXOs)asinputsandspecifyingone
ormoreoutputs(recipientaddressesandamounts).
Atransactioncanhavemultipleinputsandoutputs.Thesumofinputsmustcoverthe
totaloutputs(includingfees).
2.SigningtheTransaction:
Theusersignsthetransactionwiththeirprivatekey,creatingadigitalsignature.This
signatureisincludedintheunlockingscriptofeachinput.

How a Transaction Works in the Bitcoin
Network:
3.BroadcastingtheTransaction:
Aftersigning,thetransactionisbroadcasttotheBitcoinP2Pnetwork,whereitis
propagatedfromnodetonodeusingagossipprotocol.
4.TransactionValidation:
Eachnodethatreceivesthetransactionperformsseveralvalidationchecks:
Ensuresallreferencedinputsexistandareunspent(UTXOs).
Verifiesthesignatureoftheinputsusingthepublickey.
Ensuresthatthesumofinputsisgreaterthanorequaltothesumofoutputs(validfee
calculation).ChecksthatthetransactionfollowsallBitcoinprotocolrules.
Ifthetransactionisvalid,thenoderelaysittoitspeers.

How a Transaction Works in the Bitcoin
Network:
5.InclusioninaBlock(Mining):Validtransactionsarecollectedbyminersand
includedinthenextblockthattheyattempttomine.
Minersprioritizetransactionsbasedonthefeetheyoffer.Transactionswithhigherfees
aregenerallyincludedinblocksmorequickly.
Whenaminersuccessfullyminesablock,thetransactionisaddedtotheblockchain,
meaningithasbeenconfirmed.
6. Confirmation:
Oncethetransactionisincludedinablock,itreceivesitsfirstconfirmation.
Eachsubsequentblockminedontopofthatblockincreasesthenumberof
confirmations.Generally,sixconfirmationsareconsideredsecureforlargetransactions.

Transaction Life Cycle in Bitcoin:
UserInitiates:Ausergeneratesatransaction,signsitwiththeirprivatekey,and
broadcastsittothenetwork.
Broadcast&Propagation:ThetransactionispropagatedthroughtheBitcoinnetwork,
witheachnodevalidatingit.
MinersIncludeTransaction:Minerspickupthetransaction,bundleitintoacandidate
block,andcompetetosolveacryptographicpuzzle(ProofofWork)toaddtheblockto
theblockchain.
TransactionConfirmations:Oncetheblockcontainingthetransactionismined,the
transactionreceivesitsfirstconfirmation.Moreconfirmationsareaddedassubsequent
blocksareminedontop.
FinalSettlement:Afterasufficientnumberofconfirmations(typically6),thetransaction
isconsideredfinalandirreversible.