I have two wallets with one account each. One is meant for everyday use and has a registered account name. The other is more or less "cold", its account name is unregistered and I have imported my PTS private keys there.
Yesterday I wanted to transfer funds from my everyday wallet to the "cold" wallet. So I opened the cold wallet, dumped its public keys, then opened the "everyday" wallet and added the unregistered account name with one of its public keys:
(wallet closed) >>> open pts
OK
pts (locked) >>> wallet_account_list_public_keys pts.local
[{
"hex": "035dc3a125cca19787b58b2ba8af5a056a322f62f006f3b440192e7c50704fec6e",
"native_pubkey": "BTSX7YXcLiSCP4nZg4psBo8R9FscJTytHmXVj2mcLxG1Cv1y7BFrKa",
"native_address": "BTSXMVZZy1WUMCXxtLimkCGERNpVkfT4YmK59",
"pts_normal_address": "PazdTWzxRst9aei352AwD6QbdcLAaStcB7",
"pts_compressed_address": "PqPoCfTNqDjF5Rd2Wavis47JMvCn6Cgx6u",
"btc_normal_address": "144rKSJpfmw5nNuBhXX645AYPMuLiLtdDB",
"btc_compressed_address": "1JU24amF57nBH9pB96Gsi2sF7fmxEY4uj5"
},{
...
}
]
pts (locked) >>> open pmc
OK
pmc (locked) >>> wallet_add_contact_account pts.local BTSX7YXcLiSCP4nZg4psBo8R9FscJTytHmXVj2mcLxG1Cv1y7BFrKa
Wallet automatically backed up to: /home/peter/.BitSharesX/wallets/.backups/pmc/pmc-20140925T130206-account_add.json
pmc (locked) >>> wallet_account_list_public_keys pts.local
[{
"hex": "035dc3a125cca19787b58b2ba8af5a056a322f62f006f3b440192e7c50704fec6e",
"native_pubkey": "BTSX7YXcLiSCP4nZg4psBo8R9FscJTytHmXVj2mcLxG1Cv1y7BFrKa",
"native_address": "BTSXMVZZy1WUMCXxtLimkCGERNpVkfT4YmK59",
"pts_normal_address": "PazdTWzxRst9aei352AwD6QbdcLAaStcB7",
"pts_compressed_address": "PqPoCfTNqDjF5Rd2Wavis47JMvCn6Cgx6u",
"btc_normal_address": "144rKSJpfmw5nNuBhXX645AYPMuLiLtdDB",
"btc_compressed_address": "1JU24amF57nBH9pB96Gsi2sF7fmxEY4uj5"
}
]
The last command verifies that "pts.local" in the "pmc" wallet uses the same keys as in the "pts" wallet.
For testing (luckily), I transferred 1 BTSX from pmc to pts.local:
pmc (unlocked) >>> transfer 1 BTSX pmc pts.local test
OK
pmc (unlocked) >>> wallet_account_transaction_history
TIMESTAMP BLOCK FROM TO AMOUNT MEMO BALANCE FEE ID
==============================================================================================================================================================================================
...
2014-09-24T19:19:48 571251 pmc pts.local 1.00000 BTSX test xxxx BTSX 0.10000 BTSX c863a255
However, after opening + unlocking the "pts" wallet again the TX hasn't arrived. Blockchain is in sync. Rescan doesn't help.
What I don't understand is that blockchain_get_transaction shows a deposit to a completely different address:
pts (unlocked) >>> blockchain_get_transaction c863a255
{
"trx": {
...
"provided_deposits": [[
"BTSXfPy1KbpGxb3iWw5AU8buTydCZXFA6WPi",{
"amount": 100000,
"asset_id": 0
}
]
],
...
Any ideas?