Post
Topic
Board Bitcoin Discussion
Merits 6 from 1 user
Re: Why Bitcoin can be tamper-proof
by
kxwhalexk
on 12/07/2021, 08:46:46 UTC
⭐ Merited by Welsh (6)
No it does not.
"Encryption" is when you have a message that only you know and turn it into an output that nobody can read or decrypt except the one with the private key.

What bitcoin uses is digital signatures using elliptic curves (ECDSA). In this scheme, everyone knows the message (ie. the transaction) and the public key and they everyone can verify that the produced signature is produced for that message from that key.
The first time I used Kleopatra, I couldn’t distinguish between signature and encryption. Now it seems that I reviewed the definition again.

Quote
This is also know how Asymmetric Encryption aka Public-Key Cryptography works either.
You encrypt messages using "public" key and the encrypted message can only be decrypted using the "private" key.
If you encrypt something with the private key that would be symetic cryptography because it will need the
private key to be decrypted again.
I have a question:
Code:
Three digits:
encryption
215(information)*91(Public key)=19565→Take the last three digits:565(Ciphertext)
Decrypt
565(Ciphertext)*11(Private key)=6215→Take the last three digits:215(information)

Four digits:
encryption
7777(information)*73(Public key)=567721→Take the last four digits:7721(Ciphertext)
Decrypt
7721(Ciphertext)*137(Private key)=1057777→Take the last three digits:7777(information)

Quote
This is NOT the transaction structure.
https://developer.bitcoin.org/devguide/transactions.html

I will read it again, thank you. It seems I found a good website

Quote
This is wrong.
The definition is in the name itself: blockchain which means it is not a tree but a chain.

Quote
There is no such thing as "blockchain network" there is only the temporary "memory" of nodes (each having its own) known as mempool where transactions reside until they are included in a block or become invalid (such as double spending). These transactions are unconfirmed and is the same in all cryptocurrencies relying on blockchain.
You are right, thank you

Quote
Wrong. The transaction is confirmed the moment the block containing that transaction is mined. Then it will have 1 confirmation. From that point the depth of this block increases as more blocks are built on top of it.
What you have in mind is "cost of reversing confirmed blocks" which increases exponentially with the depth.
Yes, the longest connection principle can increase the cost of evil

Quote
There is no fixed number of confirmations because it depends on a bunch of factors.
A tx with only 1 confirmation can be considered irreversible while in certain scenarios (network disturbance such as during a hard fork) more than 100 confirmation may be required.
Sure enough, the answers I get in this forum will be much more professional.
 Most of the books or webpages about blockchain I have seen before directly tell me to go through 6 blocks. It seems that this is not the case.


By the way, I have a relatively small code base. What do I need to do if I want to understand the source code of btc?Thanks