Code Monkey home page Code Monkey logo

firoorg / firo Goto Github PK

View Code? Open in Web Editor NEW
706.0 706.0 355.0 212.64 MB

The privacy-focused cryptocurrency

Home Page: https://firo.org

License: MIT License

Makefile 1.17% C 17.69% Python 9.60% C++ 67.62% Shell 0.88% HTML 0.27% CSS 0.28% Objective-C++ 0.04% QMake 0.01% Roff 0.02% M4 1.60% Assembly 0.20% Java 0.21% Dockerfile 0.02% Sage 0.21% Scheme 0.18%
asic-resistant blockchain cryptocurrency cryptography lelantus merkle-tree merkle-tree-proof-of-work p2p privacy sigma zcoin zero-knowledge zero-knowledge-proofs zerocoin zkp

firo's Introduction

Firo

Financial Contributors on Open Collective latest-release GitHub last-release GitHub downloads GitHub commits-since-last-version GitHub commits-per-month GitHub last-commit

Firo formerly known as Zcoin, is a privacy focused cryptocurrency that utilizes the Lelantus Spark protocol which supports high anonymity sets without requiring trusted setup and relying on standard cryptographic assumptions.

The Lelantus Spark cryptographic library and implementation was audited by HashCloak. The Lelantus Spark cryptography paper has undergone two separate audits by HashCloak and Daniel (Linfeng) Zhao.

Firo also utilises Dandelion++ to obscure the originating IP of transactions without relying on any external services such as Tor/i2P.

Firo uses a hybrid PoW and LLMQ Chainlocks system combining fair distribution of supply with protection against 51% attacks and quick finality of blocks and transactions. FiroPOW (a ProgPOW variant) is used as its Proof-of-Work algorithm which targets GPUs and is FPGA/ASIC resistant.

Running with Docker

If you are already familiar with Docker, then running Firo with Docker might be the the easier method for you. To run Firo using this method, first install Docker. After this you may continue with the following instructions.

Please note that we currently don't support the GUI when running with Docker. Therefore, you can only use RPC (via HTTP or the firo-cli utility) to interact with Firo via this method.

Local Dockerfile

This repository contains a Dockerfile that you can build and run locally.

To build it, run from the root of this repository:

docker build . -t firo-local

After the process is completed, run a container based on the firo-local image you built:

docker run -d --name firod -v "${HOME}/.firo:/home/firod/.firo" firo-local

This will start a detached docker container, which you can interact with using docker exec. See the section "Interact with the container" for a list of useful commands you can use to manage your node. Make sure to change firod with firo-local, if you have built the local Docker image.

Docker image on DockerHub

If it doesn't already exist, create a .firo folder in your home (this is a workaround until #1241 is resolved):

mkdir -p ${HOME}/.firo

Pull our latest official Docker image:

docker pull firoorg/firod

Start Firo daemon:

docker run -d --name firod -v "${HOME}/.firo:/home/firod/.firo" firoorg/firod

Interact with the container

View current block count (this might take a while since the daemon needs to find other nodes and download blocks first):

docker exec firod firo-cli getblockcount

View connected nodes:

docker exec firod firo-cli getpeerinfo

Stop daemon:

docker stop firod

Backup wallet:

docker cp firod:/home/firod/.firo/wallet.dat .

Start daemon again:

docker start firod

Linux Build Instructions and Notes

Firo contains build scripts for its dependencies to ensure all component versions are compatible. For additional options such as cross compilation, read the depends instructions

Alternatively, you can build dependencies manually. See the full unix build instructions.

Bootstrappable builds can be achieved with Guix.

Development Dependencies (compiler and build tools)

  • Debian/Ubuntu/Mint (minimum Ubuntu 18.04):
sudo apt-get update
sudo apt-get install git curl python build-essential libtool automake pkg-config cmake
# Also needed for GUI wallet only:
sudo apt-get install qttools5-dev qttools5-dev-tools libxcb-xkb-dev bison
  • Redhat/Fedora:
sudo dnf update
sudo dnf install bzip2 perl-lib perl-FindBin gcc-c++ libtool make autoconf automake cmake patch which
# Also needed for GUI wallet only:
sudo dnf install qt5-qttools-devel qt5-qtbase-devel xz bison
sudo ln /usr/bin/bison /usr/bin/yacc
  • Arch:
sudo pacman -Sy
sudo pacman -S git base-devel python cmake

Build Firo

  1. Download the source:
git clone https://github.com/firoorg/firo
cd firo
  1. Build dependencies and firo:

Headless (command-line only for servers etc.):

cd depends
NO_QT=true make -j`nproc`
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/`depends/config.guess` --without-gui
make -j`nproc`

Or with GUI wallet as well:

cd depends
make -j`nproc`
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/`depends/config.guess`
make -j`nproc`
  1. (optional) It is recommended to build and run the unit tests:
./configure --prefix=`pwd`/depends/`depends/config.guess` --enable-tests
make check

If the build succeeded, two binaries will be generated in /src: firod and firo-cli. If you chose to build the GUI, firo-qt will be also generated in the qt folder.

macOS Build Instructions and Notes

See doc/build-macos.md for instructions on building on macOS.

Note: these instructions are inherited from Bitcoin and might not work as expected

Windows (64/32 bit) Build Instructions and Notes

See doc/build-windows.md for instructions on building on Windows 64/32 bit.

Note: these instructions are inherited from Bitcoin and might not work as expected

Run Firo

Now that you have your self-built or precompiled binaries, it's time to run Firo! Depending by your skill level and/or setup, you might want to use the command line tool or the graphic user interface. If you have problems or need support, contact the community.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. Would you like to help Firo and contribute? See the [CONTRIBUTING] file.

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

You can also donate to the MAGIC Firo Fund which allows some US entities to claim a charitable deduction.

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

firo's People

Contributors

a-bezrukov avatar codablock avatar codeshabash avatar cozz avatar fanquake avatar gavinandresen avatar gmaxwell avatar insomp avatar jonasschnelli avatar jtimon avatar laanwj avatar leoreinaux avatar levonpetrosyan93 avatar luke-jr avatar martun avatar morcos avatar non-github-bitcoin avatar nopslide avatar paveljanik avatar petertodd avatar psolstice avatar pstratem avatar riordant avatar sdaftuar avatar sipa avatar sn-ntu avatar thebevrishot avatar thebluematt avatar theuni avatar udjinm6 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  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  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

firo's Issues

100% CPU Usage

Hi,
I was planning to build up a mining pool. So I compiled zcoind from source on my VPS (Ubuntu 14.04 64bit).
The zcoind keep running at 100% CPU utilization while syncing. After 3 days it finally finished synchronization, but the CPU usage remains 100%.
I've checked the .conf file, and confirmed it was not mining.
Then I tried the windows Qt wallet on another VPS which has a Windows Server 2012 system. The situation was the same: slow synchronization and 1 CPU core always full-loaded.
On therse 2 servers I've tried 0.2.0, 0.2.1, 0.8.7.6, all has this problem.

But on another vm which has Windows 7 SP1 64bit OS, the CPU usage is fine, always below 5%.
What may be the problem? Any suggestions?

Make not working

branhc v0.8.7.7
also the same on master

zrzut ekranu 2017-03-27 o 00 42 23

Ubuntu 16.04
amazon ec2 medium, 2 cores, 4gb

Rescan blocks over and over again.

This built is crappy as hell..frist off all it destroyed my wallet.
Then if you have a current blockchain and chainstate data it loops the rescan on start over and over again.

It wear level my SSD by 3.5TB in not even 2h of working. This is complete crap seriously.

2017-02-09 20:59:20 ZCoin version v0.8.7.4-unk (2017-02-08 02:29:10 +0100)
2017-02-09 20:59:20 Using OpenSSL version OpenSSL 1.0.1j 15 Oct 2014
2017-02-09 20:59:20 Default data directory C:\Users\user1\AppData\Roaming\zcoin
2017-02-09 20:59:20 Using data directory C:\Users\user1\AppData\Roaming\zcoin
2017-02-09 20:59:20 Using at most 125 connections (2048 file descriptors available)
2017-02-09 20:59:20 Using 12 threads for script verification
2017-02-09 20:59:20 scrypt: using scrypt-sse2 as detected.
2017-02-09 20:59:20 init message: Verifying wallet...
2017-02-09 20:59:20 dbenv.open LogDir=C:\Users\user1\AppData\Roaming\zcoin\database ErrorFile=C:\Users\venom\AppData\Roaming\zcoin\db.log
2017-02-09 20:59:20 Bound to [::]:8168
2017-02-09 20:59:20 Bound to 0.0.0.0:8168
2017-02-09 20:59:20 init message: Loading block index...
2017-02-09 20:59:20 Opening LevelDB in C:\Users\user1\AppData\Roaming\zcoin\blocks\index
2017-02-09 20:59:20 Opened LevelDB successfully
2017-02-09 20:59:20 Opening LevelDB in C:\Users\user1\AppData\Roaming\zcoin\chainstate
2017-02-09 20:59:20 Opened LevelDB successfully
2017-02-09 20:59:20 LoadBlockIndexDB(): last block file = 0
2017-02-09 20:59:20 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=12100, size=34906947, heights=0...11120, time=2014-10-31...2016-12-10)
2017-02-09 20:59:20 LoadBlockIndexDB(): transaction index disabled
2017-02-09 20:59:20 LoadBlockIndexDB(): hashBestChain=f1d0747b36df0a7149982bbcb5d9f76b46c43863c3dff37099db14d93b18691c height=11120 date=2016-12-10 00:13:30
2017-02-09 20:59:20 init message: Verifying blocks...
2017-02-09 20:59:20 Verifying last 288 blocks at level 3
2017-02-09 21:05:42 No coin database inconsistencies in last 289 blocks (1190 transactions)
2017-02-09 21:05:42 block index 381817ms
2017-02-09 21:05:42 init message: Loading wallet...
2017-02-09 21:05:42 PROCESS BLOCK = 0
2017-02-09 21:05:42 PROCESS BLOCK = 1
2017-02-09 21:05:42 PROCESS BLOCK = 2
2017-02-09 21:05:42 PROCESS BLOCK = 3
2017-02-09 21:05:42 PROCESS BLOCK = 4
2017-02-09 21:05:42 PROCESS BLOCK = 5
2017-02-09 21:05:42 PROCESS BLOCK = 6
2017-02-09 21:05:42 PROCESS BLOCK = 7
2017-02-09 21:05:42 PROCESS BLOCK = 8

And so on..ever time and it never starts in the and it repeats this crappy procedure after it processed all blocks.. seriously will you replace me a drive?

Warnings as errors?

I just came across the blogpost about the == bug. As an outside observer, it seems like such an exploit could have been avoided if no warnings were checked into the codebase. Do you think it might be a good idea to use the -Werror option to turn warnings into errors during compilation to ensure this doesn't happen in the future? Obviously this would require fixing (presumably) other warnings in the codebase, but it is probably worthwhile in the end.

CWalletDB::ListPubCoin() : cannot create DB cursor

EXCEPTION: St13runtime_error       
CWalletDB::ListPubCoin() : cannot create DB cursor       
ZCoin in AppInit()       

terminate called after throwing an instance of 'std::runtime_error'
  what():  CDB() : can't open database file wallet.dat, error -30973

What is that mean?

compile completed, wallet updated, then I got CreateNewBlock: TestBlockValidity

Hi guy

I just upgraded to the new wallet. everthing goes perfect. The wallet has synchronized on the mainnet. However, when I try to obtain a new block by using ./zcoin-cli getblocktemplate it comes the error following:

CreateNewBlock: TestBlockValidity failed: bad-cb-height, block height mismatch in coinbase (code 16)

Can anyone have any idea about this?

OpenSSL compatibility seems to be broken (Fedora 26, openssl-devel 1.1.0f)

I can't compile the wallet, neither the old one nor the Core 0.13 upgrade branch. Here's the entire compiler error dump (starting from 1st error) from the current core_upgrade branch: https://pastebin.com/WvLmRsCd
The old wallet also throws the same errors.

All dependencies are installed and openssl-devel-1.1.0f does provide backwards compatibility to 1.0.2, however this doesn't seem to change the fact that libzerocoin/bitcoin_bignum/bignum.h accesses the OpenSSL bignum module in a way that is unsupported.

I googled around and found these threads about very similar issues with Feathercoin and Bitcoin wallets, respectively:
FeatherCoin/Feathercoin#177
bitcoin/bitcoin#7086

Any chance for a fix?

Syncing speed is atrocious

In close to 3 days it only synced 9600 blocks.
In the last 16 hours the wallet synced ~100 blocks with plenty of nodes (and plenty of "PROCESS REVERSE/ERROR: CTransaction::CheckTransaction() : Error: Node does not have mint zerocoin to verify, please wait until" errors).

But, even without any errors in debug.log and after several restarts it's still painfully slow, sometimes slower than how fast new blocks being found.

If block verification really does requires this much CPU time, at least make it threaded because on 1 core it takes forever.

Win7x64, i7-6800K, SSD, 100Mbps DL.

CWalletDB::ListPubCoin() : cannot create DB cursor

I am trying to run zcoind on ec2 and after restarting server and copied my old wallet I have this error.
Is new zcoin software compatible with old wallets?
What can be wrong here?

************************
EXCEPTION: St13runtime_error       
CWalletDB::ListPubCoin() : cannot create DB cursor       
ZCoin in AppInit()       

terminate called after throwing an instance of 'std::runtime_error'
  what():  CDB() : can't open database file wallet.dat, error -30974

compilation fails with Db 6.2

db.cpp: In member function ‘void CDBEnv::EnvShutdown()’:
db.cpp:40:16: error: call of overloaded ‘DbEnv(int)’ is ambiguous
         DbEnv(0).remove(path.string().c_str(), 0);
                ^
In file included from db.h:14:0,
                 from db.cpp:6:
/usr/include/db6.2/db_cxx.h:916:2: note: candidate: DbEnv::DbEnv(const DbEnv&)
  DbEnv(const DbEnv &);
  ^
In file included from db.h:14:0,
                 from db.cpp:6:
/usr/include/db6.2/db_cxx.h:518:2: note: candidate: DbEnv::DbEnv(DB_ENV*)
  DbEnv(DB_ENV *dbenv);
  ^
/usr/include/db6.2/db_cxx.h:516:2: note: candidate: DbEnv::DbEnv(u_int32_t)
  DbEnv(u_int32_t flags);
  ^

Fix from bitcoin: bitcoin/bitcoin@323a5fe

Synchronisation issues

The node periodically stops synchronising at a seemingly random block until it is restarted.

The following errors appear in the debug.log:

2017-05-14 00:40:01 received block 34b7326d857e7557f5d1e09c7af8ba9f123a8b59f5c5cd384c5c063f1a9129e4
2017-05-14 00:40:01 ERROR: ProcessBlock() : already have block 19958 34b7326d857e7557f5d1e09c7af8ba9f123a8b59f5c5cd384c5c063f1a9129e4

2017-05-14 00:40:23 ProcessBlock: ORPHAN BLOCK, prev=7408d8a11096b39502d6b89d7727ec13231cad1933a13586e3d53926551e6cb3
2017-05-14 00:40:23 received block 769770729275c7175617c128546f964ab066a748698b06f7bfba83c9ce11fd0d
2017-05-14 00:40:23 ProcessBlock: ORPHAN BLOCK, prev=55b2a4afa4b387dbabafa0a380f8f26bd0c1b14d584fc4a919d95770e19d8184
2017-05-14 00:40:23 received block 3343c74207fffc96d1b9bf0d7f5a4831269490b62739430c7840bb5a5f14e00e

2017-05-14 00:40:23 received block eaf11cddc5d120ae2d11301c339a1d3893947db37795bf66b93f04fd1e20268e
2017-05-14 00:40:24 PROCESS REVERSE
2017-05-14 00:40:24 ## denomination = 10, id = 6, pubcoinId = 6 height = 23484
2017-05-14 00:40:24 ## denomination = 10, id = 6, pubcoinId = 6 height = 23459
2017-05-14 00:40:24 ERROR: CTransaction::CheckTransaction() : COIN SPEND TX IN ZQ_GOLDWASSER DID NOT VERIFY!
2017-05-14 00:40:24 ERROR: CheckBlock() : CheckTransaction failed
2017-05-14 00:40:24 ERROR: ProcessBlock() : CheckBlock FAILED

2017-05-14 06:14:12 received block 5d7c544c30579e71716ea2dea99f79bf0eb212ef11e83682d82ac451792f7b96
2017-05-14 06:14:12 ERROR: CTransaction::CheckTransaction() : Error: Node does not have mint zerocoin to verify, please wait until
2017-05-14 06:14:12 ERROR: CheckBlock() : CheckTransaction failed
2017-05-14 06:14:12 ERROR: ProcessBlock() : CheckBlock FAILED

The node runs inside a docker container, with the following configuration:

rpcuser=<rpc_user>
rpcpassword=<rpc_pass>
rpcport=<rpc_port>
rpcallowip=127.0.0.1
rpcallowip=172.17.0.0/16

# Index transactions
txindex=1

# Peer to peer network port
port=<p2p_port>

Add signatures to binaries and other OS versions

I think a privacy centric platform should do the small extra step to add pgp signatures of the binaries. To have OSX and linux versions would be good as well. I saw that there is a OSX version from another contributor, but that means to build up trust to another unknown source. Many people (like me) are not willing to invest more time if they only quickly want to try it out.

Runtime error on macos error: 30974

I am opening this issue due to last one was closed without any reason #49

Here is my debug.log

************************
EXCEPTION: St13runtime_error       
CDB() : can't open database file wallet.dat, error -30974       
ZCoin in Runaway exception       

2017-02-04 21:21:27 



















2017-02-04 21:21:27 ZCoin version v0.8.7.2-unk (2016-12-30 15:14:57 +0100)
2017-02-04 21:21:27 Using OpenSSL version OpenSSL 1.0.2j  26 Sep 2016
2017-02-04 21:21:27 Default data directory /Users/gkucmierz/Library/Application Support/zcoin
2017-02-04 21:21:27 Using data directory /Users/gkucmierz/Library/Application Support/zcoin
2017-02-04 21:21:27 Using at most 125 connections (2560 file descriptors available)
2017-02-04 21:21:27 Using 4 threads for script verification
2017-02-04 21:21:27 init message: Verifying wallet...
2017-02-04 21:21:27 dbenv.open LogDir=/Users/gkucmierz/Library/Application Support/zcoin/database ErrorFile=/Users/gkucmierz/Library/Application Support/zcoin/db.log
2017-02-04 21:21:27 Bound to [::]:8168
2017-02-04 21:21:27 Bound to 0.0.0.0:8168
2017-02-04 21:21:27 init message: Loading block index...
2017-02-04 21:21:27 Wiping LevelDB in /Users/gkucmierz/Library/Application Support/zcoin/blocks/index
2017-02-04 21:21:27 Opening LevelDB in /Users/gkucmierz/Library/Application Support/zcoin/blocks/index
2017-02-04 21:21:27 Opened LevelDB successfully
2017-02-04 21:21:27 Wiping LevelDB in /Users/gkucmierz/Library/Application Support/zcoin/chainstate
2017-02-04 21:21:27 Opening LevelDB in /Users/gkucmierz/Library/Application Support/zcoin/chainstate
2017-02-04 21:21:27 Opened LevelDB successfully
2017-02-04 21:21:27 Initializing databases...
2017-02-04 21:21:27 init message: Verifying blocks...
2017-02-04 21:21:27  block index              43ms
2017-02-04 21:21:27 init message: Loading wallet...
2017-02-04 21:21:27 

************************
EXCEPTION: St13runtime_error       
CDB() : can't open database file wallet.dat, error -30974       
ZCoin in Runaway exception       

2017-02-04 21:21:35 EnvShutdown exception: DB_RUNRECOVERY: Fatal error, run database recovery (-30974)```

Windows 10/64bit Crashes my PC

8.7.8 randomly reboots(crashes) my main PC. Can't sync. My laptop is able to sync with both 8.7.8 and 8.7.7. My main PC could never fully sync. After updating to 8.7.8, my PC now just reboots randomly after opening the wallet. The only thing that might be unique is my PC is always running mining software and keeping my GPU's at 100%. Other then that, i have no problems with any other software on my PC. Haven't looked closely at log files. Any recommendations?

zcoin version v0.2.0 is not working on osx El Capitan

zrzut ekranu 2017-02-08 o 02 54 09

Last login: Mon Feb  6 08:49:53 on ttys001
MacBook-Pro-gkucmierz:~ gkucmierz$ cd ~/Library/Application\ Support/
MacBook-Pro-gkucmierz:Application Support gkucmierz$ ls -al | grep zcoin
drwxr-xr-x   8 gkucmierz  staff    272  8 lut 02:52 zcoin
MacBook-Pro-gkucmierz:Application Support gkucmierz$ rm -rdf zcoin/
MacBook-Pro-gkucmierz:Application Support gkucmierz$ ls -al | grep zcoin
MacBook-Pro-gkucmierz:Application Support gkucmierz$ cd zcoin/
MacBook-Pro-gkucmierz:zcoin gkucmierz$ cat debug.log 
2017-02-08 01:53:33 



















2017-02-08 01:53:33 ZCoin version v0.8.7.3-unk (2016-12-30 15:14:57 +0100)
2017-02-08 01:53:33 Using OpenSSL version OpenSSL 1.0.2j  26 Sep 2016
2017-02-08 01:53:33 Default data directory /Users/gkucmierz/Library/Application Support/zcoin
2017-02-08 01:53:33 Using data directory /Users/gkucmierz/Library/Application Support/zcoin
2017-02-08 01:53:33 Using at most 125 connections (2560 file descriptors available)
2017-02-08 01:53:33 Using 4 threads for script verification
2017-02-08 01:53:33 init message: Verifying wallet...
2017-02-08 01:53:33 dbenv.open LogDir=/Users/gkucmierz/Library/Application Support/zcoin/database ErrorFile=/Users/gkucmierz/Library/Application Support/zcoin/db.log
2017-02-08 01:53:33 Bound to [::]:8168
2017-02-08 01:53:33 Bound to 0.0.0.0:8168
2017-02-08 01:53:33 init message: Loading block index...
2017-02-08 01:53:33 Wiping LevelDB in /Users/gkucmierz/Library/Application Support/zcoin/blocks/index
2017-02-08 01:53:33 Opening LevelDB in /Users/gkucmierz/Library/Application Support/zcoin/blocks/index
2017-02-08 01:53:33 Opened LevelDB successfully
2017-02-08 01:53:33 Wiping LevelDB in /Users/gkucmierz/Library/Application Support/zcoin/chainstate
2017-02-08 01:53:33 Opening LevelDB in /Users/gkucmierz/Library/Application Support/zcoin/chainstate
2017-02-08 01:53:33 Opened LevelDB successfully
2017-02-08 01:53:33 Initializing databases...
2017-02-08 01:53:33 init message: Verifying blocks...
2017-02-08 01:53:33  block index              47ms
2017-02-08 01:53:33 init message: Loading wallet...
2017-02-08 01:53:33 

************************
EXCEPTION: St13runtime_error       
CDB() : can't open database file wallet.dat, error -30974       
ZCoin in Runaway exception       

MacBook-Pro-gkucmierz:zcoin gkucmierz$ ```

unable to compile with latest ubuntu 16.04

installation guide from https://github.com/zcoinofficial/zcoin/wiki/Installation doesn't work for latest ubuntu 16.04, maybe related to openssl

zcoin@zcoin:~/zcoin$ make
Making all in src
make[1]: Entering directory '/home/zcoin/zcoin/src'
make[2]: Entering directory '/home/zcoin/zcoin/src'
make[3]: Entering directory '/home/zcoin/zcoin/src/secp256k1'
make[3]: Leaving directory '/home/zcoin/zcoin/src/secp256k1'
CXX libbitcoin_server_a-blockencodings.o
In file included from libzerocoin/Zerocoin.h:49:0,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h:53: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 libzerocoin/bitcoin_bignum/bignum.h:10,
from libzerocoin/Zerocoin.h:49,
from main.h:32,
from blockencodings.cpp:13:
/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 libzerocoin/Zerocoin.h:49:0,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum()’:
libzerocoin/bitcoin_bignum/bignum.h:58:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
libzerocoin/bitcoin_bignum/bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:63:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
libzerocoin/bitcoin_bignum/bignum.h:64: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))
^
libzerocoin/bitcoin_bignum/bignum.h:66:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:73: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In destructor ‘CBigNum::~CBigNum()’:
libzerocoin/bitcoin_bignum/bignum.h:80:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
libzerocoin/bitcoin_bignum/bignum.h:84:47: error: ‘BN_init’ was not declared in this scope
CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); el
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
libzerocoin/bitcoin_bignum/bignum.h:85:47: error: ‘BN_init’ was not declared in this scope
CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); el
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
libzerocoin/bitcoin_bignum/bignum.h:86:47: error: ‘BN_init’ was not declared in this scope
CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); el
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(int64_t)’:
libzerocoin/bitcoin_bignum/bignum.h:88:49: error: ‘BN_init’ was not declared in this scope
CBigNum(int64_t n) { BN_init(this); setint64(n); }
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
libzerocoin/bitcoin_bignum/bignum.h:89:47: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
libzerocoin/bitcoin_bignum/bignum.h:90:47: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
libzerocoin/bitcoin_bignum/bignum.h:91:47: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(uint64_t)’:
libzerocoin/bitcoin_bignum/bignum.h:93:49: error: ‘BN_init’ was not declared in this scope
CBigNum(uint64_t n) { BN_init(this); setuint64(n); }
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(arith_uint256)’:
libzerocoin/bitcoin_bignum/bignum.h:94:53: error: ‘BN_init’ was not declared in this scope
explicit CBigNum(arith_uint256 n) { BN_init(this); setuint256(n); }
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
libzerocoin/bitcoin_bignum/bignum.h:95:84: error: ‘BN_init’ was not declared in this scope
um(uint256 n) { arith_uint256 m = UintToArith256(n); BN_init(this); setuint2
^
libzerocoin/bitcoin_bignum/bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector&)’:
libzerocoin/bitcoin_bignum/bignum.h:99:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
libzerocoin/bitcoin_bignum/bignum.h: In static member function ‘static CBigNum CBigNum::randBignum(const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:110:39: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rand_range(BIGNUM*, const BIGNUM*)’
if(!BN_rand_range(&ret, &range)){
^
libzerocoin/bitcoin_bignum/bignum.h: In static member function ‘static CBigNum CBigNum::RandKBitBigum(uint32_t)’:
libzerocoin/bitcoin_bignum/bignum.h:122:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rand(BIGNUM*, int, int, int)’
if(!BN_rand(&ret, k, -1, 0)){
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘int CBigNum::bitSize() const’:
libzerocoin/bitcoin_bignum/bignum.h:133:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM*)’
return BN_num_bits(this);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
libzerocoin/bitcoin_bignum/bignum.h:138: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
libzerocoin/bitcoin_bignum/bignum.h:144: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);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
libzerocoin/bitcoin_bignum/bignum.h:149: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);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘int CBigNum::getint() const’:
libzerocoin/bitcoin_bignum/bignum.h:154: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);
^
libzerocoin/bitcoin_bignum/bignum.h:155: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 libzerocoin/Zerocoin.h:49:0,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘void CBigNum::setint64(int64_t)’:
libzerocoin/bitcoin_bignum/bignum.h:203: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);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘void CBigNum::setuint64(uint64_t)’:
libzerocoin/bitcoin_bignum/bignum.h:230: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);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘void CBigNum::setuint256(arith_uint256)’:
libzerocoin/bitcoin_bignum/bignum.h:258: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);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘void CBigNum::setvch(const std::vector&)’:
libzerocoin/bitcoin_bignum/bignum.h:289: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);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘std::vector CBigNum::getvch() const’:
libzerocoin/bitcoin_bignum/bignum.h:294: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);
^
libzerocoin/bitcoin_bignum/bignum.h:298: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]);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
libzerocoin/bitcoin_bignum/bignum.h:334: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);
^
libzerocoin/bitcoin_bignum/bignum.h:338: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);
^
libzerocoin/bitcoin_bignum/bignum.h:339: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));
^
libzerocoin/bitcoin_bignum/bignum.h:341: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 libzerocoin/bitcoin_bignum/bignum.h:10:0,
from libzerocoin/Zerocoin.h:49,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
libzerocoin/bitcoin_bignum/bignum.h:347: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 libzerocoin/Zerocoin.h:49:0,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h:350: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);
^
libzerocoin/bitcoin_bignum/bignum.h:354: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));
^
libzerocoin/bitcoin_bignum/bignum.h:355: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);
^
libzerocoin/bitcoin_bignum/bignum.h:365: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 libzerocoin/Zerocoin.h:49:0,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
libzerocoin/bitcoin_bignum/bignum.h:439: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);
^
libzerocoin/bitcoin_bignum/bignum.h:442: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)
^
libzerocoin/bitcoin_bignum/bignum.h:444: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)
^
libzerocoin/bitcoin_bignum/bignum.h:446: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))
^
libzerocoin/bitcoin_bignum/bignum.h:452: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum CBigNum::pow(const CBigNum&) const’:
libzerocoin/bitcoin_bignum/bignum.h:499:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_exp(&ret, this, &e, pctx))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum CBigNum::mul_mod(const CBigNum&, const CBigNum&) const’:
libzerocoin/bitcoin_bignum/bignum.h:512:49: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mod_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod_mul(&ret, this, &b, &m, pctx))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum CBigNum::pow_mod(const CBigNum&, const CBigNum&) const’:
libzerocoin/bitcoin_bignum/bignum.h:530:56: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mod_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod_exp(&ret, &inv, &posE, &m, pctx))
^
libzerocoin/bitcoin_bignum/bignum.h:533:49: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mod_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod_exp(&ret, this, &e, &m, pctx))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum CBigNum::inverse(const CBigNum&) const’:
libzerocoin/bitcoin_bignum/bignum.h:548:49: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_mod_inverse(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod_inverse(&ret, this, &m, pctx))
^
libzerocoin/bitcoin_bignum/bignum.h: In static member function ‘static CBigNum CBigNum::generatePrime(unsigned int, bool)’:
libzerocoin/bitcoin_bignum/bignum.h:561:81: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_generate_prime_ex(BIGNUM*, int, int, const BIGNUM*, const BIGNUM*, BN_GENCB*)’
if(!BN_generate_prime_ex(&ret, numBits, (safe == true), NULL, NULL, NULL))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum CBigNum::gcd(const CBigNum&) const’:
libzerocoin/bitcoin_bignum/bignum.h:574:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_gcd(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_gcd(&ret, this, &b, pctx))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘bool CBigNum::isPrime(int) const’:
libzerocoin/bitcoin_bignum/bignum.h:587:19: warning: ‘int BN_is_prime(const BIGNUM*, int, void ()(int, int, void), BN_CTX*, void*)’ is deprecated [-Wdeprecated-declarations]
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from libzerocoin/bitcoin_bignum/bignum.h:10,
from libzerocoin/Zerocoin.h:49,
from main.h:32,
from blockencodings.cpp:13:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from libzerocoin/Zerocoin.h:49:0,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h:587:19: warning: ‘int BN_is_prime(const BIGNUM*, int, void ()(int, int, void), BN_CTX*, void*)’ is deprecated [-Wdeprecated-declarations]
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from libzerocoin/bitcoin_bignum/bignum.h:10,
from libzerocoin/Zerocoin.h:49,
from main.h:32,
from blockencodings.cpp:13:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from libzerocoin/Zerocoin.h:49:0,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h:587:61: warning: ‘int BN_is_prime(const BIGNUM*, int, void ()(int, int, void), BN_CTX*, void*)’ is deprecated [-Wdeprecated-declarations]
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from libzerocoin/bitcoin_bignum/bignum.h:10,
from libzerocoin/Zerocoin.h:49,
from main.h:32,
from blockencodings.cpp:13:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from libzerocoin/Zerocoin.h:49:0,
from main.h:32,
from blockencodings.cpp:13:
libzerocoin/bitcoin_bignum/bignum.h:587:61: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_prime(const BIGNUM*, int, void ()(int, int, void), BN_CTX*, void*)’
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘bool CBigNum::isOne() const’:
libzerocoin/bitcoin_bignum/bignum.h:595:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_one(const BIGNUM*)’
return BN_is_one(this);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘bool CBigNum::operator!() const’:
libzerocoin/bitcoin_bignum/bignum.h:602: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);
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:607: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:621: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
libzerocoin/bitcoin_bignum/bignum.h:640: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
libzerocoin/bitcoin_bignum/bignum.h:651: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)
^
libzerocoin/bitcoin_bignum/bignum.h:657: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
libzerocoin/bitcoin_bignum/bignum.h:666: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()))
^
libzerocoin/bitcoin_bignum/bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
libzerocoin/bitcoin_bignum/bignum.h:683: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()))
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:711: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:719: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:727: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));
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:735: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:744: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:753:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_nnmod(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_nnmod(&r, &a, &b, pctx))
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
libzerocoin/bitcoin_bignum/bignum.h:761: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))
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:773:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
ator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:774:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
ator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:775:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
ator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:776:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
ator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:777:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
rator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); }
^
libzerocoin/bitcoin_bignum/bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
libzerocoin/bitcoin_bignum/bignum.h:778:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
rator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
^
In file included from ./serialize.h:24:0,
from ./amount.h:9,
from ./primitives/transaction.h:9,
from primitives/block.h:9,
from blockencodings.h:8,
from blockencodings.cpp:5:
./definition.h: At global scope:
./definition.h:17:16: warning: ‘nStartRewardTime’ defined but not used [-Wunused-variable]
static int64_t nStartRewardTime = 1475020800;
^
Makefile:4682: recipe for target 'libbitcoin_server_a-blockencodings.o' failed
make[2]: *** [libbitcoin_server_a-blockencodings.o] Error 1
make[2]: Leaving directory '/home/zcoin/zcoin/src'
Makefile:7289: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zcoin/zcoin/src'
Makefile:684: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Cant synced,Error: Node does not have mint zerocoin to verify, please wait until

2017-02-11 00:23:06 c2012495082d89d00ff7f4dea60443d42a4aec921d173594dde3b6f778febae3 from 46.101.31.112:8168 /Satoshi:0.8.7.2/ was not accepted into the memory pool
2017-02-11 00:23:09 received block dbb1f60bf48af90e1ab1db93d1b08ecd8818dfa25f9d7cae6c52d628ad83a448
2017-02-11 00:23:09 ERROR: CTransaction::CheckTransaction() : Error: Node does not have mint zerocoin to verify, please wait until
2017-02-11 00:23:09 ERROR: CheckBlock() : CheckTransaction failed
2017-02-11 00:23:09 ERROR: ProcessBlock() : CheckBlock FAILED
  "version" : 80704,
   "protocolversion" : 90020,
   "walletversion" : 60000,
   "balance" : 0.00000000,
   "blocks" : 20445,
   "timeoffset" : -1,
   "connections" : 8,
   "proxy" : "",
   "difficulty" : 0.02085286,
   "testnet" : false,
   "keypoololdest" : 1486394063,
   "keypoolsize" : 101,
   "paytxfee" : 0.00000000,
   "mininput" : 0.00001000,
   "errors" : ""

Cant synced
how to fix it?

@aizensou @djm34 @

Difficulty bomb in algo

With the current specs, mining will cease as the Lyra2 algo with block header as rows will grow memory usage beyond realistic limits very soon, diff is ramping up too steep.

Fix this by setting a hard value or something similar.

Help message lists wrong listening ports

The help message seen when running "./zcoind --help" lists the wrong default ports for -port option and -rpcport, creating confusion for users trying to learn how to run a secure full node.

The help message lists the default -port value as 8889, when in fact it appears the program listens on 8168.

The help message lists the default -rpcport value as 6888, when in fact it appears the program services rpc calls on port 8888.

getblocktemplate command not working

When given the "getblocktemplate" command it reports:"CreateNewBlock: TestBlockValidity failed: bad-cb-height, block height mismatch in coinbase (code 16) (code -1)"

Last build is not working on osx

Build v0.1.8 is not working on my mac.
Actually v0.1.6 is also not working so there is not any working build for mac right now.

zrzut ekranu 2017-02-01 o 08 30 47

osx build fail

this error on OSX using qt 5.3.2
also qt 4.8.6

../src/serialize.h:600:5: error: call to 'Serialize' is ambiguous
Serialize(os, item.second, nType, nVersion);
^~~~~~~~~
../src/serialize.h:1075:11: note: in instantiation of function template specialization 'Serialize<CDataStream, std::basic_string, libzerocoin::CoinDenomination>' requested here
::Serialize(this, obj, nType, nVersion);
^
../src/db.h:155:15: note: in instantiation of function template specialization 'CDataStream::operator<<std::pair<std::basic_string<char, libzerocoin::CoinDenomination> >' requested here
ssKey << key;
^
../src/walletdb.cpp:68:12: note: in instantiation of function template specialization 'CDB::Writestd::pair<std::basic_string<char, libzerocoin::CoinDenomination>, libzerocoin::Accumulator>' requested here
return Write(make_pair(std::string("zcaccumulator"), denomination), accumulator);
^
../src/serialize.h:125:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, signed int a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:120:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, char a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:121:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, signed char a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:122:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, unsigned char a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:123:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, signed short a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:124:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, unsigned short a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:126:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, unsigned int a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:127:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, signed long a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:128:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, unsigned long a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:129:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, int64 a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:130:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, uint64 a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:131:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, float a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:132:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, double a, int, int=0) { WRITEDATA(s, a); }
^
../src/serialize.h:149:39: note: candidate function [with Stream = CDataStream]
template inline void Serialize(Stream& s, bool a, int, int=0) { char f=a; WRITEDATA(s, f); }
^
../src/serialize.h:432:13: note: candidate function [with Stream = CDataStream, T = libzerocoin::CoinDenomination]
inline void Serialize(Stream& os, const T& a, long nType, int nVersion)
^
4 warnings and 1 error generated.
make: *
* [build/walletdb.o] Error 1

Cant open wallet.dat

zcoin wallet is still broken on macos El Capitan!

zrzut ekranu 2017-03-26 o 22 07 35

It also cant work with my wallet.dat created in early zcoin version on amazon ec2.
How can I recover that wallet?

Qt 4.8.5 on win10/64 stuck @ 13999 blocks

Qt 4.8.5 on win10/64 stuck @ 13999 blocks
Debug log show "connection timeout" repetitivly on every :8168 port.
Is there anything I can do to sync zcoin wallet?
tks

hi all, two newbi question

hi community, i m gemini, thinking Zcoin, egalitary computing policie came at the most hot moment of cryptocurrencies, ecelent choice, i didn't understand nothing, but big picture is pretty ok,

i plan to start solo mining with one of my 3 rigs
6 1060 under win10 with G4400 cpu and 4 Gb ram DDR4

so first) i had search for doc on launch daemon via console of the qt wallet but i m not sure, in facts, i read help command section but no find????
could some one just indicate me some things?

second) is the algo pass to MTP or not yet, on maproad, its august 2017 , it seems to be no, but here too i m deep out.
most important 👍
thank u reading me, and thanks to the staff of zcoin

OSX out of memory

The OSX binary causes an alert that there is no memory for the system available anymore. My MAC has 12GB RAM so that is quite a lot. In the activity manager I saw ZCoin consumes > 2GB which is very high but event that should not cause that problem. It happens at first startup.

Zcoin OSX wallet does not generate wallet.dat

Symptom
zcoin-error

It came as a bit of surprise when OSX wallet complained about missing wallet.dat file from the initial run. (I believe this file should be auto-generated.) I tried to manually generate the file by running zcoin-qt binary in the application with appropriate options, but there simply was no way to do so.

As a last resort, I ran zcoind on a linux host, made wallet.dat, and copied the file to get the wallet program started. After that, everything went as expected.

Environment

  • OSX : 10.11
  • Zcoin : 0.8.7.8

fail to specify rpcconnect ip

i use: zcoind --rpcconnect=192.168.80.19
but netstat -anp | grep :8888 still show me 127.0.0.1:8888
however rpcport takes effect
does anyone can help me?
use compiled src on master
Thx

Wrong cipher decoder

Also as I noticed you are using a old slow instruction to verify blocks.

Using OpenSSL version OpenSSL 1.0.1j 15 Oct 2014
2017-02-10 18:43:27 Default data directory C:\Users\User1\AppData\Roaming\zcoin
2017-02-10 18:43:27 Using data directory C:\Users\user1\AppData\Roaming\zcoin
2017-02-10 18:43:27 Using at most 800 connections (2048 file descriptors available)
2017-02-10 18:43:27 Using 12 threads for script verification
2017-02-10 18:43:27 scrypt: using scrypt-sse2 as detected.

I have a Xeon E5-1650v4 in my system and you could easily use AES-NI and other new instructions and speed that by over 100%.

User proper and current SSL Lips as the OpenSSL Libs you are using not even deprecated but also dangerous and potentially dangerous.

"make test" fails to build on Arch linux

Hello. I've been waiting for a zerocoin implementation for a long long time and I recently decided to give zcoin a try. Thank you!

I'm building the daemon only, without Qt or UPNP support. The zcoind binary builds file, just some warnings, and appears to work fine, other than having a bit of a "new code smell." However the test binary won't build.

g++ (GCC) 6.3.1 20170306
boost 1.63.0

make -f makefile.unix USE_UPNP=- -e PIE=1 test
g++ -c -DTEST_DATA_DIR=/home/user/zcoin/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/zcoin/src -I/home/user/zcoin/src/obj -DUSE_IPV6=1 -I/home/user/zcoin/src/leveldb/include -I/home/user/zcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -fPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -MMD -MF obj-test/transaction_tests.d -o obj-test/transaction_tests.o test/transaction_tests.cpp
In file included from /home/user/zcoin/src/libzerocoin/Zerocoin.h:52:0,
                 from /home/user/zcoin/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/user/zcoin/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^~~~~
In file included from /home/user/zcoin/src/libzerocoin/Zerocoin.h:54:0,
                 from /home/user/zcoin/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/user/zcoin/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^~~~~
In file included from /home/user/zcoin/src/libzerocoin/Zerocoin.h:56:0,
                 from /home/user/zcoin/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/user/zcoin/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination();
                                         ^
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp: In member function 'void transaction_tests::tx_valid::test_method()':
test/transaction_tests.cpp:70:58: error: no matching function for call to 'CTransaction::CheckTransaction(CValidationState&)'
             BOOST_CHECK_MESSAGE(tx.CheckTransaction(state), strTest);
                                                          ^
In file included from test/transaction_tests.cpp:6:0:
/home/user/zcoin/src/main.h:698:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^~~~~~~~~~~~~~~~
/home/user/zcoin/src/main.h:698:10: note:   candidate expects 4 arguments, 1 provided
test/transaction_tests.cpp: In member function 'void transaction_tests::tx_invalid::test_method()':
test/transaction_tests.cpp:139:47: error: no matching function for call to 'CTransaction::CheckTransaction(CValidationState&)'
             fValid = tx.CheckTransaction(state) && state.IsValid();
                                               ^
In file included from test/transaction_tests.cpp:6:0:
/home/user/zcoin/src/main.h:698:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^~~~~~~~~~~~~~~~
/home/user/zcoin/src/main.h:698:10: note:   candidate expects 4 arguments, 1 provided
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp: In member function 'void transaction_tests::basic_transaction_tests::test_method()':
test/transaction_tests.cpp:166:50: error: no matching function for call to 'CTransaction::CheckTransaction(CValidationState&)'
     BOOST_CHECK_MESSAGE(tx.CheckTransaction(state) && state.IsValid(), "Simple deserialized transaction should be valid.");
                                                  ^
In file included from test/transaction_tests.cpp:6:0:
/home/user/zcoin/src/main.h:698:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^~~~~~~~~~~~~~~~
/home/user/zcoin/src/main.h:698:10: note:   candidate expects 4 arguments, 1 provided
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp:170:51: error: no matching function for call to 'CTransaction::CheckTransaction(CValidationState&)'
     BOOST_CHECK_MESSAGE(!tx.CheckTransaction(state) || !state.IsValid(), "Transaction with duplicate txins should be invalid.");
                                                   ^
In file included from test/transaction_tests.cpp:6:0:
/home/user/zcoin/src/main.h:698:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^~~~~~~~~~~~~~~~
/home/user/zcoin/src/main.h:698:10: note:   candidate expects 4 arguments, 1 provided
/home/user/zcoin/src/main.h: At global scope:
/home/user/zcoin/src/main.h:200:14: warning: 'int64 GetBlockValue(int, int64, unsigned int)' declared 'static' but never defined [-Wunused-function]
 int64 static GetBlockValue(int nHeight, int64 nFees, unsigned int nTime);
              ^~~~~~~~~~~~~
make: *** [makefile.unix:231: obj-test/transaction_tests.o] Error 1

Your Aux ChainID is equal to 1

Your Aux ChainID is equal to 1
in which is too many coin overlap each other, you should change it to a uniqe number .

Mining not valid Zcoin?

I have mined Zcoin whit Windows wallet version 1.8 (https://github.com/zcoinofficial/zcoin/releases/), the coins is confirmed and I have this in my wallet; I send a coins to my wallet on Cryptopya and Novaexchange but the transactions not have effects; If I sendo coin to other my wallet have the same results: no transaction. Oly wen I send to myself have a transaction. I have checked transactions on https://zcoin.rocks/chain/ZCoin but not have retrieved any trace (by mining address, transaction ID..)
Previus I use 1.6 version.
Help me!
Thanks

make test error.

Hi.

I get the following error using the following command:

make -f makefile.unix test

test@test:~/zcoin-0.8.8.0-mtptest/src$ make -f makefile.unix 
Building LevelDB ...
make[1]: Entering directory '/home/test/zcoin-0.8.8.0-mtptest/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -c db/builder.cc -o db/builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -c db/c.cc -o db/c.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -c db/dbformat.cc -o db/dbformat.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -c db/db_impl.cc -o db/db_impl.o
^Cmake[1]: *** wait: No child processes.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes.  Stop.
makefile.unix:196: recipe for target 'leveldb/libleveldb.a' failed
make: *** [leveldb/libleveldb.a] Interrupt

test@test:~/zcoin-0.8.8.0-mtptest/src$ make -f makefile.unix clean
rm -f zcoind test_zcoin
rm -f Lyra2Z/*.o
rm -f obj/*.o
rm -f obj-test/*.o
rm -f obj/*.P
rm -f obj-test/*.P
rm -f obj/build.h
cd leveldb && make clean || true
make[1]: Entering directory '/home/test/zcoin-0.8.8.0-mtptest/src/leveldb'
rm -f db_bench leveldbutil arena_test autocompact_test bloom_test c_test cache_test coding_test corruption_test crc32c_test db_test dbformat_test env_test filename_test filter_block_test issue178_test log_test memenv_test skiplist_test table_test version_edit_test version_set_test write_batch_test db_bench_sqlite3 db_bench_tree_db libleveldb.a libleveldb.so libleveldb.so.1 libleveldb.so.1.13 libmemenv.a */*.o */*/*.o ios-x86/*/*.o ios-arm/*/*.o build_config.mk
rm -rf ios-x86/* ios-arm/*
make[1]: Leaving directory '/home/test/zcoin-0.8.8.0-mtptest/src/leveldb'
test@test:~/zcoin-0.8.8.0-mtptest/src$ make -f makefile.unix test
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -MMD -MF obj-test/accounting_tests.d -o obj-test/accounting_tests.o test/accounting_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
                 from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
         ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
                       ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:52:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
                 from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h: At global scope:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:54:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
                 from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:56:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
                 from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination();
                                         ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:13,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/init.h:8,
                 from test/accounting_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CDataStream; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:789:41:   required from ‘void Unserialize(Stream&, std::map<K, T, Pred, A>&, int, int) [with Stream = CDataStream; K = std::__cxx11::basic_string<char>; T = std::__cxx11::basic_string<char>; Pred = std::less<std::__cxx11::basic_string<char> >; A = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1171:22:   required from ‘CDataStream& CDataStream::operator>>(T&) [with T = std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
/home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:845:5:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
         printf("nSizeRet : %llu \n MAX_SIZE : %llu", nSizeRet, MAX_SIZE);
               ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CAutoFile; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:631:41:   required from ‘void Unserialize_impl(Stream&, std::vector<T, A>&, int, int, const false_type&) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>; boost::false_type = boost::integral_constant<bool, false>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:648:21:   required from ‘void Unserialize(Stream&, std::vector<T, A>&, int, int) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = std::vector<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:807:5:   required from ‘void CBlockUndo::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22:   required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:853:24:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Serialize(Stream&, const block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16:   required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5:   required from ‘void CBlockHeader::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5:   required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16:   required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5:   required from ‘void CBlock::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5:   required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1290:20:   required from ‘CAutoFile& CAutoFile::operator<<(const T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1592:21:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:159:27: warning: unused variable ‘k’ [-Wunused-variable]
         int i =0 , r = 0, k = 0;
                           ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Unserialize(Stream&, block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5:   required from ‘void CBlockHeader::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5:   required from ‘void CBlock::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22:   required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1613:24:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:195:27: warning: unused variable ‘k’ [-Wunused-variable]
         int i = 0, r = 0, k = 0;
                           ^
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -MMD -MF obj-test/canonical_tests.d -o obj-test/canonical_tests.o test/canonical_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/key.h:11:0,
                 from test/canonical_tests.cpp:8:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
         ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
                       ^
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -MMD -MF obj-test/util_tests.d -o obj-test/util_tests.o test/util_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
                 from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
         ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
                       ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:52:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h: At global scope:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:54:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:56:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination();
                                         ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
                 from test/util_tests.cpp:5:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CDataStream; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:789:41:   required from ‘void Unserialize(Stream&, std::map<K, T, Pred, A>&, int, int) [with Stream = CDataStream; K = std::__cxx11::basic_string<char>; T = std::__cxx11::basic_string<char>; Pred = std::less<std::__cxx11::basic_string<char> >; A = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1171:22:   required from ‘CDataStream& CDataStream::operator>>(T&) [with T = std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
/home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:845:5:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
         printf("nSizeRet : %llu \n MAX_SIZE : %llu", nSizeRet, MAX_SIZE);
               ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CAutoFile; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:631:41:   required from ‘void Unserialize_impl(Stream&, std::vector<T, A>&, int, int, const false_type&) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>; boost::false_type = boost::integral_constant<bool, false>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:648:21:   required from ‘void Unserialize(Stream&, std::vector<T, A>&, int, int) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = std::vector<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:807:5:   required from ‘void CBlockUndo::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22:   required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:853:24:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Serialize(Stream&, const block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16:   required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5:   required from ‘void CBlockHeader::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5:   required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16:   required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5:   required from ‘void CBlock::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5:   required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1290:20:   required from ‘CAutoFile& CAutoFile::operator<<(const T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1592:21:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:159:27: warning: unused variable ‘k’ [-Wunused-variable]
         int i =0 , r = 0, k = 0;
                           ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Unserialize(Stream&, block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5:   required from ‘void CBlockHeader::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5:   required from ‘void CBlock::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22:   required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1613:24:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:195:27: warning: unused variable ‘k’ [-Wunused-variable]
         int i = 0, r = 0, k = 0;
                           ^
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -MMD -MF obj-test/checkblock_tests.d -o obj-test/checkblock_tests.o test/checkblock_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
                 from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
         ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
                       ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:52:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h: At global scope:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:54:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:56:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination();
                                         ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
                 from test/checkblock_tests.cpp:11:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CDataStream; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:789:41:   required from ‘void Unserialize(Stream&, std::map<K, T, Pred, A>&, int, int) [with Stream = CDataStream; K = std::__cxx11::basic_string<char>; T = std::__cxx11::basic_string<char>; Pred = std::less<std::__cxx11::basic_string<char> >; A = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1171:22:   required from ‘CDataStream& CDataStream::operator>>(T&) [with T = std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
/home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:845:5:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
         printf("nSizeRet : %llu \n MAX_SIZE : %llu", nSizeRet, MAX_SIZE);
               ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CAutoFile; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:631:41:   required from ‘void Unserialize_impl(Stream&, std::vector<T, A>&, int, int, const false_type&) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>; boost::false_type = boost::integral_constant<bool, false>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:648:21:   required from ‘void Unserialize(Stream&, std::vector<T, A>&, int, int) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = std::vector<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:807:5:   required from ‘void CBlockUndo::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22:   required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:853:24:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Serialize(Stream&, const block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16:   required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5:   required from ‘void CBlockHeader::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5:   required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16:   required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5:   required from ‘void CBlock::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5:   required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1290:20:   required from ‘CAutoFile& CAutoFile::operator<<(const T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1592:21:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:159:27: warning: unused variable ‘k’ [-Wunused-variable]
         int i =0 , r = 0, k = 0;
                           ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Unserialize(Stream&, block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5:   required from ‘void CBlockHeader::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5:   required from ‘void CBlock::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22:   required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1613:24:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:195:27: warning: unused variable ‘k’ [-Wunused-variable]
         int i = 0, r = 0, k = 0;
                           ^
g++ -c -DTEST_DATA_DIR=/home/test/zcoin-0.8.8.0-mtptest/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fpermissive -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/test/zcoin-0.8.8.0-mtptest/src -I/home/test/zcoin-0.8.8.0-mtptest/src/obj -DUSE_IPV6=1 -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/include -I/home/test/zcoin-0.8.8.0-mtptest/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -MMD -MF obj-test/transaction_tests.d -o obj-test/transaction_tests.o test/transaction_tests.cpp
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
                 from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In function ‘unsigned int GetSerializeSize(const block_with_offset*, int, int)’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:9: warning: unused variable ‘i’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
         ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:141:23: warning: unused variable ‘k’ [-Wunused-variable]
     int i =0 , r = 0, k = 0;
                       ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:52:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h: At global scope:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:54:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/Zerocoin.h:56:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination();
                                         ^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp: In member function ‘void transaction_tests::tx_valid::test_method()’:
test/transaction_tests.cpp:70:58: error: no matching function for call to ‘CTransaction::CheckTransaction(CValidationState&)’
             BOOST_CHECK_MESSAGE(tx.CheckTransaction(state), strTest);
                                                          ^
In file included from test/transaction_tests.cpp:6:0:
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note:   candidate expects 4 arguments, 1 provided
test/transaction_tests.cpp: In member function ‘void transaction_tests::tx_invalid::test_method()’:
test/transaction_tests.cpp:139:47: error: no matching function for call to ‘CTransaction::CheckTransaction(CValidationState&)’
             fValid = tx.CheckTransaction(state) && state.IsValid();
                                               ^
In file included from test/transaction_tests.cpp:6:0:
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note:   candidate expects 4 arguments, 1 provided
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp: In member function ‘void transaction_tests::basic_transaction_tests::test_method()’:
test/transaction_tests.cpp:166:50: error: no matching function for call to ‘CTransaction::CheckTransaction(CValidationState&)’
     BOOST_CHECK_MESSAGE(tx.CheckTransaction(state) && state.IsValid(), "Simple deserialized transaction should be valid.")
                                                  ^
In file included from test/transaction_tests.cpp:6:0:
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note:   candidate expects 4 arguments, 1 provided
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp:170:51: error: no matching function for call to ‘CTransaction::CheckTransaction(CValidationState&)’
     BOOST_CHECK_MESSAGE(!tx.CheckTransaction(state) || !state.IsValid(), "Transaction with duplicate txins should be inval
                                                   ^
In file included from test/transaction_tests.cpp:6:0:
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:711:10: note:   candidate expects 4 arguments, 1 provided
In file included from /home/test/zcoin-0.8.8.0-mtptest/src/netbase.h:10:0,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/util.h:30,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/bignum.h:12,
                 from /home/test/zcoin-0.8.8.0-mtptest/src/main.h:8,
                 from test/transaction_tests.cpp:6:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CDataStream; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:789:41:   required from ‘void Unserialize(Stream&, std::map<K, T, Pred, A>&, int, int) [with Stream = CDataStream; K = std::__cxx11::basic_string<char>; T = std::__cxx11::basic_string<char>; Pred = std::less<std::__cxx11::basic_string<char> >; A = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1171:22:   required from ‘CDataStream& CDataStream::operator>>(T&) [with T = std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
/home/test/zcoin-0.8.8.0-mtptest/src/wallet.h:845:5:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
         printf("nSizeRet : %llu \n MAX_SIZE : %llu", nSizeRet, MAX_SIZE);
               ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘uint64 ReadCompactSize(Stream&) [with Stream = CAutoFile; uint64 = long long unsigned int]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:631:41:   required from ‘void Unserialize_impl(Stream&, std::vector<T, A>&, int, int, const false_type&) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>; boost::false_type = boost::integral_constant<bool, false>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:648:21:   required from ‘void Unserialize(Stream&, std::vector<T, A>&, int, int) [with Stream = CAutoFile; T = CTxUndo; A = std::allocator<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = std::vector<CTxUndo>]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:807:5:   required from ‘void CBlockUndo::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22:   required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlockUndo]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:853:24:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:319:15: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Serialize(Stream&, const block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16:   required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5:   required from ‘void CBlockHeader::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5:   required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:853:16:   required from ‘unsigned int SerReadWrite(Stream&, const T&, int, int, CSerActionSerialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5:   required from ‘void CBlock::Serialize(Stream&, int, int) const [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:522:5:   required from ‘void Serialize(Stream&, const T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1290:20:   required from ‘CAutoFile& CAutoFile::operator<<(const T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1592:21:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:159:27: warning: unused variable ‘k’ [-Wunused-variable]
         int i =0 , r = 0, k = 0;
                           ^
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h: In instantiation of ‘void Unserialize(Stream&, block_with_offset*, int, int) [with Stream = CAutoFile; block_with_offset = block_with_offset_]’:
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = block_with_offset_ [140]]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1355:5:   required from ‘void CBlockHeader::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:860:18:   required from ‘unsigned int SerReadWrite(Stream&, T&, int, int, CSerActionUnserialize) [with Stream = CAutoFile; T = CBlockHeader]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1486:5:   required from ‘void CBlock::Unserialize(Stream&, int, int) [with Stream = CAutoFile]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:528:5:   required from ‘void Unserialize(Stream&, T&, long int, int) [with Stream = CAutoFile; T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:1300:22:   required from ‘CAutoFile& CAutoFile::operator>>(T&) [with T = CBlock]’
/home/test/zcoin-0.8.8.0-mtptest/src/main.h:1613:24:   required from here
/home/test/zcoin-0.8.8.0-mtptest/src/serialize.h:195:27: warning: unused variable ‘k’ [-Wunused-variable]
         int i = 0, r = 0, k = 0;
                           ^
makefile.unix:247: recipe for target 'obj-test/transaction_tests.o' failed
make: *** [obj-test/transaction_tests.o] Error 1

Thanks.

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.