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
0x3CC75842c62dA262c333ca74Da4978d023Ee8F55 |
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
73292986899aa9c2bd6234a43e83710d774bd1277ca64d19b2f9ecaceb58118a695394c7146c |
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
0x4d96dd166a0f096eca9961f2b855b738fedd64e3 | |
home: 0x5B729C1cBbf176A49F931A4105aF11E7B8F601A2 |
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
20a7096993db432888590d09759714be078c5c45bba58f6e63a164e81d5f49e73fbbe4bb10eb |
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
0xf50291114666904b23728D6776823ba3ECE59145 |
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
bDA2wmxsQ9TdYKdVCYpAW8dD4UANcjxnSL |
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
t1ZbiB9qq3uK3E8QWwL2FX3rMQupPEMfiFG |
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
fn verify<'a>(env: NifEnv<'a>, args: &[NifTerm<'a>]) -> NifResult<NifTerm<'a>> { | |
let block_number: u64 = try!(args[0].decode()); | |
let header_hash: &'a str = try!(args[1].decode()); | |
let nonce: u64 = try!(args[2].decode()); | |
let ethash = EthashManager::new(); | |
let result = ethash.compute_light(block_number, get_bytes_ref(header_hash), nonce); | |
Ok((atoms::ok(), result).encode(env)) | |
} |
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
fn verify<'a>(env: NifEnv<'a>, args: &[NifTerm<'a>]) -> NifResult<NifTerm<'a>> { | |
let block_number: u64 = try!(args[0].decode()); | |
let header_hash: &'a str = try!(args[1].decode()); | |
let nonce: u64 = try!(args[2].decode()); | |
let ethash = EthashManager::new(); | |
let result = ethash.compute_light(block_number, get_bytes_ref(header_hash), nonce); | |
Ok((atoms::ok(), result).encode(env)) | |
} |
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
error: linking with `cc` failed: exit code: 1 | |
| | |
= note: "cc" "-m64" "-L" "/Users/ssbb/.rustup/toolchains/1.17.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/ssbb/Workspace/pool/_build/dev/rustler_crates/ethash_bridge/debug/deps/ethash_bridge.0.o" "-o" "/Users/ssbb/Workspace/pool/_build/dev/rustler_crates/ethash_bridge/debug/deps/libethash_bridge.dylib" "/Users/ssbb/Workspace/pool/_build/dev/rustler_crates/ethash_bridge/debug/deps/ethash_bridge.crate.metadata.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/ssbb/Workspace/pool/_build/dev/rustler_crates/ethash_bridge/debug/deps" "-L" "/Users/ssbb/Workspace/pool/_build/dev/rustler_crates/ethash_bridge/debug/build/sha3-1eae2c971b047dee/out" "-L" "/Users/ssbb/Workspace/pool/_build/dev/rustler_crates/ethash_bridge/debug/build/rust-crypto-1726770e89591a2e/out" "-L" "/Users/ssbb/Workspace/pool/_build/dev/rustler_crates/ethash_bridge/debug/build/rocksdb-sys-b69a8359734b930d/out" "-L" "/Users/ssbb/Workspace/pool/_build/dev/rustler_crates/ethas |