2 ms·
I guess that depends how you define it. The only thing it's doing is taking transactions as input, along with a random number, and hashing them. It's just that
by DennisP 14y ago
I guess that depends how you define it. The only thing it's doing is taking transactions as input, along with a random number, and hashing them. It's just that the result is required to have a certain number of zeros to be considered valid, so you have to do it over and over again with different random numbers.
If you didn't require a difficult computation, anyone could compute a different order of transactions and it would look just as valid. Easier hashing would not accomplish the goal of making a universally-agreed-upon transaction order.
- Dylan16807 14y agoThat's why I said you can slot in any proof of work. Anything slow to do but quick to verify will suffice.
- DennisP 14y agoAny proof of work with bitcoin transactions as the input will suffice. Generating similar hashes of, say, public astronomical data, wouldn't do the job at all.
- Dylan16807 14y agoYou only need to feed in a handful of bytes of bitcoin data. One fake star, or slight perturbations of water molecules in frame 0 of a simulation, would be enough. The problem is that it's difficult to make an algorithm that is both proof of work and actually useful for something.