Bitcoin Forum
May 25, 2024, 03:57:48 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 ... 186 »
61  Bitcoin / Armory / Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 09, 2015, 10:29:37 PM
Armory 0.93 Testing Release  (0.92.99.7-testing)
Bug Bounty Started:  0.05 BTC per bug!




REMEMBER:  Download links are at the bottom but you can get the new version through the secure downloader.  Armory will check the signatures for you!

NOTE:  If you upgrade Core to 0.10 you must use this new version of Armory.  Armory 0.92.3 and older does not work with headers-first!



Hi all,

Finally, we have a solid testing release for 0.93.  This version has taken us quite a long time because it represents a substantial reworking of the blockchain engine as well as the inter-thread communication.  Much of Armory looks the same as it did in previous versions, but now it's 100% scalable, handling wallets that even have a 1,000,000+ addresses and transactions in their history.  It also does things in the background such as address and wallet imports, which no longer force you offline.  Because of the new threading engine, there's a whole class of stability problems that don't exist anymore (specifically BDM timeout errors that cascaded into unusability and required restarting Armory;  usually with larger wallets).  

Special thanks to goatpig and njaard who have spent many months the new blockchain engine!

Especially important for our more-hardcore users, we now have a "supernode" mode, that doubles Armory's DB size, but indexes all scripts on the blockchain.  If you delete your databases and start Armory with "--supernode", you'll build a DB that does instant importing of addresses and wallets.  It could be used to build a block explorer or an Electrum-style server for feeding lite-nodes (for everyone who's asked about lite-Armory, completion of supernode was a critical milestone that needed to be crossed to even think about it).

KEEP IN MIND:  This new version uses a new DB engine (LMDB instead of LevelDB).  This means that the 0.93 databases are incompatible with any already-built databases.  And it won't delete them automatically -- you must do it manually if you don't want both versions.  This was done to accommodate users that have to jump back to 0.92 if the latest version doesn't work for them.  We recommend simply using a new datadir for testing.



REMEMBER:  You can always get the new version through the secure downloader.  Armory will check the signatures for you!  Download links are provided here as a convenience for those testing in non-secure environments.

NOTE2:  I have no expectations of the OSX build working.  If it does, it would be a blessing.  We've had to stir some things up, and didn't have time to solidify before this testing release.  It'll come soon!

  Armory 0.92.99.7-testing for Windows XP, Vista, 7, 8+ (32- and 64-bit)
  Armory 0.92.99.7-testing for MacOSX 10.7+ (64bit)
  Armory 0.92.99.7-testing for Ubuntu 12.04+ (32bit)
  Armory 0.92.99.7-testing for Ubuntu 12.04+ (64bit)
  Armory 0.92.99.7-testing for RaspberryPi  (armhf)

  Armory 0.92.99.7-testing Offline Bundle for Ubuntu 12.04 exact (32bit)
  Armory 0.92.99.7-testing Offline Bundle for Ubuntu 12.04 exact (64bit)
  Armory 0.92.99.7-testing Offline Bundle for RaspberryPi  (armhf)

  Armory 0.92.99.7-testing: Signed hashes of all installers





Semi-official changelog:


VERSION 0.92.99.7
Released Jan 9, 2015


   - New Scalable Blockchain Engine
        This version of Armory will look very similar to previous versions,
        but actually has a completely new, scalable database engine (using
        LMDB instead of LevelDB).  The engine can now handle wallets with
        millions of addresses and transactions!

   - Compatible with Bitcoin Core 0.10 and "headers-first"
        The most recent version of Bitcoin Core includes a parallel network
        synchronization feature called "headers-first" which is incompatible
        with previous versions of Armory.  This version is required to use
        with Bitcoin Core 0.10 and newer.  Torrent-based bootstrapping will
        be removed in the next version of Armory.

   - Improved Threading and Reliability
        With the new backend comes overhauled inter-thread messaging.  This
        resolves a ton of stubborn stability issues that Armory has had in
        the past, especially with large wallets and transaction histories.  

   - Address and Wallet Importing in Background
        Importing wallets and addresses now induces background scans which
        do not disable the interface (previously forced you into offline
        mode for the duration of the scan).  
        
   - Supernode Mode
        Use the "--supernode" flag before creating the databases to create
        a supernode database that enables instant address & wallet import.
        This is an enabling feature for high-volume, consumer facing apps
        and services to be built on Armory, such as exchanges and block-
        explorers.  NOTE: Running with --supernode will result in an Armory
        database approximately double the size of the blockchain!  
        
   - Improved armoryd.py
        The daemon version of armory, armoryd.py, has been fully updated and
        tested with the new database engine.  Also includes a new "webshop"
        sample application that demonstrates basic usage of armoryd.py to
        collect & verify payments, generate unsigned transactions, etc.




62  Bitcoin / Project Development / Re: [BOUNTY - 25 BTC] Audio/Modem-based communication library on: December 02, 2014, 05:32:06 PM
BTW, I've took some time to improve the audio modem library a bit:

  • a few optimizations so decoding can run "in parallel", while the audio is being recorded.
  • unit test suite with good code coverage (integrated with https://travis-ci.org/romanz/amodem and https://coveralls.io/r/romanz/amodem)
  • better (and easier) command line interface for sending and receiving data.
  • make the library code to be PEP8 compatible.
  • add support for Python 3.
  • calibration process now checks all frequencies that are used for transmission.
  • improve equalization process, with better handling of signal distortions.
  • I am using a hexagonal constellation grid (instead of standard QAM), to improve SNR for existing bit rate -> thus decreasing error probablity

See https://github.com/romanz/amodem for details.

I have been thoroughly distracted and I totally lost track of this effort.  However, I believe that the stated goals have been achieved, and certainly roman.z has put together an awesome tool.  Looking through the code I see it is very clean, commented and includes unit tests.  

Amusingly, after all of Roman's effort, Newar found the minimodem library which somehow evaded detection in this thread for many months (years?).   I think it's a slower-but-sufficient solution for linux-to-linux communication.  For this, I think Newar deserves an "Honorable mention" of 1 BTC.

Therefore, I will split the bounty 24 BTC to Roman and 1 BTC Newar.
63  Bitcoin / Armory / Re: What is multipliers.txt? on: November 17, 2014, 09:05:55 PM
Hi,

I can see in the armory directory a file called multipliers.txt.  It contains lines of the type
Code:
PrvChain (pkh, mult): ,<256-bit hex number>
and occationally
Code:
PubChain (pkh, mult): <160-bit hex number>,<256-bit hex number>

What are these numbers?  Do they expose information about my wallets?  (I guess not, you guys seem to know what you are doing, but better safe than sorry)


Due to some concerns in the past that RAM errors could result in erroneous key calculations we decided to be extra safe and save off the byproduct of the deterministic key calculation into this file (the multipliers).  The data in that file cannot be used to figure out any private keys if you don't know them, but does allow you to confirm/regenerate the private keychain if you have the root private key.  Under nominal conditions, it's irrelevant.  But if there was a RAM error that calculated a bad public key on a WO wallet, you could use multipliers.txt and the paper backup to compute the private key for the erroneous public key.

We've never had to use this file on anyone's wallet, so we don't even have a script that does what I said above.  But we have seen wallet consistency errors that led us to believe this is possible, which is why we added it along with doing many key calculations multiple times and confirming they match.
64  Bitcoin / Armory / Re: Accessing Python variable from C++ (for adding Namecoin support to Armory) on: November 11, 2014, 09:43:33 PM
If my math is right, it's only 229 MB into the file, when the whole namecoin blockchain as reported by bitinfocharts.com is 1.97 GB. My entire ~/.namecoin directory is 2.2 GB, and that includes the testnet blockchain.

This m might be a simple question for a namecoin guru:  what is the difference in block formats between Bitcoin and namecoin?  It might be something stupid and simple.  Could it have to do with the name reservation system?  Do transactions have a different structure when they register namecoin names? 
65  Bitcoin / Armory / Re: Last block received 7 months ago on: November 11, 2014, 06:27:20 PM
where is the default datadir?
I am running armory on win7


C:\Users\<user>\AppData\Roaming\Bitcoin
66  Bitcoin / Armory / Re: Last block received 7 months ago on: November 11, 2014, 06:20:51 PM
I am having a problem with armory not getting up to date with the network. The program seems to work fine but when I tried to send btc it would not add the transaction to the network. I tried to rebuild and rescan but that didn't help any. I sent some btc to an address I had in armory and it did pick up the transaction but it would not confirm at all (stayed at 0 confirms).

After trying a few things I looked up the address that held the btc and it has already been used. My btc was stolen a few months back and I thought that my armory btc was still there but after looking up the address on blockchain info website I found that they had been stolen also. Armory still shows them in my wallet I figure that is because armory says last block received was 7 months ago.

I have tried letting armory load bitcoin qt but it still will not catch up.
I have done a factory reset
I have tried rebuild and rescan within armory
I tried sending coins to an armory address
I load bitcoin qt default program with out using armory and every thing is up to date
I have updated Armory and bitcoin qt to the latest versions

Armory is stuck on block 293751 it says connected and is in green. Armory is says it is online.

I think i have covered all of the important info if not just ask for more.

Thank you for your time

It sounds like you moved your Bitcoin home directory 7 months ago to a new datadir, and didn't tell Armory about the new location using --satoshi-datadir.  It's reading the old leftover blockchain files.

If you are letting Armory run Bitcoin for you, then you can point to the correct directory in the Armory settings.  Otherwise you have to use the --satoshi-datadir argument in the command line.
67  Bitcoin / Armory / Re: Accessing Python variable from C++ (for adding Namecoin support to Armory) on: November 11, 2014, 04:30:40 AM
FYI, here's the old transitional code for the same method:

https://github.com/etotheipi/BitcoinArmory/blob/v0.88-beta/cppForSwig/BtcUtils.h#L736

And as njaard said:  you don't access python from C++.  If you need something, put it in the C++ side, and call it from python.  SWIG is amazing (being able to call C++ objects and methods as if they're native python objects), but it doesn't go both ways, and in fact it can get quite complicated to do so.

68  Bitcoin / Armory / Re: Generate new addresses using PHP with an Armory wallet on: October 29, 2014, 03:05:13 PM
It's kind of fun watching you guys attempt to reverse engineer this stuff Smiley 

Looks like inf got it except for one mistake (if I read his text formatting correctly):  the lines in the backup data actually have 2-bytes of checksum per line, instead of 4 bytes of checksum per two lines.  i.e. you wrote:


817d 9216 ee19 0036 ba

749d 0e7a 9da0 451b 23e2 cb23 26b9 baeb 8446
b0dc 4a3a 0cb7 d2a9 bc45 1e2d 28c7
3388 191f
7e9b 5347 b656 7083 4921 84af 95bb 8e3e 3db0
745b f145 bb9b fbd0 4447 b6e2 cfc7
2408 2056


But it should be:

Quote

817d 9216 ee19 0036 ba

749d 0e7a 9da0 451b 23e2 cb23 26b9 baeb  8446
b0dc 4a3a 0cb7 d2a9 bc45 1e2d 28c7 3388  191f
7e9b 5347 b656 7083 4921 84af 95bb 8e3e 3db0
745b f145 bb9b fbd0 4447 b6e2 cfc7 2408 2056


You can confirm your understanding of it by look up the two functions "makeSixteenBytesEasy()" and "readSixteenEasyBytes()" (both are in ArmoryUtils.py)
69  Bitcoin / Armory / Re: What's the difference between Offline & Watching-Only? on: October 29, 2014, 03:26:59 AM
I want a secure wallet that is strictly offline, untouchable.

Can someone tell me what the difference between these two are?

In a general sense, they are referring to something very similar:  part of a cold-storage scheme. 

WIthin Armory, "watch-only" means you're simply watching a wallet, probably not owned by you.
"Offline" means you're watching a wallet that is owned by you, but the keys are on an offline computer, and you're simply watching it from this online computer.

When you import a watching-only wallet, it is by default not marked as your own (and thus labeled "Watch-Only").  You have to explicitly tell Armory it is your wallet in the wallet properties under "Belongs to:".  Then it will switch to "Offline" and its balance will be added to your global balance.  But changing that value doesn't really change anything:  it's still a wallet that only has public keys, and you can't use it to spend money, only see transaction history and receive payments.

70  Bitcoin / Armory / Re: Why is compressed private keys not supported? Any problem? on: October 27, 2014, 04:49:20 PM
Just have this question! Smiley

Why is compressed private keys not supported? Any problem?

   ~~MZ~~

When Armory's wallet format was originally created, compressed keys didn't exist in any Bitcoin software.  I never accommodated for the possibility in the wallet format.   Since then, the wallet format has been so thoroughly tested and battle-hardened, I didn't want to mess with it to support a non-critical feature like compressed public keys. 

Finishing up a new wallet format now that will support a lot of new features, including both compressed and uncompressed keys.  Still a ways off from an official release, but it's coming.
71  Bitcoin / Armory / Re: Secure download of bitcoin core fails (signature). on: October 24, 2014, 06:22:50 PM
Ack.  Good catch.  I tend to check all the new downloads before pushing (or immediately after) version updates to make sure it was all smooth.  It seems I actually did it right but they pulled the rug out from under me... thanks for finding that commit that changed and vindicating me from fault Smiley

It will be updated soon.  Until then, you can still use the secure-downloader to confirm, just not execute the full download:

  • In the secure downloader, select the OSX package, and instead of clicking "Download", click "Download Info".  You'll see the (incorrect) download link and the hash that Armory Tech has pre-verified and signed.
  • Go to the bitcoin.org website and download the file from there (or just use the link posted, such as here:  
    https://bitcoin.org/bin/0.9.3/bitcoin-0.9.3-macosx.dmg
  • In the terminal, you can shasum -a256 bitcoin*.dmg.  This should give you the same hash that is shown in Armory
72  Bitcoin / Armory / Re: Blockchain won't update on: October 23, 2014, 09:30:06 PM
Speaking of database locations...

With Armory, I know that either --datadir or --settings would have to remain a command line option so that ArmorySettings.txt can be located, but it would be kinda nice if --dbdir could be settable via File -> Settings and stored in ArmorySettings.txt. That way I wouldn't have to remember to update all the start-up shortcuts each time I upgrade Armory. Just a thought...

That's an excellent point.  I wonder if maybe we can simply make the installer not overwrite shortcuts if they already exist, but only add them if they don't.  Alternatively, it would be nice to have the dbdir set in the settings.  I bet that explains a lot of support tickets we get when users upgrade -- nothing changed, it just overwrote their CLI args that they normally use...
73  Bitcoin / Armory / Re: Blockchain won't update on: October 23, 2014, 09:09:34 PM
I have a custom location for my Bitcoin Core directory so I don't waste precious space on my SSD drive.

Is this somehow affecting Armory not being able to update the blockchain?

By the way, under settings, Bitcoin install directory and Bitcoin home directory is too confusing.  What is the difference?

Which should I use, E:\Bitcoin\daemon ?  or E:\Bitcoin ?

One is where the bitcoind executable is located (installation directory), the other is where your Bitcoin wallets and databases are held.  I know it's not necessarily intuitive for users unfamiliar with it, but there's not much we can do to clarify other than teaching users what they are.  The wallets and databases are always stored separately, so that you can upgrade the app without touching your wallets, and redownloading the blockchain, etc.  The installation directory is intended to hold no temporary data so it can be safely wiped on reinstalls, etc.

In Windows, the installation directory is, by default:  C:\Program Files\Bitcoin (maybe (x86)).  It will find the daemon directory as necessary.
In Windows, the default location for your home dir is C:\Users\<user>\AppData\Roaming\Bitcoin.

Both of those need to be updated if you moved both.  If you're saving space, you most likely only moved the home directory which contains the huge databases.
74  Bitcoin / Armory / Re: Armory won't open. Help! on: October 22, 2014, 05:36:31 PM
Quote
exception MemoryError
Raised when an operation runs out of memory but the situation may still be rescued (by deleting some objects). The associated value is a string indicating what kind of (internal) operation ran out of memory. Note that because of the underlying memory management architecture (C’s malloc() function), the interpreter may not always be able to completely recover from this situation; it nevertheless raises an exception so that a stack traceback can be printed, in case a run-away program was the cause.

Maybe you ran out of RAM?  Maybe it's actually a completely overflowing log file and it can't read the whole thing in?  

In your Armory home dir, check the size of armorylog.txt and armorycpplog.txt.  How big are they?  Try deleting them.



Thanks! As I said, I'll add some more ram, and then I'll try deleting those two files.

Don't worry about the RAM.  my guess is the log file somehow became 20 GB and Armory is choking trying to read it (which is ironic because it's failing while trying to cut it down to 1 MB)

Awesome. I'll definitely try that... too bad I deleted the databases and now will have to download them again. And that I already bought the ram (but I guess you can never have too much of that!)

Can you please confirm the sizes of those files.  I'm like 99% sure that what I just described is the problem, but I'd like confirmation.  If so, we can tweak the code to avoid this.  The whole point of that code block is to prevent this from happening, but apparently it can't handle once it has happened (perhaps from leaving Armory running for 3 months with a bunch of constant messages being written to log.
75  Bitcoin / Armory / Re: Armory won't open. Help! on: October 22, 2014, 05:15:11 PM
Quote
exception MemoryError
Raised when an operation runs out of memory but the situation may still be rescued (by deleting some objects). The associated value is a string indicating what kind of (internal) operation ran out of memory. Note that because of the underlying memory management architecture (C’s malloc() function), the interpreter may not always be able to completely recover from this situation; it nevertheless raises an exception so that a stack traceback can be printed, in case a run-away program was the cause.

Maybe you ran out of RAM?  Maybe it's actually a completely overflowing log file and it can't read the whole thing in?  

In your Armory home dir, check the size of armorylog.txt and armorycpplog.txt.  How big are they?  Try deleting them.



Thanks! As I said, I'll add some more ram, and then I'll try deleting those two files.

Don't worry about the RAM.  my guess is the log file somehow became 20 GB and Armory is choking trying to read it (which is ironic because it's failing while trying to cut it down to 1 MB)
76  Bitcoin / Armory / Re: Armory won't open. Help! on: October 22, 2014, 04:48:16 PM
Quote
exception MemoryError
Raised when an operation runs out of memory but the situation may still be rescued (by deleting some objects). The associated value is a string indicating what kind of (internal) operation ran out of memory. Note that because of the underlying memory management architecture (C’s malloc() function), the interpreter may not always be able to completely recover from this situation; it nevertheless raises an exception so that a stack traceback can be printed, in case a run-away program was the cause.

Maybe you ran out of RAM?  Maybe it's actually a completely overflowing log file and it can't read the whole thing in? 

In your Armory home dir, check the size of armorylog.txt and armorycpplog.txt.  How big are they?  Try deleting them.

77  Bitcoin / Armory / Re: trouble sending from armory on: October 22, 2014, 02:02:51 AM
When I checked the blockchain for the failed sends, it does show them originating from one of the adresses in the wallet that shows as empty.How can i make it withdraw from the one that has all my coins or move them to to the address my Armory sends from?

Does the transaction show up on blockchain.info?  If so, it actually succeeded.  Blockchain.info won't show it unless it's a valid transaction.  It might just be taking forever to be mined...?   Maybe it's showing it as empty because you just moved the coins out of it with a valid transaction?

If you aren't talking about blockchain.info, and the coins haven't moved and it appears to be trying to spend coins that don't exist, then it sounds like the database state is out of whack.  You can use Help->Rescan Databases.   If that doesn't work, try Help-Rebuild & Rescan.

A rebuild is a last resort, taking a couple hours, but should resolve all issues related to the DB.
78  Bitcoin / Armory / Re: trouble sending from armory on: October 21, 2014, 11:29:09 PM
There are a few small inputs due to receiving a couple blockchain.info shared sends  a while back. The smallest being .005 and the majority much bigger than that.The amount I'm having trouble sending is very small in contrast to the amount of total spendable funds though.

Can you do me a favor:  do whatever it is that triggers the error, then go look at the Bitcoin Core logs:  /home/<user>/bitcoin/debug.log .  As soon as you see the disconnect message in Armory, you'll see a message in the logfile telling you why the transaction was rejected.  This is the most direct way to determine why it's failing.
79  Bitcoin / Armory / Re: trouble sending from armory on: October 21, 2014, 11:08:45 PM
Does your wallet have tons of small inputs?  Meaning, is your 0.5 BTC from receiving 500 donations of 0.001 each?  That frequently causes failures to send because of transactions that are too big.
80  Bitcoin / Armory / Re: trouble sending from armory on: October 21, 2014, 10:14:10 PM
  I can sometimes send a small .5 or so, but anything larger I get "conection lost'' .The Ubantu I then updated from 12.04 to 14.04, Armory to the latest and bitcoin client to newest extracted using armory client.....I still get "conection lost"    I created a ticket, waiting to hear back.In the mean time, anyone have an idea of what to try next?

It sounds like your blockchain is not synchronized.  You are attempting to send coins that are already spent, and thus the local Bitcoin Core instance is disconnecting you for broadcasting invalid transactions.  First thing is to make sure that the block count in the bottom-right corner of the Armory window matches the top block on blockchain.info.
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 ... 186 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!