Created
June 15, 2018 22:12
-
-
Save jamescoxon/959380a2c5b6c5607d7b43ad37c196c2 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
| from bitstring import BitArray | |
| import ctypes | |
| library_name = "librai_lib.dylib" | |
| librai = ctypes.CDLL(library_name) | |
| print("Calculating PoW") | |
| work = librai.xrb_work(b"FC5A7FB777110A858052468D448B2DF22B648943C097C0608D1E2341007438B0") | |
| print(work) | |
| print(hex(work)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment