I have tried using pywallet to extracted my private key. I have 0 luck, once I dump the wallet I get
"defaultkey": "124eZYplH2kmNoC63N8PhGGgr5WxBoFgz",
"keys": [
{
"addr": "1GYJJWHvCX5TrW77UN6vuU7n8vQ3IkmTebd",
"reserve": 1,
"sec": "L1DA86drA6vlkjKgM83d2kljyL35a46dEXkS5aMksoEF4hhuw7kfM8"
},
I get a big list of addresses none of which are mine. I hope I am doing something stupid. The main reason I am trying to find my private key is because Bitcoin-Qt never finishes syncing, I have got to 80% once and then 90% before it just refused to sync.
Thanks for any help
EDIT:
Found the problem:
When using pywallet.py -dumpwallet I thought you could specify the location of wallet.dat but it just ignores what ever you put after it. So instead of reading my wallet.dat i was specifing it was reading the wallet used by bitcoind which I am using as a node.