Bitcoin Forum

Bitcoin => Armory => Topic started by: roterdam on July 06, 2016, 08:42:57 PM



Title: dude with fragmented backups
Post by: roterdam on July 06, 2016, 08:42:57 PM
i'm doing few tries with armory fragmented backups 3 of 5 .
when i'm restoring from 3 fragments seeds random of 5 , i see that if last letter of one seed it's wrong the wallet is restored well .
i'm thinking possibly information in this fragment are redundant?
if it is ok , how redundant is this?

thanks in advance to all users could help me!!


Title: Re: dude with fragmented backups
Post by: goatpig on July 06, 2016, 10:12:46 PM
https://github.com/goatpig/BitcoinArmory/blob/master/armoryengine/ArmoryUtils.py#L2327

It can fix a single byte error. Data is served as 16 bytes packets with 2 bytes checksum, which is the first 2 bytes of the data's hash digest (sha256). If the checksum fails it will try all of the 16 bytes (one at a time) with all 256 values in hope of hitting the expected value.


Title: Re: dude with fragmented backups
Post by: roterdam on July 06, 2016, 11:33:37 PM
in other case i can write wrong the las letter in each fragment? and restored well?
if it's the first letter wrong don't work?
thanks


Title: Re: dude with fragmented backups
Post by: goatpig on July 07, 2016, 12:15:16 AM
any one letter per line