Bitcoin Forum
May 11, 2024, 05:18:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 [25] 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 ... 186 »
481  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 19, 2014, 04:38:22 PM
I'm not saying that no one has problems with Armory.  But we got 25,000 downloads each of the last two months, and we get only a handful of support requests each day.  Unfortunately, it's still too much, as we need to focus on developing and we're not a customer support house, but we're doing our best to balance everything.

In that particular thread that is linked, we have a problem with certain types of transactions that is affecting at least 2 of the 3 users there reporting issues (which are in this thread).  I suspect this pattern is present across a lot of support requests.   I whole-heartedly agree that we need to get the app working for those users, but they still represent a small portion of our userbase -- those that are participating in pooled mining.  In fact, my neighbor who knows nothing about Bitcoin was able to get Armory running and using it, though she said it took 58 hours to sync.

0.91 is an improvement over 0.90 for sure.  But we don't believe that it's a critical upgrade.
482  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 19, 2014, 04:16:15 PM
Sorry in advance for being blunt, but when it comes to releasing 0.91 you guys really need to shit or get off the pot.

Right now you don't have any viable downloads on your website. The 0.8x series is too resource-intensive for most users, and 0.90 is unusably crash-prone.

A year ago, I could point people in this situation: http://www.fr33aid.com/1511/fr33-aid-bitcoins-stolen/ at your website and know they'd find something there they could download and use, but that hasn't been true for the last six months and I don't see any particular acknowledgment of this or urgency on your part.

It's not a problem for me personally since I can just grab the 0.91 branch from Git, but a lot of people who can't are losing Bitcoins because there aren't any good usable cold storage solutions any more.

New features are great to have, but they shouldn't delay you having a minimal viable product out, where "minimum viable product" is defined as "an application that lets you send and receive bitcoins from cold storage without consuming obscene amounts of RAM and also doesn't crash every few seconds."

I was not aware that 0.90 was "unusably crash-prone".  If that was the case, I would not have delayed the 0.91-beta release.  What platforms/contexts are unusably crash-prone (besides Mac)?  As far as I can tell, Windows and Ubuntu seem to be working well for most.
483  Bitcoin / Armory / Re: Armory's Random Number Generator (Is Armory Broken?) on: March 19, 2014, 03:57:58 PM

https://github.com/etotheipi/BitcoinArmory/blob/0.91-dev/ArmoryQt.py#L796

Code:
       # The entropyAccum var has all the timestamps, down to the microsecond,
      # of every keypress and mouseclick made during the wallet creation
      # wizard.   Also logs mouse positions on every press, though it will
      # be constant while typing.  Either way, even if they change no text
      # and use a 5-char password, we will still pickup about 25 events.
      # Then we throw in the [name,time,size] triplets of some volatile
      # system directories, and the hash of a file in that directory that
      # is expected to have timestamps and system-dependent parameters.


That's in 0.91-dev and just merged into the testing branch.
484  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 19, 2014, 03:17:25 PM
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...

485  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 19, 2014, 05:25:46 AM
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.
486  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 19, 2014, 04:11:29 AM
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
487  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 19, 2014, 03:55:40 AM
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. 
488  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 18, 2014, 08:57:17 PM

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).
489  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 18, 2014, 07:39:11 PM
No luck, same issues.

Here is the first error message in the log file (other than using dev warning), the rest of the log is just repeated BDM errors. Also, the wallet consistency check finds no errors. After a while, the lower right corner always returns to the false blocks message.

Quote
2014-03-18 13:29 (INFO) -- BDM.py:384 - Reading blockchain, pct complete: 99.9
2014-03-18 13:29 (INFO) -- BDM.py:384 - Reading blockchain, pct complete: 99.9
2014-03-18 13:29 (INFO) -- BDM.py:384 - Reading blockchain, pct complete: 99.9
2014-03-18 13:29 (INFO) -- BDM.py:384 - Reading blockchain, pct complete: 99.9
2014-03-18 13:29 (INFO) -- ArmoryQt.py:5391 - Dashboard switched to fully-online mode
2014-03-18 13:29 (INFO) -- ArmoryQt.py:4712 - Switching Armory state text to Mgmt:User, State:OnlineFull1
2014-03-18 13:29 (INFO) -- ArmoryQt.py:4654 - Switching Armory functional mode to "Online"
2014-03-18 13:29 (INFO) -- ArmoryQt.py:4712 - Switching Armory state text to Mgmt:User, State:OnlineFull2
2014-03-18 13:29 (INFO) -- ArmoryQt.py:5391 - Dashboard switched to fully-online mode
2014-03-18 13:29 (INFO) -- ArmoryQt.py:4712 - Switching Armory state text to Mgmt:User, State:OnlineFull1
2014-03-18 13:29 (INFO) -- ArmoryQt.py:4654 - Switching Armory functional mode to "Online"
2014-03-18 13:29 (INFO) -- ArmoryQt.py:4712 - Switching Armory state text to Mgmt:User, State:OnlineFull2
2014-03-18 13:29 (INFO) -- ArmoryQt.py:2398 - Syncing wallet: *****
2014-03-18 13:29 (ERROR) -- BDM.py:252 - BDM was not ready for your request!  Waited 20 sec.
2014-03-18 13:29 (ERROR) -- BDM.py:253 -   getattr   name: scanRegisteredTxForWallet
2014-03-18 13:29 (ERROR) -- BDM.py:254 - BDM currently doing: Passthrough (22290098)
2014-03-18 13:29 (ERROR) -- BDM.py:255 - Waiting for completion: ID= 22290098
2014-03-18 13:29 (ERROR) -- BDM.py:256 - Direct traceback
2014-03-18 13:29 (ERROR) -- BDM.py:259 - Traceback:
Traceback (most recent call last):
  File "/home/***/BitcoinArmory/armoryengine/BDM.py", line 249, in passthruFunc
    out = self.outputQueue.get(True, self.mtWaitSec)
  File "/usr/lib/python2.7/Queue.py", line 176, in get
    raise Empty
Empty

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).
490  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 18, 2014, 07:07:57 PM
Wallet import still crashes Armory on .91 dev branch.

OK, still having the same problem with the new dev branch. Imported wallet after complete sync, application becomes so slow it's hard to tell if it's crashed. Crash occurs at or near the end of transaction history scan. Message in lower right corner says Connected (False Blocks). After restarting, Armory crashes at 99% transaction history scans and message in lower right corner says Connected (0 Blocks). After about 5 minutes it seems to complete, lower right corner now looks normal Connected (29XXX Blocks). A few minutes later the message returns too Connected (False Blocks).

Basically, no different experience than 0.90 version. Although a blank "Factory Reset" window just popped up. Not sure what that's about!


I believe the getSpendableBalance errors are a symptom of the problem, not the problem itself.    Rather, the problem already happened before it got to that line. 

Actually... looking at the errors makes me think that you're still using the old C++ utilities.  Like you didn't recompile the C++ code after checking out the latest version.  I see

Code:
Possible C/C++ prototypes are:
   BtcWallet::getSpendableBalance(uint32_t,bool)
   BtcWallet::getSpendableBalance(uint32_t)
   BtcWallet::getSpendableBalance()

Those prototypes did change in the latest version and now have a second argument.  Try doing a make clean and make and try agian.

491  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 18, 2014, 05:47:04 PM
My guess is that it's looking for a header pointer on a zero-confirmation tx.  It doesn't find it, and then the error somehow leads to crashing the readBlkFileUpdate() loop.  We may need to examine how the loop is handling zero-confirmation transaction and make sure there's not any crashing there.



492  Bitcoin / Armory / Re: Offline bundle 0.90 dependancy problems preventing installation of Armory on: March 18, 2014, 04:45:03 AM
thanks for the reply.

"sudo apt-get update" is not available on an offline computer.

Instead, I searched for and found the previous version of Ubuntu 12.04.3 LTS. It works with this version, but not the most recent updated version 12.04.04 LTS.



Oh duh.  Offline.  Whoops.

Very interesting about the 12.04.3 vs 12.04.4.  Gonna have to figure out how to adjust our offline bundle releases appropriately.
493  Bitcoin / Armory / Re: Armory's Random Number Generator (Is Armory Broken?) on: March 18, 2014, 04:27:25 AM
Goatpig figured out where you can inject additional entropy into the RNG in Crypto++.  I went to go inject entropy path from the GUI to the C++ PRNG and I stumbled on this:

https://github.com/etotheipi/BitcoinArmory/blob/master/armoryengine.py#L7636

Code:
          # TODO: We should find a source for injecting extra entropy
         #       At least, Crypto++ grabs from a few different sources, itself
         plainRootKey = SecureBinaryData().GenerateRandom(32)

That comment was probably written two years ago.  I guess I had thought about it before, but never took the time until now to look into it.  There is actually a AutoSeededX917RNG::IncorporateEntropy function that does exactly this.  There's a few other things that held up the 0.91-beta release, so there's room to get it into that release.

494  Bitcoin / Armory / Re: Offline bundle 0.90 dependancy problems preventing installation of Armory on: March 17, 2014, 11:16:37 PM
I just ran into an issue with 12.04 myself.  I think on a fresh 12.04 OS, the dependency sources are outdated.  You have to do a "sudo apt-get update" to get the new sources for the missing dependencies.   Try that, and then try reinstalling Armory again.
495  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 17, 2014, 10:44:12 PM
Just installed on Mint16, no issues with make. Currently downloading via CDN, seems to be averaging about 1.6MB on download right now.

Hope this fixes my issues, but very cool to see an improved blockchain download process.

The bootstrapping takes way longer than I was expecting when I put this in.  But also the bootstrap file is three months old at this point, as is the last checkpoint in Bitcoin-Qt.  I think with 0.9.0 and the updated checkpoint, the bootstrap will be much faster.

However, even with no time improvement, this should cut down considerably on corrupted blk*.dat files. 
496  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 17, 2014, 07:42:30 PM
I have problem with 0.91-dev branch on Arch Linux. Tried a fresh clone and it is not help.

Code:
Traceback (most recent call last):
  File "ArmoryQt.py", line 34, in <module>
    from armoryengine.ALL import *
  File "/home/piotrek/Apps/BitcoinArmory/armoryengine/ALL.py", line 1, in <module>
    from armoryengine.ArmoryUtils import *
  File "/home/piotrek/Apps/BitcoinArmory/armoryengine/ArmoryUtils.py", line 39, in <module>
    from CppBlockUtils import KdfRomix, CryptoAES
  File "/home/piotrek/Apps/BitcoinArmory/CppBlockUtils.py", line 28, in <module>
    _CppBlockUtils = swig_import_helper()
  File "/home/piotrek/Apps/BitcoinArmory/CppBlockUtils.py", line 24, in swig_import_helper
    _mod = imp.load_module('_CppBlockUtils', fp, pathname, description)
ImportError: /home/piotrek/Apps/BitcoinArmory/_CppBlockUtils.so: undefined symbol: _ZN6snappy21GetUncompressedLengthEPKcmPm


This issue is most commonly associated with updating Armory but not rebuilding all the sub libraries.  But we also modified the Makefile since the last version was released, so it's possible we broke something there.  And you said you did a fresh clone, so my first sentence doesn't make the most sense.

Try going into the cppForSwig directory and doing a "make hardclean", then try again.  I will try this on a fresh Ubuntu installation, too.
497  Bitcoin / Armory / Re: Armory eternally in Offline Mode on: March 17, 2014, 07:19:39 PM
I really appreciate your help, but my system is 64b! o_O

And Armory install says it's to x86 and x64. I searched for Bitcoin-QT in 64, but there isn't... at least in the official download site.

Turns out there's a bug in the isX64 logic.  It reports the python build, not the CPU architecture.  Since Armory was built with all 32-bit libraries on Windows, I believe it always reports 32-bits there regardless of CPU architecture.  You can safely ignore that.
498  Bitcoin / Armory / Re: Armory - Discussion Thread on: March 17, 2014, 06:59:33 PM
New stuff for 0.91-beta!

Finally ready to lock down the feature set for 0.91-beta.  I posted a testing version a couple weeks ago, and then some internal discussions revealed it was actually possible (and easy) to integrate BitTorrent into Armory to dramatically improve the initial synchronization!   But that's not it: we are now running 30+ seedboxes to make sure there is sufficient seeding power for... a lot ... of users simultaneously.  The joys of being a company with capital to make such investments! (and really, it's not terribly expensive)  

And yet there's more!  I had been meaning to update the announcement system for a long time, and never quite had the motivation to do it.  With the necessity to periodically update the bootstrap.dat.torrent file, I decided now was the time.  

Armory now has a hard-coded offline signing Bitcoin key, that is used to sign all announcement data, including torrents, upgrade info and alerts.  This channel is protected to the same level of security as the releases themselves.  It will be used sparingly:

  • URLs, hashes, changelogs for all new versions of Armory and CoreBitcoin.  This made it possible to also integrate a "Secure Downloader" that downloads installers and verifies signatures for you!
  • Notifications list for critical announcements and alerts (including low-priority testing announcements if selected in the settings)

It's all stored in an announce file which is periodically retrieved by Armory.  If the announce file has no valid signature, it's as if it doesn't exist.  Similarly, when data is downloaded, it must match the hash in the announce file, or it will be discarded.  All text files will, themselves, be in Armory signature blocks, and can be manually verified in Armory via Tools -> Message Signing/Verification from the main window.


tl;dr
  • Automatic usage of torrent and Armory seedboxes to bootstrap a cold start.  I downloaded the blockchain at 4 MB/s on my connection! (unfortunately, bitcoin-qt still takes 2-3 hours to process the bootstrap.dat, but the total time is still faster for most, and much more reliable)
  • Armory works even if the torrent library is actually removed.  I don't think most people would care, but just in case... remove the BitTornado directory and it will sync with the network normally via Bitcoin P2P.
  • Secure downloader provides a secure way to update Armory without using GPG.  This even includes the ability to "Save with offline-verifiable signatures".  This means you can create a .signed file to take to the offline computer and it won't even write the package to disk unless the signature is valid.
  • General notifications:  We finally have a way to issue critical security alerts if the need arises.  Can select the threshold in the settings, including a "testing" mode, which we might use to communicate with people actively helping test.

We are still tweaking a few things, but otherwise the testing version is about ready to go.  It's on 0.91-dev if anyone is willing to help sanity check that all the files are committed, etc.  Will merge into the "testing" branch and make Windows and OSX installers in the next two days.  I will also start another testing thread (with bug bounty!) when we do.

P.S. - If you run with 0.91-dev right now, you'll need to use --test-announce to see the announcements, downloads and use torrent.  And they're all fake at the moment (except for the torrent), so it the actual information displayed isn't all that meaningful.  The Armory downloads for Mac and Ubuntu should technically work, but may not download anything actually useful (though you can test the offline-verify-signature feature)
499  Bitcoin / Armory / Re: Just clarifying, I can backup an Encrypted Digital Backup online? on: March 15, 2014, 02:03:09 AM
We never encourage doing this, but Armory encryption is about as good as it gets for these things.  The key-stretching on your password is not only designed to make it expensive to crack passwords, it's actually designed to use tons of RAM so that GPUs have a much smaller advantage brute forcing them.  GPUs will probably still be faster at password cracking than CPUs, but probably only 20x faster instead of 1000x.  

On our website, we have posted a presentation I gave on security best practices.  You might consider looking at slides 41 and 42:

http://media01.bitcoinarmory.com/InsideBitcoins_Present.pdf

It illustrates what key-stretching means, and shows some numbers for what kind of resources would be needed to break a password of a given length.  And that's with default settings.  If you are going to do this, I recommend that you use the advanced options when you create the wallet, to increase the RAM and compute time.

In conclusion, if you are going to do this, raise the advanced encryption settings, and use a strong password that is more than 12 characters.  If you are not so concerned about physical security, write the password down and keep it somewhere that is accessible but not obvious.  You really should only use this as a secondary backup method, to other unencrypted methods.



Though, I would still encourage you to skip this exercise and simply manage your backups with M-of-N.  You can think of M as the security of the backup, and (N-M) as the redundancy (though I would argue that M=2 is nearly as good as M=3 or M=4--all of which are enormously better than M=1).  The point is, you can use a high N-value to protect yourself from losing too many fragments.  

Earthquake zones can do a lot of damage, but it's also not going to utterly destroy everything in a 50 mile-radius.  You can be comfortable that some of your fragments will survive if they are appropriately distributed.  So something like 2-of-5 would probably suit you well.
500  Bitcoin / Armory / Re: Armory's Random Number Generator (Is Armory Broken?) on: March 14, 2014, 09:10:47 PM
Here's my thoughts:  if Crypto++ has a way to inject supplemental entropy, I'm all for doing that.  As picobit pointed out, it can't do any harm, it can only do good.  If that's the case, there's no reason I can't add various user-generated values to the entropy pool (such as the number of microseconds between mouse clicks, uninitialized RAM states, hashes of various system files like /var/log/Xorg.0.log,  etc).  A few of these together are probably even sufficient entropy alone.

My main concern was messing with crypto libraries, that have already been thoroughly reviewed and tested.  In my mind, digging into any of these things is very risky, and I'm not exactly qualified to do it. I risk unbalancing a solid RNG implementation.   But if there are channels built-in to insert extra entropy, I will act on your suggestion.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 [25] 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 ... 186 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!