Last active
November 22, 2017 22:14
-
-
Save alexwaters/4ead33548f9ea155ad64ccd82e4afb0c to your computer and use it in GitHub Desktop.
Alternative PoW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This sytem uses several variables: | |
current_puzzle | |
next_puzzle | |
OP_PUZZLE | |
n, k | |
n k should be defined better to be delta blockheight function output check | |
current_puzzle = n(sha256) | |
next_puzzle = n + 1(sha256) | |
For Bitcoin 11/14/17 n = 2 | |
A miner can specify OP_PUZZLE = 0 || 1 in their coinbase script | |
If OP_PUZZLE == 1: the next valid block must be constructed using next_puzzle (3xsha256) | |
If OP_PUZZLE == 0: the next valid block must be constructed using current_puzzle (2xsha256) | |
If {sum OP_PUZZLE for k-blocks == 30,240 where k = 21,168: n + 1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment