Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

Bitcoin style blockchain… I have party(node) A, B, C and algorithm X.

Algorithm X generates the first half of a target hash input - the "solution" to the problem. I want A, B and C to sign their submissions of random numbers to the network as part of the solution so the target hash looks something like:

(algorithm X generated string)(A's random number)(B's random number)(C's random number)

I'm just trying to salt the hash so that the network can't mine without consensus of a target.

Then I realized, nodes can still mine "ahead" and compare solved blocks retroactively.

For example: if A & B publicly announce their random bits, C generates their random bits, gets the new algorithm then starts mining… they can find the solution then publish their random bits to the network. A & B can start mining with the new algorithm but C already has the solution.

So these random numbers would need to go somewhere else, modifying the hashing algorithm? Does this even work?

How do I incentivize the last node to publicize their salt?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.