Show Posts
|
Pages: [1] 2 »
|
yes so importing the first key has no bearing on the second key being generated. thanks for confirming what i thought.
deterministic in this sense is one key will always the same single address. but importing a key will have no impact on the next generated key.
|
|
|
if you had a private key and generated a new address, it would also generate another key for that address This doesn't seem right. If it had given you an address it could be matched with only one private key from your wallet. You're saying that one address could be resulted from two different private keys, aren't you? was this new key related to the previous key in any way? i.e. was it deterministic or was it randomly generated? Electrum always generated keys in a deterministic way. well im just wondering if the import key was used to generate the next key / address? so import key 5xxx - which gives address 1xxx generate new address - 1yyyy - underneath this also generates key 5yyyy. so will 5yyy always be generated if you import 5xxx first? thinking about it, im guessing its not deterministic in that way. i guess i can just test it out.
|
|
|
yeah im not convinced by the term 'passphrase' - that might be in relation to bep38 keys rather than WIF keys that were imported
|
|
|
hi,
the old version of electrum (before 12 word seed phrase circa 2012 / 2013), if you had a private key and generated a new address, it would also generate another key for that address. was this new key related to the previous key in any way? i.e. was it deterministic or was it randomly generated?
thanks in advance for any answers
|
|
|
Please check carefully the code I sent you. There is method DecodeWithChecksum, which returns correctly decoded private key or throws exception if checksum is invalid, just like you want.
oh yes just saw that, will try it out, thank you 
|
|
|
thank you for the information.
is there no library out there ? all i want to do is run some code that does
print IsValidKey("testkey")
i.e. prints true or false
there must be some library out there already that does that?
|
|
|
hi,
i want some code, preferably .net (c# or vb.net) to check sum base 58 (51 character) private keys to see if they are valid or not.
can anyone point me in the right direction?
thank you
|
|
|
I did a rebuild and rescan and it's scanning now. It didn't have any progress status before so I think it's OK now. Thanks.
|
|
|
so I decided to create a new wallet with the intention of actually starting to invest in bitcoin and as i had armory installed i thought i might as well try that, but my armory is stuck scanning transaction history.
i have bitcoin core installed and its not pruned, i have the entire blockchain downloaded and bitcoin core is connected and synced up, armory did connect yesterday during the day but now its just scanning transaction history, its been doing this for like 15 hours. it was working for a bit yesterday, but since restarting armory last night at 8pm it just doesn't seem to be doing anything.
how can i tell if its crashed or actually doing something? the log files seems suspiciously quiet since yesterday when it started scanning, this is the latest output
\blockchainscanner.cpp:852) scanned from block #708666 to #708676 -INFO - 20:09:41.844: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases... -INFO - 20:09:41.859: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:186) scanned new blocks in 0s -INFO - 20:09:41.859: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:190) init db in 17s -INFO - 20:09:41.859: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:1891) Enabling zero-conf tracking -INFO - 20:09:41.906: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:401) Starting address registration process
so that log entry hasn't changed since last night.
any ideas?
|
|
|
ok im pretty sure that i created my wallet in 2014 now (remembered an important event around the time i created the wallet), so there never could have been a chaincode. at least i know i never had any bitcoin to lose in the first place.
|
|
|
OK looks like what I thought was a chain code is probably a random serial key. I'm going to leave it, I think I never had any bitcoin in the first place to be honest. Thanks for everyone's help.
|
|
|
OK I really appreciate your help. I'm going to have to try remember the chain code as I did the root key.
Thank you
|
|
|
Thank you for replying.
So originally I had the old style 4 line wallet.
I lost the paperwork some years ago but managed to remember the root key (I've put this into armory without the chain code and it validates but with an empty wallet I.e zero transaction and zero balance) . Over the last few days I've begun to remember the chain code, I have about 50% of the 72 characters so far.
I will continue to try to remember the chain code, but it's been nearly 10 years so I'm struggling with that. You say there is some way to recreate the chain code?
By using only the root key in the restore process does that in itself prove the balance is zero? Or do I need the chain code for armory to find the right addresses to check for balance?
You mention recreating the chain code from 2 consecutive private keys, but I thought that it was random in the old style wallet.
Thank you for your help, really appreciate it
|
|
|
I think you might want to give this tool a shot : https://github.com/Coding-Enthusiast/FinderOuterLookout for the Armory section. its a tool to recover armory root keys and chain code and if you can recall correctly the last 4 characters of each lines, it will be quite fast. Else, you can always compile an older version on Windows or Linux to validate. Cheers, without the private key or address i don't see how i can use this utility? if i had the private key, i would just be able to use that in a different bitcoin wallet such as electrum right?
|
|
|
thank you, i will give it a try
|
|
|
hello, is there any test code that i can run to validate a chain code?
i have a partial chain code, but i don't want to sit at the software and manually input variations of the chain code into the UI, if i can put together a script that can read chain codes from a text file and verify them, that would be awesome.
thank you in advance!
also what purpose does the chain code have?
|
|
|
Mr goatpig, thanks for the information.
It's because I'm doing all this from memory. Any insight into the wallet id's etc helps. I don't think I can get any further without the chain code though so I have to leave this endeavour.
Thank you all
|
|
|
so did some testing - basically it will derive a new wallet depending on what you put in, so for example
1. root key + chain code + secure print => wallet id 1 2. root key + chain code => wallet id 2 3. root key + secure print => wallet id 3 4. root key => wallet id 4
doesn't help me understand why I recognize the wallet id when I only use the root key and without the secure print code. The fact that I have a secure print code in my head is baffling in that instance as its valid and I wouldn't know how to create a fake one that validates.
I will do some more thinking about the chain code over the next few days, and I will have to leave it after that. My brain can't take much more digging around for old memories.
|
|
|
I can Google for some examples of old armory codes and see how they work. Do you know what the chain code represents? How does it relate to the root key and wallet id?
|
|
|
well thats probably as far as I will get on that, I will have a think about that chain code and see if I can remember anything about it, but at this point it seems unlikely.
thanks again
|
|
|
|