BchainTalk Forum - Community for Blockchain Believers

Join like-minded people in a collaborative culture to share & learn.

BchainTalk Forum - Community for Blockchain Believers

Join like-minded people in a collaborative culture to share & learn.

Latest topics
» Bidooh — The World’s First Blockchain-based Facial Recognition Billboard
How do Bitcoin Transactions Work? EmptyThu Nov 29, 2018 4:02 pm by Vladdirescu

» Smart Valor — The Future of Global Investments
How do Bitcoin Transactions Work? EmptyTue Nov 13, 2018 6:06 pm by Vladdirescu

» Jur — Resolving Legal Disputes with the Help of Smart Contracts
How do Bitcoin Transactions Work? EmptyTue Oct 30, 2018 7:08 pm by Vladdirescu

» CDRX — Blockchain Technology in the Traditional Securities Market
How do Bitcoin Transactions Work? EmptyThu Oct 18, 2018 3:48 pm by Vladdirescu

» NoahCoin as a Key to Borderless Facilities of Noah Project
How do Bitcoin Transactions Work? EmptyThu Oct 11, 2018 4:39 pm by Vladdirescu

» Iconiq Lab —  New ICO Accelerator and Decentralized Investment Fund
How do Bitcoin Transactions Work? EmptyWed Oct 03, 2018 8:34 pm by Vladdirescu

» Raincheck — Global Bonus System and Loyalty Program on the Stellar Blockchain
How do Bitcoin Transactions Work? EmptyThu Sep 13, 2018 6:09 pm by Vladdirescu

» Clintex (Clinical Trials Intelligence) — Alternative Treatment of the Future
How do Bitcoin Transactions Work? EmptyMon Aug 27, 2018 12:47 am by Vladdirescu

» Mobu ICO— The Future of Security Tokenization
How do Bitcoin Transactions Work? EmptyThu Aug 16, 2018 1:26 am by Vladdirescu

» Codex Protocol — Blockchain-based Title Registry of Art and Collectibles
How do Bitcoin Transactions Work? EmptyWed Jul 11, 2018 6:32 pm by Vladdirescu

» INGOT Coin Develops An All-Inclusive Ecosystem to Bridge Markets, Revives Lost Demand
How do Bitcoin Transactions Work? EmptyTue Jul 10, 2018 6:50 pm by Vladdirescu

» Japan Has Announced New Five-Point Regulations for Cryptocurrency Exchanges
How do Bitcoin Transactions Work? EmptyTue Jul 10, 2018 3:16 am by Vladdirescu

» Trivver — Blockchain-Based Extended Reality Ad Exchange
How do Bitcoin Transactions Work? EmptySat Jun 30, 2018 5:38 pm by Vladdirescu

» OEL Foundation — Unified Logistics Blockchain Infrastructure
How do Bitcoin Transactions Work? EmptyMon Jun 25, 2018 10:20 pm by Vladdirescu

» Quadrant Protocol — Data Ecosystem With Authenticity And Provenance
How do Bitcoin Transactions Work? EmptySat Jun 09, 2018 6:59 pm by Vladdirescu

» Pumapay Brings Crypto Payments into Daily Life, Raises $117 mln in Private Token Sale
How do Bitcoin Transactions Work? EmptyMon Jun 04, 2018 6:47 pm by Vladdirescu

» FlipNpik — Social Media for Local and Small Businesses based on XLM
How do Bitcoin Transactions Work? EmptyThu May 24, 2018 3:34 pm by Vladdirescu

» Japanese Bank MUFG Is Planning to Issue a Trial of Its Own Digital Currency
How do Bitcoin Transactions Work? EmptyThu May 17, 2018 11:40 pm by Vladdirescu

» Blockchain Enters Poland’s Financial Market, Namely the Credit Office
How do Bitcoin Transactions Work? EmptyThu May 17, 2018 10:55 pm by Vladdirescu

» HSBC Claims it Performed the World’s First Trade Transaction via Blockchain
How do Bitcoin Transactions Work? EmptyThu May 17, 2018 10:26 pm by Vladdirescu


How do Bitcoin Transactions Work?

View previous topic View next topic Go down

How do Bitcoin Transactions Work? Empty How do Bitcoin Transactions Work?

Post by Sumant sinha Tue Apr 25, 2017 2:54 pm

Bitcoin transactions are sent from and to electronic bitcoin wallets, and are digitally signed for security. Everyone on the network knows about a transaction, and the history of a transaction can be traced back to the point where the bitcoins were produced.

Holding onto bitcoins is great if you’re a speculator waiting for the price to go up, but the whole point of this currency is to spend it, right? So, when spending bitcoins, how do transactions work?

There are no bitcoins, only records of bitcoin transactions

Here’s the funny thing about bitcoins: they don’t exist anywhere, even on a hard drive. We talk about someone having bitcoins, but when you look at a particular bitcoin address, there are no digital bitcoins held in it, in the same way that you might hold pounds or dollars in a bank account. You cannot point to a physical object, or even a digital file, and say “this is a bitcoin”.

Instead, there are only records of transactions between different addresses, with balances that increase and decrease. Every transaction that ever took place is stored in a vast public ledger called the block chain. If you want to work out the balance of any bitcoin address, the information isn’t held at that address; you must reconstruct it by looking at the blockchain.

What does a transaction look like?

If Alice sends some bitcoins to Bob, that transaction will have three pieces of information:

An input. This is a record of which bitcoin address was used to send the bitcoins to Alice in the first place (she received them from her friend, Eve).
An amount. This is the amount of bitcoins that Alice is sending to Bob.
An output. This is Bob's bitcoin address.
How is it sent?

How do bitcoin transactions workTo send bitcoins, you need two things: a bitcoin address and a private key. A bitcoin address is generated randomly, and is simply a sequence of letters and numbers. The private key is another sequence of letters and numbers, but unlike your bitcoin address, this is kept secret.

Think of your bitcoin address as a safe deposit box with a glass front. Everyone knows what is in it, but only the private key can unlock it to take things out or put things in.

When Alice wants to send bitcoins to Bob, she uses her private key to sign a message with the input (the source transaction(s) of the coins), amount, and output (Bob’s address).

She then sends them from her bitcoin wallet out to the wider bitcoin network. From there, bitcoin miners verify the transaction, putting it into a transaction block and eventually solving it.

Why must I sometimes wait for my transaction to clear?

Because your transaction must be verified by miners, you are sometimes forced to wait until they have finished mining. The bitcoin protocol is set so that each block takes roughly 10 minutes to mine.

Some merchants may make you wait until this block has been confirmed, meaning that you may have to make a cup of coffee and come back again in a short while before you can download the digital goods or take advantage of the paid service.

On the other hand, some merchants won’t make you wait until the transaction has been confirmed. They effectively take a chance on you, assuming that you won’t try and spend the same bitcoins somewhere else before the transaction confirms. This often happens for low value transactions, where the risk of fraud isn’t as great.

What if the input and output amounts don’t match?

Because bitcoins exist only as records of transactions, you can end up with many different transactions tied to a particular bitcoin address. Perhaps Jane sent Alice two bitcoins, Philip sent her three bitcoins and Eve sent her a single bitcoin, all as separate transactions at separate times.

These are not automatically combined in Alice’s wallet to make one file containing six bitcoins. They simply sit there as different transaction records.

When Alice wants to send bitcoins to Bob, her wallet will try to use transaction records with different amounts that add up to the number of bitcoins that she wants to send Bob.

The chances are that when Alice wants to send bitcoins to Bob, she won’t have exactly the right number of bitcoins from other transactions. Perhaps she only wants to send 1.5 BTC to Bob.

None of the transactions that she has in her bitcoin address are for that amount, and none of them add up to that amount when combined. Alice can’t just split a transaction into smaller amounts. You can only spend the whole output of a transaction, rather than breaking it up into smaller amounts.

Instead, she will have to send one of the incoming transactions, and then the rest of the bitcoins will be returned to her as change.

Alice sends the two bitcoins that she got from Jane to Bob. Jane is the input, and Bob is the output. But the amount is only 1.5 BTC, because that is all she wants to send. So, her wallet automatically creates two outputs for her transaction: 1.5 BTC to Bob, and 0.5 BTC to a new address, which it created for Alice to hold her change from Bob.

Are there any transaction fees?

Sometimes, but not all the time.

Transaction fees are calculated using various factors. Some wallets let you set transaction fees manually. Any portion of a transaction that isn’t picked up by the recipient or returned as change is considered a fee. This then goes to the miner lucky enough to solve the transaction block as an extra reward.

Right now, many miners process transactions for no fees. As the block reward for bitcoins decreases, this will be less likely.

One of the frustrating things about transaction fees in the past was that the calculation of those fees was complex and arcane. It has been the result of several updates to the protocol, and has developed organically.

Updates to the core software handling bitcoin transactions will see it change the way that it handles transaction fees, instead estimating the lowest fee that will be accepted.

Can I get a receipt?

ReceiptBitcoin wasn’t really meant for receipts. Although there are changes coming in version 0.9 that will alter the way payments work, making them far more user-friendly and mature.

Payment processors like BitPay also provide the advanced features that you wouldn’t normally get with a native bitcoin transaction, such as receipts and order confirmation web pages.

What if I only want to send part of a bitcoin?

Bitcoin transactions are divisible. A satoshi is one hundred millionth of a bitcoin, and it is possible to send a transaction as small as 5430 satoshis on the bitcoin network.

Source:http://www.coindesk.com/information/how-do-bitcoin-transactions-work/

Sumant sinha

Posts : 9
Reputation : 0
Join date : 2017-04-15

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum