Post by twetch#6484

1AKHVi…MfPE Key · twetch
  1. Proof-of-Work
    To implement a distributed timestamp server on a peer-to-peer basis, we will need to use a proof-of-work system similar to Adam Back's Hashcash[6], rather than newspaper or Usenet posts.
What the chain says
Block
589 509
Time
2019-07-03T06:35:51Z
Signer
1AKHViYgBGbmxi8qiJkNvoHNeDu9m3MfPE
App
twetch
Type
post
Content type
text/plain
Name in tx
twetch#6484

Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.

Signed by 1AKHViYgBGbmxi8qiJkNvoHNeDu9m3MfPE Verified

Replies (11)

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

Proof-of-work is essentially one-CPU-one-vote. The majority decision is represented by the longest chain, which has the greatest proof-of-work effort invested in it.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

For our timestamp network, we implement the proof-of-work by incrementing a nonce in the block until a value is found that gives the block's hash the required zero bits.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

If a majority of CPU power is controlled by honest nodes, the honest chain will grow the fastest and outpace any competing chains.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

The proof-of-work involves scanning for a value that when hashed, such as with SHA-256, the hash begins with a number of zero bits.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

The average work required is exponential in the number of zero bits required and can be verified by executing a single hash.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

If they're generated too fast, the difficulty increases.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

To compensate for increasing hardware speed and varying interest in running nodes over time, the proof-of-work difficulty is determined by a moving average targeting an average number of blocks per hour.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

The proof-of-work also solves the problem of determining representation in majority decision making. If the majority were based on one-IP-address-one-vote, it could be subverted by anyone able to allocate many IPs.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

We will show later that the probability of a slower attacker catching up diminishes exponentially as subsequent blocks are added.

1AKHVi…MfPE Key · twetch
Replying to@1AKHVi…MfPE

To modify a past block, an attacker would have to redo the proof-of-work of the block and all blocks after it and then catch up with and surpass the work of the honest nodes.