Hey People,
I did not find any nice Tutorial how to run a Full BTG Node, so i decided to write my own
Download and extract the ClientYou can Download the Full Client of BTG from
https://bitcoingold.org/downloads/.
The Link to the Linux Version is currently
https://github.com/BTCGPU/BTCGPU/releases/download/0.15.0.1/bitcoingold-0.15.0-x86_64-pc-linux-gnu.zipmkdir $HOME/bitcoingold
cd $HOME/bitcoingold
wget https://github.com/BTCGPU/BTCGPU/releases/download/0.15.0.1/bitcoingold-0.15.0-x86_64-pc-linux-gnu.zip
unzip bitcoingold-0.15.0-x86_64-pc-linux-gnu.zip
Start Client and sync to Block 491407 (from Bitcoin-Blockchain)On First start of the Client you get asked where the Data should be stored (Blockchain, wallet ...). Default is $HOME/.bitcoingold. You need at least
180GB of free space
.
Until Block 491407 is in sync you need the "-bootstrap" Option, so the client connects to normal bitcoin-nodes on Port 8333. The sync to Block 491407 take about
5 hours.
You can speed it up if you run a Full Bitcoin-Node and use the "-connect=ipofnode:portofnode" Option or download as torrent
There's a torrent that should speed things up, doubt it will take 5 hours to sync, more like 5 days, the seed nodes are overloaded
magnet:?xt=urn:btih:47BFB9826B588354917CB6BDC0CAF00D47A1D4D4
And for the love of GOD, DO NOT ENTER YOUR SEED PHRASE ON A FUCKING WEBSITE NO MATTER WHAT IT CLAIMS.
cd $HOME/bitcoingold/bitcoingold-0.15.0-x86_64-pc-linux-gnu/bin
./bitcoin-qt -bootstrap &
When Block 491407 is reached you should close the client and wait until the shutdown-warning disapears.
Sync the rest of the new BTG-BlockchainNow you should remove the files "peers.dat" and "banlist.dat", because they have only stored informations from bitcoin-nodes.
rm $HOME/.bitcoingold/peers.dat $HOME/.bitcoingold/banlist.dat
cd $HOME/bitcoingold/bitcoingold-0.15.0-x86_64-pc-linux-gnu/bin
./bitcoin-qt
Wait until all is in sync.
Dump Bitcoin private keysOn an BitcoinClient where you had some Bitcoins before the Fork (October 24, 6 am UTC), dump your wallet.
You can Dump your wallet from the Client if you go to the Help => Debug - Menu and open the console and type
dumpwallet /path/to/wallet.txt
If you have an encrypted wallet (highly recommended) you need to unlock your wallet first with
walletpassphrase "mysupersecretpassword" 60
For safety reasons it is highly recommended that you move your Bitcoins to a new encrypted Wallet, before you import the private keys to the BTG-Wallet.
Import private Keys to BTG-ClientOn the BTG-Client you should also get into console (Help => Debug - Menu) and import all keys with an label and all change keys.
If you import an key, normaly an rescan is initiated (needs about 40 minutes). To prevent this you should add " '' false" after every import-command.
Only on the last import set the value to true.
importprivatekey "myprivatekeywithlabelorchangefromdump" '' false
importprivatekey "myprivatekeywithlabelorchangefromdump" '' false
importprivatekey "myprivatekeywithlabelorchangefromdump" '' true
If you have an encrypted wallet (highly recommended) you need to unlock your wallet first with
walletpassphrase "mysupersecretpassword" 60
If you want to Support the BTG-Network please open the Port 8338 on your Router and Firewall, so People can Download the Blockchain a bit quicker
.
I hope this Tutorial will help some interested People. If you have any Questions, please ask.