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?