Pages:
Author

Topic: A simple bitcoin Q/A. Learn new and interesting stuff about bitcoin. - page 6. (Read 27371 times)

member
Activity: 364
Merit: 10
Question :  What is a cryptography nonce?
[/quote]

it's randomly generated number (block), which used to make sure that old generated communications cannot be reused.
newbie
Activity: 18
Merit: 0
A coinbase transaction is a special transaction that transfer new generated coins to a miner's wallet. It's the first transaction of a block.

Whoever solves the PoW puzzle faster creates a new block and receives it reward. This reward is a newly generated bitcoin, called coinbase.
Example:
https://blockchain.info/tx/451329336cfaa7896fb4aba504bb3acd9964fc27b3fe6bbbf05615d19df313a1


A regular transaction is any other transaction, which does not involve newly generated coins.
Example:
https://blockchain.info/tx/e038d1191d09eed13ef8e4d87f95b0e3499c63aaf7bc14001e099a4e5bf50172
You just got your 200th merit and good explanation.


Question :  What is a cryptography nonce?
In cryptography, a nonce is an arbitrary number that can only be used once. It is often a random or pseudo-random number issued in an authentication protocol to ensure that old communications cannot be reused in replay attacks.
copper member
Activity: 2380
Merit: 1302
Playbet.io - Crypto Casino and Sportsbook

Question :  What is a cryptography nonce?
Nonce is a term which is used for number used once. For cryptography nonce it might be randomly generated number which might block. As on bitcoin same block cant be generated multiple time. Thanks.
newbie
Activity: 54
Merit: 0

Question :  What is a cryptography nonce?


In security engineering, nonce is an abbreviation of "number used once". It is often a random or pseudo-random number issued in an authentication protocol to ensure that old communications cannot be reused in replay attacks. For instance, nonces are used in HTTP digest access authentication to calculate an MD5 digest of the password. The nonces are different each time that the 401 authentication challenge response code is presented, and each client request has a unique sequence number, thus making replay attacks and dictionary attacks virtually impossible.

 Cool
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
You just got your 200th merit and good explanation.

Thank you.  Cheesy
You gave me my first one also , when I didn't even knew what that was .
https://bitcointalksearch.org/topic/m.29953079
copper member
Activity: 1526
Merit: 2890
Question :  What is a cryptography nonce?
Cryptography nonce is a random number. Nonce is used in Cryptography/hashing to produce unique output that will only be used once, for example to authenticate user or to produce certain hash in case of hashing.

In case of cryptography it helps reduce chances of MITM (Man in the Middle)/Reply attacks. Let say Client A is talking to the Server and they are using hashing to verify any vulnerabilities of the messages and each message is hashed with nonce. Now if another Client B starts listing or sniffing the communication between Client A and Server, it will be able to get the hash (nonce+message). Now if client B try to reply same hash to the Server it will fail, because user B will not be able to produce same hash. That Hash (nonce+message) was for that one specific connection only. Remember Server is keeping track of nonce of the client.

Nonce in Bitcoin mining is used to generate a unique block hash. We know there are specific inputs to create hash, one of it is nonce. To produced required hash, nonce is added repeatedly until required hash pattern is produced. That specific nonce which produces required pattern (leading number of zeros) is called golden nonce.
full member
Activity: 406
Merit: 156



Question :  What is a cryptography nonce?
Cryptography nonce is an arbitrary/random/unplanned number that can't be used more than once (it's literally the same meaning as the nonce word in English ) .
This nonce is usually random (we can't figure it out through a pattern of steps/events ) or pseudo-random (seems random but is not , costs less to generate than a fully random number ) .
This nonce number is used in cryptography to ensure that old communications can't be reused and thus eliminating the risks of accessing to valuable informations through old communications . A nonce number also may include time (even better for security ) .
jr. member
Activity: 101
Merit: 3
Question :  What is the difference between a regular transaction and a coinbase transaction? Do explain the both type of transactions with or without any examples.
I think something that deserves to be mentioned is the difference between these two types of transactions from the financial point of view: when you realize a cryptocurrency transaction between two users of the coinbase platform you don't have to pay the blockchain/miner fees of regular wallet/wallet or coinbase/wallet transactions. This definitely makes a difference for those who make regular or large amount transfers.
legendary
Activity: 2383
Merit: 1551
dogs are cute.
A coinbase transaction is a special transaction that transfer new generated coins to a miner's wallet. It's the first transaction of a block.

Whoever solves the PoW puzzle faster creates a new block and receives it reward. This reward is a newly generated bitcoin, called coinbase.
Example:
https://blockchain.info/tx/451329336cfaa7896fb4aba504bb3acd9964fc27b3fe6bbbf05615d19df313a1


A regular transaction is any other transaction, which does not involve newly generated coins.
Example:
https://blockchain.info/tx/e038d1191d09eed13ef8e4d87f95b0e3499c63aaf7bc14001e099a4e5bf50172
You just got your 200th merit and good explanation.


Question :  What is a cryptography nonce?
hero member
Activity: 1274
Merit: 622
Question :  What is the difference between a regular transaction and a coinbase transaction? Do explain the both type of transactions with or without any examples.
A regular transaction has inputs (where the coins came from) and outputs (where the coins are going). A coinbase transaction has no inputs, because it is newly generated coins and has one or more outputs (where the miner wants the reward to go).
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
Question :  What is the difference between a regular transaction and a coinbase transaction? Do explain the both type of transactions with or without any examples.

A coinbase transaction is a special transaction that transfer new generated coins to a miner's wallet. It's the first transaction of a block.

Whoever solves the PoW puzzle faster creates a new block and receives it reward. This reward is a newly generated bitcoin, called coinbase.
Example:
https://blockchain.info/tx/451329336cfaa7896fb4aba504bb3acd9964fc27b3fe6bbbf05615d19df313a1


A regular transaction is any other transaction, which does not involve newly generated coins.
Example:
https://blockchain.info/tx/e038d1191d09eed13ef8e4d87f95b0e3499c63aaf7bc14001e099a4e5bf50172
sr. member
Activity: 318
Merit: 251
Question :  What is the difference between a regular transaction and a coinbase transaction? Do explain the both type of transactions with or without any examples.
I think the difference between a regular transaction and a coinbase transaction is on the Input. A coinbase transaction is a type of transaction that created by miners, It has not no inputs, In other hand, a regular transaction has a transaction input, output, and an amount of money.
legendary
Activity: 2383
Merit: 1551
dogs are cute.
Question :  What is the difference between a regular transaction and a coinbase transaction? Do explain the both type of transactions with or without any examples.
legendary
Activity: 2383
Merit: 1551
dogs are cute.
Well, they had to choose the use of one of the endian representation schemes because numerical data needs to be stored and manipulated in its binary form in the blockchain one way or another.

This comes from the fact that digital cryptography used in chain usually operates on the data in the bit level (binary form), so programmers needs to be aware of what kind of representation/storage scheme is being used so they can write algorithms that correctly manipulate the data.

Hope it helped!
Understood something, more than what I expected. Thank you.
i found some info about it

Understanding, Extracting, and Analyzing Blockchain Evidence Nick Furneaux ... of hexadecimal, you need understand a computing concept called Endianness.
Its not clear enough and it's very vague. But I do know that I need to understand and even learn what Endianness means.
jr. member
Activity: 101
Merit: 3
Quote
Why do they use Endian? I am worse than a noob at this,so do pardon me.
Well, they had to choose the use of one of the endian representation schemes because numerical data needs to be stored and manipulated in its binary form in the blockchain one way or another.

This comes from the fact that digital cryptography used in chain usually operates on the data in the bit level (binary form), so programmers needs to be aware of what kind of representation/storage scheme is being used so they can write algorithms that correctly manipulate the data.

Hope it helped!
jr. member
Activity: 294
Merit: 1
Question :  What is blockchain Endianness?
I came across this from a different website, I am looking for answers so that even I can learn.
i found some info about it

Understanding, Extracting, and Analyzing Blockchain Evidence Nick Furneaux ... of hexadecimal, you need understand a computing concept called Endianness.
member
Activity: 106
Merit: 14
Question :  What is blockchain Endianness?


When a new transaction is signed, it is broadcasted on the Bitcoin network. It will then be collected and recorded in a block. Each block, once constituted, will in turn be broadcasted.
All these messages are public and verifiable.
They make it possible to notify and therefore take to witness all the participants of the Bitcoin network on any new information that enriches the blockchain.
Messages are transferred over the network in a binary format, encoding numbers on 32 bits or 256 bits using the Little-Endian convention.
The Little-Endian convention sets the bytes from the lowest weight to the strongest weight, the Big-Endian convention sets the bytes from the strongest weight to the lowest weight.


For example the number 1 is represented in hexadecimal on 32 bits by 00000001 with the Big-Endian convention and 01000000 with the Little-Endian convention.

The number 1 on 32 bits with the Big-Endian convention:
 Byte 3 |  Byte 2 |  Byte 1 |  Byte 0
--------+---------+---------+--------
     00 |     00  |     00  |      01

The number 1 on 32 bits with the Little-Endian convention:
 Byte 0 |  Byte 1 |  Byte 2 |  Byte 3
--------+---------+---------+--------
     01 |      00 |      00 |      00
legendary
Activity: 2383
Merit: 1551
dogs are cute.
Are there competitions for Arabs?
This is not a competition,atleast not exactly. Anyone can answer questions here. And you did not even read the OP.
copper member
Activity: 1526
Merit: 2890
I understood a little,but what is its purpose,especially in blockchain? I don't know a lot/anything about it.
Well actually there is nothing specific related to blockchian it came into discussion because of bitcoin's block hashing algorithm SHA-256, however conventional microprocessors used little-endian notation like Intel-836 and other followed. Big-endian is become most common in internet-protocols IPv4 and IPv6 that's why it's also called network byte order.
legendary
Activity: 2383
Merit: 1551
dogs are cute.
That's like going back to uni class CS101, anyway

Endianness is ordering the bytes (or bits) in the memory, there two notations, big-endian (most significant bit) or or little-endian the (least significant bit).
So in simple words little-endian means saving the bits in reverse order.

Bitcoin use litte-endian notation.

Bitcoin is using SHA-256 algorithm for Block hashing -> it produces hash in little-endian (leading x number zeros)

For example ,this is the latest block Block #522238, below is hash and it is shown in big-endian notation:
Code:
Hash 0000000000000000001ea8f72b5af531257e061085973ff12cde30e882d57ce4

and in little-endian notation (Swap the bytes):
Code:
Hash e47cd528e830cd12ff3f978510067e2531f55a2bf7a81e000000000000000000
Please ignore any typo as I typed in reverse manually

Now why litte-endian for blockchain its arguable, there are computational advantages in using little-endian but on the bigger picture there is no difference.
I understood a little,but what is its purpose,especially in blockchain? I don't know a lot/anything about it.

As for : Why is little Endian  used in blockchain , well it's because the dev team chose to Cheesy , (*) -> and also because the majority of new generation computers use little Endian so that's why i consider it as an optimization .
Why do they use Endian? I am worse than a noob at this,so do pardon me.
Pages:
Jump to: