Search content
Sort by

Showing 20 of 56 results by lhedwin
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] ZillionCoin (ZLN) - new ZillionFLUX CPU Mining algo released July 2018
by
lhedwin
on 29/09/2018, 14:12:50 UTC
i did a compilation on ubuntu server 17.04 and got no errors. but how do i run the deamon or the miner?

you run the daemon by doing a

Code:
./zillioncoind &

but first you need to create a proper zillioncoin.conf file:

Code:
rpcuser=someuser
rpcpassword=somepassword
daemon=1
server=1
gen=1
genproclimit=-1

if you want to mine to a specific address, add this to the conf file too:

Code:
miningprivkey=

Thank you... i am working on it.
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] ZillionCoin (ZLN) - new ZillionFLUX CPU Mining algo released July 2018
by
lhedwin
on 28/09/2018, 16:26:38 UTC
i got this error when i run make -f makefile.unix:
makefile.unix:192: recipe for target 'obj/checkpoints.o' failed
make: *** [obj/checkpoints.o] Error 1

on what system are you compiling?

And what is the Error that got posted (scroll up to see the actual error mentioned, what you posted is just the end-summary),
I need more info to help.

Compiling on ubuntu 18.04 desktop
Code:
D_FORTIFY_SOURCE=2 -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h:51:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
class CBigNum : public BIGNUM
^~~~~~
In file included from /usr/include/openssl/bn.h:32:0,
from bignum.h:10,
from main.h:8,
from checkpoints.cpp:10:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
typedef struct bignum_st BIGNUM;
^~~~~~~~~
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h: In constructor ‘CBigNum::CBigNum()’:
bignum.h:56:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
bignum.h:56:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
bignum.h:61:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
bignum.h:61:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
bignum.h:62:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
if (!BN_copy(this, &b))
^
bignum.h:64:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
bignum.h:71:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
if (!BN_copy(this, &b))
^
bignum.h: In destructor ‘CBigNum::~CBigNum()’:
bignum.h:78:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
bignum.h:82:35: error: ‘BN_init’ was not declared in this scope
CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
bignum.h:82:35: note: suggested alternative: ‘BN_print’
CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
bignum.h:83:35: error: ‘BN_init’ was not declared in this scope
CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
bignum.h:83:35: note: suggested alternative: ‘BN_print’
CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
bignum.h:84:35: error: ‘BN_init’ was not declared in this scope
CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
bignum.h:84:35: note: suggested alternative: ‘BN_print’
CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(long int)’:
bignum.h:85:35: error: ‘BN_init’ was not declared in this scope
CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
bignum.h:85:35: note: suggested alternative: ‘BN_print’
CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(int64)’:
bignum.h:86:35: error: ‘BN_init’ was not declared in this scope
CBigNum(int64 n) { BN_init(this); setint64(n); }
^~~~~~~
bignum.h:86:35: note: suggested alternative: ‘BN_print’
CBigNum(int64 n) { BN_init(this); setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
bignum.h:87:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^~~~~~~
bignum.h:87:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
bignum.h:88:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^~~~~~~
bignum.h:88:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
bignum.h:89:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^~~~~~~
bignum.h:89:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
bignum.h:90:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^~~~~~~
bignum.h:90:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(uint64)’:
bignum.h:91:35: error: ‘BN_init’ was not declared in this scope
CBigNum(uint64 n) { BN_init(this); setuint64(n); }
^~~~~~~
bignum.h:91:35: note: suggested alternative: ‘BN_print’
CBigNum(uint64 n) { BN_init(this); setuint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
bignum.h:92:35: error: ‘BN_init’ was not declared in this scope
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^~~~~~~
bignum.h:92:35: note: suggested alternative: ‘BN_print’
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector&)’:
bignum.h:96:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
bignum.h:96:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
bignum.h:102:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
if (!BN_set_word(this, n))
^
bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
bignum.h:108:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
return BN_get_word(this);
^
bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
bignum.h:113:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
return BN_get_word(this);
^
bignum.h: In member function ‘int CBigNum::getint() const’:
bignum.h:118:43: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
unsigned long n = BN_get_word(this);
^
bignum.h:119:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
if (!BN_is_negative(this))
^
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h: In member function ‘void CBigNum::setint64(int64)’:
bignum.h:167:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function ‘void CBigNum::setuint64(uint64)’:
bignum.h:194:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
bignum.h:222:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function ‘uint256 CBigNum::getuint256() const’:
bignum.h:227:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
unsigned int nSize = BN_bn2mpi(this, NULL);
^
bignum.h:231:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
BN_bn2mpi(this, &vch[0]);
^
bignum.h: In member function ‘void CBigNum::setvch(const std::vector&)’:
bignum.h:252:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(&vch2[0], vch2.size(), this);
^
bignum.h: In member function ‘std::vector CBigNum::getvch() const’:
bignum.h:257:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
unsigned int nSize = BN_bn2mpi(this, NULL);
^
bignum.h:261:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
BN_bn2mpi(this, &vch[0]);
^
bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
bignum.h:297:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
BN_set_word(this, nWord);
^
bignum.h:301:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
BN_set_word(this, nWord);
^
bignum.h:302:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
BN_lshift(this, this, 8*(nSize-3));
^
bignum.h:304:40: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
BN_set_negative(this, fNegative);
^
In file included from bignum.h:10:0,
from main.h:8,
from checkpoints.cpp:10:
bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
bignum.h:310:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM*)’
unsigned int nSize = BN_num_bytes(this);
^
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h:313:40: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
nCompact = BN_get_word(this) << 8*(3-nSize);
^
bignum.h:317:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
BN_rshift(&bn, this, 8*(nSize-3));
^
bignum.h:318:39: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
nCompact = BN_get_word(&bn);
^
bignum.h:328:41: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
nCompact |= (BN_is_negative(this) ? 0x00800000 : 0);
^
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
bignum.h:369:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
BN_set_negative(&bn, false);
^
bignum.h:372:29: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
if (BN_cmp(&bn, &bn0) == 0)
^
bignum.h:374:32: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
while (BN_cmp(&bn, &bn0) > 0)
^
bignum.h:376:54: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_div(&dv, &rem, &bn, &bnBase, pctx))
^
bignum.h:382:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
if (BN_is_negative(this))
^
bignum.h: In member function ‘bool CBigNum::operator!() const’:
bignum.h:415:31: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_zero(const BIGNUM*)’
return BN_is_zero(this);
^
bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
bignum.h:420:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_add(this, this, &b))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
bignum.h:434:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mul(this, this, &b, pctx))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
bignum.h:453:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
if (!BN_lshift(this, this, shift))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
bignum.h:464:28: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
if (BN_cmp(&a, this) > 0)
^
bignum.h:470:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
if (!BN_rshift(this, this, shift))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
bignum.h:479:47: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_add(this, this, BN_value_one()))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
bignum.h:496:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_sub(&r, this, BN_value_one()))
^
bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
bignum.h:521:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_add(&r, &a, &b))
^
bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
bignum.h:529:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_sub(&r, &a, &b))
^
bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
bignum.h:537:43: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
BN_set_negative(&r, !BN_is_negative(&r));
^
bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
bignum.h:545:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mul(&r, &a, &b, pctx))
^
bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
bignum.h:554:39: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_div(&r, NULL, &a, &b, pctx))
^
In file included from bignum.h:10:0,
from main.h:8,
from checkpoints.cpp:10:
bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
bignum.h:563:10: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘2’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod(&r, &a, &b, pctx))
^
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
bignum.h:571:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
if (!BN_lshift(&r, &a, shift))
^
bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
bignum.h:583:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
^
bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
bignum.h:584:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
^
bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
bignum.h:585:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
^
bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
bignum.h:586:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
^
bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
bignum.h:587:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); }
^
bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
bignum.h:588:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
^
In file included from main.h:13:0,
from checkpoints.cpp:10:
base58.h: In function ‘std::__cxx11::string EncodeBase58(const unsigned char*, const unsigned char*)’:
base58.h:53:48: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_div(&dv, &rem, &bn, &bn58, pctx))
^
base58.h: In function ‘bool DecodeBase58(const char*, std::vector&)’:
base58.h:100:42: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mul(&bn, &bn, &bn58, pctx))
^
checkpoints.cpp: In function ‘double Checkpoints::GuessVerificationProgress(CBlockIndex*)’:
checkpoints.cpp:92:15: warning: unused variable ‘nNow’ [-Wunused-variable]
int64 nNow = time(NULL);
^~~~
checkpoints.cpp:94:16: warning: unused variable ‘fWorkBefore’ [-Wunused-variable]
double fWorkBefore = 0.0; // Amount of work done before pindex
^~~~~~~~~~~
checkpoints.cpp:95:16: warning: unused variable ‘fWorkAfter’ [-Wunused-variable]
double fWorkAfter = 0.0; // Amount of work left after pindex (estimated)
^~~~~~~~~~
In file included from checkpoints.cpp:10:0:
main.h: At global scope:
main.h:80:12: warning: ‘int MAX_ORPHAN_TRANSACTIONS_FOR_HEIGHT(int)’ defined but not used [-Wunused-function]
static int MAX_ORPHAN_TRANSACTIONS_FOR_HEIGHT(int height){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:71:12: warning: ‘int MAX_BLOCK_SIGOPS_FOR_HEIGHT(int)’ defined but not used [-Wunused-function]
static int MAX_BLOCK_SIGOPS_FOR_HEIGHT(int height){
^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:62:12: warning: ‘int MAX_BLOCK_SIZE_GEN_FOR_HEIGHT(int)’ defined but not used [-Wunused-function]
static int MAX_BLOCK_SIZE_GEN_FOR_HEIGHT(int height){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:53:12: warning: ‘int MAX_BLOCK_SIZE_FOR_HEIGHT(int)’ defined but not used [-Wunused-function]
static int MAX_BLOCK_SIZE_FOR_HEIGHT(int height){
^~~~~~~~~~~~~~~~~~~~~~~~~
makefile.unix:192: recipe for target 'obj/checkpoints.o' failed
make: *** [obj/checkpoints.o] Error 1




i did a compilation on ubuntu server 17.04 and got no errors. but how do i run the deamon or the miner?
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] ZillionCoin (ZLN) - new ZillionFLUX CPU Mining algo released July 2018
by
lhedwin
on 28/09/2018, 15:17:13 UTC
i got this error when i run make -f makefile.unix:
makefile.unix:192: recipe for target 'obj/checkpoints.o' failed
make: *** [obj/checkpoints.o] Error 1

on what system are you compiling?

And what is the Error that got posted (scroll up to see the actual error mentioned, what you posted is just the end-summary),
I need more info to help.

Compiling on ubuntu 18.04 desktop
Code:
D_FORTIFY_SOURCE=2 -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h:51:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
class CBigNum : public BIGNUM
^~~~~~
In file included from /usr/include/openssl/bn.h:32:0,
from bignum.h:10,
from main.h:8,
from checkpoints.cpp:10:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
typedef struct bignum_st BIGNUM;
^~~~~~~~~
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h: In constructor ‘CBigNum::CBigNum()’:
bignum.h:56:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
bignum.h:56:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
bignum.h:61:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
bignum.h:61:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
bignum.h:62:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
if (!BN_copy(this, &b))
^
bignum.h:64:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
bignum.h:71:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
if (!BN_copy(this, &b))
^
bignum.h: In destructor ‘CBigNum::~CBigNum()’:
bignum.h:78:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
bignum.h:82:35: error: ‘BN_init’ was not declared in this scope
CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
bignum.h:82:35: note: suggested alternative: ‘BN_print’
CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
bignum.h:83:35: error: ‘BN_init’ was not declared in this scope
CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
bignum.h:83:35: note: suggested alternative: ‘BN_print’
CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
bignum.h:84:35: error: ‘BN_init’ was not declared in this scope
CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
bignum.h:84:35: note: suggested alternative: ‘BN_print’
CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(long int)’:
bignum.h:85:35: error: ‘BN_init’ was not declared in this scope
CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
bignum.h:85:35: note: suggested alternative: ‘BN_print’
CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(int64)’:
bignum.h:86:35: error: ‘BN_init’ was not declared in this scope
CBigNum(int64 n) { BN_init(this); setint64(n); }
^~~~~~~
bignum.h:86:35: note: suggested alternative: ‘BN_print’
CBigNum(int64 n) { BN_init(this); setint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
bignum.h:87:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^~~~~~~
bignum.h:87:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
bignum.h:88:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^~~~~~~
bignum.h:88:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
bignum.h:89:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^~~~~~~
bignum.h:89:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
bignum.h:90:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^~~~~~~
bignum.h:90:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(uint64)’:
bignum.h:91:35: error: ‘BN_init’ was not declared in this scope
CBigNum(uint64 n) { BN_init(this); setuint64(n); }
^~~~~~~
bignum.h:91:35: note: suggested alternative: ‘BN_print’
CBigNum(uint64 n) { BN_init(this); setuint64(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
bignum.h:92:35: error: ‘BN_init’ was not declared in this scope
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^~~~~~~
bignum.h:92:35: note: suggested alternative: ‘BN_print’
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^~~~~~~
BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector&)’:
bignum.h:96:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
bignum.h:96:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
bignum.h:102:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
if (!BN_set_word(this, n))
^
bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
bignum.h:108:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
return BN_get_word(this);
^
bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
bignum.h:113:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
return BN_get_word(this);
^
bignum.h: In member function ‘int CBigNum::getint() const’:
bignum.h:118:43: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
unsigned long n = BN_get_word(this);
^
bignum.h:119:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
if (!BN_is_negative(this))
^
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h: In member function ‘void CBigNum::setint64(int64)’:
bignum.h:167:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function ‘void CBigNum::setuint64(uint64)’:
bignum.h:194:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
bignum.h:222:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, p - pch, this);
^
bignum.h: In member function ‘uint256 CBigNum::getuint256() const’:
bignum.h:227:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
unsigned int nSize = BN_bn2mpi(this, NULL);
^
bignum.h:231:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
BN_bn2mpi(this, &vch[0]);
^
bignum.h: In member function ‘void CBigNum::setvch(const std::vector&)’:
bignum.h:252:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(&vch2[0], vch2.size(), this);
^
bignum.h: In member function ‘std::vector CBigNum::getvch() const’:
bignum.h:257:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
unsigned int nSize = BN_bn2mpi(this, NULL);
^
bignum.h:261:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
BN_bn2mpi(this, &vch[0]);
^
bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
bignum.h:297:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
BN_set_word(this, nWord);
^
bignum.h:301:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
BN_set_word(this, nWord);
^
bignum.h:302:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
BN_lshift(this, this, 8*(nSize-3));
^
bignum.h:304:40: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
BN_set_negative(this, fNegative);
^
In file included from bignum.h:10:0,
from main.h:8,
from checkpoints.cpp:10:
bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
bignum.h:310:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM*)’
unsigned int nSize = BN_num_bytes(this);
^
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h:313:40: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
nCompact = BN_get_word(this) << 8*(3-nSize);
^
bignum.h:317:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
BN_rshift(&bn, this, 8*(nSize-3));
^
bignum.h:318:39: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
nCompact = BN_get_word(&bn);
^
bignum.h:328:41: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
nCompact |= (BN_is_negative(this) ? 0x00800000 : 0);
^
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
bignum.h:369:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
BN_set_negative(&bn, false);
^
bignum.h:372:29: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
if (BN_cmp(&bn, &bn0) == 0)
^
bignum.h:374:32: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
while (BN_cmp(&bn, &bn0) > 0)
^
bignum.h:376:54: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_div(&dv, &rem, &bn, &bnBase, pctx))
^
bignum.h:382:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
if (BN_is_negative(this))
^
bignum.h: In member function ‘bool CBigNum::operator!() const’:
bignum.h:415:31: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_zero(const BIGNUM*)’
return BN_is_zero(this);
^
bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
bignum.h:420:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_add(this, this, &b))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
bignum.h:434:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mul(this, this, &b, pctx))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
bignum.h:453:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
if (!BN_lshift(this, this, shift))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
bignum.h:464:28: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
if (BN_cmp(&a, this) > 0)
^
bignum.h:470:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
if (!BN_rshift(this, this, shift))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
bignum.h:479:47: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_add(this, this, BN_value_one()))
^
bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
bignum.h:496:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_sub(&r, this, BN_value_one()))
^
bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
bignum.h:521:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_add(&r, &a, &b))
^
bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
bignum.h:529:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
if (!BN_sub(&r, &a, &b))
^
bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
bignum.h:537:43: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
BN_set_negative(&r, !BN_is_negative(&r));
^
bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
bignum.h:545:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mul(&r, &a, &b, pctx))
^
bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
bignum.h:554:39: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_div(&r, NULL, &a, &b, pctx))
^
In file included from bignum.h:10:0,
from main.h:8,
from checkpoints.cpp:10:
bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
bignum.h:563:10: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘2’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod(&r, &a, &b, pctx))
^
In file included from main.h:8:0,
from checkpoints.cpp:10:
bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
bignum.h:571:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
if (!BN_lshift(&r, &a, shift))
^
bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
bignum.h:583:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
^
bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
bignum.h:584:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
^
bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
bignum.h:585:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
^
bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
bignum.h:586:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
^
bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
bignum.h:587:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); }
^
bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
bignum.h:588:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
^
In file included from main.h:13:0,
from checkpoints.cpp:10:
base58.h: In function ‘std::__cxx11::string EncodeBase58(const unsigned char*, const unsigned char*)’:
base58.h:53:48: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_div(&dv, &rem, &bn, &bn58, pctx))
^
base58.h: In function ‘bool DecodeBase58(const char*, std::vector&)’:
base58.h:100:42: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mul(&bn, &bn, &bn58, pctx))
^
checkpoints.cpp: In function ‘double Checkpoints::GuessVerificationProgress(CBlockIndex*)’:
checkpoints.cpp:92:15: warning: unused variable ‘nNow’ [-Wunused-variable]
int64 nNow = time(NULL);
^~~~
checkpoints.cpp:94:16: warning: unused variable ‘fWorkBefore’ [-Wunused-variable]
double fWorkBefore = 0.0; // Amount of work done before pindex
^~~~~~~~~~~
checkpoints.cpp:95:16: warning: unused variable ‘fWorkAfter’ [-Wunused-variable]
double fWorkAfter = 0.0; // Amount of work left after pindex (estimated)
^~~~~~~~~~
In file included from checkpoints.cpp:10:0:
main.h: At global scope:
main.h:80:12: warning: ‘int MAX_ORPHAN_TRANSACTIONS_FOR_HEIGHT(int)’ defined but not used [-Wunused-function]
static int MAX_ORPHAN_TRANSACTIONS_FOR_HEIGHT(int height){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:71:12: warning: ‘int MAX_BLOCK_SIGOPS_FOR_HEIGHT(int)’ defined but not used [-Wunused-function]
static int MAX_BLOCK_SIGOPS_FOR_HEIGHT(int height){
^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:62:12: warning: ‘int MAX_BLOCK_SIZE_GEN_FOR_HEIGHT(int)’ defined but not used [-Wunused-function]
static int MAX_BLOCK_SIZE_GEN_FOR_HEIGHT(int height){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.h:53:12: warning: ‘int MAX_BLOCK_SIZE_FOR_HEIGHT(int)’ defined but not used [-Wunused-function]
static int MAX_BLOCK_SIZE_FOR_HEIGHT(int height){
^~~~~~~~~~~~~~~~~~~~~~~~~
makefile.unix:192: recipe for target 'obj/checkpoints.o' failed
make: *** [obj/checkpoints.o] Error 1


Post
Topic
Board Announcements (Altcoins)
Re: [ANN] ZillionCoin (ZLN) - new ZillionFLUX CPU Mining algo released TODAY!!
by
lhedwin
on 28/09/2018, 14:52:24 UTC
new release with fork is ready:

https://github.com/zillioncoin/zillioncoin/releases/tag/v0.9.19.1

(working on linux versions)

How can i run this wallet on ubuntu desktop?
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] ZillionCoin (ZLN) - new ZillionFLUX CPU Mining algo released July 2018
by
lhedwin
on 28/09/2018, 14:27:21 UTC
here is a small tutorial to compile the zillion daemon on linux ubuntu 16:

Code:
sudo apt-get update

sudo apt-get upgrade

sudo apt-get install libboost-all-dev libdb++-dev libminiupnpc-dev libssl-dev make g++

sudo apt-get install git

git clone https://github.com/zillioncoin/zillioncoin.git

cd zillioncoin/src

sed -i '242s/get(address)/get(address)/' rpcrawtransaction.cpp

chmod +x leveldb/build_detect_platform

make -f makefile.unix

and you should be good.

More tutorials coming soon.

i got this error when i run make -f makefile.unix:
makefile.unix:192: recipe for target 'obj/checkpoints.o' failed
make: *** [obj/checkpoints.o] Error 1
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] 【OctaGen & OctaEx】【Get Crowdfund!】【Sell your Product on CryptoShop!】
by
lhedwin
on 07/06/2018, 18:55:27 UTC
no withdraw for me too...
no response for support.
If no start the withdraw process soon somebody make a investigation about octaex owners Angry

Data from the domain owner:

Registrant Street: 1928 E. Highland Ave. Ste F104 PMB# 255
Registrant City: Phoenix
Registrant State/Province: AZ
Registrant Postal Code: 85016
Registrant Country: US
Registrant Phone: +1.3478717726
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][SPK] SPARKS | NO ICO | Masternodes 50% | Neoscrypt |
by
lhedwin
on 29/03/2018, 21:45:34 UTC
Do not send coins to the stocks.exchange
not coming!!!

Damn! i just sent a few there only because 25 minutes ago on there telegram they said SPK wallet
was fixed smh i have a hand full of Confirms on the blockchain and nothing Undecided

EDIT: Screenshot from stocks exchange Telegram


I sent SPK to my wallet in stocksexchange but today 29/03/2016 the coins are not in my wallet. i checked one of the transasctions hash i did (149 spk) and Look what I found:

This is transasction hash: 8fd2c22822d2507e409345d726a2b16bac60396701b1d1c38b5f389cbb016eca and i got this ehen checked it in the explorer:


The money must be in my wallet, well i clicked in my wallet address on the explorer and found that the 149 spk was moved to other wallet:



So, i did click on the withdrawal transasction hash and i got the wallet addres to where my money was moved:



i did check that address in masternodes.online and guess what:



this are my records and wallet screen captures when you can see that i did not get the spk i deposit, and i did not do any withdrawal.







As you can see, they are using our money to set masternodes.

Sorry about my English.
Post
Topic
Board Announcements (Altcoins)
Re: ✅ [ANN] 01 Coin [ZOC] ♦️POW/Masternodes ♦️ OFFICIAL
by
lhedwin
on 19/03/2018, 07:12:44 UTC
Hey Ihedwin,

I don't know where to begin. I don't have anything other then the 1000 ZOC required so far.

OK, first go: https://support.routerhosting.com/aff.php?aff=249 and rent a windows vps, the 9.95 dolars is the best. do it and tell me when you are done with that.
Post
Topic
Board Announcements (Altcoins)
Re: ✅ [ANN] 01 Coin [ZOC] ♦️POW/Masternodes ♦️ OFFICIAL
by
lhedwin
on 18/03/2018, 18:31:58 UTC
Hey Elettriko,

Thank you for replying to me. 100%. I have never set up a masternode before and have idea how to start, I bought 1008 ZOC like 2 weeks ago but still to this day haven't set up the masternode. Please send me a step by step tutorial and everything I will need to set it up to my email: VitoBurrows333@yahoo.com (and when my masternode is set up I will reward you in BTC, BCH, ETH, LTC, etc!)

Are you using a vps to your masternode setup?
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] NYXCOIN POW Masternode Complex Coin Project
by
lhedwin
on 12/03/2018, 00:19:10 UTC
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] NYXCOIN POW Masternode Complex Coin Project
by
lhedwin
on 11/03/2018, 03:55:26 UTC
hi.

is there a sentinel guide?
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][BOUNTY]🔴Deviant Coin🔴[DEV] PoS + Masternodes [🔥IN EXCHANGE🔥]
by
lhedwin
on 10/03/2018, 07:03:11 UTC
Run your MN in a good VPS, good platform, cheap, free windows or linux, and you can pay with altcoins. https://support.routerhosting.com/aff.php?aff=249
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] NYXCOIN POW Masternode Complex Coin Project
by
lhedwin
on 10/03/2018, 03:49:17 UTC
i think you can not multi MN with NYX
Yes, but you need VPS service to do that. It's better to use GPS for multi-mastenode operations.

ok, but how?
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] NYXCOIN POW Masternode Complex Coin Project
by
lhedwin
on 09/03/2018, 02:17:58 UTC
There are no spaces anywhere. Do they need somewhere else?

rpcuser=YOUR_CUSTOM_USERNAME
rpcpassword=YOUR_CUSTOM_PASSWORD
rpcallowip=127.0.0.1
rpcport=4331
listen=1
server=1
daemon=1
maxconnections=256
externalip=89.189.157.138
masternode=1
masternodeprivkey=xxxxxxxxxxxxxxx
addnode=185.45.193.222
addnode=162.218.209.189
addnode=172.245.170.157
addnode=198.206.14.130
addnode=104.129.16.154
addnode=104.129.43.39
addnode=178.211.39.121
addnode=209.134.3.7
addnode=172.245.157.159


set this line externalip=89.189.157.138 as   externalip=89.189.157.138:4330

Check firewall and if the port 4330 is open.

did everything as you said, but nothing works on port 4330 opened. tell me please what can be the problem? What do you need to do to get a masternod?

cдeлaли вce кaк вы cкaзaли, нo ничeгo нe пoлyчaeтcя пopт 4330 oткpыт. пoдcкaжитe пoжaлyйcтa в чeм мoжeт быть пpoблeмa? чтo нyжнo cдeлaть чтoбы мacтepнoдa зapaбoтaлa?


Hi.
Check the how to: http://www.nyxcoin.org/masternode-setup-guide-windows and repeat all step by step. Make a clean instalation.

Ok, if you are not SOLO MINING:
   1-. Close the wallet.
   2-. DELETE the line "rpcallowip=127.0.0.1"
   3-. ADD this line: rpcconnect=127.0.0.1
   4-. Save
   5-. Open the wallet and try again.


Thanks, but unfortunately did not help. What else can be done to make the masternode work?

This is client side error. Something is not working in your configuration. Did you check your pc's date/time?

Did you make it?
help me please. already everything has tried all the same it is impossible to start masternode.

2018-02-23 13:52 Running sentinel
-342: non-JSON HTTP response with "401 Unauthorized" from server
Cannot connect to desired. Please ensure desired is running and the JSONRPC port is open to Sentinel


Post a screen capture with the error and the wallet.
https://yadi.sk/i/LgYRKb4G3T55Je
кaк иcпpaвить oшибкy?


The 4331 port is open in your windows firewall?

The problem is sentinel can`t connect to your wallet.
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] NYXCOIN POW Masternode Complex Coin Project
by
lhedwin
on 07/03/2018, 23:57:25 UTC
There are no spaces anywhere. Do they need somewhere else?

rpcuser=YOUR_CUSTOM_USERNAME
rpcpassword=YOUR_CUSTOM_PASSWORD
rpcallowip=127.0.0.1
rpcport=4331
listen=1
server=1
daemon=1
maxconnections=256
externalip=89.189.157.138
masternode=1
masternodeprivkey=xxxxxxxxxxxxxxx
addnode=185.45.193.222
addnode=162.218.209.189
addnode=172.245.170.157
addnode=198.206.14.130
addnode=104.129.16.154
addnode=104.129.43.39
addnode=178.211.39.121
addnode=209.134.3.7
addnode=172.245.157.159


set this line externalip=89.189.157.138 as   externalip=89.189.157.138:4330

Check firewall and if the port 4330 is open.

did everything as you said, but nothing works on port 4330 opened. tell me please what can be the problem? What do you need to do to get a masternod?

cдeлaли вce кaк вы cкaзaли, нo ничeгo нe пoлyчaeтcя пopт 4330 oткpыт. пoдcкaжитe пoжaлyйcтa в чeм мoжeт быть пpoблeмa? чтo нyжнo cдeлaть чтoбы мacтepнoдa зapaбoтaлa?


Hi.
Check the how to: http://www.nyxcoin.org/masternode-setup-guide-windows and repeat all step by step. Make a clean instalation.

Ok, if you are not SOLO MINING:
   1-. Close the wallet.
   2-. DELETE the line "rpcallowip=127.0.0.1"
   3-. ADD this line: rpcconnect=127.0.0.1
   4-. Save
   5-. Open the wallet and try again.


Thanks, but unfortunately did not help. What else can be done to make the masternode work?

This is client side error. Something is not working in your configuration. Did you check your pc's date/time?

Did you make it?
help me please. already everything has tried all the same it is impossible to start masternode.

2018-02-23 13:52 Running sentinel
-342: non-JSON HTTP response with "401 Unauthorized" from server
Cannot connect to desired. Please ensure desired is running and the JSONRPC port is open to Sentinel


Post a screen capture with the error and the wallet.
https://yadi.sk/i/LgYRKb4G3T55Je
кaк иcпpaвить oшибкy?


The 4331 port is open in your windows firewall?
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] NYXCOIN POW Masternode Complex Coin Project
by
lhedwin
on 06/03/2018, 15:21:06 UTC
I start the signature campaign in middle of the second round, i will receive full reward or half?

Did you check your wallet?

I received, thank you!

You seem to receive a full payment for this round.  To be honest, this one is the worst campaign I have ever joined, Dev is really trustworthy and generous.
Congratulation, keep your work up.
I'd like to know why you think this campaign is the worst campaign you have ever joined?
If you think it's bad, you should leave  Roll Eyes


I think he wanted to say worth. jajajaja
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [REBRAND] BanKITT (BKT) POW NeoScrypt ASIC Resistant HIGH ROI Masternode
by
lhedwin
on 06/03/2018, 15:13:55 UTC
WinManual how to do MASTERNODE. This instruction also applies to any masternode coin. In this example, I use my laptop as a server and a wallet. Those. We do not need a separate computer or VPS. I apologize in advance for my English  Roll Eyes

1. First go tohttps://github.com/bankitt/bankitt/releases/tag/1.1.0.1 and download the wallet, start it and then go to the settings and put a check mark on the tab see masternode.
2. Go to your computer. Go to the console debugging purse and enter: "getnewaddress MN1"
"MN1" is just a purse tag for easy identification. You can use any label at your discretion. We remember the received address - this will be the address of the wallet of our masternode.
3. Send to the received address 10000 coins. Example in console: "sendtoaddress BX7*************** 10000"
4. In response, we get transaction number (example  a7de5c587b7bb227d3cfd61ccdf3416498adeb5ea3b752445***********) - also remember it (write to notepad) - we will need it. We wait until the transaction is fully confirmed on the network (6/6).
5. After the transaction is confirmed, generate a unique private master key, in console write: "masternode genkey"
Write to notepad received key.
6. We also need to get the transaction code from step 3 with the collateral transfer, define it with the command: "masternode outputs"
In my case, it was "1"
7. Now you need to edit the wallet settings file, which is located in the tools wallet section. Add next lines:
rpcuser=Any value
rpcpassword=Any value
rpcallowip=127.0.0.1
listen=1
daemon=1
logtimestamps=1
maxconnections=256
server=1
masternode=1
masternodeprivkey= key from step 5
externalip=your external ip address

After save settings
8. Go to the "Tools" select "open the masternode settings file"
Add next lines:
mn1 195.**.**.**:1661 7duGSxqju4********************* a7de5c*************** 1
Where:
- mn1 - Your masternode name
- 195.**.**.**:1661 - your external ip address, port does not change
-  7duGSxqju4********************* - private masternode key, obtained in step 5
- a7de5c*************** - transaction number from step 4
- transaction code - the transaction ID obtained in step 3, where we sent 10000 to your address as collateral for the masternode, in my case, it was "1"
Save the configuration and restart the wallet.
In the "masternodes" tab, your MN should appear, the status will be PRE_ENABELED, after short time it should change to ENABALE. If there is nothing in the mastering tab. We go to the debugging console and type: masternode start-alias .

ATTENTION!!! who use router You need to do port forwarding if the node does not connect. On each router is done in different ways, you need read the guide to your device.


On this all, I attach a screenshot of the working masternode.
There will be questions, please write me here! Not in PM!
https://imgur.com/42vpYoW

To say "Thank You"

BanKITT coin adress: BX7i9iEJjkibJnDzrbr1ouP6dGpFYKjkot


I am looking for a tutorial for a vps installation under ubuntu 16.04 step by step please for beginners like me

If you are a beginner, why do you use ubuntu vps? use a windows vps. 20 minutes setup.
Rent your windows vps here: https://support.routerhosting.com/aff.php?aff=249
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] NYXCOIN POW Masternode Complex Coin Project
by
lhedwin
on 06/03/2018, 03:35:54 UTC
Hi.

Can i setup two MN in the same wallet?
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][SPK] SPARKS | NO ICO | Masternodes 50% | Neoscrypt |
by
lhedwin
on 05/03/2018, 05:35:41 UTC
Run your MN in a good VPS, good platform, cheap, free windows or linux, and you can pay with altcoins. https://support.routerhosting.com/aff.php?aff=249
Post
Topic
Board Announcements (Altcoins)
Re: Arctic Coin (ARC), No premine, Evolution over 1 year
by
lhedwin
on 05/03/2018, 04:13:52 UTC
Run your MN in a good VPS, good platform, cheap, free windows or linux, and you can pay with altcoins. https://support.routerhosting.com/aff.php?aff=249