Created
February 14, 2017 07:52
-
-
Save yaronvel/4d913677c885a3ff42581e69f68690f3 to your computer and use it in GitHub Desktop.
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
| epoch_params = [ ethash_cache_root, cache_number_of_elements, branch_depth, epoch ] | |
| #where branch_depth was 24 in previous example | |
| #epoch = block_number / 30000 | |
| ################################################################################## | |
| submit_claim_params = [ num_shares, difficutly, min_counter, max_counter, aug_merkle_root ] | |
| # min, max and root are 128 bits integers | |
| ################################################################################## | |
| verify_claim_params = [ rlp_header, nonce, share_index, 64_cache_elements, cache_branch, aug_tree_counters_branch, aug_tree_hashes_branch ] | |
| # array inputs should be within [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment