_ _ ____ _____ _ _____ ____ _____ _ _ | | | | / __ \ | __ \ | | / ____| / __ \ |_ _| | \ | | | |__| | | | | | | | | | | | | | | | | | | | | \| | | __ | | | | | | | | | | | | | | | | | | | | . ` | | | | | | |__| | | |__| | | |____ | |____ | |__| | _| |_ | |\ | |_| |_| \____/ |_____/ |______| \_____| \____/ |_____| |_| \_| ___ _ ___ | __| /_\ / _ \ | _| / _ \ | (_) | |_| /_/ \_\ \__\_\ _______________________________________________________________________________________ | | | -HODLCOIN- | | | | Quick and easy step into world of cryptocurrencies. | | CPU only mining. No ASIC, FPGA or GPU. You can use an ordinary PC! Mining GUI. | | Interest rates guaranteed by the blockchain. | | 5% interest on regular balances. | | Up to 10% interest on term deposits. | | No need to run your wallet. | | Higher capasity and faster transaction times than Bitcoin! | | Fair launch. No Premine/Instamine/Ninja. | | | | HOdlcoin is the first coin to pay interest on every balance and offer term deposits. | |_______________________________________________________________________________________| -HODLCOIN RELATED LINKS- Announcement and Bitcointal forum: https://bitcointalk.org/index.php?topic=1317918.0 Wallet, exchanges, pools, interest rate calculator etc: http://hodlcoin.com/ Discord: https://discord.gg/x5fuQkZ Block explorer: http://hodl.amit.systems:1781 and http://hodlchain.info Mining Calculator: https://bitmakler.net/HOdlcoin___mining Benchmarks: http://hodlcoin.fi/cpus/CPU_vs_Hash_rate.xhtml Paper wallet generator: https://walletgenerator.net/?currency=HOdlcoin Price Apps: BlockFolio app (Apple and Android): https://blockfolio.com Hodl app by hintofbasil (Android): https://play.google.com/store/apps/details?id=com.github.hintofbasil.hodl HODL Real-Time Cryptocurrency (Apple): https://itunes.apple.com/us/app/hodl-real-time-cryptocurrency/id1253668876?mt=8 -HOW TO BACKUP YOUR WALLET (ALL YOUR KEYS)- Turn of your wallet. Go to your Hodlcoin data directory. The default location in Windows Vista, 7 and 10 is C:\Users\YourUserName\Appdata\Roaming\Hodlcoin (Windows Vista, 7 and 10) or use a shortcut to the above directory: %APPDATA%\Hodlcoin (In Linux the data directory is by default, ~/.hodlcoin/ . Thats a hidden .hodlcoin folder in your home directory. In OSX the default dir is ~/Library/Application Support/HOdlcoin/ ) If you have configured data directory to non standard folder you can find the location of data directory from debug.log. Open debug.log from your wallet by selecting Help -> Debug Window -> Info -> Show debug log and search line containing 'Using data directory'. You should find a line like '2018-01-24 15:42:00 Using data directory C:\Users\usermae\AppData\Roaming\HOdlcoin'. Copy the file wallet.dat to safe location. -HOW TO RESTORE YOUR WALLET FROM A SAVED WALLET.DAT FILE- 1) Turn of your wallet. 2) Check -HOW TO BACKUP YOUR WALLET (ALL YOUR KEYS)- how to find your data directory. Replace the wallet.dat with the one you have backed up. !!!!Do not replace any wallets you care about without backing them up first!!!! 3) Start your wallet with the flag, -rescan //On Windows this can be done by navigating to your HODLCoin folder and: A) Hold down shift, right click in the folder and select "Open command window here" or "Open PowerShell window here". B) In the command window type/paste, 'hodlcoin-qt.exe -rescan' or '.\hodlcoin-qt.exe -rescan' if you use PowerShell. C) Press ENTER D) Wait for your wallet to update. //The above can also be done by making a .bat file and adding the above flag. //Give your wallet time to synchronize, etc. -HOW TO IMPORT AND EXPORT PRIVATE KEYS- Export private key: 1. Run HOdlcoin-QT (open the wallet) 2. Select Help 3. Select Window 4. Select Console 5. If you encrypted your wallet, unlock it by Typing 'walletpassphrase "" 600' (walletpassphrase "passphrase" timeout) The quotation marks are required if you passphrase contais spaces. 6. Type 'dumpprivkey ' 7. This will return the private key. You can copy it now (make sure you clear your clipboard history afterwards). 8. Type 'walletlock' if you want to encrypt your wallet. Example: 'dumpprivkey HodlDsNuts57MFNiN8CMrMjC2CYAy8pwi9' Import private key: 1. Run HOdlcoin-QT (open the wallet) 2. Select Help 3. Select Debug Window 4. Select Console 5. If you encrypted your wallet, unlock it by Typing 'walletpassphrase 600' (walletpassphrase passphrase timeout) 6. Type 'importprivkey ' 7. Type 'walletlock' if you want to encrypt your wallet. Example importprivkey 5KJvsngHeMpm884wtkJNzQGaCErckhHJBGFsvd3VyK5qMZXj3hS Export (dump) doesn't remove the key from the wallet.dat file. It simply gives it to you. If you take it from one wallet to another, both wallets will be able to access the funds in this address. -HOW TO LIST ALL HODLCOIN ADDRESSES IN YOUR WALLEET- Select Help -> Debug Window -> Console. Type 'listaddressgroupings'. This lists all your public addresses. Hodlcoin wallet works like Bitcoin-Qt. If you received 100 coins to a new address and want to send 10 coins to your friend, 10 coins will go to yours friends address and 90 coins are returned to you as change money. A new address is created for the change money and your original address is empty. If you have 300 and 100 coins in your address you have 90 coins in your change address and 300 coins remain in your original address. // Read: https://bitzuma.com/posts/five-ways-to-lose-money-with-bitcoin-change-addresses/ If you enable Coin control features (Select Settings -> Options -> Wallet -> Enable coin control features) and press Input in Deposit or Send tab you can see all inputs to your wallet. You see to what address are coins sent and what inputs are change money sent back to you. You don't see term deposits until they have matured. https://i.imgur.com/HmUpSp6.png (Image of Coin control feature) -HOW HODLCOIN PAYS INTEREST- 1) Term deposits On Deposits tab in Hodlcoin wallet you can make term deposits. You choose amount of coins and lenght for your term deposit. Minimum lenght is 2 days and maxmimum is 1 year. You also need to enter a deposit address. This is normal public Hodlcoin address. Deposited coins and earned interest are send to this address but you can't use them before term deposit period ends. Coins are locked for whole period. You can use your own address as deposit address or you can send them to your firend's address and your friend will receive the coins and interest when coins mature after term deposit period is over. Below are example rates for 12, 6, 3 and 1 months. 12 month term: 9.9% (APR 9.9%) 6 month term: 4.5% (APR 9.2%) 3 month term: 1.9% (APR 7.8%) 1 month term: 0.5% (APR 6.1%) If you deposit 100 coins for 3 months after 3 months you will have 101.9 coins. Annual percentage rate (APR) is an quivalent rate for 12 months. If you make four 3 months deposits on after another you get 7.8% APR. (1+1.9/100)*(1+1.9/100)*(1+1.9/100)*(1+1.9/100)=(1+1.9/100)^4=1.078 and 1.078-1= 7.8%. A graphical guide how to make a term deposits is found here https://github.com/FreeTrade/HOdlcoin/blob/HODLCoin0.11.3/doc/README.md#term-deposits !!! When a term deposit matures, it stops earning interest. You need to make a new term deposit or send your matured coins to your own address to get the standard 5% annual percentage intetest rate (APR) for 30 days. 2) Standard annual percentage interest rate When you receive coins which are sent by you or someone else you earn the standard 5% annual percentage intetest rate (APR) for 30 days. For 30 days this is about 0.4%. This equals 5% APR for a year. After 30 days coins become inactive and stop earning interest if they are not moved again or you don't make a term deposit. If you receive 100 coins after 30 days you will have 100.4 coins. You don't need to run your wallet to earn interest. Interest is handled by the blockchain. If you like to support Hodlcoin network you can open port 1989 for incoming connections and run your wallet e.g. 24/7. -HOW TO ADD NODES IF WALLET DOESN'T FIND BLOCK SOURCES- There are two ways to add nodes to your wallet. 1) Go to console (Help -> Debug Window -> Console) and add nodes by typing addnode 46.4.64.68 add addnode 88.99.30.25 add etc. List of nodes can be found at http://162.248.163.220/hodlcoinnodelist/ and https://www.coinexchange.io/network/peers/HODL 2) Locate and if needed create hodlcoin.conf (default location C:\Users\username\AppData\Roaming\HOdlcoin\ short cut %appdata%\HOdlcoin\) and add nodes like addnode=46.4.64.68 addnode=88.99.30.25 etc. If you have configured hodlcoin.conf to non standard folder you can find the location of config file from debug.log Open debug.log by selecting Help -> Debug Window -> Info -> Show debug log and search line containing 'hodlcoin.conf'. You should find a line like '2017-09-23 16:37:07 Using config file C:\xxxxxxxxxxxxx\hodlcoin-3.0.1\hodlcoin.conf' -HOW TO CONTROL WALLET SOLO MINER OPTIMIZATIONS AND THREAD COUNT- EAS-NI AND AVX2 OPTIMIZATIONS: 1) Start your wallet with the flags -optimineraes=1 and -optimineravx2=1 These can give 100% gains, but may cause an immediate crash on some processors. "hodlcoin-qt.exe -optimineraes=1 -optimineravx2=1" //Or try 2 below: 2) Locate and if needed create hodlcoin.conf (default location C:\Users\username\AppData\Roaming\HOdlcoin\ short cut %appdata%\HOdlcoin\) and add lines optimineraes=1 optimineravx2=1 In debug.log there should be lines like 2017-06-13 06:37:15 Optiminer Flags: AES-NI = 1, AVX2 = 1 2017-06-13 06:37:15 Optiminer Flags and CPU support: AES-NI = 1, AVX2 = 1 //Note: Users have been reporting problems with optimineravx2=1. THREAD COUNT AND MINER MEMORY: By default Hodlcoin wallet uses 1 GB memory and sets thread count to match your CPU's cores but you can define memory usage and thread count by manually. Parameter 'minermemory' defines memory for mining as giga bytes (1, 2, 3 etc). For example using 2 GB memory is equivalent for running 2 miners in parallel. Parameter 'genproclimit' defines how many threads are used on each GB (this number must be a power of 2 so 2,4,8,16, etc). You can add parameters 'minermemory' and 'genproclimit' to your hodlcoin.conf or start Hodlcoin as 'hodlcoin-qt.exe -minermemory=1 -genproclimit=8'. For example 'hodlcoin-qt.exe -minermemory=2 -genproclimit=4' or minermemory=2 genproclimit=4 in your hodlcoin.conf sets wallet miner to use 2 GB of memory with 4 threads on each GB, total 8 threads. -WHERE CAN I DOWNLOAD BLOCK FILES TO SPEED UP WALLET SYNCING PROCESS- At the moment block files are availabe at Block files (updated daily): http://hodlblocks.amit.systems/ Block files http://hodlcoin.fi/blocks/ 1) Download the zip file and turn of your wallet. 2) Extract the files blk00000.dat, blk00001.dat , etc. to 'blocks' folder: (default C:\Users\username\AppData\Roaming\HOdlcoin\blocks\, short link %appdata%\HOdlcoin\blocks\). 3) Overwrite old files. 4) Start your wallet by running "hodlcoin-qt.exe -reindex" //Indexing new block files takes some time. Next time start your wallet normally without -reindex. //For Intel i5-660 it takes about 1 hour and 30 minutes to reindex block files from disk. Syncing from network takes about 11 hours. - Alternatively you can download blocks and chainstate folder so you don't need to run reindex but you have to trust that downloaded files are valid. Whole blocks and chainstate folders (updated daily): https://bootstrap.0x03.services/hodlcoin/ Whole blocks and chainstate folders and peers.dat (updated daily): https://blockchain.hodlcoin.dk/latest/ -HOW TO COMPILE AND RUN HODLMINER IN UBUNTU OR DEBIAN- Compile: sudo apt-get install git git-core sudo apt-get install build-essential pkg-config automake libcurl4-openssl-dev libssl-dev git clone https://github.com/Optiminer/hodlminer-wolf cd hodlminer-wolf ./autogen.sh ./configure CFLAGS="-O3 -march=native" make //If you don't have sudo in your Debian run apt-get command as root. You can switch to root by runnin command 'su'. Run: nice ./hodlminer -o stratum+tcp://hodl.optiminer.pl:5555 -u -p x -q or.. nice ./hodlminer -o stratum+tcp://hodl.suprnova.cc:4693 -u . -p -q Nice lowers the priority so the operating system will provide more CPU time for higher priority processes. //To use a Suprnova pool you have to register at hodl.suprnova.cc: https://hodl.suprnova.cc/index.php?page=register -WHAT MINING POOLS ARE AVAILABLE FOR HODLCOIN- https://hodl.suprnova.cc/ http://hodl.minus0.de:88/ http://hodl.optiminer.pl/ -HOW TO START HODLMINER WITH LOW PRIORITY IN WINDOWS- You can start hodlminer with low priority by creating a .bat file and adding a line: start "Hodlminer" /LOW hodlminer.exe Valid priority class values are /low, /normal, /high, /realtime, /abovenormal and /belownormal. -HOW TO SET CPU AFFINITY IN WINDOWS- (thanks to leajian) You can select CPU affinity (restrict mining threads to run on certain CPU cores) in Windows by giving parameter '/affinity N' for command start. N is a hexdecimal number which can be derived as CPU3 CPU2 CPU1 CPU0 Bin Hex N ---- ---- ---- ---- --- --- OFF OFF OFF ON = 0001 = 1 OFF OFF ON OFF = 0010 = 2 OFF OFF ON ON = 0011 = 3 OFF ON OFF OFF = 0100 = 4 OFF ON OFF ON = 0101 = 5 OFF ON ON OFF = 0110 = 6 OFF ON ON ON = 0111 = 7 ON OFF OFF OFF = 1000 = 8 ON OFF OFF ON = 1001 = 9 ON OFF ON OFF = 1010 = A ON OFF ON ON = 1011 = B ON ON OFF OFF = 1100 = C ON ON OFF ON = 1101 = D ON ON ON OFF = 1110 = E ON ON ON ON = 1111 = F For example: start "Hodlminer" /affinity 7 hodlminer.exe -HODLMINER CRASHES WITH CERTAIN THREAD COUNTS- The original algorithm in Hodlminer is designed to be used with thread counts that are powers of 2 (1, 2, 4, 8, 16, 32, 64, etc). Hodlminer uses 1073741824 bytes (1 GB) of memory. This is 262144 pieces of 4096 byte blocks. 262144 is called COMPARE_SIZE in the source code. If only one thread is used, this thread reads the memory of 262144*4096 (COMPARE_SIZE*4096) bytes, block (4096 bytes) by block. (For each block the thread jumps to 15 random blocks defined by the last 18 bits in pseudorandom blocks and AES ecryption is calculated.) With two threads COMPARE_SIZE is divided by 2, with three threads it's divided by 3, etc., and each thread is given the its own part of the memory in 4096 bytes blocks. Quotinent results are rounded down because integer arithmetic is used in C. Rounding errors can cause segmentation faults in which Hodlminer tries to read parts of the memory which do not belong to it. To prevent roundings COMPARE_SIZE can only be divided by numbers which are powers of two. Not all roundings cause segmentation faults. With some rounding errors memory reads stay in the allocated area. Thread counts which cause segmentation faults are 3, 6, 7, 19, 20, 21, 27, 30, 60, and 63. I have placed additional checks in the Orava version of Hodlminer so some segmentation faults are avoided but some problems still exist. -CAN I USE HODLMINER FOR SOLO MINING- Yes. You need to edit your hodlcoin.conf. Locate and if needed create hodlcoin.conf (default location C:\Users\username\AppData\Roaming\HOdlcoin\ short cut %appdata%\HOdlcoin\) and add lines: server=1 rpcuser= rpcpassword= rpcport=11989 rpcthreads=12 Choose your username and a strong passowrd. Set atleast two RPC threads per miner by using parameter 'rpcthreads'. Start your wallet (hodlcoin-qt) or hodlcoind and start hodlminer: hodlminer.exe -o http://127.0.0.1:11989/ -u -p -D --coinbase-addr= By default wallet and hodlcoind accept connections from local host only. You can add allowed IPs by using parameter 'rpcallowip'. rpcallowip= Rpcallowip allow JSON-RPC connections from specified source. Valid for are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24). This option can be specified multiple times. 0.0.0.0/0 will allow all addresses. If your local LAN uses eg. adresses 192.168.1.xxx, 192.168.1.0/24 will allow connections from all clients in your local LAN. //You can use hodlcoin-cli from remoter server by command hodlcoin-cli -rpcconnect= -rpcuser= -rpcpassword= -rpcport= -WHAT DOES DOUBLE SPENDING MEAN- Double spending is paying twice with same "money". Imagine you have 1000 Hodl coins in your wallet and you made a 1000 Hodl transaction to online store to buy something. Now you again try to send same 1000 Hodl coins to another store and try to spend coins that you don't have. Both transactions go into the unconfirmed transactions but only your first transaction got confirmations and was verified by miners in the next block. Your second transaction could not get enough confirmations because the miners flaged it as invalid, so it was pulled from the network. But what if both the transactions are taken simultaneously by the miners? When miners pull the transactions simultaneously from the pool, then whichever transaction gets the maximum number of confirmations from the network will be included in the blockchain, and the other one will be discarded. You might say that this is unfair for the merchant, as the transaction might fail in getting confirmations. Yeah, this can happen! That’s why it is recommended for merchants to wait for a minimum of 6 confirmations to be sure that the transaction is valid. Here, “6 confirmations” simply means that after a transaction was added to the blockchain, 6 more blocks containing several other transactions were added after it. “Confirmations” are nothing but more blocks containing more transactions being added to the blockchain. Each transaction and blocks are mathematically related to the previous one. All these confirmations and transactions are time-stamped on the blockchain, making them irreversible and impossible to tamper with. So if a merchant receives his/her minimum number of confirmations, he/she can be positive it was not a double spend by the sender. Why can the merchant be assured? Because to be able to double spend that coin, the sender has to go back and reverse all transactions in the 6 blocks that have been added after their transaction, which is computationally impossible. https://coinsutra.com/bitcoin-double-spending/