Browse Source

Use internal API in GO bridge

- Also proper place of const in some C function signatures
cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
f786d231fc
  1. 2
      ethash.h
  2. 4
      internal.c
  3. 2
      internal.h

2
ethash.h

@ -88,7 +88,7 @@ void ethash_light_delete(ethash_light_t light);
*/
ethash_return_value_t ethash_light_compute(
ethash_light_t light,
const ethash_h256_t header_hash,
ethash_h256_t const header_hash,
uint64_t nonce
);

4
internal.c

@ -332,7 +332,7 @@ bool ethash_light_compute_internal(
ethash_return_value_t* ret,
ethash_light_t light,
uint64_t full_size,
const ethash_h256_t header_hash,
ethash_h256_t const header_hash,
uint64_t nonce
)
{
@ -349,7 +349,7 @@ bool ethash_light_compute_internal(
ethash_return_value_t ethash_light_compute(
ethash_light_t light,
const ethash_h256_t header_hash,
ethash_h256_t const header_hash,
uint64_t const nonce
)
{

2
internal.h

@ -101,7 +101,7 @@ bool ethash_light_compute_internal(
ethash_return_value_t* ret,
ethash_light_t light,
uint64_t full_size,
const ethash_h256_t header_hash,
ethash_h256_t const header_hash,
uint64_t const nonce
);

Loading…
Cancel
Save