【Tutorial】Installation of Full-Node Wallet and Guide to Forging
Notice: The download link can be found on LBTC official website, we suggest that users go to official website https://lbtc.io/ to download the wallet.
Download link for Ubuntu
https://lbtc.io/download/lbtc-fullnode-wallet-ubuntu16.04-x64-v2.0.1.tar.gz
Download link for Centos
https://lbtc.io/download/lbtc-fullnode-wallet-centos7.1-x64-v2.0.1.tar.gz
Ⅰ Requirement of System
ubuntu 16.04
Ⅱ Installation of package
sudo apt update
sudo apt-get install libzmq5
sudo apt-get install libevent-dev
sudo apt-get install libboost-chrono-dev
sudo apt-get install libboost-filesystem-dev
sudo apt-get install libboost-program-options-dev
sudo apt-get install libboost-serialization-dev
sudo apt-get install libboost-dev
Ⅲ Download and Decompression
wget
https://lbtc.io/download/lbtc-fullnode-wallet-ubuntu16.04-x64-v2.0.1.tar.gz
tar -zxvf lbtc-fullnode-wallet-ubuntu16.04-x64-v2.0.1.tar.gz
Ⅳ Commands
· Open the wallet to sync data
▼./bitcoind
· Confirm the block to be the latest block height
▼./bitcoin-cli getblockcount
· Create new address
▼./bitcoin-cli getnewaddress
▼1EguwmLDaeVdDApPdCQaGuNBArggS4iY3k
· Export private key
▼L4GPEfZDPPoen1fq3RvoVN7phEnmRN8iCr6mtCq4E9dgZoLkdoaQ
· Import private key
▼./bitcoin-cli importprivkey L4GPEfZDPPoen1fAyQPoVN7phEnmRN8iCr6mtCq4E9dgZoLkdoaQ
· Register as a delegate
▼./bitcoin-cli register 1EguwmLDaeVdDApPdCQaGuNBArggS4iY3k whh1
▼50717bb5da957609b6a5c3c37ddf654516f84b6862694aea23bfca8766c58ca
· Check delegates list
▼./bitcoin-cli listdelegates
▼[
{
“id”: 1,
“address”: “1EguwmLDaeVdDApPdCQaGuNBArggS4iY3k”, “name”: “whh1”
}
]
· Vote for a delegate (no more than 51 votes)
Notice: The voting weight calculation is based on the address balance. If you want to use all of your stake for voting you have to transfer all the coins into one address.
▼./bitcoin-cli vote 1FncXb4QJZ5sNSPErrhAxYwVP1MF71LFgA whh1
▼173d4c6c6ddda95b436f3a5d07129d4b0cd71d3a2071e11c7fce050223378dde
· List received votes
▼./bitcoin-cli listreceivedvotes whh1
▼[ “1FncXb4QJZ5sNSPErrhAxYwVP1MF71LFgA”
]
· List voted delegates
▼./bitcoin-cli listvoteddelegates 1FncXb4QJZ5sNSPErrhAxYwVP1MF71LFgA
▼
[
{
“name”: “T1”,
“delegate”: “mnMzxN2fk2xxDSvfWEDkvwTXwGAT4Yz9aA”
}
]
· Start forging
Satisfy two conditions
1.Your balance is not less than 5000LBTC
2.Rank in top 101 according to your votes
▼.bitcoin-cli startforging 1EguwmLDaeVdDApPdCQaGuNBArggS4iY3k
· Stop forging
▼./bitcoin-cli stopforging
· Transfer
▼./bitcoin-cli sendtoaddressnew 1EguwmLDaeVdDApPdCQaGuNBArggS4iY3k 10
▼8bb75c2dddade0a997b20cad0f5f8e2b1c92553ad017c4f19fdc63467a1e7a2e
· Check the list of commands
▼./bitcoin-cli help