bitzenycoredevelopers / bitzeny Goto Github PK
View Code? Open in Web Editor NEW[z2.0.x] BitZeny Core integration/staging tree created by the New Dev team
Home Page: https://bitzeny.info
License: MIT License
[z2.0.x] BitZeny Core integration/staging tree created by the New Dev team
Home Page: https://bitzeny.info
License: MIT License
$ ./src/test/test_bitcoin
Running 262 test cases...
it tests still over 24 hours
BitZeny 2.0.x ver
Ubuntu 16.04 from source
I would like to add the following message to getinfo output.
Only at the first startup.
It may take several days before block chain synchronization begins for the caching the block header hash.
No.
This is my opinion about feature request.
I would like to discuss here.
Many comments from bitzenyd users arrived that "bitzenyd block chain synchronization is not starting on z 2.0.0."
After the hash cache is completed, bitzenyd blockchain synchronization is starting .
This is the correct behavior.
Therefore,
I think it is better to add Information the output of getinfo command.
z2.0.0
It is better to replace the message deleted by #24
"deprecation-warning", "WARNING: getinfo is deprecated and will be fully removed in 0.16."
" Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo before upgrading to 0.16"
This is my opinion about feature request.
I would like to discuss here.
Thank you!
https://raw.githubusercontent.com/cryptozeny/image/master/20180319_024845.jpg
hi, i would to know what is it and why it disabled?
bitzeny v2.0.1
OS: ubuntu 16.04.4 64bit
$ ./src/qt/test/test_bitcoin-qt | grep FAIL
(test_bitcoin-qt:2653): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
FAIL! : URITests::uriTests() 'GUIUtil::parseBitcoinURI(uri, &rv)' returned FALSE. ()
FAIL! : RPCNestedTests::rpcNestedTests() 'result == "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b"' returned FALSE. ()
i think 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b is came from bitcoin. we can fix it.
rpcnestedtests.cpp
4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b (bitcoin)
to
a626e591b4583a9cdfa3f8c7ffa90628c745dc01b411825544209fce3bdba4d2 (bitzeny merkle hash)
https://travis-ci.org/BitzenyCoreDevelopers/bitzeny/jobs/326831409
1509: The command "cd bitcoin-$HOST" exited with 1.
6364: The command "./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)" exited with 1.
6520: The command "make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )" exited with 1.
6529: The command make -j3 check VERBOSE=1 exited with 2.
6584: The command "if [ "$RUN_TESTS" = "true" ]; then travis_wait 30 make $MAKEJOBS check VERBOSE=1; fi" exited with 2.
6602: The command "if [ "$RUN_TESTS" = "true" ]; then test/functional/test_runner.py --coverage --quiet ${extended}; fi" exited with 1.
I try fix.
on Ubuntu 16.04
`console
./bitzenyd --help
...
Wallet options:
-disablewallet
Do not load the wallet and disable wallet RPC calls
-keypool=
Set key pool size to (default: 1000)
-fallbackfee=
A fee rate (in BTC/kB) that will be used when fee estimation has
insufficient data (default: 0.0002)
-discardfee=
The fee rate (in BTC/kB) that indicates your tolerance for discarding
change by adding it to the fee (default: 0.0001). Note: An output
is discarded if it is dust at this rate, but we will always
discard up to the dust relay fee and a discard fee above that is
limited by the fee estimate for the longest target
-mintxfee=
Fees (in BTC/kB) smaller than this are considered zero fee for
transaction creation (default: 0.00001)
....
`
BitZeny daemon (z2.0.0) will send you deprecaution-message
with BTC-based version.
getinfo
$["deprecaution-warning"]
, you will see BTC-based warningTo be removed, or replace with BitZeny-based version.
See screenshots
(Don't care about passwords, since the environment is only for test.)
z2.0.0
Ref.
Lines 90 to 91 in e9735bc
The "Load map" section should be renamed to "Roadmap" in README.md.
Running RegTest is too slow because making 100 blocks for testing takes very long time during tests.
Tests should be finished in human experimental time.
Tests are still running after 24 hours.
v2.0.x branch
v3.0.x branch should have the same problem also.
This is related to #19.
Hi BitZeny Devs,
I am writing here for the first time. I have a question. Could you make sha256sum? It was until v1.2.1, but since v2.0.0 disappeared. I thinks it is important thing ;)
sha256sum
pgp signature
https://github.com/BitzenyCoreDevelopers/bitzeny/releases/download/z1.2.1/SHA256SUMS.asc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA2565e6a2796b273cfe1a39d810528819a7c87357fe50275b44356f63025a7a1668f bitzeny-1.2.1-linux.tar.gz
6b1e93931674a20ac8ae882b8e1ae10e0e7ae0a57434595c35ff0f4d784fc21d bitzeny-1.2.1-osx.dmg
512394827efdcccbf260891ec447fe3398dfa0e1e10210c79d76d4dd05bf410c bitzeny-1.2.1-win32-setup.exe
5a436e049d78be687a355bb338d79796e5882aee09852ba0e15a8ac604166ae0 bitzeny-1.2.1-win64-setup.exe
4744564923acbcb0e627b4cda7376c407e7f41d4f5ba7502d7387d328db04174 bitzeny-1.2.1-win.zip
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1iQIcBAEBCAAGBQJaHMq3AAoJEInWCY9T9AbeJ54P/0MCBkivtsZmyen/Xm+jLDos
cDq3j3vKQZW/vByYMOs+N1n4D1DfqU5UrFmCn3MDeR0oJrgMg7/lgcfirCyK0KiN
mtTP3DKoCnU7ysl3C6Vy/O1eTNWbd1+GSZt2s/YdmQEgIA7q1qBOupR7pmd6+jdi
XofWOQPRyx3EYL9JrL0/GTwY7mTSqLzY86EIxNzLzfHOoLIcDdtaAn+Ii+JfSqu7
g3XFFAqBbh8lPNcvBDZvTgMtGq8ZIlh515DdPNj2EtBld1vVnBvVUwvmm0QT5nWv
KEDk0uPaD/HUZNySUc53j3lMyLV5uJf031QeH8XByXCvHYSbKERWdhpKDEUgm1Dl
YXst36ADavuxv2lYQnczPRgs9SY75Vm/Kcaj4qHZjfZ5EQkxUC6X9f5KVUgMy2eS
X58W+GZZFC1OBG/0vDXYJurR8u0eVdPl7VhxRCeVKPSCY51Kh+5cBcSH3EXKi6EV
iD7/GAI+PYzdng9AipYOBZb1ibu/dTj4/2XOBBk5Jmt5jUeupTSpdbnt5bvNBULa
7DrcrOR1asCtYW9GCeGdVCg+a8Zbeq3lUUa2Eyu/kz+mXXczeEiGFnF0/nbq+IzA
WeKdsH9k390eZdneqLZAHlq8wct+oRDCwLHJSLfJWOo1rlSr634vGyVQ5VZxlEr1
grA7M4ZTStHelPL9KPKj
=J36L
-----END PGP SIGNATURE-----
Hi all,
There is a sizeof issue found by Qihoo360 CodeSafe Team.
Details as bellow:
bitzeny/src/test/serialize_tests.cpp
Line 363 in 11f7e27
bitzeny/src/test/serialize_tests.cpp
Line 347 in 11f7e27
Line 354 in 11f7e27
do we really need the size of a pointer of should it be the size of the string (like strlen, or sizeof of a char array )?
Can you guys confirm this?
Cheers
Qihoo360 CodeSafe Team
./bitzenyd: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory
binaries displaying error, but am i already installed boost and boost-devel from yum repositories.
maybe check this error?
these error doesn't displaying on z1.2.1
Environment
OS : CentOS 7.4(x86_64 arch)
Line 26 in 11f7e27
it's still same as bitcoin.
bitzenyPlus z2.0.x is also same.
https://github.com/bitzenyPlus/BitZenyPlus/blob/efd7833970a55e65a3b318ab99483335332ac411/src/amount.h#L26
Environment info
I've done installing build dependencies (without GUI dependencies).
pi@raspberrypi:~/bitzeny $ make
Making all in src
make[1]: Entering directory '/home/pi/bitzeny/src'
make all-recursive
make[2]: Entering directory '/home/pi/bitzeny/src'
Making all in .
make[3]: Entering directory '/home/pi/bitzeny/src'
CXX addrman.o
In file included from chainparams.h:9:0,
from protocol.h:13,
from addrman.h:9,
from addrman.cpp:5:
bignum.h:56:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
class CBigNum : public BIGNUM
^~~~~~
In file included from /usr/include/openssl/crypto.h:31:0,
from allocators.h:15,
from serialize.h:9,
from netbase.h:13,
from addrman.h:8,
from addrman.cpp:5:
/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 chainparams.h:9:0,
from protocol.h:13,
from addrman.h:9,
from addrman.cpp:5:
bignum.h: In constructor ‘CBigNum::CBigNum()’:
bignum.h:61:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
bignum.h:66:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
bignum.h:67: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:69: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:76: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:83: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:87:49: 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: In constructor ‘CBigNum::CBigNum(short int)’:
bignum.h:88:49: 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: In constructor ‘CBigNum::CBigNum(int)’:
bignum.h:89:49: 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: In constructor ‘CBigNum::CBigNum(long int)’:
bignum.h:90:49: 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: In constructor ‘CBigNum::CBigNum(long long int)’:
bignum.h:91:49: error: ‘BN_init’ was not declared in this scope
CBigNum(long long n) { BN_init(this); setint64(n); }
^
bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
bignum.h:92:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^
bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
bignum.h:93:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^
bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
bignum.h:94:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^
bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
bignum.h:95:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^
bignum.h: In constructor ‘CBigNum::CBigNum(long long unsigned int)’:
bignum.h:96:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned long long n) { BN_init(this); setuint64(n); }
^
bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
bignum.h:97:49: error: ‘BN_init’ was not declared in this scope
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^
bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector<unsigned char>&)’:
bignum.h:101:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
bignum.h:107:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, unsigned int)’
if (!BN_set_word(this, n))
^
bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
bignum.h:113:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘unsigned int BN_get_word(const BIGNUM*)’
return BN_get_word(this);
^
bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
bignum.h:118:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘unsigned int BN_get_word(const BIGNUM*)’
return BN_get_word(this);
^
bignum.h: In member function ‘int CBigNum::getint() const’:
bignum.h:123:43: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘unsigned int BN_get_word(const BIGNUM*)’
unsigned long n = BN_get_word(this);
^
bignum.h:124: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 chainparams.h:9:0,
from protocol.h:13,
from addrman.h:9,
from addrman.cpp:5:
bignum.h: In member function ‘void CBigNum::setint64(int64_t)’:
bignum.h:172: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_t)’:
bignum.h:199: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:227: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:232: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:236: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<unsigned char>&)’:
bignum.h:257: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<unsigned char> CBigNum::getvch() const’:
bignum.h:262: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:266: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:302:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, unsigned int)’
BN_set_word(this, nWord);
^
bignum.h:306:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, unsigned int)’
BN_set_word(this, nWord);
^
bignum.h:307: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:309: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:17:0,
from chainparams.h:9,
from protocol.h:13,
from addrman.h:9,
from addrman.cpp:5:
bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
bignum.h:315: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 chainparams.h:9:0,
from protocol.h:13,
from addrman.h:9,
from addrman.cpp:5:
bignum.h:318:40: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘unsigned int BN_get_word(const BIGNUM*)’
nCompact = BN_get_word(this) << 8*(3-nSize);
^
bignum.h:322: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:323:39: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘unsigned int BN_get_word(const BIGNUM*)’
nCompact = BN_get_word(&bn);
^
bignum.h:333: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);
^
bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
bignum.h:374: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:377: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:379: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:381: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:387: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:420: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:425: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:439: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:458: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:469: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:475: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:484: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:501: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:526: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:534: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:542: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:550: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:559: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:17:0,
from chainparams.h:9,
from protocol.h:13,
from addrman.h:9,
from addrman.cpp:5:
bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
bignum.h:568: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 chainparams.h:9:0,
from protocol.h:13,
from addrman.h:9,
from addrman.cpp:5:
bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
bignum.h:576: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: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); }
^
bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
bignum.h:589: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:590: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:591: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:592: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:593: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); }
^
Makefile:885: recipe for target 'addrman.o' failed
make[3]: *** [addrman.o] Error 1
make[3]: Leaving directory '/home/pi/bitzeny/src'
Makefile:907: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/pi/bitzeny/src'
Makefile:671: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pi/bitzeny/src'
Makefile:509: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Other coin have this issue too.
vergecurrency/verge#48
bitcoin/bitcoin#7086
FeatherCoin/Feathercoin#177
bitshares/bitshares-core#327
cygnusxi/CurecoinSource#21
martexcoin/martexcoin#1
firoorg/firo#116
obsidianproject/Obsidian-Qt#37
thegreatoldone/skidoo#6
navcoin/navcoin-core#68
EmberCoin/Ember#31
steemit/steem#1201
steemit/fc#18
It seems this problem appears to system with openssl version >=1.1.0 due to changes in BIGNUM function.
[Issue]
bitzeny-qt might not support Japanese High Sierra font on Mac.
[source]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.