chainblockca
I have lost all assets in my wallet, have searched, read, downloaded the blockchain again (saving my wallet.dat), and nothing.

I do:
$raven-cli listaddressgroupings

and see the addresses displayed that I used to register assets.

I cut-n-paste one of these addresses listed into an asset explorer, and see the asset I registered with that address, it's there great, but I can do nothing with it, because it's not in my wallet.

I do:
$raven-cli listassetbalancesbyaddress <Ravenaddr> (from the list displayed above, cut-n-paste exact)
and get nothing back except for
{
}

I do:
$raven-cli rescanblockchain

and my assets do not come back.
I repeat all of the above and can never get my assets to show with:
$raven-cli listmyassets

I get back {} after doing rescan blockchain. The addresses are in my wallet that I used to register assets with.
{
}
Quote 0 0
cryptopivot
I have lost all assets in my wallet, have searched, read, downloaded the blockchain again (saving my wallet.dat), and nothing.

I do:
$raven-cli listaddressgroupings

and see the addresses displayed that I used to register assets.

I cut-n-paste one of these addresses listed into an asset explorer, and see the asset I registered with that address, it's there great, but I can do nothing with it, because it's not in my wallet.

I do:
$raven-cli listassetbalancesbyaddress <Ravenaddr> (from the list displayed above, cut-n-paste exact)
and get nothing back except for
{
}

I do:
$raven-cli rescanblockchain

and my assets do not come back.
I repeat all of the above and can never get my assets to show with:
$raven-cli listmyassets

I get back {} after doing rescan blockchain. The addresses are in my wallet that I used to register assets with.
{
}


Have you tried dumpprivkey then remove wallet.dat file, restart core, importprivkey "enterkeyhere" .
Quote 0 0
chainblockca
I have not.  So if I dumprivkey, I get a bunch ( 50+ addresses, don't know where they all came from ).  I would have to write a script to import all.  If there is a way to dump out all public / private keys to a single file and then delete wallet.dat, restart and import all in a single go, please let me know.

--
Doing this now, dumped all private keys out to a file and then a script that will read the file and import each key one by one, but this is insane.  It appears to add 3-4 addresses to my wallet, and then rescans the blockchain taking 10 min, then repeat.

RescanFromTime: Rescanning last 447874 blocks    <== repeats after I see 3-4 "added to wallet" messages.  There has to be a way to import all and then do a rescan at the end.  This will take a day or so to rebuild the wallet.
Quote 0 0
cryptopivot
I have not.  So if I dumprivkey, I get a bunch ( 50+ addresses, don't know where they all came from ).  I would have to write a script to import all.  If there is a way to dump out all public / private keys to a single file and then delete wallet.dat, restart and import all in a single go, please let me know.

 Only addresses with balance, if more than one, do following
dumpprivkey "addresseswithbalance" rescan=false
dumpprivkey "secondaddressewithbalance"

Notice last one does not include rescan false command.
Quote 0 0
cryptopivot
Also, have you updated your core since fork? 

This may be a chain issue, perhaps others will chime in.
Quote 0 0
chainblockca
I updated quickly and have been running Underdarkskies 2.1.3, since asset release.  I wiped out my blockchain and downloaded a new blockchain with 2.1.3.  Importing private keys is running, I'm just going to let it run all night, I did not know about the false flag and check to see if I have access to my assets in the morning.  Thank you for your help, will see if that works.  I did not know a command to dump out only addresses with assets, could have done some work to find out, just dumped them all.
Quote 0 0
chainblockca

Update:  Wed 14-Nov-2018 @ 2:30 PM PST

I have not been able to recover assets, or at least see them in my wallet.

I tried dumping out my private keys, create a blank, new wallet.dat, importing private keys and listing assets and have had no such luck.

With this approach, there is no need to -zapwallettxes.

--

I am using this command to dump my public keys out to a file like so:

$raven-cli listaddressgroupings | grep R | tr -d ' /"/,/' > my-pub-keys

so now I have a file with my public keys.

With that, I have a script that will read the file containing my public keys, get my private keys and put those in a file.

--

#!/bin/bash

filename="my-pub-keys"

rm ./my-priv-keys

cat $filename | while read addr; do

new_addr=\echo $addr | tr -d '\n/\r'``

raven-cli dumpprivkey $new_addr | tee -a my-priv-keys

done

--

so then I shut down ravend, I remove my wallet.dat, then I start up again and a new wallet.dat gets created.

 

I then import all my private keys again to a brand spanking new empty wallet.dat with this script.

#!/bin/bash

filename="my-priv-keys"

wc -l $filename

x=0

cat $filename | while read addr; do

new_addr=\echo $addr | tr -d '\n/\r'``

 

x=$[x + 1]

echo "Importing: $x [$new_addr]"

 

raven-cli importprivkey "$new_addr" "label-$x" false

done

raven-cli rescanblockchain

echo "completed"

--

Now I dump out my public keys again, compare to step one and I have all my public keys regenerated again, the exact same ones.

 

I take an address from this new last,latest wallet where I registered an asset and plug into an asset explorer and bam, there are my listed assets that I created.

---

From my local command line I do:

$raven-cli listmyassets

{

}

I get nothing back. But I can take a public key address in my wallet, paste in an asset explorer and see my assets.

--

Any ideas would be appreciated. I am using Underdarkskies 2.1.3, I cleared out my datadir, nothing there, downloaded the blockchain again. I then moved my old wallet into place where I was able to dump my pub/priv keys out. using my old wallet I do not see my assets, using this new wallet I created, I do not see my assets. I can see my assets on an asset explorer when I enter my pub key.

Quote 0 0
chainblockca
I posted this same issue on reddit and am getting a lot of people having the same problem with lost assets.  If I download a brand new blockchain, it would be pointless to -reindex, some have made that suggestion but I do not see how reindexing would help with a newly downloaded blockchain.  All that should be needed is to let ravend create a new wallet.dat and import private keys and rescan the blockchain, that should do it, but it does not.
Quote 0 0
cryptopivot
Did this all occur after creating a asset?

Have you tried this?

https://www.reddit.com/r/Ravencoin/comments/9uhy4b/missing_rvn_after_creating_assets_do_this/?utm_source=reddit-android
Quote 0 0