Coder Social home page Coder Social logo

max-coin / maxcoin Goto Github PK

View Code? Open in Web Editor NEW
79.0 44.0 62.0 24.35 MB

The main source tree for the Max Coin cryptocurrency

License: MIT License

Shell 0.17% Python 0.75% C++ 91.19% C 4.26% Assembly 1.66% CSS 0.02% Objective-C++ 0.06% NSIS 0.13% QMake 0.33% Makefile 0.39% HTML 1.02% Objective-C 0.02%

maxcoin's Introduction

picture

What is MaxCoin?

Maxcoin is an alternative cryptocurrency introduced in 2014.

Technical Information

  • ~100,000,000 coins
  • 8 coins rewarded per block, halving every 4 years - last halving 16 July 2017
  • 60 second block times
  • difficulty retargeting using a time-warp resistant implementation of KGW

Notable differences from Bitcoin

  • sha3 Keccak encryption instead of sha256
  • replacement of ECDSA with Schnorr signing (Schnorr Signatures)
  • use of secp256r1 curve over secp256k1
  • requirement for public key when verifying transactions
  • capable of hosting smart contracts
  • no premine

Modifications to the RPC API

  • verifymessage
  • makekeypair [hex-encoded prefix]
  • dumppubkey

Additional technical details can be found on Everipedia (https://everipedia.org/wiki/maxcoin-cryptocurrency/) or in the Wiki.

Forked from Bitcoin reference wallet 0.8.5 and Blakecoin

License

MaxCoin is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.

maxcoin's People

Contributors

atomminer avatar basf1401 avatar cioddi avatar davidmarquis avatar goombaloon avatar lukem512 avatar mxjmpbean avatar noname22 avatar olliecad1 avatar paulpw avatar prydie avatar vr2ualize avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

maxcoin's Issues

cryptopp required

cryptopp is required, however I don't see this dep mentioned anywhere, and no other wallets I have compiled require it. It should be listed somewhere.

Great marketing ploy!!!!!!!!!!

Wow, this delay is sure a great marketing tactic. This is no better than a premine, therefore I proclaim this to be a scam, and a cheap VertCoin clone.

Project Management

These 'last minute' issues should have been easy to spot with proper project management.

  • Bitcointalk DDoS

I don't understand why there wasn't multiple approved locations prior to launch. Networking 101 tells us to avoid SPOF

  • Tutorials

Tutorials are fantastic, where were they a few days ago? You promised a LAUNCH at 7:30p GMT, wrong time to make adjustments.

  • GPU Miners

If you were considering GPU miners, 36 hours prior to launch was probably not the ideal time to start that discussion with a survey.

  • Botnets

Anyone in the community for more than a few months would have considered Botnet issues with CPU releases.

  • Community Communication

Your communication with the community was fairly ridiculous. You could have addressed much of the FUD by actively updating the FAQ.

  • Summary

Look, I believe you are doing your best but this launch was atrocious. I hope the continual support is much stronger than the launch.

13

I just wanted to reserve ticket 13

about address and transaction generation

We have been trying to generate address + privateKey pair compatible with xxxcoin(maxcoin cloned coin) (using secp256r1 instead of secp256k1) and using your prefix (PUBKEY_ADDRESS = 50).
Here is the example of the address that we’ve got: MMyevnCKFexH8785tWVveFxyiE9YqMjGMX.
Unfortunately mircoin client replies as Invalid MirCoin address

we are using bitcoinjs-lib to generate addresses (to be precise - this version bitcoinjs-lib-secp256r1).

Have you ever succeded with offline address generation and offline transaction generation using any programming language?

if some one knows about address and transaction generation (like in browser - https://coinb.in) please?. Maybe someone has is a code example

maxcoin.co.uk down

Is there a DDOS happening again? Is it maybe GCHQ who's behind it?

I got this in Firefox when I went to www.maxcoin.co.uk

Error: EMFILE, too many open files '/home/ubuntu/site/views/default.html' at Object.fs.openSync (fs.js:427:18) at fs.readFileSync (fs.js:284:15) at View.exports.renderFile as engine at View.render (/home/ubuntu/site/node_modules/express/lib/view.js:76:8) at Function.app.render (/home/ubuntu/site/node_modules/express/lib/application.js:504:10) at ServerResponse.res.render (/home/ubuntu/site/node_modules/express/lib/response.js:798:7) at /home/ubuntu/site/app.js:28:7 at callbacks (/home/ubuntu/site/node_modules/express/lib/router/index.js:164:37) at param (/home/ubuntu/site/node_modules/express/lib/router/index.js:138:11) at pass (/home/ubuntu/site/node_modules/express/lib/router/index.js:145:5)

Blockchain sync stucked on new 0.9.2 client

Hey Luke, some of us on maxchat.info seem to have a problem with the new client... our client stopped syncing the blockchain a few hours ago and it looks stuck...

In my debug.log, I see all blocks seen being recognized as orphaned (see below). And the wallet is stuck syncing at block 585,613, says "Catching up..." but never actually advances.

2014-08-31 18:52:47 received block 0000000000005f83a1b17d1e0bf1abac8b6fb69315f81390771fbb549defed74
2014-08-31 18:52:47 ProcessBlock: ORPHAN BLOCK, prev=000000000005003ce48393ba5d416ec91b21d0ee92bd0b80548c443517c9f173
2014-08-31 18:52:52 received block 000000000001407caf2ce178ecc79a6f1712f95a95c8e41c015799d9c5f178b1
2014-08-31 18:52:52 ProcessBlock: ORPHAN BLOCK, prev=0000000000005f83a1b17d1e0bf1abac8b6fb69315f81390771fbb549defed74
2014-08-31 18:53:14 received block 000000000002cd2935b16e326d3d1f4cca709c03d200b0be51c6395b71b67c7e
2014-08-31 18:53:14 ProcessBlock: ORPHAN BLOCK, prev=000000000001407caf2ce178ecc79a6f1712f95a95c8e41c015799d9c5f178b1

Any idea what's happening?
Note that apparently some who also have updated to 0.9.2 are properly synced up, but many aren't...

Update 1:

Ducky1 provided this log extract from 0.9.2 wallet:

2014-08-31 19:06:51 ERROR: AcceptBlock() : rejected by synchronized checkpoint

Update 2:

When I run getmininginfo in the debug window, I get the following output:

{
"blocks" : 586224,
"currentblocksize" : 0,
"currentblocktx" : 0,
"difficulty" : 16008.66895775,
"errors" : "Warning: checkpoint on different blockchain fork, contact developers to resolve the issue",
"generate" : false,
"genproclimit" : -1,
"hashespersec" : 0,
"networkhashps" : 2191766298290,
"pooledtx" : 3,
"testnet" : false
}

error: ‘class QString’ has no member named ‘toAscii’ ?

I get the following when trying to build 0.9.2.1:

src/qt/miningpage.cpp:116:53: error: ‘class QString’ has no member named ‘toAscii’
args << "--scantime" << ui->scantimeBox->text().toAscii();
^
src/qt/miningpage.cpp:117:32: error: ‘class QString’ has no member named ‘toAscii’
args << "--url" << urlLine.toAscii();
^
src/qt/miningpage.cpp:118:42: error: ‘class QString’ has no member named ‘toAscii’
args << "--userpass" << userpassLine.toAscii();
^
src/qt/miningpage.cpp:119:51: error: ‘class QString’ has no member named ‘toAscii’
args << "--threads" << ui->threadsBox->text().toAscii();
^
make: *** [build/miningpage.o] Erreur 1
`

hi , plz how I can solve this problem

13:40:23: Running steps for project Projet_TDM...
13:40:23: Configuration unchanged, skipping qmake step.
13:40:23: Starting: "/usr/bin/make"
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x000000` -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../Projet_TDM -I. -isystem /usr/local/include/opencv2 -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o mainwindow.o ../Projet_TDM/mainwindow.cpp
/bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [Makefile:722: mainwindow.o] Error 1
13:40:23: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project Projet_TDM (kit: Desktop)
The kit Desktop has configuration issues which might be the root cause for this problem.
When executing step "Make"
13:40:23: Elapsed time: 00:00.

large fee being charged even when transaction is greater than 0.01

./maxcoind sendtoaddress mQjBbHAQeuDn2PoWJr4UfksAz5wCvRhkWt 2.26020947
error: {"code":-4,"message":"Error: This transaction requires a transaction fee of at least 0.0004 because of its amount, complexity, or use of recently received funds!"}

" // To limit dust spam, require base fee if any output is less than 0.01"
line 633 main.cpp

What did you guys do besides changing hash to keccak?

I've been trying to implement maxcoin in NOMP and I've spend hours trying to get the daemon to accept a block on testnet.

It looks like instead of doing a double-sha256 on the coinbase transaction, you do a single-sha256 hash, for generating the merkle root. But I tried that and still the daemon won't accept the block.

What in the hell did you guys change in the block generation process that is preventing my code from generating a valid one? It works for sha256d, scrypt, scrypt-jane, scrypt-n, x11, quark... what the hell is different with maxcoin besides keccak hashing?

Apologies if I come off rude, I've spend hours on this and very frustrated.

-

^^

GUI weirdness (Ubuntu)

Why is the icon tray on the left side when it used to be on the right side (like Vericoin and Startcoin icons on the image) ?
icontray

Timewarp vulnerability

A simulation I have made for another coin (and actually DGW variants but that should not matter) has shown that clamping PastRateActualSeconds to non-negative range at https://github.com/Max-Coin/maxcoin/blob/master/src/main.cpp#L1257 actually worsens block times distribution under timewarp attack, instead of improving it.

With randomized nTime modification average blocktime over long run was reduced to just 60% of its target, and I assume targeted modification could achieve even more. This is quite an incentive for an attacker with sheer hashpower. I think this is what actually happened during recent major blockchain hickups.

My (sketchy and dirty) simulation code is here: https://gist.github.com/reorder/be3d680edd467d8cffc4

g++: Error

I have carried out the instructions in the build section to clone maxcoin. However it finished with this error

"g++: error: /usr/lib/x86_64-linux-gnu/libminiupnpc.a: No such file or directory
makefile.unix:197: recipe for target 'maxcoind' failed"

Building on 32 bit Ubuntu 16.04

ANyone any ideas?

Why is this being posted to github?

It's a crappy service. I feel like all the lemmings are rushing to put their code on github. The fact that lots of people do something doesn't mean it's a good idea.
Heck, the hosting service I use Gandi permits a free git archive with the cheapest hosting package. Nothing special about github.

all addnodes listed in config example are not responding

2014-02-06 20:51:21 trying connection maxcoin.cloudapp.net lastseen=0.0hrs
2014-02-06 20:51:22 connected maxcoin.cloudapp.net
2014-02-06 20:51:22 send version message: version 70001, blocks=0, us=xx.xx.xx.xxx:8668, them=137.116.204.146:8668, peer=137.116.204.146:8668
2014-02-06 20:51:22 socket recv error 54
2014-02-06 20:51:22 disconnecting node maxcoin.cloudapp.net

Source needs a make clean

Source did not have make clean ran before pushing. build files plus binaries exist in the source directory. These should be removed.

In the mean time, run make clean before qmake etc.

Building wallet fails on Ubuntu 16.04.3

The wallet fails to build on Ubuntu 16.04. (see error below)
Looks like this is related to the boost version but not sure 100%

g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-unused-variable -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/shared-storage/cryptocoin/maxcoin/src -I/shared-storage/cryptocoin/maxcoin/src/obj -I/shared-storage/cryptocoin/maxcoin/src -I/shared-storage/cryptocoin/maxcoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/shared-storage/cryptocoin/maxcoin/src/leveldb/include -I/shared-storage/cryptocoin/maxcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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:21: error: ‘BN_init’ was not declared in this scope BN_init(this); ^ bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’: bignum.h:61:21: error: ‘BN_init’ was not declared in this scope BN_init(this); ^ 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:47: 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:83:47: 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:84:47: 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:85:47: 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(int64)’: bignum.h:86:47: error: ‘BN_init’ was not declared in this scope CBigNum(int64 n) { BN_init(this); setint64(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’: bignum.h:87:47: 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:88:47: 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:89:47: 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:90:47: error: ‘BN_init’ was not declared in this scope CBigNum(unsigned long n) { BN_init(this); setulong(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(uint64)’: bignum.h:91:47: error: ‘BN_init’ was not declared in this scope CBigNum(uint64 n) { BN_init(this); setuint64(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’: bignum.h:92:47: 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:96: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: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<unsigned char>&)’: 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<unsigned char> 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 cryptopp/pubkey.h:35:0, from cryptopp/eccrypto.h:7, from schnorr.h:12, from hash.h:17, from net.h:22, from main.h:10, from checkpoints.cpp:10: cryptopp/modarith.h: In copy constructor ‘CryptoPP::ModularArithmetic::ModularArithmetic(const CryptoPP::ModularArithmetic&)’: cryptopp/modarith.h:29:2: warning: base class ‘class CryptoPP::AbstractRing<CryptoPP::Integer>’ should be explicitly initialized in the copy constructor [-Wextra] ModularArithmetic(const ModularArithmetic &ma) ^ In file included from cryptopp/simple.h:10:0, from cryptopp/filters.h:6, from cryptopp/randpool.h:5, from cryptopp/osrng.h:10, from schnorr.h:11, from hash.h:17, from net.h:22, from main.h:10, from checkpoints.cpp:10: cryptopp/misc.h: At global scope: cryptopp/misc.h:548:20: warning: ‘std::__cxx11::string CryptoPP::StringNarrow(const wchar_t*, bool)’ defined but not used [-Wunused-function] static std::string StringNarrow(const wchar_t *str, bool throwOnError = true) ^ makefile.unix:177: recipe for target 'obj/checkpoints.o' failed make: *** [obj/checkpoints.o] Error 1

maxcoin-installer.exe blocked by avast as malware

Hi,
I have maxcoin wallet V8.9 but it states no block source available. I have Win 10 with Avast V17.8. When I download maxcoin-installer.exe V9.4.0, Avast will block the file on three occasions with malware warning. can you advice how I can upgrade maxcoin wallet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.