Blockchain and Bitcoin

574 views 4 replies
Reply to Topic
JessicaMarshall

Age: 2023
Total Posts: 36
Points: 10

Location:
,
I am watching this fascinating video about what is really happening under the hood of Bitcoin ( https://www.youtube.com/watch?v=bBC-nXj3Ng4 ).

Please correct me if any of my details are incorrect, they are probably a little vague, I am just as much as I have been lately trying to understand the premise behind btc.

At the beginning (of the video), he explains how everyone keeps an accounting book, this book contains every transaction. For example, Alice is playing with Bob 0.005 btc, but how do we know that this is a legitimate payment? Maybe Bob added this line to the ledger, to get around this, you need to add a digital signature at the end of the transaction. Each person has a pair of private and public keys. If Alice really wants to pay Bob 0.005 btc, she will conduct a transaction and her private key through a function that will create a digital signature, this signature can be verified by placing Alice's message, signature and public key in the function, if the function returns true, then we know that Alice really intends to pay Bob 0.005 btc. But what prevents Bob from just copying and pasting this line several times? Well, each transaction will have a unique identifier, so the signature will actually consist of the transaction ID, the transaction, and Alice's private key (this is obviously what Alice does). Each user on the network verifies this transaction using Alice's public key, transaction ID, transaction (message) and signature. A transaction is added to separate ledgers if the function that verifies the transaction returns true. No accounting book can have the same digital signature twice.

Okay, that's not exactly what's happening, it's a harbinger, if anything. What actually happens is that each participant of the bitcoin network has a so-called blockchain, this blockchain is a chain of accounting books, each block obviously contains transactions that are confirmed. Blocks are created by miners, blocks containing several transactions are created, the hash / digest of each block must start with a certain number of zeros (they alternate, but let's just imagine that it's 30 for simplicity). By hashing a block of transactions with the hash of the previous block, as well as a special number, it then looks for a hash that starts with 30 zeros, the miner hashes the hash of the previous blocks and transactions with the number, if the hash starts with 30 consecutive zeros, this means that we have found the correct number, and the block is broadcast to every node in the network. The minor also receives a reward.

The chances of finding this special number that gives a hash starting with 30 zeros are 1/(2^30), so each miner basically plays a lottery to try to solve this calculation first( it probably helps to have high-performance GPUs, etc.). When a block is found, it is broadcast to all participants of the bitcoin network, who then add it to their respective chains.

So my next questions are as follows.

How many transactions are there in one block?

When a transaction is made, does the person sending bitcoin to another participant transfer the transaction to the miners? And how does the miner (s) verify that the transaction he / they received is legitimate? (I assume that this has something to do with the digital signatures that I put in the beginning)

From what I can tell, the transaction fee will give the miner more incentive to include this transaction in the block, so if a person decided to pay a higher transaction fee, it means that they have a better chance of being included in this block, hence their transaction will be executed faster, right?

To develop the above question, does each miner receive all transactions? Is it possible that one miner may not receive a certain transaction ( with a high priority ) and solve the calculation without including this transaction in the block? and will this transaction be lost??

And, to further develop the above, how are transactions queued? I mean, how does the blockchain guarantee that no transaction will be lost?

So yes, it can be a long thread :)

Posted 03 Aug 2021

I don't know any of this.
But I'm interested in it ... I read about this a long time ago, if you control enough hardware, you can forge transactions:

see how a hacker with a large number of computers can spend the same money several times, for example!

There's a lot of information out there about how it works... but the entire transaction history and the design of the majority agreement seem suspicious (read, someone will steal a lot of money someday).

Posted 03 Aug 2021

This is very true, in the video they mention that a node/participant can actually forge a block. So that they can add a transaction of one node sending them btc, which (in fact, steals from them), and look for a hash that starts with, say, 30 zeros, this attacker will send this block only to the right node from which he / she intends to steal. But this is almost impossible to do, since the attacker not only has to develop the correct hash ( in our example, 1/(2^30)), but I also have to do this before every miner. If the participant is right, there is a concept called computational work, when the recipient (in this case, the victim) waits for a couple of blocks before accepting the blocks as legitimate. Thus, the probability that an attacker will guess 6-7 blocks earlier than all miners will do it will be astronomically small.
Posted 03 Aug 2021

Who didn't know? Blockchain is the latest technology, the interest in which has grown along with the popularity of cryptocurrencies. Today it is widely discussed not only in the world of finance. Blockchain is already being used to store and process personal data and identification in marketing and computer games. Blockchain is also called distributed ledger technology because the entire chain of transactions and the current list of owners are stored on their computers by many independent users. Even if one or more computers fail, the information is not lost. I learned about this from Crypto Trading Signal Services.
Posted 03 Aug 2021

Blockchain and Bitcoin are two words that you will be hearing a lot more often. Blockchain is the future of currency, but what does it mean for your business? What should you do to prepare for this change? We'll take a look at blockchain's impact on current methods of payment, how it works, and steps to help your company prepare. For more live updates about Bitcoin & Blockchain click the website 
Posted 10 Dec 2021

Reply to Topic