Skip to content

Commit

Permalink
Work version concept (#2569)
Browse files Browse the repository at this point in the history
Adds nano::work_version which is passed to all work_generate and work_validate methods (except for tests, ensured with an assert).

The functional changes are quite minimal, as every caller defaults to the only work version available (work_1):

- RPC work_generate, work_validate and block_create can receive an optional "work_version"
- The work websocket outputs the work version

These changes constitute the pipeline necessary for conditional work validation.
  • Loading branch information
guilhermelawless committed Feb 19, 2020
1 parent eb5febf commit 90d4e43
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 90d4e43

Please sign in to comment.