Export verify_proof/4 and add get_target/2 #25

Merged
zxq9 merged 1 commits from add-new-functions into master 2019-03-12 22:31:40 +09:00
zxq9 commented 2019-03-12 14:35:04 +09:00 (Migrated from gitlab.com)

Created by: jur0

Must be merged after #7

verify_proof/4 checks that a solution is a valid solution it doesn't check it against any target.

get_target/2 returns the target of a solution in integer form (not scientific).

Both functions are needed in Stratum.

*Created by: jur0* Must be merged after #7 `verify_proof/4` checks that a solution is a valid solution it doesn't check it against any target. `get_target/2` returns the target of a solution in integer form (not scientific). Both functions are needed in Stratum.
zxq9 commented 2019-03-12 21:16:18 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Review: Approved

*Created by: hanssv* **Review:** Approved
zxq9 commented 2019-03-12 22:30:48 +09:00 (Migrated from gitlab.com)

Created by: sennui

Review: Approved

*Created by: sennui* **Review:** Approved
zxq9 commented 2019-03-12 22:31:40 +09:00 (Migrated from gitlab.com)

Merged by: jur0 at 2019-03-12 13:31:40 UTC

*Merged by: jur0 at 2019-03-12 13:31:40 UTC*
Sign in to join this conversation.
No description provided.