I got problem using tekcoin wallet in wine. Error message is
Expression: pindex->pprev || pindex-
>GetBlockHash() == (testnet)
hashGenesisBlock : hashGenesisBlockTestNet
here is screenshots
https://i.imgur.com/BwSINbG.pngpls help
in tekcoin.conf add :
testnet=0
I tried to add this but still error, with same error message.
Either your blockchain is corrupted or your wallet.dat is corrupt.
Step 1. Try installing the Snap Shot and see if that fixes it .
(Active Wallet Instructions)https://bitcointalk.org/index.php?topic=1378653.msg14309285#msg14309285If you still get the error, rename your wallet.dat to wallet.tek
then restart your tek software , if it opens normally your wallet.dat is corrupt.
If the wallet is corrupt , do you have any old backups of your wallet.dat you can try?
If so try them first,
If not do this,
rename wallet.tek back to wallet.dat
(Be sure to have another copy)copy the tekcoin-qt.exe file into the same directory as your wallet.
Then from the
Command Line ,
From the COMMAND LINE in the same directory as the wallet type tekcoin-qt.exe -salvagewallet
this will take some time , if it works then restart the tekcoin-qt.exe -rescan , this will also take some time.
Hopefully that will fix it , if not
If the Above information does not help ,then your wallet.dat is seriously corrupted and salvagewallet was unable to repair it.
Here are your available options:
1. Dump your Private keys and import into another Tek Wallet.
steps: Open the wallet, Click on Help, click Debug Window, click the Console tab,
For unencrypted wallets: beside > type dumpprivkey (Tek Receive Address) , hit Enter key.
For encrypted wallets: beside > type: walletpassphrase "your walletpassphrase here" 600 , hit enter, then type dumpprivkey (Tek Receive Address) , hit Enter key.
Copy and Paste the private key along with the Tek receive address into a text document.
Repeat those steps for each of your Receive address that had Tek in them, once you have finished.
Go to your new Tek Wallet installation.
steps: Open the text document created above.
Open the wallet, Click on Help, click Debug Window, click the Console tab,
beside > type importprivkey (Paste your Private Key here) , hit Enter key.
Repeat until you have imported all of your private keys into the new wallet. Then Close & Restart your wallet.
You should be good to go.
If all of that fails ,
If all of the above has failed , and you were unable to recover your private keys from any of the backups.
Only 2 options remain:
WalletRecoveryService
http://www.walletrecoveryservices.com/Never used them before so post a review if you have used them.
OR
If you are into python programming:
Then check out on how to extract the keys.
https://bitcointalk.org/index.php?topic=615391.0https://github.com/jackjack-jj/pywalletHaving to go to these extremes are very rare, but corruption issues like these can be caused by malfunctioning hardware & power issues.
Backups on external drives are your best friend.
Good Luck.