Bitcoin Forum
January 16, 2021, 09:43:46 AM *
News: Latest Bitcoin Core release: 0.20.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 [168] 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 ... 231 »
  Print  
Author Topic: Armory - Discussion Thread  (Read 521353 times)
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1046


Core Armory Developer


View Profile WWW
March 18, 2014, 08:57:17 PM
 #3341


Does your wallet have lots of transactions with tons of inputs and outputs?  For instance, we noted huge lagging when we loaded a wallet that had 100 transactions, each of which had 1,000+ outputs (even though only one output was related to the user's wallet).

I would guess maybe a dozen addresses, maybe 60 incoming transactions, and maybe a dozen outbound transactions.

A very similar wallet loads fine. The only major difference between the two is that the one that does not crash only has one outbound transaction.

Just in case it has to do with the wallet itself, can you try making a backup of it, then use the menu item "Wallets"->"Recover Damaged Wallet".  Do a full recovery.  Then try it agian (you can do it from offline mode, then restart Armory).

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
1610790226
Hero Member
*
Offline Offline

Posts: 1610790226

View Profile Personal Message (Offline)

Ignore
1610790226
Reply with quote  #2

1610790226
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1610790226
Hero Member
*
Offline Offline

Posts: 1610790226

View Profile Personal Message (Offline)

Ignore
1610790226
Reply with quote  #2

1610790226
Report to moderator
1610790226
Hero Member
*
Offline Offline

Posts: 1610790226

View Profile Personal Message (Offline)

Ignore
1610790226
Reply with quote  #2

1610790226
Report to moderator
1610790226
Hero Member
*
Offline Offline

Posts: 1610790226

View Profile Personal Message (Offline)

Ignore
1610790226
Reply with quote  #2

1610790226
Report to moderator
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 18, 2014, 09:53:03 PM
 #3342


Does your wallet have lots of transactions with tons of inputs and outputs?  For instance, we noted huge lagging when we loaded a wallet that had 100 transactions, each of which had 1,000+ outputs (even though only one output was related to the user's wallet).

I would guess maybe a dozen addresses, maybe 60 incoming transactions, and maybe a dozen outbound transactions.

A very similar wallet loads fine. The only major difference between the two is that the one that does not crash only has one outbound transaction.

Just in case it has to do with the wallet itself, can you try making a backup of it, then use the menu item "Wallets"->"Recover Damaged Wallet".  Do a full recovery.  Then try it agian (you can do it from offline mode, then restart Armory).

0 errors where found (sic)
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 18, 2014, 10:12:28 PM
 #3343


Does your wallet have lots of transactions with tons of inputs and outputs?  For instance, we noted huge lagging when we loaded a wallet that had 100 transactions, each of which had 1,000+ outputs (even though only one output was related to the user's wallet).

I would guess maybe a dozen addresses, maybe 60 incoming transactions, and maybe a dozen outbound transactions.

A very similar wallet loads fine. The only major difference between the two is that the one that does not crash only has one outbound transaction.

Just in case it has to do with the wallet itself, can you try making a backup of it, then use the menu item "Wallets"->"Recover Damaged Wallet".  Do a full recovery.  Then try it agian (you can do it from offline mode, then restart Armory).

0 errors where found (sic)

Interesting. I tried making an unencrypted backup and Armory crashed with the following error...
Quote
terminate called after throwing an instance of 'CryptoPP::InvalidKeyLength'
  what():  AES/CFB: 0 is not a valid key length
Aborted

I then tried running a recovery on the decrypted version and it said 999 errors...

Quote
Recovering wallet armory_***_decrypt.wallet (ID: ***) on Tue Mar 18 16:02:45 2014
Using full recovery mode
Wallet contains private keys and uses encryptionThe wallet file is 260107 bytes, of which 260107 bytes were read
1000 chain addresses, 999 imported keys and 0 comments were found
Found 1000 chained address entries
No byte errors were found in the wallet file
The following 999 addresses were not arranged sequentially in the wallet file:

 <snip>

There are no gaps in the address chain
No chained address fork was found
No chaincode corruption was found
All chained public keys are valid EC points
No chained public key is missing
All entries were saved under their matching hashVal
All chained public keys match their respective private keys
Found 999 imported address entries
No errors were found within the imported address entries
999 errors where found
Recovery done

I then backed up the wallet again (encrypted) and performed a recovery and got 998 errors...

Quote
Recovering wallet armory_***_encrypt.wallet (ID: ***) on Tue Mar 18 16:08:11 2014
Using full recovery mode
Wallet contains private keys and uses encryptionThe wallet file is 260107 bytes, of which 260107 bytes were read
1000 chain addresses, 999 imported keys and 0 comments were found
Found 1000 chained address entries
No byte errors were found in the wallet file
The following 998 addresses were not arranged sequentially in the wallet file:

   <snip>

There are no gaps in the address chain
No chained address fork was found
No chaincode corruption was found
All chained public keys are valid EC points
No chained public key is missing
All entries were saved under their matching hashVal
All chained public keys match their respective private keys
Found 999 imported address entries
No errors were found within the imported address entries
998 errors where found
Recovery done

The initial recovery that found zero errors was done in online mode, the next two done offline.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 2744
Merit: 1180

Armory Developer


View Profile
March 18, 2014, 10:45:49 PM
 #3344

Save sequence is not an error in itself, it's a clue as to what the user may have done with his wallet. In this case it doesn't indicate any error, your wallet is fine. The decrypt key error is significant. I'm not sure I understand though: did the decrypted backup error happen before or after the wallet file was created?

Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 18, 2014, 10:56:50 PM
 #3345

Save sequence is not an error in itself, it's a clue as to what the user may have done with his wallet. In this case it doesn't indicate any error, your wallet is fine. The decrypt key error is significant. I'm not sure I understand though: did the decrypted backup error happen before or after the wallet file was created?

After/During the creation of the file. I was watching as the progress bar moved to about 50%, then switched away for another task. When I returned the only thing open was the terminal window. That error was the last thing in the terminal window when Armory crashed and returned me to a prompt.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 2744
Merit: 1180

Armory Developer


View Profile
March 18, 2014, 11:27:49 PM
 #3346

Save sequence is not an error in itself, it's a clue as to what the user may have done with his wallet. In this case it doesn't indicate any error, your wallet is fine. The decrypt key error is significant. I'm not sure I understand though: did the decrypted backup error happen before or after the wallet file was created?

After/During the creation of the file. I was watching as the progress bar moved to about 50%, then switched away for another task. When I returned the only thing open was the terminal window. That error was the last thing in the terminal window when Armory crashed and returned me to a prompt.

Then it probably happened at the end. Was the process particularly long? Like over a minute?

Quote
Connected (29XXX Blocks)


Did you forget a X or are you showing only 29k blocks?

getSpendable errors are also just a symptom of a locked up BDM. Definitely the wallet. Consider sending us the watching only, it would make this whole process entirely faster, and I could push the fix with the next release.

Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 18, 2014, 11:43:27 PM
 #3347

Save sequence is not an error in itself, it's a clue as to what the user may have done with his wallet. In this case it doesn't indicate any error, your wallet is fine. The decrypt key error is significant. I'm not sure I understand though: did the decrypted backup error happen before or after the wallet file was created?

After/During the creation of the file. I was watching as the progress bar moved to about 50%, then switched away for another task. When I returned the only thing open was the terminal window. That error was the last thing in the terminal window when Armory crashed and returned me to a prompt.

Then it probably happened at the end. Was the process particularly long? Like over a minute?

Quote
Connected (29XXX Blocks)


Did you forget a X or are you showing only 29k blocks?

getSpendable errors are also just a symptom of a locked up BDM. Definitely the wallet. Consider sending us the watching only, it would make this whole process entirely faster, and I could push the fix with the next release.

I would guess about 30 seconds, and yes, left off an X. With no wallets, showing 291229 right now.
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 19, 2014, 03:51:26 AM
 #3348

OK, frustrated to the point where I'm ready to create a new wallet. I'm trying to sweep in the BTC from the old wallet, and it is not working. Here's what I'm doing, please tell me if I'm missing something...

1) export key list from old wallet
2) open wallet, select import/sweep
2) choose sweep, single key
3) enter base58 key from export list (for an address I know is not empty)
4) verify corresponding address is correct and click yes

Armory then requests to scan the blockchain for another 30 minutes, creates a new address in my new wallet (presumably for swept funds), and then...nothing. This happens with every private key from the list I've tried. I've verified the address is not empty via blockchain.info (when it's up).

Thoughts?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 2744
Merit: 1180

Armory Developer


View Profile
March 19, 2014, 03:54:09 AM
 #3349

OK, frustrated to the point where I'm ready to create a new wallet. I'm trying to sweep in the BTC from the old wallet, and it is not working. Here's what I'm doing, please tell me if I'm missing something...

1) export key list from old wallet
2) open wallet, select import/sweep
2) choose sweep, single key
3) enter base58 key from export list (for an address I know is not empty)
4) verify corresponding address is correct and click yes

Armory then requests to scan the blockchain for another 30 minutes, creates a new address in my new wallet (presumably for swept funds), and then...nothing. This happens with every private key from the list I've tried. I've verified the address is not empty via blockchain.info (when it's up).

Thoughts?

To sweep, Armory needs to know the available UTXO for the private key. To do that it goes through the same scanning process as if these private keys were loaded with your old wallet. This method will not help you.

etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1046


Core Armory Developer


View Profile WWW
March 19, 2014, 03:55:40 AM
 #3350

We literally just fixed a bug in the sweep code, like 2 hours ago.  Pull 0.91-dev and try again.

I'm not convinced this won't work.  If anything it will help debug the problem.  This will probably work for some of the keys, and maybe one in particular it will fail. 

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 19, 2014, 04:02:05 AM
 #3351

OK, frustrated to the point where I'm ready to create a new wallet. I'm trying to sweep in the BTC from the old wallet, and it is not working. Here's what I'm doing, please tell me if I'm missing something...

1) export key list from old wallet
2) open wallet, select import/sweep
2) choose sweep, single key
3) enter base58 key from export list (for an address I know is not empty)
4) verify corresponding address is correct and click yes

Armory then requests to scan the blockchain for another 30 minutes, creates a new address in my new wallet (presumably for swept funds), and then...nothing. This happens with every private key from the list I've tried. I've verified the address is not empty via blockchain.info (when it's up).

Thoughts?

To sweep, Armory needs to know the available UTXO for the private key. To do that it goes through the same scanning process as if these private keys were loaded with your old wallet. This method will not help you.

Wonderful. So what method helps me recover the BTC in a 1.35c paper backup?
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 19, 2014, 04:04:02 AM
 #3352

We literally just fixed a bug in the sweep code, like 2 hours ago.  Pull 0.91-dev and try again.

I'm not convinced this won't work.  If anything it will help debug the problem.  This will probably work for some of the keys, and maybe one in particular it will fail.  

Will give it a shot.

Making. Should I redownload the blockchain as well?
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1046


Core Armory Developer


View Profile WWW
March 19, 2014, 04:11:29 AM
 #3353

We literally just fixed a bug in the sweep code, like 2 hours ago.  Pull 0.91-dev and try again.

I'm not convinced this won't work.  If anything it will help debug the problem.  This will probably work for some of the keys, and maybe one in particular it will fail.  

Will give it a shot.

Making. Should I redownload the blockchain as well?

Nope.  Just pull the latest 0.91 and try sweeping again

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 19, 2014, 05:11:00 AM
 #3354

Well it sort of worked on one address. For some reason it left .04 BTC?

I received an invalid transaction error, but it seems to have worked (except for the .04 BTC). Thoughts before I try it on other addresses or retry on this one for the remainder?

https://blockchain.info/address/1JaZiwrMyfYXiNuAdq6cBknJHtQAQFCxUg
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1046


Core Armory Developer


View Profile WWW
March 19, 2014, 05:25:46 AM
 #3355

Ugh, looks like it worked, but your blockchain wasn't fully up to date.  The 0.4 left is the last three outputs received by that address.

Also, I can see that you did fall into this category I asked about (users don't always know if they are in this category).  Each transaction received by that address has tons of outputs.  The first one has 1,400 TxOuts of which you are only one.

Armory has a known inefficiency when it comes to transactions that huge, and you have a wallet full of them, so that's as bad as it gets.  The good news is most of the processing that's slowing it down turns out to be non-critical (it's for associating address and tx labels with the rows in the ledger), but still important.  We might see if we can find a way to disable it on wallets in this category, of if maybe we can just find a more efficient way of doing it.

For now, sweeping should work as long as Armory is fully synchronized.  Scanning the blockchain to sweep the addresses should work at "normal" speed, it's just populating the main window ledger that takes forever and Armory trips over itself while it waits.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 19, 2014, 05:34:49 AM
 #3356

Ugh, looks like it worked, but your blockchain wasn't fully up to date.  The 0.4 left is the last three outputs received by that address.

Also, I can see that you did fall into this category I asked about (users don't always know if they are in this category).  Each transaction received by that address has tons of outputs.  The first one has 1,400 TxOuts of which you are only one.

Armory has a known inefficiency when it comes to transactions that huge, and you have a wallet full of them, so that's as bad as it gets.  The good news is most of the processing that's slowing it down turns out to be non-critical (it's for associating address and tx labels with the rows in the ledger), but still important.  We might see if we can find a way to disable it on wallets in this category, of if maybe we can just find a more efficient way of doing it.

For now, sweeping should work as long as Armory is fully synchronized.  Scanning the blockchain to sweep the addresses should work at "normal" speed, it's just populating the main window ledger that takes forever and Armory trips over itself while it waits.

Ahh, I thought you meant tons of transactions directly to the address, not single transactions to tons of different addresses. I kind of figured this would be a common thing for pooled mining?

So, regarding the blockchain being up to date. The wallet says it fully synced, showing 291259 blocks. The last transaction on that address was block 290240. You're right that the last three didn't get scraped, but that seems kind of weird? I'll try it again and see what happens.
Rock6.3
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
March 19, 2014, 02:06:59 PM
 #3357

Ugh, looks like it worked, but your blockchain wasn't fully up to date.  The 0.4 left is the last three outputs received by that address.

Also, I can see that you did fall into this category I asked about (users don't always know if they are in this category).  Each transaction received by that address has tons of outputs.  The first one has 1,400 TxOuts of which you are only one.

Armory has a known inefficiency when it comes to transactions that huge, and you have a wallet full of them, so that's as bad as it gets.  The good news is most of the processing that's slowing it down turns out to be non-critical (it's for associating address and tx labels with the rows in the ledger), but still important.  We might see if we can find a way to disable it on wallets in this category, of if maybe we can just find a more efficient way of doing it.

For now, sweeping should work as long as Armory is fully synchronized.  Scanning the blockchain to sweep the addresses should work at "normal" speed, it's just populating the main window ledger that takes forever and Armory trips over itself while it waits.

If I understand your statement correctly, you are saying that Armory is a bad wallet choice for mining pool participants who are paid out in batches.
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 19, 2014, 03:02:49 PM
 #3358

Just an update, I was able to completely sweep another key last night. There may be other issues with the sweep function though (unless it is simply the batch transaction issue again), but I can only do one key at a time, and I have to restart Armory in-between attempts. For some reason, I have not been able to succeed at sweeping multiple keys in a single go, nor any keys after a successful sweep. Hopefully I can finish up today though, thanks for all the help!
Zoella
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
March 19, 2014, 03:09:47 PM
 #3359

Ugh, looks like it worked, but your blockchain wasn't fully up to date.  The 0.4 left is the last three outputs received by that address.

Also, I can see that you did fall into this category I asked about (users don't always know if they are in this category).  Each transaction received by that address has tons of outputs.  The first one has 1,400 TxOuts of which you are only one.

Armory has a known inefficiency when it comes to transactions that huge, and you have a wallet full of them, so that's as bad as it gets.  The good news is most of the processing that's slowing it down turns out to be non-critical (it's for associating address and tx labels with the rows in the ledger), but still important.  We might see if we can find a way to disable it on wallets in this category, of if maybe we can just find a more efficient way of doing it.

For now, sweeping should work as long as Armory is fully synchronized.  Scanning the blockchain to sweep the addresses should work at "normal" speed, it's just populating the main window ledger that takes forever and Armory trips over itself while it waits.

If I understand your statement correctly, you are saying that Armory is a bad wallet choice for mining pool participants who are paid out in batches.

I guess it depends on what mining pool. My wallet that collects my Eligius payouts has been OK (but I will have to import and check again). The addresses I'm having problems with in this wallet are scrypt coin switching pools (PoolWaffle, Middlecoin, etc.).

I would definitely think resolving this would be a priority since so many of these types of pools have popped up recently. Then again, it may just be my bias reflected by me being caught in the situation. Definitely not fun.
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1046


Core Armory Developer


View Profile WWW
March 19, 2014, 03:17:25 PM
 #3360

Just an update, I was able to completely sweep another key last night. There may be other issues with the sweep function though (unless it is simply the batch transaction issue again), but I can only do one key at a time, and I have to restart Armory in-between attempts. For some reason, I have not been able to succeed at sweeping multiple keys in a single go, nor any keys after a successful sweep. Hopefully I can finish up today though, thanks for all the help!

Did you try using the "Multiple Keys" sweep option at the top?  It was designed for this Smiley

If you don't mind doing one test for us, I just pushed the disablecomments branch to the BitcoinArmory repo.  I removed all the logic I think is slowing you down.  If our hypothesis is right, this will work.  This is the best I can do without getting your watching-only wallet.  


P.S. --

I really appreciate you being so patient!  Seriously, thanks.  Hopefully, as we go back through some other support requests, we'll see that most of them are due to this.  Admittedly, I don't do any mining, or have any enormous tx like this in my ledger (and apparently no one on our team, either).  Also, this did come up 18 months ago, and I made a huge efficiency fix that was supposed to fix it.  But apparently not efficient enough...


Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Pages: « 1 ... 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 [168] 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 ... 231 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!