Donate VRC/VRM for the Wiki to VBzaNDExHyFpnNvYc5QH5e4ipBZqxxPnKJ . Thank you, Joe.

Manual wallet installation

From VeriCoin & Verium Wiki
Jump to: navigation, search
Manual Wallet Installation

In a Terminal start with (you need internet access)

 sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -f -y

While this is downloading it might be worth visiting the official website: Verium

The wallet needs this:

 sudo apt-get install build-essential libboost-dev libboost-system-dev libboost-filesystem-dev \
      libcurl4-openssl-dev libboost-thread-dev libssl-dev libdb++-dev libboost-program-options-dev \
      libminiupnpc-dev libboost-all-dev libqrencode-dev freeglut3-dev git libminizip-dev -y

A more detailed guide can be found [[1]], we are at Step 3.8 .

Clone the wallet software itself

 git clone https://github.com/VeriumReserve/verium

Specify custom directory by

 git clone https://github.com/VeriumReserve/verium ~/verium/wallet

And in the meantime the Forum is another interesting place: Verium Forum

The wallet lives here

 cd verium/src

We give birth to the wallet by

 make -f makefile.unix

This may take a while.

It is configured in

 nano verium.conf

with the following code addnode=vrmsupernode.vericoin.info addnode=vrmsupernode3.vericoin.info server=1 listen=1 daemon=1 rpcuser=YourSoloMiningName rpcpassword=YourSoloMiningPassword rpcallowip=YourAccessIP rpcallowip=localhost Details can be configured later as well. Add more nodes from [[2]]. If you mine solo you have to come up with a username and a password for your miners to access the wallet. You also have to configure the IPs of the machines that should be able to connect.

Now start the wallet

 ./veriumd

The wallet starts downloading the blockchain now. Get info about this by:

 ./veriumd getinfo 

In the reply look for

 "blocks" : SOME_NUMBER,

Once in a while you should check if that number still goes up. If not I just killed and started it again.

It will take exactly "fucking" long to download all the blocks of the blockchain. For me it took about 10 days, I am at block 113102 while writing this - nearly done. :)

The most important thing right now is your wallets address gotten by

  ./veriumd getaddressesbyaccount ""

To speed up the Blockchain download you can manually download it and then stop the wallet

 wget -O ~/verium/bootstrap_VRM.zip http://www.vericoin.info/downloads/bootstrap_VRM.zip
 ./veriumd stop

unzip it

 cd ~/verium
 unzip bootstrap_VRM.zip

remove initial blockchain files

 rm -rf ~/.verium/txleveldb
 rm -rf ~/.verium/blk0001.dat

and replace them by the recently downloaded ones

 mv ~/verium/bootstrap/blk0001.dat ~/.verium/blk0001.dat
 mv ~/verium/bootstrap/txleveldb ~/.verium/txleveldb

Finally **backup** by

 cp ~/.verium/wallet.dat somewhere/save/wallet.dat
 

I hope that is enough, haven't tried a restore case yet.

Some other commands for veriumd usage and troubleshooting:

 ./veriumd bootstrap true

Still have to test this, afaik it is another way to quickly download the blockchain.

Tested now, it takes a while and then outputs

 {
   "success" : true,
   "comment" : "Bootstrap successful; veriumd has been stopped, please restart."
 }

Blockchain update worked, but the verium.conf was resetted.

 ./veriumd getaccountaddress ""

Get some address, not sure yet what it is.

 ./veriumd getmininginfo

to check if you solo miners have access to the wallet

 tail -f ~/.verium/debug.log

to see blocks coming in etc