Bitcoin Forum

Bitcoin => Armory => Topic started by: goatpig on March 27, 2016, 10:20:27 AM



Title: Armory 0.94 is out
Post by: goatpig on March 27, 2016, 10:20:27 AM
Get your builds here:

https://github.com/goatpig/BitcoinArmory/releases/tag/v0.94.0

There won't be offline builds for this release, as nothing was modified on the offline signing part. You can keep on using 0.92-93 to sign transactions created with 0.94.

----------------------

You can find the list of changes in changelog.txt, but here it is too for the good measure:

Quote
== Added ==
   - New database format: DB shrinked from 60GB to sub 200MB, >10x initial setup and startup speed.
   - New DB corruption detection and auto repair code. Bad block issues should be mostly gone.
   - Detection and GUI flagging of RBF enabled zero confirmation transactions.
   - Fixed ZC chain handling and replacement. All ZC spending ZC outputs are now flagged as replaceable,
     regardless of TxIn sequence or parent Tx state.
   - Added new GUI option to add additional entropy at wallet creation using a deck of cards.
   - After the change in lead, all new code is now developed under the MIT license (was AGPL3).

== Removed ==
   - No more phone home code. There are no plans to reintroduce any code of that nature.
   - As a result, the announce tab code is gone.
   - No more torrent code. Seedboxes were hosted by ATI and are now down. Also, IBD improvements in
     Core 0.10-12 make this code obsolete.
   - As a result of the new light weight DB, the TxHint set has been shrinked to the bare minimum. This means
     Armory cannot resolve arbitrary TxHash to data in block anymore. The main symptom is the inability to
     resolve TxIn data in the "Transcation Details" dialog. This feature will be reintroduced as part of an
     intermediarry DB format inbetween fullnode and supernode.
   - No more supernode. Will be reintroduced in a later version.

-------------------------------------

Thank you to all the contributors:
https://github.com/goatpig/BitcoinArmory/graphs/contributors

and the testers:
https://bitcointalk.org/index.php?topic=1385530.0
https://bitcointalk.org/index.php?topic=1372471.40

***************************************************************

Known bugs:

- Will crash on new blocks if there is no wallet loaded
- Sweeping doesn't work
- DB format is different from 0.93, do not use your default settings when upgrading (change the database folder using --dbdir="someotherfolder")

Will be fixed in 0.94.1, stay tuned


Title: Re: Armory 0.94 is out
Post by: unamis76 on March 27, 2016, 12:06:15 PM
Thank you very much! This is a pretty substancial update. I'll be upgrading my online machine later today. It will be nice to have a smaller database :)


Title: Re: Armory 0.94 is out
Post by: kyren on March 27, 2016, 06:52:54 PM
Thank you so much, goatpig!


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 27, 2016, 08:08:33 PM
To goatpig and all who contributed: you're warmly appreciated over here at Banks Towers. Big win for the Open Source community, and Bitcoin.


Title: Re: Armory 0.94 is out
Post by: yslyung on March 27, 2016, 08:30:17 PM
how do i upgrade the online watching wallet ?

figured it out, just DL & install, loads, but keeps on initializing bitcoin engine  ... wallet has been fully synced not it says 99% 4 blocks to go  ???

thx goatpig & others that contributed  ;D

did not workout for me, revert back to 0.93.3 any tips appreciated.

TIA


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 27, 2016, 09:48:12 PM
Where/how would one acquire the PGP public key being used for the goatpig Armory releases? The ATI keys are definitely not verfiying the hash txt file.


Title: Re: Armory 0.94 is out
Post by: achow101 on March 27, 2016, 09:56:02 PM
Where/how would one acquire the PGP public key being used for the goatpig Armory releases? The ATI keys are definitely not verfiying the hash txt file.
It should be the one here: https://github.com/goatpig/BitcoinArmory/blob/master/PublicKeys/goatpig-signing-key.asc


Title: Re: Armory 0.94 is out
Post by: goatpig on March 27, 2016, 11:39:53 PM
how do i upgrade the online watching wallet ?

figured it out, just DL & install, loads, but keeps on initializing bitcoin engine  ... wallet has been fully synced not it says 99% 4 blocks to go  ???

thx goatpig & others that contributed  ;D

did not workout for me, revert back to 0.93.3 any tips appreciated.

TIA

Start BitcoinQt manually, let it sync. Give Armory another database folder (use --dbdir), start it and let it do its thing.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 28, 2016, 12:54:20 AM
Ok, so I get problems installing over 0.93.3

Code:
sub-process installed post-removal script exited with error 3: xdg-desktop-menu: No writable system menu directory found

No such problems if I simply install the 0.94 package without 0.93.3 previously installed. I suspect that the error is a kind of false positive, i.e. possibly there is no system menu directory in the Debian 8 template used for Qubes (I know that many significant elements, e.g. the main desktop package, are excised from the OS template). Uninstalling 0.94 yields the same xdg error.


Title: Re: Armory 0.94 is out
Post by: kyren on March 28, 2016, 04:21:52 AM
Running fresh copy of .94 and it's purring along.

Thank you again


Title: Re: Armory 0.94 is out
Post by: goatpig on March 28, 2016, 09:22:25 AM
Ok, so I get problems installing over 0.93.3

Code:
sub-process installed post-removal script exited with error 3: xdg-desktop-menu: No writable system menu directory found

No such problems if I simply install the 0.94 package without 0.93.3 previously installed. I suspect that the error is a kind of false positive, i.e. possibly there is no system menu directory in the Debian 8 template used for Qubes (I know that many significant elements, e.g. the main desktop package, are excised from the OS template). Uninstalling 0.94 yields the same xdg error.

The dpkg script is dated now, it probably needs some work. I'll look at that sometimes before 0.95


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 28, 2016, 11:01:37 AM
Ok, so I get problems installing over 0.93.3

Code:
sub-process installed post-removal script exited with error 3: xdg-desktop-menu: No writable system menu directory found

No such problems if I simply install the 0.94 package without 0.93.3 previously installed. I suspect that the error is a kind of false positive, i.e. possibly there is no system menu directory in the Debian 8 template used for Qubes (I know that many significant elements, e.g. the main desktop package, are excised from the OS template). Uninstalling 0.94 yields the same xdg error.

The dpkg script is dated now, it probably needs some work. I'll look at that sometimes before 0.95

I expect it would work in less peculiar configurations/forks of Debian, almost certainly specific to the Qubes template. I should have reported the bug about two releases ago, strictly speaking, it just manifests itself in a much less forgiving way this time around (last time I had to uninstall 0.93.2 to let 0.93.3 install correctly, but even that trick wouldn't work for 93.3 > 94.0)

On a fresh install in a fresh VM (no previous Armory installs), all is well.


Title: Re: Armory 0.94 is out
Post by: idoB on March 28, 2016, 03:09:01 PM
Get your builds here:

https://github.com/goatpig/BitcoinArmory/releases/tag/v0.94.0



Now, can we get a goatpig donation address? I'd like to test my first 0.94 transaction with it.  :)


Title: Re: Armory 0.94 is out
Post by: goatpig on March 28, 2016, 03:19:05 PM
Now, can we get a goatpig donation address? I'd like to test my first 0.94 transaction with it.  :)

In due time.


Title: Re: Armory 0.94 is out
Post by: unamis76 on March 28, 2016, 05:03:54 PM
Struggling a bit to update my Windows 10 online machine, but so far so good. Ran into some issues already addressed around here, so here's my experience so far, hope it helps people:

1. Install 0.94
2. Rename your old Armory dir and make another one
3. Boot up Armory, say yes to the agreements, deactivate auto bitcoind management
4. Close Armory
5. Start bitcoind manually, let it sync
6. When it's synced, boot up Armory and let it work.
7. Import your wallet

I got crashes on step 6 (when it finished building the database) and step 7 (after adding my watch-only wallet)

It's now scanning my transaction history.

What file should I use from the old database to recover my transaction and addresses details and comments?


Title: Re: Armory 0.94 is out
Post by: goatpig on March 28, 2016, 05:27:39 PM
What file should I use from the old database to recover my transaction and addresses details and comments?

You don't need anything from the old DB. You need your WO wallets from the datadir though. I'll post a new Windows build to fix bitcoind auto management later tonight.


Title: Re: Armory 0.94 is out
Post by: kyren on March 28, 2016, 06:06:54 PM
I take back what I said earlier about this working.  It's not working for me... hanging after the last block...
Been at 0 blocks for about 12 hours now.


Title: Re: Armory 0.94 is out
Post by: goatpig on March 28, 2016, 06:10:03 PM
I take back what I said earlier about this working.  It's not working for me... hanging after the last block...
Been at 0 blocks for about 12 hours now.

Let's see some logs.


Title: Re: Armory 0.94 is out
Post by: kyren on March 28, 2016, 06:37:59 PM
I'm running Windows 10 - how do I get them to you?


Title: Re: Armory 0.94 is out
Post by: goatpig on March 28, 2016, 08:09:46 PM
I'm running Windows 10 - how do I get them to you?

Start Armory in offline mode and go to File -> Extract Log File. Or you can post the content of armorylog.txt and armorycpplog.txt found in your Armory datadir.


Title: Re: Armory 0.94 is out
Post by: yslyung on March 28, 2016, 08:35:46 PM
how do i upgrade the online watching wallet ?

figured it out, just DL & install, loads, but keeps on initializing bitcoin engine  ... wallet has been fully synced not it says 99% 4 blocks to go  ???

thx goatpig & others that contributed  ;D

did not workout for me, revert back to 0.93.3 any tips appreciated.

TIA

Start BitcoinQt manually, let it sync. Give Armory another database folder (use --dbdir), start it and let it do its thing.


tried that, since 0.93.3 i can't use manual bitcoin qt, have to use let armory run bitcoin qt/bitcoind in the background.

i have my qt installed on another hdd & armory on C: drive * i think this could be the problem to start QT/bitcoind manually

i tried deleting old db n run 0.94, no go then reverted back to 0.93.3 & let it do what it needed to do, wallet works normal now but when i  untick armory auto mgmt of bitcoind, it says armory is offline be it 0.93.3 0.94 when bitcoin qt is already running & synced.

how to i use the --dbdir ? running on win7

appreciate a fix.

thx again.


Title: Re: Armory 0.94 is out
Post by: yslyung on March 28, 2016, 08:37:05 PM
I take back what I said earlier about this working.  It's not working for me... hanging after the last block...
Been at 0 blocks for about 12 hours now.

had the same problem, i revert back to 0.93..3 ... i think i could've missed some steps.


Title: Re: Armory 0.94 is out
Post by: goatpig on March 28, 2016, 10:23:27 PM
Updated the Windows build, this should fix the missing guardian error (v0.94.0.1)

I found a bug with parallel scans, this should only affect people that load wallets or import addresses after Armory is fully online. To repair the issue, do a Help -> Rescan Balance. I'll post a build with the actual fix in a day or 2.


Title: Re: Armory 0.94 is out
Post by: smiles on March 29, 2016, 02:03:39 AM
ArmoryQT.exe crashes at Loading Database Headers (0%)

Edit: Got it online once for about a minute, then ArmoryQT.exe crashed
Update: seems like its working now
Update: Nope, keeps crashing


Title: Re: Armory 0.94 is out
Post by: goatpig on March 29, 2016, 09:37:36 AM
ArmoryQT.exe crashes at Loading Database Headers (0%)

Edit: Got it online once for about a minute, then ArmoryQT.exe crashed
Update: seems like its working now
Update: Nope, keeps crashing

log files


Title: Re: Armory 0.94 is out
Post by: visdude on March 29, 2016, 01:16:08 PM
Kudos to all who made this release possible. Thank you for the selfless work you have done.

Before exploring with this exciting update, I would like to clarify a few things if I may so I do not screw up and make a mess of the process.

My online Armory has been set up as follows:

1. Armory does not manage Bitcoin-Qt/bitcoind (i.e. I manually start Bitcoin-QT to let it sync then run Armory and let it catch up)

2. Both Bitcoin and Armory data directories are not on their respective default location/path

3. Bitcoin shortcut target attribute/parameter: "C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir="D:\BitcoinData\Bitcoin"

4. Armory shortcut target attribute/parameter: "C:\Program Files (x86)\Armory\ArmoryQt.exe" --skip-announce-check --satoshi-datadir="D:\BitcoinData\Bitcoin" --datadir="D:\ArmoryData\Armory"

The above configuration has worked flawlessly ever since. To update Armory, I would usually just install the new version over the old one and everything would be peachy with nary an issue whatsoever.

Would the aforementioned configuration/procedure be compatible with 0.94 and future releases or do I have to make some changes to update Armory successfully from here on?



Title: Re: Armory 0.94 is out
Post by: goatpig on March 29, 2016, 01:29:11 PM
1. Armory does not manage Bitcoin-Qt/bitcoind (i.e. I manually start Bitcoin-QT to let it sync then run Armory and let it catch up)

This is my preferred setup too but it works fine either way. I messed up the first release and auto bitcoind wouldn't work on Windows. 0.94.0.1 will work with auto bitcoind however.

Quote
2. Both Bitcoin and Armory data directories are not on their respective default location/path

3. Bitcoin shortcut target attribute/parameter: "C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir="D:\BitcoinData\Bitcoin"

4. Armory shortcut target attribute/parameter: "C:\Program Files (x86)\Armory\ArmoryQt.exe" --skip-announce-check --satoshi-datadir="D:\BitcoinData\Bitcoin" --datadir="D:\ArmoryData\Armory"

The pathing arguments are correct. --skip-announce-check is obsolete now. All phone home code is gone in this release. The CLI arg is still there for backwards compatibility. It doesn't do anything anymore though.

Quote
Would the aforementioned configuration/procedure be compatible with 0.94 and future releases or do I have to make some changes to update Armory successfully from here on?

0.94 DB format is different from 0.93, you can't have them both running in the same folder. I'd recommend you use a different DB folder (add --dbdir="some/new/folder" to your shortcut target) and make sure 0.94 is stable before completely replacing 0.93's DB.


Title: Re: Armory 0.94 is out
Post by: kyren on March 29, 2016, 01:41:48 PM
Any ETA on 94.01?  No rush - just wondering if I need to setup 93 again...

Thanks buddddddy!


Title: Re: Armory 0.94 is out
Post by: visdude on March 29, 2016, 01:51:18 PM
1. Armory does not manage Bitcoin-Qt/bitcoind (i.e. I manually start Bitcoin-QT to let it sync then run Armory and let it catch up)

This is my preferred setup too but it works fine either way. I messed up the first release and auto bitcoind wouldn't work on Windows. 0.94.0.1 will work with auto bitcoind however.

Quote
2. Both Bitcoin and Armory data directories are not on their respective default location/path

3. Bitcoin shortcut target attribute/parameter: "C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir="D:\BitcoinData\Bitcoin"

4. Armory shortcut target attribute/parameter: "C:\Program Files (x86)\Armory\ArmoryQt.exe" --skip-announce-check --satoshi-datadir="D:\BitcoinData\Bitcoin" --datadir="D:\ArmoryData\Armory"

The pathing arguments are correct. --skip-announce-check is obsolete now. All phone home code is gone in this release. The CLI arg is still there for backwards compatibility. It doesn't do anything anymore though.

Quote
Would the aforementioned configuration/procedure be compatible with 0.94 and future releases or do I have to make some changes to update Armory successfully from here on?

0.94 DB format is different from 0.93, you can't have them both running in the same folder. I'd recommend you use a different DB folder (add --dbdir="some/new/folder" to your shortcut target) and make sure 0.94 is stable before completely replacing 0.93's DB.

Thanks for the prompt reply.

To recap...

1. remove "--skip-announce-check" from the argument

2. install 0.94 over 0.93.3 (...or is it fully uninstall 0.93.3 first then install a fresh and virgin 0.94)

3. save and secure 0.93.3 data as a fallback while creating the new 0.94 data format

Is that about right?



Title: Re: Armory 0.94 is out
Post by: visdude on March 29, 2016, 01:53:24 PM
Any ETA on 94.01?  No rush - just wondering if I need to setup 93 again...

Thanks buddddddy!
It's already out.


Title: Re: Armory 0.94 is out
Post by: achow101 on March 29, 2016, 02:00:30 PM
Any ETA on 94.01?  No rush - just wondering if I need to setup 93 again...

Thanks buddddddy!
The updated Windows version is already out and posted on https://github.com/goatpig/BitcoinArmory/releases/tag/v0.94.0


Title: Re: Armory 0.94 is out
Post by: goatpig on March 29, 2016, 02:56:20 PM
2. install 0.94 over 0.93.3 (...or is it fully uninstall 0.93.3 first then install a fresh and virgin 0.94)

You can do either. Installing over is enough, as only the binaries need to be written over (You could do that manually actually, Armory update process is fairly simple on Windows).

Quote
3. save and secure 0.93.3 data as a fallback while creating the new 0.94 data format

I recommend you do that until you are sure 0.94 is stable on your setup.


Title: Re: Armory 0.94 is out
Post by: bitcoinron on March 29, 2016, 03:39:59 PM
Thanks, I am having a major problem of crashing  on startup with this new version.

Crashes at loading database headers 0% after a few minutes.

I thought this may fix an existing problem I encountered last week.

-----------------------------

I had a bug report that I just encountered about missing bitcoins. It appears to be related to summing the transactions:

I have a set of addresses that are associated with my bitcoin wallet however; armory does not include these in the balance.

They originally showed up as unconfirmed transactions. There are now 5 transaction. The software showed that they never confirmed. They are confirmed and have balances on block chain.

I have reimported wallet from my paper backup and retried. Transactions still not there. I used old wallet and exported the private keys of the address and attempted to import them into my paper backup wallet.

The software said they were already associated with this wallet. I tried to import them into a second wallet -- the software said another wallet had them and they are a duplicate addresses.

There are payments in these addresses however; I can't get them into the transaction log. They are missing from my BTC total.

It appears armory is skipping these transaction addresses and not summing them.

Do you have any idea? Is this a known bug?

-------------------------------

Here are the log files from the recent crash:

Log file opened at 1459265633: C:\Users\XXX\AppData\Roaming\XXX\armorycpplog.txt
-INFO  - 1459265685: (..\BlockUtils.cpp:924) blkfile dir: C:\Users\XXX\AppData\Roaming\Bitcoin\blocks
-INFO  - 1459265685: (..\BlockUtils.cpp:925) lmdb dir: C:\Users\XXX\AppData\Roaming\Armory\databases
-INFO  - 1459265685: (..\lmdb_wrapper.cpp:387) Opening databases...
-INFO  - 1459265685: (..\BlockUtils.cpp:1110) Executing: doInitialSyncOnLoad
-INFO  - 1459265685: (..\DatabaseBuilder.cpp:162) Reading headers from db
-INFO  - 1459265687: (..\DatabaseBuilder.cpp:195) Found 404853 headers in db
-INFO  - 1459265756: (..\DatabaseBuilder.cpp:43) updating HEADERS db
-DEBUG - 1459265756: (..\Blockchain.cpp:213) Organizing chain
-INFO  - 1459265822: (..\DatabaseBuilder.cpp:47) updated HEADERS db in 65.6s
-INFO  - 1459265822: (..\DatabaseBuilder.cpp:98) scanning new blocks from #0 to #397776
-ERROR - 1459265823: (..\BlockchainScanner.cpp:257) unknown block deser error during scan at height #0
-ERROR - 1459265823: (..\BlockchainScanner.cpp:257) unknown block deser error during scan at height #0

If you need more information (LOGS/transaction IDS) about the bug, I can contact you privately. Thanks


Title: Re: Armory 0.94 is out
Post by: goatpig on March 29, 2016, 04:13:29 PM
-INFO  - 1459265822: (..\DatabaseBuilder.cpp:98) scanning new blocks from #0 to #397776

Your top block count is way off. We're nearing 405k.

Make sure BitcoinQt is up to date. Also make sure you aren't running this on top of a pre-existing 0.93 DB. If the issue persists, PM me.


Title: Re: Armory 0.94 is out
Post by: smiles on March 29, 2016, 05:50:48 PM
ArmoryQT.exe crashes at Loading Database Headers (0%)

Edit: Got it online once for about a minute, then ArmoryQT.exe crashed
Update: seems like its working now
Update: Nope, keeps crashing

log files

How should I send the log?


Title: Re: Armory 0.94 is out
Post by: goatpig on March 29, 2016, 06:00:39 PM
How should I send the log?

If you clean up the private data, you can pastebin it and post the link here, otherwise copy paste the content in PM


Title: Re: Armory 0.94 is out
Post by: visdude on March 29, 2016, 08:00:42 PM
2. install 0.94 over 0.93.3 (...or is it fully uninstall 0.93.3 first then install a fresh and virgin 0.94)

You can do either. Installing over is enough, as only the binaries need to be written over (You could do that manually actually, Armory update process is fairly simple on Windows).

Quote
3. save and secure 0.93.3 data as a fallback while creating the new 0.94 data format

I recommend you do that until you are sure 0.94 is stable on your setup.
Got it! Thank you.



Title: Re: Armory 0.94 is out
Post by: visdude on March 29, 2016, 11:19:09 PM
Done! Painless. It took 6 minutes to build the new 0.94 DB and another 10 minutes to scan the transactions; a total of 16 minutes before Armory 0.94 was fully caught up and functional.

Again, props to goatpig and the rest of the team for an awesome and very significant endeavor. Did I mention that the DB shrunk from 60.4 GB down to 140 MB? Just awesome!

I am sharing my procedure during update to 0.94 (Windows 7). Hopefully, it aids others in the transition. Note that it is based on my setup with Armory not managing bitcoin-qt/bitcoind (manual) and an alternate location/path for both Bitcoin and Armory data directories (not default). Otherwise, adjust accordingly or as indicated:

1. rename the old Armory data folder (as backup/fallback to previous version)

2. install Armory 0.94 but opt for "NOT" running Armory at the end of the installation process

3. Start Armory 0.94 in Offline Mode [Start/All Progams/Armory/Bitcoin Armory (Offline)] but "Skip" creating a wallet. An "Armory" folder will then be created in the default directory [C:\Users\User\AppData\Roaming\Armory] initially containing "databases" folder, armorylog.txt and ArmorySettings.txt (sans wallet file/s). Change your settings accordingly [File/Settings...] and save it. Close Armory

4. Copy/Move the Armory data folder from the default directory/path to the alternate location (skip this step if using default location)

5. Copy wallet file/s from the old Armory data folder to the new (0.94) Armory data folder

6. Start Bitcoin-Qt and let it sync and catch up (skip this step if Armory is set up to automatically manage bitcoin-qt/bitcoind)

7. Start Armory 0.94 and let it sync, build the new DB and consequently scan transactions.




Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 12:39:55 AM
Ok, so I get problems installing over 0.93.3

Code:
sub-process installed post-removal script exited with error 3: xdg-desktop-menu: No writable system menu directory found

No such problems if I simply install the 0.94 package without 0.93.3 previously installed. I suspect that the error is a kind of false positive, i.e. possibly there is no system menu directory in the Debian 8 template used for Qubes (I know that many significant elements, e.g. the main desktop package, are excised from the OS template). Uninstalling 0.94 yields the same xdg error.

The dpkg script is dated now, it probably needs some work. I'll look at that sometimes before 0.95

I'm working a couple fixes for 0.94.1, hopefully have it out this week.

I've confirmed the installation issues I was having with the .deb for 0.94.0 were related to these lines in dpkgfiles/postinst:

Code:
execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armory.desktop')
execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armorytestnet.desktop')
execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armoryoffline.desktop')

not sure if it's the arguments for xdg-desktop-menu or something in the calling function, it's going to take a little wrapping my head around that function (although I think understand it's broad purpose). Documentation for freedesktop/xdg states that error 3 means resource unavailability, and curiously, they have a separate error code for file/dir not found/inaccessible (and in their terminology, "system menu directory" could well not be referring to a filesystem directory).

Will post results if/when I discover the problem. I don't normally work on this sort of thing, someone talented may beat me to it :)


Title: Re: Armory 0.94 is out
Post by: bitcoinron on March 30, 2016, 03:15:32 AM
Thanks, I don't know what trigger this.

I had two bitcoin installs:

1. C:\Program Files\Bitcoin\
2. C:\Program Files (x86)\Bitcoin\ (32 bit)

The path in Armory was 1. C:\Program Files\Bitcoin\

I did the following:

0. Upgrade bitcoin to 0.12.0 C:\Program Files\Bitcoin\
1. uninstalled - C:\Program Files (x86)\Bitcoin\ (32 bit)
2. Delete database file directory C:\Users\XXX\AppData\Roaming\Armory\databases

NOTE:

1. Uninstall C:\Program Files (x86)\Bitcoin\ (32 bit) was required. I couldn't have two versions. This seemed to fix loading database headers however, it still crashed afterwards but passed 0% now.
2. Delete database was required to fix the crash after loading database headers

I am running Bitcoin 0.12.0, Armoury 0.94 (all 64 bit) and my coins are back.

Things are running super fast now (IE: Doesn't take 10-15 hours overnight to load the program).




Title: Re: Armory 0.94 is out
Post by: yslyung on March 30, 2016, 06:29:22 AM
installed new version all works well now, much faster thx.


Title: Re: Armory 0.94 is out
Post by: goatpig on March 30, 2016, 10:13:40 AM
I've confirmed the installation issues I was having with the .deb for 0.94.0 were related to these lines in dpkgfiles/postinst:

Code:
execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armory.desktop')
execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armorytestnet.desktop')
execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armoryoffline.desktop')

not sure if it's the arguments for xdg-desktop-menu or something in the calling function, it's going to take a little wrapping my head around that function (although I think understand it's broad purpose). Documentation for freedesktop/xdg states that error 3 means resource unavailability, and curiously, they have a separate error code for file/dir not found/inaccessible (and in their terminology, "system menu directory" could well not be referring to a filesystem directory).

Will post results if/when I discover the problem. I don't normally work on this sort of thing, someone talented may beat me to it :)

This code registers the armory shortcuts in the Application drop down menu. Not sure if that's Debian/Ubuntu specific or not. I'm guessing if that path is missing that registration will fail. Quick sanity check: does your GDE have that Application menu?

Quote
NOTE:

1. Uninstall C:\Program Files (x86)\Bitcoin\ (32 bit) was required. I couldn't have two versions. This seemed to fix loading database headers however, it still crashed afterwards but passed 0% now.
2. Delete database was required to fix the crash after loading database headers

Since you have 2 versions of Bitcoin installed, Armory auto detected the 32 bit one first. I'm guessing everything else is bound to that.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 11:02:58 AM
Will post results if/when I discover the problem. I don't normally work on this sort of thing, someone talented may beat me to it :)

This code registers the armory shortcuts in the Application drop down menu. Not sure if that's Debian/Ubuntu specific or not. I'm guessing if that path is missing that registration will fail. Quick sanity check: does your GDE have that Application menu?

Well, /usr/share/applications exists and is suitably populated, likewise /usr/share/menu.

Is anyone else aware of other files/directories relating to the proper functioning of the applications menu? (I'm currently trying to answer my own question also...)


Title: Re: Armory 0.94 is out
Post by: goatpig on March 30, 2016, 11:18:17 AM
Well, /usr/share/applications exists and is suitably populated, likewise /usr/share/menu.

Is anyone else aware of other files/directories relating to the proper functioning of the applications menu? (I'm currently trying to answer my own question also...)

Permission issue?


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 12:44:06 PM
Well, /usr/share/applications exists and is suitably populated, likewise /usr/share/menu.

Is anyone else aware of other files/directories relating to the proper functioning of the applications menu? (I'm currently trying to answer my own question also...)

Permission issue?

I don't think so, dpkg -i won't run without superuser privileges. Looking at the owner/group/permissions situation for /usr/share/applications and /usr/share/applications, root owns the dir and the files. root has rwx for the dirs and rw for the files contained. Both Group and Others have rx and read-only access for dirs and files respectively.

To put this another way, other .deb files seem to handle the Qubes setup ok, but I'm not sure how/if they're using xdg utils to do the job.


Title: Re: Armory 0.94 is out
Post by: josephbisch on March 30, 2016, 01:00:31 PM
Carlton, does /usr/share/desktop-directories/ exist? If not, what happens if you make that directory and try to retrigger the xdg-desktop-menu calls?


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 01:31:34 PM
No, only dom0 has that directory. And indeed, mkdir /usr/share/desktop-directories clears up the errors and the installation bug completely. The bug has, of course, been removed from the uninstall process also. Thanks Joseph!

So this is highly likely Qubes specific, but other .deb packagers manage to avoid this somehow, unless the removal of /usr/share/desktop-directories from the OS template is a very recent change in Qubes' codebase. Going to gather some .deb files that install .desktop files for more testing.

Using an argument that ignores the error when executing xdg-desktop-menu would be most ideal. Qubes team removed that directory for a reason, so detecting it's absence and making it seems like a poor choice (they've removed a fair amount of dom0 only stuff from the OS templates)


Title: Re: Armory 0.94 is out
Post by: goatpig on March 30, 2016, 01:51:21 PM
No, only dom0 has that directory. And indeed, mkdir /usr/share/desktop-directories clears up the errors and the installation bug completely. The bug has, of course, been removed from the uninstall process also. Thanks Joseph!

So this is highly likely Qubes specific, but other .deb packagers manage to avoid this somehow, unless the removal of /usr/share/desktop-directories from the OS template is a very recent change in Qubes' codebase. Going to gather some .deb files that install .desktop files for more testing.

Using an argument that ignores the error when executing xdg-desktop-menu would be most ideal. Qubes team removed that directory for a reason, so detecting it's absence and making it seems like a poor choice (they've removed a fair amount of dom0 only stuff from the OS templates)

Checking the path exists and creating it if it doesn't, wouldn't that be enough? Or is creating the folder without a prompt overreaching?


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 02:02:24 PM
Checking the path exists and creating it if it doesn't, wouldn't that be enough? Or is creating the folder without a prompt overreaching?
 

If you go that way, I would also rm -df the folder after the xdg-desktop-menu lines have executed. I looked in /usr/share/desktop-directories after the successful install, and it was empty. Deleting /usr/share/desktop-directories in the template didn't cause issues when I span up 0.94 in a VM using that template, so it appears to be ok. Not sure of any other possible ramifications, I'll make as much use as I can of 0.94 (in this particular state) to be sure.


Title: Re: Armory 0.94 is out
Post by: goatpig on March 30, 2016, 02:52:57 PM
If you go that way, I would also rm -df the folder after the xdg-desktop-menu lines have executed

I could check whether the folder is empty or not before deleting it, but that would probably breach what is expected of the uninstall process. The only way around it would be to keep track of the folder existence before install to restore the system to its original state. That's complicating things too much and I would choose to not remove the folder in this case.

I think the better approach is to look for path existence and skip the shortcut registration if there is no such folder. The .deb is targeted at Debian/Ubuntu. If you are using a distro that deviates from that, I'd rather not forcefully modify it to fit "Debian-ess", and I expect you can spawn Armory from the terminal, or register the shortcuts on your own.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 03:05:01 PM
I'm trying both approaches right now (learning python simultaneously :D). Will test and report back.


Edit: your last idea is definitely the best, Qubes has it's own script to check for .desktop files, then talks to the inter-VM RPC to (likely using xdg) re-populate the actual /usr/share/desktop-directories in dom0. So the xdg-desktop-menu commands are probably unneeded with Qubes.


Title: Re: Armory 0.94 is out
Post by: josephbisch on March 30, 2016, 03:45:14 PM
Maybe the other packages that don't fail to install the desktop file use an install file (debian/armory.install in Armory's case) to install the desktop files? See http://packaging.ubuntu.com/html/debian-dir-overview.html and search the page for "desktop" to find what I am talking about.

You won't be able to generate the desktop files on demand like the postinst script currently does, but it looks like there are static desktop files in dpkgfiles currently anyway.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 05:43:08 PM
Maybe the other packages that don't fail to install the desktop file use an install file (debian/armory.install in Armory's case) to install the desktop files? See http://packaging.ubuntu.com/html/debian-dir-overview.html and search the page for "desktop" to find what I am talking about.

You won't be able to generate the desktop files on demand like the postinst script currently does, but it looks like there are static desktop files in dpkgfiles currently anyway.

Seems highly convincing, not least because the on-the-fly desktop file generation doesn't depend on dynamic input anyway. Possibly too involving for a bugfix release, we'll see what can be done before goatpig decides to do the release.


Title: Re: Armory 0.94 is out
Post by: RoadStress on March 30, 2016, 06:47:24 PM
0.94 DB format is different from 0.93, you can't have them both running in the same folder. I'd recommend you use a different DB folder (add --dbdir="some/new/folder" to your shortcut target) and make sure 0.94 is stable before completely replacing 0.93's DB.

From 0.94 onward the "--datadir=" argument is now "--dbdir=" or are they different?

Thank you for this release!


Title: Re: Armory 0.94 is out
Post by: goatpig on March 30, 2016, 06:57:52 PM
0.94 DB format is different from 0.93, you can't have them both running in the same folder. I'd recommend you use a different DB folder (add --dbdir="some/new/folder" to your shortcut target) and make sure 0.94 is stable before completely replacing 0.93's DB.

From 0.94 onward the "--datadir=" argument is now "--dbdir=" or are they different?

Thank you for this release!

--datadir sets the datadir, which is your wallets, log files, settings file and database folder

--dbdir sets the database folder independently

--datadir="folder1" along with --dbdir="folder2" will result in wallets, logs and settings to go into folder1 and db into folder2.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 07:33:49 PM
I'm trying to test a basic fix (adding a test for the path before the xdg-desktop-menu lines, also indenting the xdg-desktop-menu lines and the the blank line after those to make those lines execute contingent on the if statement). It's almost like make_deb_package.py is using the old postinst script, despite copying the correct file to the temporary directory used to build the package. So my coding syntax has got to be wrong.

Here's the line I'm adding:

Code:
if os.path.exists('/usr/share/desktop-directories'):


Other than the correct indentation to delineate the codeblock, what could be the issue? Could it actually be using the old script? Am I not allowed to supply literal string values?


Title: Re: Armory 0.94 is out
Post by: josephbisch on March 30, 2016, 08:03:43 PM
I'm trying to test a basic fix (adding a test for the path before the xdg-desktop-menu lines, also indenting the xdg-desktop-menu lines and the the blank line after those to make those lines execute contingent on the if statement). It's almost like make_deb_package.py is using the old postinst script, despite copying the correct file to the temporary directory used to build the package. So my coding syntax has got to be wrong.

Here's the line I'm adding:

Code:
if os.path.exists('/usr/share/desktop-directories'):


Other than the correct indentation to delineate the codeblock, what could be the issue? Could it actually be using the old script? Am I not allowed to supply literal string values?
The Python code you added looks correct to me. The problem is that the temporary directory gets recreated from dpkgfiles each time you run make_deb_package.py. So if you are copying to or modifying the file in the temporary directory instead of dpkgfiles, it will get overwritten when you run make_deb_package.py. So if you aren't doing it already, you should modify the postinst in dpkgfiles and then try running make_deb_package.py.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 30, 2016, 11:24:42 PM
Right, so there was nothing wrong with the one line of python code.

I'm thinking now there must be some uninstall script or another part of the code where the xdg-utils commands are called.

I have:

  • built the .deb as 93.99.2, including the extra line in postint script
  • installed that into a fresh Debian 8 VM
  • built another .deb as 0.93.99.3, also including the extra line
  • installing 93.99.3 over 93.99.2 generates the same errors that installing 0.94 over 0.93.3 does

I can tell the initial modified .deb is working, I stuck 1 print line inside the if statement and then also another print line immediately after the if. Only the latter appeared in stdout, seems convincing to me. The behaviour when installing over 93.99.2 looks so much like it's getting those lines from a different copy of the same script, could that be right? Can't see anything like that in the file structure though

edit: how about the postrm binary? can't see any source for that in the codebase


Title: Re: Armory 0.94 is out
Post by: josephbisch on March 30, 2016, 11:48:22 PM
Right, so there was nothing wrong with the one line of python code.

I'm thinking now there must be some uninstall script or another part of the code where the xdg-utils commands are called.

I have:

  • built the .deb as 93.99.2, including the extra line in postint script
  • installed that into a fresh Debian 8 VM
  • built another .deb as 0.93.99.3, also including the extra line
  • installing 93.99.3 over 93.99.2 generates the same errors that installing 0.94 over 0.93.3 does

I can tell the initial modified .deb is working, I stuck 1 print line inside the if statement and then also another print line immediately after the if. Only the latter appeared in stdout, seems convincing to me. The behaviour when installing over 93.99.2 looks so much like it's getting those lines from a different copy of the same script, could that be right? Can't see anything like that in the file structure though

edit: how about the postrm binary? can't see any source for that in the codebase

The postrm is located in dpkgfiles (https://github.com/goatpig/BitcoinArmory/blob/master/dpkgfiles/postrm in the master branch for example). And it does look like there are xdg-utils uninstall commands in that script. So that seems like it is the source of the error when installing a new version over the old version of Armory.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 31, 2016, 12:13:54 AM
ugh, I assumed postrm was a compiled binary, that will teach me to take the nautilus icon as any kind of information at all, other than a picture! Thanks again Joseph, really appreciated.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on March 31, 2016, 01:54:37 PM
This eliminates my problem with the .deb installer on Qubes 3.0....

in ./dpkgfiles/postinst at line 55:
Code:
if os.path.exists('/usr/share/desktop-directories'):
   execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armory.desktop')
   execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armorytestnet.desktop')
   execAndWait('xdg-desktop-menu  install --novendor /usr/share/applications/armoryoffline.desktop')
   

in ./dpkgfiles/postrm at line 3:
Code:
if [ -d /usr/share/desktop-directories ] ; then
   xdg-desktop-menu  uninstall /usr/share/applications/armory.desktop
   xdg-desktop-menu  uninstall /usr/share/applications/armorytestnet.desktop
   xdg-desktop-menu  uninstall /usr/share/applications/armoryoffline.desktop
fi

Works with Qubes 3.0, Debian 8.3 VM, over 0.93.3 or 0.94.0. If anyone can test on baremetal (non-virtualised) Debian and derivatives, that'd be helpful. You may need the dh-make package.




Title: Re: Armory 0.94 is out
Post by: Mythoughts on March 31, 2016, 04:23:18 PM
Great work. Thanks a lot!

Just upgraded from 0.93 to 0.94 on debian x64.

Super-smooth and easy.

There's still a "disable bittorrent download" setting in the GUI though; according to this, that shouldnt be needed any more:
Quote
   - No more torrent code. Seedboxes were hosted by ATI and are now down. Also, IBD improvements in
     Core 0.10-12 make this code obsolete.

My debian Jessie upgrade HowTo:
- rename .armory folder in home directory to .armory_0.93
- install armory 0.94 with gdebi
- start armory, re-do all configurations in the settings menu
- close armory
- copy *.wallet files from the old .armory_0.93-directory to the newly created .armory-dir
- that's it. Initial startup with DB-build and transaction scanning took ~10 minutes on a quadcore i3 Intel NUC


Title: Re: Armory 0.94 is out
Post by: goatpig on March 31, 2016, 07:29:10 PM
There's still a "disable bittorrent download" setting in the GUI though; according to this, that shouldnt be needed any more:
Quote
   - No more torrent code. Seedboxes were hosted by ATI and are now down. Also, IBD improvements in
     Core 0.10-12 make this code obsolete.

I haven't cleaned the GUI. I got a PR to finish cleaning that up, that'll be in the next version most likely.


Title: Re: Armory 0.94 is out
Post by: visdude on March 31, 2016, 09:21:36 PM
Pardon my Linux illiteracy but would the "armory_0.94.0_amd64.deb" release be compatible with Ubuntu and it's derivatives (specifically, LM Cinnamon)? If not, would there eventually be an Ubuntu release?



Title: Re: Armory 0.94 is out
Post by: achow101 on March 31, 2016, 09:28:02 PM
Pardon my Linux illiteracy but would the "armory_0.94.0_amd64.deb" release be compatible with Ubuntu and it's derivatives (specifically, LM Cinnamon)? If not, would there eventually be an Ubuntu release?


It should be compatible with ubuntu.


Title: Re: Armory 0.94 is out
Post by: visdude on March 31, 2016, 09:59:47 PM
Pardon my Linux illiteracy but would the "armory_0.94.0_amd64.deb" release be compatible with Ubuntu and it's derivatives (specifically, LM Cinnamon)? If not, would there eventually be an Ubuntu release?


It should be compatible with ubuntu.

Do I just simply double-click on the .deb package to install it just like a tar.gz package?



Title: Re: Armory 0.94 is out
Post by: achow101 on March 31, 2016, 10:12:05 PM
Pardon my Linux illiteracy but would the "armory_0.94.0_amd64.deb" release be compatible with Ubuntu and it's derivatives (specifically, LM Cinnamon)? If not, would there eventually be an Ubuntu release?


It should be compatible with ubuntu.
Do I just simply double-click on the .deb package to install it just like a tar.gz package?
Yes. It should open up the Ubuntu software center and you should be able to install it from there.


Title: Re: Armory 0.94 is out
Post by: visdude on March 31, 2016, 11:08:35 PM

Yes. It should open up the Ubuntu software center and you should be able to install it from there.

OK. Thanks! I'll explore it later.



Title: Re: Armory 0.94 is out
Post by: Carlton Banks on April 01, 2016, 09:36:15 AM
what I think knightdk meant to say was:

open terminal, type sudo dpkg -i ~/Downloads/armory_94.0_amd64.deb, hit return key

 ;D

It's the masochist's answer to all your problems with Linux, JOOOOIN US etc


Title: Re: Armory 0.94 is out
Post by: visdude on April 02, 2016, 05:49:57 AM
Working on LM Cinnamon with no hitch so far. Nice.



Title: Re: Armory 0.94 is out
Post by: visdude on April 02, 2016, 06:21:56 AM

I get the following on the task bar after closing Armory in all my W7 machines. I started noticing it since 0.93 (or perhaps even the one before that). The notification bubble fades and eventually disappears as expected but the Armory icon lingers and would only disappear with a mouse pointer hover. No biggie really but I guess I was hoping they'd go away in 0.94:

https://i.imgur.com/VNSjkdq.png



Title: Re: Armory 0.94 is out
Post by: goatpig on April 02, 2016, 10:18:07 AM
I get the following on the task bar after closing Armory in all my W7 machines. I started noticing it since 0.93 (or perhaps even the one before that). The notification bubble fades and eventually disappears as expected but the Armory icon lingers and would only disappear with a mouse pointer hover. No biggie really but I guess I was hoping they'd go away in 0.94:

https://i.imgur.com/VNSjkdq.png

I didn't touch that code at all. Did you try addnode=127.0.0.1 in your bitcoin.conf?


Title: Re: Armory 0.94 is out
Post by: visdude on April 02, 2016, 10:54:54 AM
I get the following on the task bar after closing Armory in all my W7 machines. I started noticing it since 0.93 (or perhaps even the one before that). The notification bubble fades and eventually disappears as expected but the Armory icon lingers and would only disappear with a mouse pointer hover. No biggie really but I guess I was hoping they'd go away in 0.94:

https://i.imgur.com/VNSjkdq.png

I didn't touch that code at all. Did you try addnode=127.0.0.1 in your bitcoin.conf?

It started to appear before 0.94 so it has nothing to do with the release. Again, no biggie as it does not affect the functionality of Armory. I was just wondering why it started to appear around the earlier iteration of 0.93 or possibly even much earlier in 0.92.3 (don't remember specifically).

I tried addnode=127.0.0.1 in bitcoin.conf but it did not fix it.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on April 02, 2016, 11:36:32 AM
@visdude Can I take it that Armory re-connects with Bitcoin fairly quickly afterwards? I get this type of behaviour occasionally also, I attributed it to my machine being a bit over-worked. Are you maxing out or heavily using your CPU when this occurs?


Title: Re: Armory 0.94 is out
Post by: visdude on April 02, 2016, 12:16:55 PM
@visdude Can I take it that Armory re-connects with Bitcoin fairly quickly afterwards? I get this type of behaviour occasionally also, I attributed it to my machine being a bit over-worked. Are you maxing out or heavily using your CPU when this occurs?

Armory connects with Core almost instantaneously each time I start it (after Core is synced and caught up). I make it a point to close Armory first before Core. It appears after the fact that Armory has already closed. Therefore, it doesn't make any sense considering the context of the notification...and of course, the lingering Armory task bar icon.

I don't think an overworked CPU is the cause as I run standalone full node/Armory on different W7 machines with pretty capable chips (dual, quad and octo cores and a Haswell machine) and they all get it. I haven't done anything different either when it started to appear; just installing updates as usual when a new release is out.





Title: Re: Armory 0.94 is out
Post by: unamis76 on April 02, 2016, 06:46:57 PM
Finally managed to get my machine properly synced after updating, took around 3 hours to rebuild the new database, I think. I am yet to update to the versions that re-enables auto bitcoind management. Migration was fairly smooth after moving my wallet files to the new datadir. Old database was 60,2 GB. New is 141 MB. This in itself only is worth the upgrade and database rebuild!


I get the following on the task bar after closing Armory in all my W7 machines. I started noticing it since 0.93 (or perhaps even the one before that). The notification bubble fades and eventually disappears as expected but the Armory icon lingers and would only disappear with a mouse pointer hover. No biggie really but I guess I was hoping they'd go away in 0.94:

https://i.imgur.com/VNSjkdq.png

I get this message all the time since I started using Armory, about a year ago if I'm not mistaken, with every version released. I only need Chrome + bitcoind + Armory running to top up 2GB of RAM ;) You're most likely low on resources at the exact moment the error occurs. Armory reconnects right after (never seen it take more than a couple of minutes to reconnect).


Title: Re: Armory 0.94 is out
Post by: goatpig on April 02, 2016, 06:47:51 PM
Lemme see your log files, maybe there is a clue there.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on April 02, 2016, 06:54:18 PM
Quote from: visdude link=topic=1414243.msg14395542#msg14395542

I get this message all the time since I started using Armory, about a year ago if I'm not mistaken, with every version released. I only need Chrome + bitcoind + Armory running to top up 2GB of RAM ;) You're most likely low on resources at the exact moment the error occurs. Armory reconnects right after (never seen it take more than a couple of minutes to reconnect).


lol also my mistake. he says this happens reliably after Armory is shut down


Title: Re: Armory 0.94 is out
Post by: unamis76 on April 02, 2016, 07:00:18 PM
Lemme see your log files, maybe there is a clue there.

I can post them. Just downloaded, checked and ran the installer for 0.94.0.1, updating now. I'll post logfile for this session if the notification pops up.

lol also my mistake. he says this happens reliably after Armory is shut down

Correct, I've also seen that behavior (right after shutdown)

EDIT: great, lol, I'm exhausting my RAM on purpose (Armory + Chrome with 30+ tabs open) and the error isn't appearing. I guess I'll see tomorrow with a longer sync.


Title: Re: Armory 0.94 is out
Post by: ImI on April 02, 2016, 07:30:32 PM

hi,

0.93 has filled my HD. only 400MB left.  ;D 

in which folder is the DB stored? i think deleting the DB, upgrading to 0.94.1 might be the best solution.


Title: Re: Armory 0.94 is out
Post by: unamis76 on April 02, 2016, 08:50:34 PM

hi,

0.93 has filled my HD. only 400MB left.  ;D 

in which folder is the DB stored? i think deleting the DB, upgrading to 0.94.1 might be the best solution.

Platform?

For Windows it is C:\Users<user>\AppData\Roaming\Armory folder (source (https://www.bitcoinarmory.com/troubleshooting/))
For Linux it is /home/<user>/.armory
For OS X it is /Library/Application Support/Armory (I think)


Title: Re: Armory 0.94 is out
Post by: visdude on April 02, 2016, 09:20:19 PM


I get the following on the task bar after closing Armory in all my W7 machines. I started noticing it since 0.93 (or perhaps even the one before that). The notification bubble fades and eventually disappears as expected but the Armory icon lingers and would only disappear with a mouse pointer hover. No biggie really but I guess I was hoping they'd go away in 0.94:

https://i.imgur.com/VNSjkdq.png

I get this message all the time since I started using Armory, about a year ago if I'm not mistaken, with every version released. I only need Chrome + bitcoind + Armory running to top up 2GB of RAM ;) You're most likely low on resources at the exact moment the error occurs. Armory reconnects right after (never seen it take more than a couple of minutes to reconnect).

We can definitely eliminate "low on resources" as the cause. As I indicated on the previous page, it doesn't matter if I run Core/Armory standalone (by themselves) in different and very capable W7 machines (dual, quad and octo core and a Haswell machine with RAMs between 4GB and 16GB), they all get it every time I close Armory. Note that I never got this until around 92.3 or the early iteration of 0.93 (I think - I don't remember exactly which one but thereabouts anyway) and I've been using Armory since 2012.

Anyway, it's not a deal breaker as it never affects Armory's functionality. Nevertheless, it's an interesting quirk of Armory to discuss in here. ;D


Title: Re: Armory 0.94 is out
Post by: visdude on April 02, 2016, 09:43:26 PM
Quote from: visdude link=topic=1414243.msg14395542#msg14395542

I get this message all the time since I started using Armory, about a year ago if I'm not mistaken, with every version released. I only need Chrome + bitcoind + Armory running to top up 2GB of RAM ;) You're most likely low on resources at the exact moment the error occurs. Armory reconnects right after (never seen it take more than a couple of minutes to reconnect).


lol also my mistake. he says this happens reliably after Armory is shut down

The warning/notification is an oxymoron considering the fact that it appears after Armory has already closed.

"Of course Armory cannot send nor receive bitcoins...it's already closed, foo!"  ;D



Title: Re: Armory 0.94 is out
Post by: unamis76 on April 02, 2016, 10:57:01 PM
Interesting... Just booted Armory to see if I could capture a logfile with the "connection lost" toast and Armory stopped syncing out of the blue. Just opened it and it got stuck here:

https://i.imgur.com/W5HGti6.png

Opening it again while writing this. Meanwhile here's the logfile. The connection lost error occurred once and can be seen there:

Code:
(ERROR) -- Networking.pyc:359 - ***Connection to Satoshi client LOST!  Attempting to reconnect...

Full file:

Code:
  (INFO) -- ArmoryUtils.pyc:1083 - C++ block utilities loaded successfully
  (INFO) -- ArmoryUtils.pyc:1193 -
  (INFO) -- ArmoryUtils.pyc:1194 -
  (INFO) -- ArmoryUtils.pyc:1195 -
  (INFO) -- ArmoryUtils.pyc:1196 - ************************************************************
  (INFO) -- ArmoryUtils.pyc:1197 - Invoked: C:\Program Files (x86)\Armory\ArmoryQt.exe --satoshi-datadir=D:\Bitcoin --datadir=D:\Armory
  (INFO) -- ArmoryUtils.pyc:1198 - ************************************************************
  (INFO) -- ArmoryUtils.pyc:1199 - Loading Armory Engine:
  (INFO) -- ArmoryUtils.pyc:1200 -    Armory Version        : 0.94
  (INFO) -- ArmoryUtils.pyc:1201 -    Armory Build:         : b0033fb356
  (INFO) -- ArmoryUtils.pyc:1202 -    PyBtcWallet  Version  : 1.35
  (INFO) -- ArmoryUtils.pyc:1203 - Detected Operating system: Windows
  (INFO) -- ArmoryUtils.pyc:1204 -    OS Variant            : 8-6.2.9200--Multiprocessor Free
  (INFO) -- ArmoryUtils.pyc:1205 -    User home-directory   : C:\Users\**********\AppData\Roaming
  (INFO) -- ArmoryUtils.pyc:1206 -    Satoshi BTC directory : D:\Bitcoin
  (INFO) -- ArmoryUtils.pyc:1207 -    Armory home dir       : D:\Armory
  (INFO) -- ArmoryUtils.pyc:1208 - Detected System Specs    :
  (INFO) -- ArmoryUtils.pyc:1209 -    Total Available RAM   : 2.00 GB
  (INFO) -- ArmoryUtils.pyc:1210 -    CPU ID string         : Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
  (INFO) -- ArmoryUtils.pyc:1211 -    Number of CPU cores   : 2 cores
  (INFO) -- ArmoryUtils.pyc:1212 -    System is 64-bit      : True
  (INFO) -- ArmoryUtils.pyc:1213 -    Preferred Encoding    : cp1252
  (INFO) -- ArmoryUtils.pyc:1214 -    Machine Arch          : amd64
  (INFO) -- ArmoryUtils.pyc:1215 -    Available HDD (ARM)   : 11 GB
  (INFO) -- ArmoryUtils.pyc:1216 -    Available HDD (BTC)   : 11 GB
  (INFO) -- ArmoryUtils.pyc:1217 -
  (INFO) -- ArmoryUtils.pyc:1218 - Network Name: Main Network
  (INFO) -- ArmoryUtils.pyc:1219 - Satoshi Port: 8333
  (INFO) -- ArmoryUtils.pyc:1220 - Do wlt check: True
  (INFO) -- ArmoryUtils.pyc:1221 - Named options/arguments to armoryengine.py:
  (INFO) -- ArmoryUtils.pyc:1223 -     nettimeout      : 2
  (INFO) -- ArmoryUtils.pyc:1223 -     rescan          : False
  (INFO) -- ArmoryUtils.pyc:1223 -     ignoreAllZC     : False
  (INFO) -- ArmoryUtils.pyc:1223 -     rescanBalance   : False
  (INFO) -- ArmoryUtils.pyc:1223 -     disableModules  : False
  (INFO) -- ArmoryUtils.pyc:1223 -     port            : None
  (INFO) -- ArmoryUtils.pyc:1223 -     interport       : 8223
  (INFO) -- ArmoryUtils.pyc:1223 -     skipStatsReport : False
  (INFO) -- ArmoryUtils.pyc:1223 -     forceWalletCheck: False
  (INFO) -- ArmoryUtils.pyc:1223 -     rebuild         : False
  (INFO) -- ArmoryUtils.pyc:1223 -     datadir         : D:\Armory
  (INFO) -- ArmoryUtils.pyc:1223 -     clearMempool    : False
  (INFO) -- ArmoryUtils.pyc:1223 -     offline         : False
  (INFO) -- ArmoryUtils.pyc:1223 -     coverageOutputDir: None
  (INFO) -- ArmoryUtils.pyc:1223 -     armoryDBDir     : DEFAULT
  (INFO) -- ArmoryUtils.pyc:1223 -     satoshiPort     : DEFAULT
  (INFO) -- ArmoryUtils.pyc:1223 -     useTorSettings  : False
  (INFO) -- ArmoryUtils.pyc:1223 -     netlog          : False
  (INFO) -- ArmoryUtils.pyc:1223 -     keypool         : 100
  (INFO) -- ArmoryUtils.pyc:1223 -     coverageInclude : None
  (INFO) -- ArmoryUtils.pyc:1223 -     forceOnline     : False
  (INFO) -- ArmoryUtils.pyc:1223 -     skipAnnounceCheck: False
  (INFO) -- ArmoryUtils.pyc:1223 -     redownload      : False
  (INFO) -- ArmoryUtils.pyc:1223 -     multisigFile    : DEFAULT
  (INFO) -- ArmoryUtils.pyc:1223 -     disableTorrent  : False
  (INFO) -- ArmoryUtils.pyc:1223 -     testAnnounceCode: False
  (INFO) -- ArmoryUtils.pyc:1223 -     mtdebug         : False
  (INFO) -- ArmoryUtils.pyc:1223 -     logDisable      : False
  (INFO) -- ArmoryUtils.pyc:1223 -     settingsPath    : D:\Armory\ArmorySettings.txt
  (INFO) -- ArmoryUtils.pyc:1223 -     verbosity       : None
  (INFO) -- ArmoryUtils.pyc:1223 -     doDebug         : False
  (INFO) -- ArmoryUtils.pyc:1223 -     enableDetSign   : True
  (INFO) -- ArmoryUtils.pyc:1223 -     testnet         : False
  (INFO) -- ArmoryUtils.pyc:1223 -     rpcport         : DEFAULT
  (INFO) -- ArmoryUtils.pyc:1223 -     satoshiHome     : D:\Bitcoin
  (INFO) -- ArmoryUtils.pyc:1223 -     satoshiRpcport  : DEFAULT
  (INFO) -- ArmoryUtils.pyc:1223 -     logFile         : D:\Armory\ArmoryQt.exe.log.txt
  (INFO) -- ArmoryUtils.pyc:1223 -     disableConfPermis: False
  (INFO) -- ArmoryUtils.pyc:1223 -     enableSupernode : False
  (INFO) -- ArmoryUtils.pyc:1224 - Other arguments:
  (INFO) -- ArmoryUtils.pyc:1227 - ************************************************************
  (INFO) -- ArmoryUtils.pyc:1627 - C++ block utilities loaded successfully
  (INFO) -- BDM.pyc:420 - Using the asynchronous/multi-threaded BlockDataManager.
  (INFO) -- BDM.pyc:421 - Blockchain operations will happen in the background.  
  (INFO) -- BDM.pyc:422 - Devs: check TheBDM.getState() before asking for data.
  (INFO) -- BDM.pyc:423 - Registering addresses during rescans will queue them for
  (INFO) -- BDM.pyc:424 - inclusion after the current scan is completed.
  (INFO) -- ArmoryUtils.pyc:3538 - Using settings file: D:\Armory\ArmorySettings.txt
  (INFO) -- ArmoryQt.py:2752 - loadWalletsAndSettings
  (INFO) -- ArmoryQt.py:2806 - Loading wallets...
  (INFO) -- ArmoryQt.py:2865 - Number of wallets read in: 1
  (INFO) -- ArmoryQt.py:2870 -    Wallet (**********):   "********** (Watch)               "   (No Encryption)
  (INFO) -- ArmoryQt.py:2879 - Loading Multisig Lockboxes
  (INFO) -- ArmoryQt.py:2311 - Setting up networking...
  (INFO) -- ArmoryQt.py:2340 - Internet status: 0
  (INFO) -- ArmoryQt.py:2455 - startBitcoindIfNecessary
  (INFO) -- ArmoryQt.py:2504 - setSatoshiPaths
  (INFO) -- SDM.pyc:321 - Found bitcoind in the following places:
  (INFO) -- SDM.pyc:323 -    C:\Program Files\Bitcoin\daemon\bitcoind.exe
  (INFO) -- SDM.pyc:325 - Using: C:\Program Files\Bitcoin\daemon\bitcoind.exe
  (INFO) -- SDM.pyc:496 - Reading bitcoin.conf file
  (INFO) -- SDM.pyc:515 - Setting permissions on bitcoin.conf
  (INFO) -- SDM.pyc:524 - Setting permissions on bitcoin.conf
  (INFO) -- ArmoryUtils.pyc:596 - Executing popen: [u'icacls', u'D:\\Bitcoin\\bitcoin.conf', u'/inheritance:r', u'/grant:r', u'**********:F']
  (INFO) -- SDM.pyc:530 - icacls returned:
  (INFO) -- SDM.pyc:597 - Called startBitcoind
  (INFO) -- ArmoryUtils.pyc:596 - Executing popen: ['C:\\Program Files\\Bitcoin\\daemon\\bitcoind.exe', u'-datadir=D:\\Bitcoin']
  (INFO) -- SDM.pyc:669 - PID of bitcoind: 6284
  (INFO) -- SDM.pyc:670 - PID of armory:   7072
  (INFO) -- ArmoryUtils.pyc:596 - Executing popen: ['.\\guardian.exe', '7072', '6284']
  (INFO) -- SDM.pyc:848 - Creating proxy in SDM: host=127.0.0.1, port=8332
  (INFO) -- ArmoryQt.py:1527 - setupUriRegistration
  (INFO) -- ArmoryQt.py:1595 - Armory already registered for current user.  Done!
  (INFO) -- ArmoryQt.py:664 - Usermode: Expert
  (INFO) -- ArmoryQt.py:1823 - Changing usermode:
  (INFO) -- ArmoryQt.py:1824 -    From: Expert
  (INFO) -- ArmoryQt.py:1832 -      To: Expert
  (INFO) -- ArmoryQt.py:5855 - Dashboard switched to auto-InitSync
  (WARNING) -- SDM.pyc:768 - Overriding not-available state. This should happen 0-5 times
  (WARNING) -- SDM.pyc:768 - Overriding not-available state. This should happen 0-5 times
  (WARNING) -- SDM.pyc:768 - Overriding not-available state. This should happen 0-5 times
  (INFO) -- ArmoryQt.py:2541 - loadBlockchainIfNecessary
  (INFO) -- ArmoryQt.py:2562 - Setting netmode: 1
  (INFO) -- ArmoryQt.py:5978 - Dashboard switched to "Scanning" mode
  (INFO) -- Networking.pyc:65 - Connection initiated.  Start handshake
  (INFO) -- ArmoryQt.py:5978 - Dashboard switched to "Scanning" mode
  (INFO) -- ArmoryQt.py:5844 - Dashboard switched to auto-BadConnection
  (INFO) -- ArmoryQt.py:3164 - Current block number: 405445
  (ERROR) -- Networking.pyc:359 - ***Connection to Satoshi client LOST!  Attempting to reconnect...
  (INFO) -- ArmoryQt.py:2562 - Setting netmode: 1
  (INFO) -- Networking.pyc:65 - Connection initiated.  Start handshake
  (INFO) -- ArmoryQt.py:4285 - Log saved to C:/Users/**********/Desktop/armorylog_20160402_2320.txt
  (INFO) -- Networking.pyc:156 - Received version message from peer:
  (INFO) -- Networking.pyc:157 -    Version:     70012
  (INFO) -- Networking.pyc:158 -    SubVersion:  /Satoshi:0.12.0/
  (INFO) -- Networking.pyc:159 -    TimeStamp:   1459635624
  (INFO) -- Networking.pyc:160 -    StartHeight: 405445
  (INFO) -- Networking.pyc:350 - Handshake finished, connection open!
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405446
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405446
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405447
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405447
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405448
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405448
  (INFO) -- ArmoryQt.py:4285 - Log saved to C:/Users/**********/Desktop/armorylog_20160402_2322 2.txt
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405449
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405449
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405450
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405450
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405452
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405452
  (INFO) -- Networking.pyc:215 - Received new block.  0000000000000000004651faa345a3df8753a5000ba47b01b4b11b6e0a80171f
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405453
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405453
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405454
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405454
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405455
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405455
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405456
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405456
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405457
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405457
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405458
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405458
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405459
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405459
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405460
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405460
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405464
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405464
  (INFO) -- ArmoryQt.py:4285 - Log saved to C:/Users/**********/Desktop/armorylog_20160402_2334 3.txt
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405465
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405465
  (INFO) -- ArmoryQt.py:6206 - New Block! : 405466
  (INFO) -- ArmoryQt.py:6214 - Current block number: 405466
  (INFO) -- ArmoryQt.py:4285 - Log saved to C:/Users/**********/Desktop/armorylog_20160402_2342 4.txt
  (INFO) -- ArmoryQt.py:6731 - BDM is safe for clean shutdown
  (INFO) -- SDM.pyc:683 - Called stopBitcoind
  (ERROR) -- SDM.pyc:894 - generic error
Traceback (most recent call last):
  File "SDM.pyc", line 859, in __backgroundRequestTopBlock
  File "bitcoinrpc_jsonrpc\authproxy.pyc", line 97, in __call__
  File "httplib.pyc", line 1074, in getresponse
  File "httplib.pyc", line 415, in begin
  File "httplib.pyc", line 379, in _read_status
BadStatusLine: ''
  (ERROR) -- ArmoryUtils.pyc:3171 - Error in pybkgdthread: ''
Traceback (most recent call last):
  File "armoryengine\ArmoryUtils.pyc", line 3169, in run
  File "armoryengine\ArmoryUtils.pyc", line 3106, in funcPartial
  File "SDM.pyc", line 859, in __backgroundRequestTopBlock
  File "bitcoinrpc_jsonrpc\authproxy.pyc", line 97, in __call__
  File "httplib.pyc", line 1074, in getresponse
  File "httplib.pyc", line 415, in begin
  File "httplib.pyc", line 379, in _read_status
BadStatusLine: ''
  (ERROR) -- Networking.pyc:359 - ***Connection to Satoshi client LOST!  Attempting to reconnect...
  (INFO) -- ArmoryQt.py:6773 - Attempting to close the main window!


edit: synced perfectly after opening it again.


Title: Re: Armory 0.94 is out
Post by: frappster on April 03, 2016, 04:43:36 PM
Hey all, this is my 1st post on BTCtalk.  Been using bitcoin for about a year now, and Armory as my primary wallet. Which means I was quite excited to read that goatpig will be carrying on the torch. 

One quick question:

I'm running Windows 10 and had a smooth cutover from 0.93.3 to 0.94. I have tested sending/receiving transactions and everything appears to be working fine. Following advice in this thread, the 0.94 DB is in a separate directory from 0.93.3. 

Is there any reason at this point in time to keep the 60GB database from 0.93.3? I'd prefer to delete it and reclaim the HD space.

Thanks again for your hard work.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on April 03, 2016, 04:48:52 PM
Despite how much thought and work went into the overall design for 0.94, I'll be keeping my 0.93 Db files for a little while after it rolls out, on a "just in case" basis. In the medium term, other than wanting to use the supernode mode, I can't think of a compelling reason to keep the 0.93 Db files. At least some of those reasons disappear once goatpig brings about the vaunted tx hints Db.


Title: Re: Armory 0.94 is out
Post by: achow101 on April 03, 2016, 04:52:05 PM
Is there any reason at this point in time to keep the 60GB database from 0.93.3? I'd prefer to delete it and reclaim the HD space.
Not really. You can delete it if you want, the only point of keeping it is just in case something fails horribly, which I don't think will happen.


Title: Re: Armory 0.94 is out
Post by: goatpig on April 03, 2016, 05:05:13 PM
Is there any reason at this point in time to keep the 60GB database from 0.93.3? I'd prefer to delete it and reclaim the HD space.

0.94 was released a week ago as of this writing. There are always more bugs revealed at release than during testing phases. This is why I recommend keeping the 0.93 DB at hand in case some major issue shows up a week from now. You may choose the delete the DB, in which case, if 0.94 turns out to fail in some major way, you will have to rebuild the 0.93 DB from scratch, or wait for a fix. The choice is yours.

At least some of those reasons disappear once goatpig brings about the vaunted tx hints Db.

I've decided to introduce a new DB type in between fullnode and supernode. Additionally to your wallet's history, it will keep track of all txhints and utxos. It won't be quite as heavy or powerful as supernode, but it will fill the power user niche ideally (supernode is more targetted at enterprise requirements and workloads).


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on April 03, 2016, 06:07:12 PM
At least some of those reasons disappear once goatpig brings about the vaunted tx hints Db.

I've decided to introduce a new DB type in between fullnode and supernode. Additionally to your wallet's history, it will keep track of all txhints and utxos. It won't be quite as heavy or powerful as supernode, but it will fill the power user niche ideally (supernode is more targetted at enterprise requirements and workloads).

Which in practice means that P2SH transactions should be represented properly again, no?


Title: Re: Armory 0.94 is out
Post by: frappster on April 03, 2016, 07:21:57 PM
You may choose the delete the DB, in which case, if 0.94 turns out to fail in some major way, you will have to rebuild the 0.93 DB from scratch, or wait for a fix. The choice is yours.

Thanks for the input. This is what I understood to be the worst-case scenario. I'm willing to rebuild the 0.93 DB from scratch if absolutely necessary (knock on wood that it won't be) so I went ahead and deleted it.


Title: Re: Armory 0.94 is out
Post by: goatpig on April 03, 2016, 08:29:51 PM
Which in practice means that P2SH transactions should be represented properly again, no?

I'm unaware that they aren't. Can you elaborate?


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on April 04, 2016, 08:07:43 AM
Which in practice means that P2SH transactions should be represented properly again, no?

I'm unaware that they aren't. Can you elaborate?

Ah, well now that I look at it, I'm not 100% that P2SH is the source of the problem. But I have a recent transaction (I think it may have been a withdrawal from an exchange) where none of the inputs are listed (even though only one is relevant to my transaction). I seem to remember the problem first occurring with the introduction of the 0.93 stage of the Db.


Title: Re: Armory 0.94 is out
Post by: STRML on April 04, 2016, 06:42:11 PM


I get the following on the task bar after closing Armory in all my W7 machines. I started noticing it since 0.93 (or perhaps even the one before that). The notification bubble fades and eventually disappears as expected but the Armory icon lingers and would only disappear with a mouse pointer hover. No biggie really but I guess I was hoping they'd go away in 0.94:

https://i.imgur.com/VNSjkdq.png

I get this message all the time since I started using Armory, about a year ago if I'm not mistaken, with every version released. I only need Chrome + bitcoind + Armory running to top up 2GB of RAM ;) You're most likely low on resources at the exact moment the error occurs. Armory reconnects right after (never seen it take more than a couple of minutes to reconnect).

We can definitely eliminate "low on resources" as the cause. As I indicated on the previous page, it doesn't matter if I run Core/Armory standalone (by themselves) in different and very capable W7 machines (dual, quad and octo core and a Haswell machine with RAMs between 4GB and 16GB), they all get it every time I close Armory. Note that I never got this until around 92.3 or the early iteration of 0.93 (I think - I don't remember exactly which one but thereabouts anyway) and I've been using Armory since 2012.

Anyway, it's not a deal breaker as it never affects Armory's functionality. Nevertheless, it's an interesting quirk of Armory to discuss in here. ;D


This happens via armoryd as well:

Quote
(ERROR) Networking.py:350 - ***Connection to Satoshi client LOST!  Attempting to reconnect...

Looks like Networking simply needs to be told a shutdown is imminent so it doesn't trigger a reconnect.


Title: Re: Armory 0.94 is out
Post by: RoadStress on April 04, 2016, 08:42:44 PM
0.94 DB format is different from 0.93, you can't have them both running in the same folder. I'd recommend you use a different DB folder (add --dbdir="some/new/folder" to your shortcut target) and make sure 0.94 is stable before completely replacing 0.93's DB.

From 0.94 onward the "--datadir=" argument is now "--dbdir=" or are they different?

Thank you for this release!

--datadir sets the datadir, which is your wallets, log files, settings file and database folder

--dbdir sets the database folder independently

--datadir="folder1" along with --dbdir="folder2" will result in wallets, logs and settings to go into folder1 and db into folder2.

Hmm I was using "--satoshi-datadir=" all along instead of the "--dbdir=" argument. Thanks!


Title: Re: Armory 0.94 is out
Post by: yslyung on April 08, 2016, 03:27:06 PM
@goatpig . . .

i have an add that i never used before on my offline wallet & my friend sent me some BTC but when armory received the BTC, it says:

***MEMPOOL REPLACEABLE***(together with the label i made)

highlighted in RED

pls update. thx. i'm using 094 win7


Title: Re: Armory 0.94 is out
Post by: goatpig on April 08, 2016, 03:31:33 PM
@goatpig . . .

i have an add that i never used before on my offline wallet & my friend sent me some BTC but when armory received the BTC, it says:

***MEMPOOL REPLACEABLE***(together with the label i made)

highlighted in RED

pls update. thx. i'm using 094 win7


It means the coins you received are RBF enabled or spend a utxo still in the ZC mempool. This means you should wait for at least one conf before acknowledging this tx as a payment, regardless of how small the value is.


Title: Re: Armory 0.94 is out
Post by: yslyung on April 08, 2016, 03:42:20 PM
@goatpig . . .

i have an add that i never used before on my offline wallet & my friend sent me some BTC but when armory received the BTC, it says:

***MEMPOOL REPLACEABLE***(together with the label i made)

highlighted in RED

pls update. thx. i'm using 094 win7


It means the coins you received are RBF enabled or spend a utxo still in the ZC mempool. This means you should wait for at least one conf before acknowledging this tx as a payment, regardless of how small the value is.

thx for the quick reply, u got PM. got me worried for a while. it has at least 1 conf now.

can i rename the label removing the ***MEMPOOL REPLACEABLE*** ???

much TIA


Title: Re: Armory 0.94 is out
Post by: goatpig on April 09, 2016, 02:13:18 PM
can i rename the label removing the ***MEMPOOL REPLACEABLE*** ???

Yes


Title: Re: Armory 0.94 is out
Post by: bitpop on April 21, 2016, 05:25:55 AM
What do you mean by offline mode? Why can't .94 be used offline without a mode like the old ones? Just do it offline.


Title: Re: Armory 0.94 is out
Post by: goatpig on April 21, 2016, 11:04:30 AM
What do you mean by offline mode? Why can't .94 be used offline without a mode like the old ones? Just do it offline.

0.94 can be used offline like the previous versions, I'm not sure what you are referring to.


Title: Re: Armory 0.94 is out
Post by: bitpop on April 21, 2016, 11:11:50 AM
What do you mean by offline mode? Why can't .94 be used offline without a mode like the old ones? Just do it offline.

0.94 can be used offline like the previous versions, I'm not sure what you are referring to.

This part

There won't be offline builds for this release, as nothing was modified on the offline signing part. You can keep on using 0.92-93 to sign transactions created with 0.94.


Title: Re: Armory 0.94 is out
Post by: canth on April 22, 2016, 03:49:13 PM
What do you mean by offline mode? Why can't .94 be used offline without a mode like the old ones? Just do it offline.

0.94 can be used offline like the previous versions, I'm not sure what you are referring to.

This part

There won't be offline builds for this release, as nothing was modified on the offline signing part. You can keep on using 0.92-93 to sign transactions created with 0.94.

I haven't fully thought it out, but I'd guess that segwit will require a new offline build, no?


Title: Re: Armory 0.94 is out
Post by: goatpig on April 22, 2016, 04:08:48 PM
I haven't fully thought it out, but I'd guess that segwit will require a new offline build, no?

I expect it will.


Title: Re: Armory 0.94 is out
Post by: ImI on May 02, 2016, 10:48:33 AM
Is there any reason at this point in time to keep the 60GB database from 0.93.3? I'd prefer to delete it and reclaim the HD space.
Not really. You can delete it if you want, the only point of keeping it is just in case something fails horribly, which I don't think will happen.

I need to delete the 0.93 db cause i have only 40MB left, but i couldnt find the dir/file in user/.armory/databases

where to look for the 0.93 db?

 


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on May 02, 2016, 11:04:38 AM
I need to delete the 0.93 db cause i have only 40MB left, but i couldnt find the dir/file in user/.armory/databases

where to look for the 0.93 db?

 

Which OS are you using?


Title: Re: Armory 0.94 is out
Post by: ImI on May 02, 2016, 11:07:01 AM
I need to delete the 0.93 db cause i have only 40MB left, but i couldnt find the dir/file in user/.armory/databases

where to look for the 0.93 db?

 

Which OS are you using?

Ubuntu, i just deleted in the databases-dir the blocks directory as i discovered that under .bitcoin is also a blocks-dir with 69GB.

edit: next question: where to get a save version of 0.94.1 ?


Title: Re: Armory 0.94 is out
Post by: bitpop on May 02, 2016, 11:12:31 AM
https://github.com/goatpig/BitcoinArmory/releases


Title: Re: Armory 0.94 is out
Post by: ImI on May 02, 2016, 11:15:44 AM

thx


Title: Re: Armory 0.94 is out
Post by: TransAtlantic on May 06, 2016, 03:44:16 AM
Thanks to goatpig (and all others involved) for continuing this work on Armory!
That's a tremendous contribution to the community - and I hope that a sustainable way can be found to support you in return as well.


Title: Re: Armory 0.94 is out
Post by: ABISprotocol on June 08, 2016, 05:28:19 AM
What do you mean by offline mode? Why can't .94 be used offline without a mode like the old ones? Just do it offline.

0.94 can be used offline like the previous versions, I'm not sure what you are referring to.

This part

There won't be offline builds for this release, as nothing was modified on the offline signing part. You can keep on using 0.92-93 to sign transactions created with 0.94.

Goatpig, can you confirm this?  As per my question from another thread at
https://bitcointalk.org/index.php?topic=1351924.msg15121804#msg15121804

"will the next release support offline transactions? (Right now I think you have to offline sign with 0.92 and broadcast with 0.93.3, or am I mistaken? Can any version handle offline transactions?)

see for example:  http://betteroffbitcoin.com/a-protocol-for-offline-bitcoin-over-radio-transactions/ (something which I think is very cool)"

Also, if I understand correctly, the releases should also now be found under https://github.com/goatpig/BitcoinArmory/releases

But, what I am also wondering is this:

Isn't there some way that you could ultimately be posting your releases here?
https://www.bitcoinarmory.com/download/  Or is that where your new releases will soon go also, based on the new arrangement?  Sorry if I should already know this, but just trying to clear it up / better understand.

Finally, back to my original question, when I asked "will the next release support offline transactions?" I was thinking of 0.94 when I said "the next release... so, I have seen it said in this thread that somehow offline transactions aren't supported in 0.94, is this correct or not?  I am hoping they will be.  (And if not, will they be in the next release?)


Title: Re: Armory 0.94 is out
Post by: goatpig on June 08, 2016, 05:41:17 AM
Isn't there some way that you could ultimately be posting your releases here?
https://www.bitcoinarmory.com/download/  Or is that where your new releases will soon go also, based on the new arrangement?  Sorry if I should already know this, but just trying to clear it up / better understand.

Finally, back to my original question, when I asked "will the next release support offline transactions?" I was thinking of 0.94 when I said "the next release... so, I have seen it said in this thread that somehow offline transactions aren't supported in 0.94, is this correct or not?  I am hoping they will be.  (And if not, will they be in the next release?)

Offline transactions have always been supported in Armory, 0.94 is no different.

I don't have access to bitcoinarmory.com, that domain belongs to ATI and is under their control. What goes in there is what they choose to.


Title: Re: Armory 0.94 is out
Post by: ABISprotocol on June 08, 2016, 06:58:06 AM
Isn't there some way that you could ultimately be posting your releases here?
https://www.bitcoinarmory.com/download/  Or is that where your new releases will soon go also, based on the new arrangement?  Sorry if I should already know this, but just trying to clear it up / better understand.

Finally, back to my original question, when I asked "will the next release support offline transactions?" I was thinking of 0.94 when I said "the next release... so, I have seen it said in this thread that somehow offline transactions aren't supported in 0.94, is this correct or not?  I am hoping they will be.  (And if not, will they be in the next release?)

Offline transactions have always been supported in Armory, 0.94 is no different.

I don't have access to bitcoinarmory.com, that domain belongs to ATI and is under their control. What goes in there is what they choose to.

Thank you!


Title: Re: Armory 0.94 is out
Post by: unamis76 on August 04, 2016, 11:34:34 PM
Haven't been having much time in my hands so Armory and Core have been running "unattended" for... Two months or more? Not even sure. Noticed this today:

https://i.imgur.com/UIWlg63.png

Why such a difference in block count? Because my Core client (and Armory...) is outdated? The getinfo command returns the block we are in, so everything seems to be working (I think).

Log file

Code:
ArmoryUtils.pyc:1196 - ************************************************************
ArmoryUtils.pyc:1197 - Invoked: C:\Program Files (x86)\Armory\ArmoryQt.exe --satoshi-datadir=D:\Bitcoin --datadir=D:\Armory
ArmoryUtils.pyc:1198 - ************************************************************
ArmoryUtils.pyc:1199 - Loading Armory Engine:
ArmoryUtils.pyc:1200 -    Armory Version        : 0.94
ArmoryUtils.pyc:1201 -    Armory Build:         : b0033fb356
ArmoryUtils.pyc:1202 -    PyBtcWallet  Version  : 1.35
ArmoryUtils.pyc:1203 - Detected Operating system: Windows
ArmoryUtils.pyc:1204 -    OS Variant            : 8-6.2.9200--Multiprocessor Free
ArmoryUtils.pyc:1205 -    User home-directory   : C:\Users\********\AppData\Roaming
ArmoryUtils.pyc:1206 -    Satoshi BTC directory : D:\Bitcoin
ArmoryUtils.pyc:1207 -    Armory home dir       : D:\Armory
ArmoryUtils.pyc:1208 - Detected System Specs    :
ArmoryUtils.pyc:1209 -    Total Available RAM   : 2.00 GB
ArmoryUtils.pyc:1210 -    CPU ID string         : Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
ArmoryUtils.pyc:1211 -    Number of CPU cores   : 2 cores
ArmoryUtils.pyc:1212 -    System is 64-bit      : True
ArmoryUtils.pyc:1213 -    Preferred Encoding    : cp1252
ArmoryUtils.pyc:1214 -    Machine Arch          : amd64
ArmoryUtils.pyc:1215 -    Available HDD (ARM)   : 19 GB
ArmoryUtils.pyc:1216 -    Available HDD (BTC)   : 19 GB
ArmoryUtils.pyc:1217 -
ArmoryUtils.pyc:1218 - Network Name: Main Network
ArmoryUtils.pyc:1219 - Satoshi Port: 8333
ArmoryUtils.pyc:1220 - Do wlt check: True
ArmoryUtils.pyc:1221 - Named options/arguments to armoryengine.py:
ArmoryUtils.pyc:1223 -     nettimeout      : 2
ArmoryUtils.pyc:1223 -     rescan          : False
ArmoryUtils.pyc:1223 -     ignoreAllZC     : False
ArmoryUtils.pyc:1223 -     rescanBalance   : False
ArmoryUtils.pyc:1223 -     disableModules  : False
ArmoryUtils.pyc:1223 -     port            : None
ArmoryUtils.pyc:1223 -     interport       : 8223
ArmoryUtils.pyc:1223 -     skipStatsReport : False
ArmoryUtils.pyc:1223 -     forceWalletCheck: False
ArmoryUtils.pyc:1223 -     rebuild         : False
ArmoryUtils.pyc:1223 -     datadir         : D:\Armory
ArmoryUtils.pyc:1223 -     clearMempool    : False
ArmoryUtils.pyc:1223 -     offline         : False
ArmoryUtils.pyc:1223 -     coverageOutputDir: None
ArmoryUtils.pyc:1223 -     armoryDBDir     : DEFAULT
ArmoryUtils.pyc:1223 -     satoshiPort     : DEFAULT
ArmoryUtils.pyc:1223 -     useTorSettings  : False
ArmoryUtils.pyc:1223 -     netlog          : False
ArmoryUtils.pyc:1223 -     keypool         : 100
ArmoryUtils.pyc:1223 -     coverageInclude : None
ArmoryUtils.pyc:1223 -     forceOnline     : False
ArmoryUtils.pyc:1223 -     skipAnnounceCheck: False
ArmoryUtils.pyc:1223 -     redownload      : False
ArmoryUtils.pyc:1223 -     multisigFile    : DEFAULT
ArmoryUtils.pyc:1223 -     disableTorrent  : False
ArmoryUtils.pyc:1223 -     testAnnounceCode: False
ArmoryUtils.pyc:1223 -     mtdebug         : False
ArmoryUtils.pyc:1223 -     logDisable      : False
ArmoryUtils.pyc:1223 -     settingsPath    : D:\Armory\ArmorySettings.txt
ArmoryUtils.pyc:1223 -     verbosity       : None
ArmoryUtils.pyc:1223 -     doDebug         : False
ArmoryUtils.pyc:1223 -     enableDetSign   : True
ArmoryUtils.pyc:1223 -     testnet         : False
ArmoryUtils.pyc:1223 -     rpcport         : DEFAULT
ArmoryUtils.pyc:1223 -     satoshiHome     : D:\Bitcoin
ArmoryUtils.pyc:1223 -     satoshiRpcport  : DEFAULT
ArmoryUtils.pyc:1223 -     logFile         : D:\Armory\ArmoryQt.exe.log.txt
ArmoryUtils.pyc:1223 -     disableConfPermis: False
ArmoryUtils.pyc:1223 -     enableSupernode : False
ArmoryUtils.pyc:1224 - Other arguments:
ArmoryUtils.pyc:1227 - ************************************************************
ArmoryUtils.pyc:1627 - C++ block utilities loaded successfully
BDM.pyc:420 - Using the asynchronous/multi-threaded BlockDataManager.
BDM.pyc:421 - Blockchain operations will happen in the background. 
BDM.pyc:422 - Devs: check TheBDM.getState() before asking for data.
BDM.pyc:423 - Registering addresses during rescans will queue them for
BDM.pyc:424 - inclusion after the current scan is completed.
ArmoryUtils.pyc:3538 - Using settings file: D:\Armory\ArmorySettings.txt
ArmoryQt.py:2752 - loadWalletsAndSettings
ArmoryQt.py:2806 - Loading wallets...
ArmoryQt.py:2865 - Number of wallets read in: 1
ArmoryQt.py:2879 - Loading Multisig Lockboxes
ArmoryQt.py:2311 - Setting up networking...
ArmoryQt.py:2340 - Internet status: 0
ArmoryQt.py:2455 - startBitcoindIfNecessary
ArmoryQt.py:2504 - setSatoshiPaths
SDM.pyc:321 - Found bitcoind in the following places:
SDM.pyc:323 -    C:\Program Files\Bitcoin\daemon\bitcoind.exe
SDM.pyc:325 - Using: C:\Program Files\Bitcoin\daemon\bitcoind.exe
SDM.pyc:496 - Reading bitcoin.conf file
SDM.pyc:515 - Setting permissions on bitcoin.conf
SDM.pyc:524 - Setting permissions on bitcoin.conf
ArmoryUtils.pyc:596 - Executing popen: [u'icacls', u'D:\\Bitcoin\\bitcoin.conf', u'/inheritance:r', u'/grant:r', u'********:F']
SDM.pyc:530 - icacls returned:
SDM.pyc:597 - Called startBitcoind
ArmoryUtils.pyc:596 - Executing popen: ['C:\\Program Files\\Bitcoin\\daemon\\bitcoind.exe', u'-datadir=D:\\Bitcoin']
SDM.pyc:669 - PID of bitcoind: 3352
SDM.pyc:670 - PID of armory:   6136
ArmoryUtils.pyc:596 - Executing popen: ['.\\guardian.exe', '6136', '3352']
SDM.pyc:848 - Creating proxy in SDM: host=127.0.0.1, port=8332
ArmoryQt.py:1527 - setupUriRegistration
ArmoryQt.py:1595 - Armory already registered for current user.  Done!
ArmoryQt.py:664 - Usermode: Expert
ArmoryQt.py:1823 - Changing usermode:
ArmoryQt.py:1824 -    From: Expert
ArmoryQt.py:1832 -      To: Expert
ArmoryQt.py:5855 - Dashboard switched to auto-InitSync
ArmoryQt.py:2541 - loadBlockchainIfNecessary
ArmoryQt.py:2562 - Setting netmode: 1
ArmoryQt.py:5978 - Dashboard switched to "Scanning" mode
Networking.pyc:65 - Connection initiated.  Start handshake
ArmoryQt.py:5978 - Dashboard switched to "Scanning" mode
Networking.pyc:156 - Received version message from peer:
Networking.pyc:157 -    Version:     70012
Networking.pyc:158 -    SubVersion:  /Satoshi:0.12.0/
Networking.pyc:159 -    TimeStamp:   1470351923
Networking.pyc:160 -    StartHeight: 423711
Networking.pyc:350 - Handshake finished, connection open!
ArmoryQt.py:3164 - Current block number: 408718


Title: Re: Armory 0.94 is out
Post by: achow101 on August 05, 2016, 12:20:24 AM
Why such a difference in block count? Because my Core client (and Armory...) is outdated? The getinfo command returns the block we are in, so everything seems to be working (I think).
Sometimes that happens if you start Armory when Core is fully started or synced yet.


Title: Re: Armory 0.94 is out
Post by: goatpig on August 05, 2016, 12:21:50 AM
What top block is Armory displaying on the bottom right corner? Also, update to 0.94.1 already.


Title: Re: Armory 0.94 is out
Post by: unamis76 on August 09, 2016, 01:37:02 PM
Why such a difference in block count? Because my Core client (and Armory...) is outdated? The getinfo command returns the block we are in, so everything seems to be working (I think).
Sometimes that happens if you start Armory when Core is fully started or synced yet.

Never happened to me. And Armory manages Core automatically here.

What top block is Armory displaying on the bottom right corner? Also, update to 0.94.1 already.

It's in the screenshot above, there was a difference of about 15000 blocks or so. You're right, I've been slacking off on updates :P Updated Core and Armory, issues still persisted. Rebuilt databases, it just finished syncing now and everything seems back to normal. Thanks!


Title: Re: Armory 0.94 is out
Post by: canth on August 09, 2016, 01:50:57 PM
Just an FYI and a bit of a thanks. I've used Armory for several years now and 0.94.1 by far the most stable, reliable and efficient version I've used. I've got several instances running on Linux and Windows without a hiccup and with far less disk space and iops used.

There are other options certainly, but I sleep better using Armory.


Title: Re: Armory 0.94 is out
Post by: Carlton Banks on August 09, 2016, 02:04:49 PM
I've used Armory for several years now and 0.94.1 by far the most stable, reliable and efficient version I've used so far.

More improvements are planned, the developer (goatpig) has been doing some excellent coding and design.

Right now, Armory (and Bitcoin Core itself)1 are the only (maintained) wallets that operate as a complete participant on the Bitcoin network. This not only supports Bitcoin overall, but is also the best way to maintain the privacy of BTC transactions. There are several other advantages to Armory, but this is easily the most important IMO.



1(maybe Bitcore is a full node wallet too, but I don't trust Bitpay to put out clean code/binaries even if it is)


Title: Re: Armory 0.94 is out
Post by: ABISprotocol on May 07, 2017, 06:20:42 PM
Bitcoin over radio and TV is the future, and Armory helps make that happen.

See also inevitable discussion of how to avoid financial censorship using (not internet, but) radio - unlicensed MURS, and TV, at

https://github.com/bitsquare/bitsquare/issues/483#issuecomment-296042774