Score:0

What hash structure is Facebook Diem using?

am flag

Some cryptocurrencies use fixed values in some positions in the resulting hash, like a fixed amount of initial zeros. What fixed positions and fixed values are Facebook Diem using?

Ievgeni avatar
cn flag
Are you speaking about proof-of-work?
am flag
I wan't to know more about how secure it is. The more fixed values the less variation and less security in the algorithm.
am flag
@Ievgeni Yes this is what is commonly called proof-of-work. I am interested in general how proof-of-work limits the hash function.
jjj avatar
cn flag
jjj
Actually the leading zeros are more of a side-effect. Mostly it's just that the hash value must be less than a specific value (like $2^{256}/difficulty$). Of course that results in the first digits beeing zero. (but allows for smoother steps)
Score:1
cn flag

As far as I understood, you are speaking about proof-of-work. But contrarily to what your question said :

Some Crypto currencies use fixed values in some positions in the resulting hash.

It corresponds to proof-of-work. The idea is the following, to guarantee that people which valid a transaction are "real", the have to solve a puzzle, which is basically a preimage of $\{0\}^\lambda\times\{0,1\}^{256-\lambda}$ for a specific hash function (parametrized by the transaction) (you can look this to have more precision : Complexity of Hash mining/signing)

But not all the cryptocurrency are using proof-of-work. And in particular, as far as I understood it's not the case for DIEM

Citation in the white-paper: "Second, this class of consensus protocols enables high transaction throughput, low latency, and a more energy-efficient approach to consensus than “proof of work” "

Link : https://www.diem.com/en-us/white-paper/#the-libra-blockchain

Citation in "The Libra Blockchain" paper:

"To do this, we plan to gradually transition to a proof-of-stake":

https://diem-developers-components.netlify.app/papers/the-diem-blockchain/2020-05-26.pdf

am flag
The second link does not point to a page anymore.
Ievgeni avatar
cn flag
@DavidJonsson I didn't find anymore the whitepaper. But I've added another relevant link.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.