Open ghost opened 7 years ago
It's the old "my address is missing" problem and a known workaround is to manually add addresses in CW. I am on tablet so I won't search now but I think this issue exists and is still open. Edit: I looked, that issue is not open any more. Were you able to add regular addresses in CW to display those addresses?
I was able to add regular addresses in CW, which displayed some. How can I be entirely sure that all have been listed? If I, theoretically reach the max {50?} I assume it will be always the same ones? The way I understand it, infinite address could be generated from the seed? One of my wallets even displayed the dialog "you are opening a brand new wallet, if you see this" and then it opened... and showed used wallets with money in them.
I think 22 is the max in CW (could be tested with a testnet wallet, just keep adding them till you can't).
They are always in the same order, it's deterministic. It's like a branched out tree and CW uses just one determined branch with up to N. See this:
https://counterpartytalk.org/t/only-20-addresses-show-up-in-my-counterparty-wallet/1052/30
We could expand the script that is used for address/privkey recovery, to get the first 22 and then check balance for all of them. That would make it possible to get it done quickly. Even better would be to fix this bug.
A bit more on this: a) Today I logged in and spotted that some addresses were missing (not the first 3, but the rest) b) I thought this is a great chance to debug this, so I turned on Dev Tools in my browser and started to add new addresses in the wallet. After I reached the first empty address, I saved the log.
But I didn't turn on verbose debugging, so it turns out it was completely useless... I used the current version of Counterwallet on the main counterwallet.io site.
address 4 of 3
in screenshot belowcounterwallet-deps-min.js?v=9f03958320d8:457
correspond to minified counterwallet-deps JS, but if you expand them in Dev Tools (in Chrome Dev Tools, select "Pretty Print"), you can get lines to non-minified line numbers. I did that, and it pointed to lines around 78835 (as per screenshot), which is this (useless). jQuery.jqlog.entryDefaults.level = jQuery.jqlog.levels.debug;
jQuery.jqlog.targets.console = jQuery.extend({}, jQuery.jqlog.targetDefaults, {
name: "console",
version: "1.3",
log: function(b) {
var a = b.format();
if (window.console)
switch (b.level) {
case jQuery.jqlog.levels.info:
console.info(a);
break;
case jQuery.jqlog.levels.warn:
console.warn(a);
break;
case jQuery.jqlog.levels.error:
console.error(a);
break;
default:
console.log(a)
}
I used the counterwallet tool from blockscan to look through old wallets out of curiosity. When I open them in Counterwallet there are many addresses missing it seems - I found at least $300 that was not visible. Quite a shock tbh.