N
N
noob11112016-10-21 16:29:36
bitcoin
noob1111, 2016-10-21 16:29:36

General description of PoW blockchain algorithm?

can the chain of blocks be considered as an acyclic graph?
where, in order to add the next node (block), it is necessary to solve some computationally complex problem, which can be written in general form as follows . It is
necessary to choose a value of x that satisfies:
H(x) ≤y, where y is some fixed number.
for bitcoin, this formula seems to be suitable:
SHA256(SHA256(H)) < targethash , sorting through the nonce values, you need to choose such a header to fulfill this condition.
for Ethereum too:
PoW(Hn, nrand ,d) ≤2^256/H_d
what about other PoW algorithms? do they fit that description?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Tikhonov, 2016-10-22
@polym0rph

In general, yes. Only there are much more variables than just a nonce. And the set of transactions is constantly changing, both nTime and extraNonce.
PoW algorithms are usually similar to each other. Just a task that cannot be solved more optimally than by brute force. Required to prove the work expended.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question