Bitcoin Forum
March 19, 2024, 04:31:40 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 ... 231 »
  Print  
Author Topic: Armory - Discussion Thread  (Read 521670 times)
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
June 01, 2012, 07:40:54 AM
 #761

So I'm running the latest git, but it still says .76.  Shouldn't it be .77? It's also always sitting at 98% CPU and being really unresponsive Sad

It looks like you have a check to google.com to see if the network is up.  Problem is, all my connections on this test system are proxied through Tor and sometimes google blocks Tor exit nodes so I get a socket timeout from line 729 of ArmoryQt.py in setupNetworking

Side note: The blockchain loaded in 90 seconds. Outside of a VM (on the host) it loads in about 60.

1710822700
Hero Member
*
Offline Offline

Posts: 1710822700

View Profile Personal Message (Offline)

Ignore
1710822700
Reply with quote  #2

1710822700
Report to moderator
1710822700
Hero Member
*
Offline Offline

Posts: 1710822700

View Profile Personal Message (Offline)

Ignore
1710822700
Reply with quote  #2

1710822700
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 01, 2012, 11:52:19 AM
 #762

So I'm running the latest git, but it still says .76.  Shouldn't it be .77? It's also always sitting at 98% CPU and being really unresponsive Sad

It looks like you have a check to google.com to see if the network is up.  Problem is, all my connections on this test system are proxied through Tor and sometimes google blocks Tor exit nodes so I get a socket timeout from line 729 of ArmoryQt.py in setupNetworking

Side note: The blockchain loaded in 90 seconds. Outside of a VM (on the host) it loads in about 60.

To run from git, you need to switch to the "tablesortingfix" branch.  I will merge the code into master once I'm ready to "release" it.

And yes, I know it's slowing down.  The acceleration of blockchain size has me scrambling to get some major things updated sooner rather than later.  Unfortunately, I'm just not there yet.  :-/

As for "google.com", I also check microsoft.com ...  I don't suppose that helps?  I figured that was a reliable way to determine if you have a connection to the outside world, but I guess it isn't.  Recommendations?

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

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

Activity: 2772
Merit: 1019



View Profile
June 01, 2012, 01:19:16 PM
 #763

just got a little closer: Makefile of cryptopp has "-march=native" compiler option so that gcc will generate code for you local platform. Depending on what machine you're on, you might easily generate non-i[3456]86-compatible code.

I'm about to test... with "-march=i686", but other problems pop up.

didn't work (illegal instruction)

I then tried with -march=i586 and after solving some other issues, like "forcing" to link against python2.6 (target system has python 2.6, build system 2.7).

It now works, no more "illegal instruction" when creating a wallet.


What didn't work well?  The new binary installer that I posted?  Or compiling for i586/i686? 

compiling for i686 didn't work, still "illegal instruction" on target system. compiling for i586 did the trick.

I think the new .deb file I posted should work on other 32-bit linux systems, and if it doesn't, I really don't understand what's going on.

I might test it, but since I have a working version now, I'll probably do that after "import v0.6 satoshi wallet.dat" is implemented (unfortunately all wallets I want to import have been touched by newest git satoshi client).

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 01, 2012, 03:01:08 PM
 #764

I actually meant "weighted majority" of CPUs -- I recognize that not all CPUs can use compatible instruction sets.  However, a majority of users are using CPUs that have a common instruction set.  I was under the impression that multiple instruction sets are generally supported on each CPU, hence "SSE", "SSE2", "3DNOW", etc.  Given that I've seen large lists like that on CPU spec pages/boxes before, I suspect it's the case...
MMX, SSE, 3DNow!, etc are not instruction sets in their own right, but rather extensions of the standard IA-32 instruction set (this is the common instruction set for x86-32 CPUs). Any code which is compiled to use these extensions will not work on any CPU with an instruction set that doesn't include these extensions. As I understand, it is possible (in assembly) to write two versions of a function (one using the extended instructions and one using the just the standard instruction set) and have the program select which version to use by querying the CPU at runtime, but that's far beyond my level of expertise. Note that this is only possible because these extended instruction sets simply add new instructions without replacing or changing the standard instructions.

Either way, I removed the -march option and it seems to work.  The documentation suggests that gcc will decide for me what to compile, which is not march=native.  Maybe I still have no idea what I'm talking about, but I'm going with what works.  So far the python2.6-i386 works after the change.  Please try the others and let me know.
Are you sure it works, though? On all IA-32 systems? Unless you're absolutely positive the default is safe, -march=i386 is the only way to be sure. Compiling for any other architecture is very likely to result in a binary that is guaranteed to crash on certain systems.

No, I'm not sure it works on all systems.  But I never had a complaint when using march=native, which should be the least-compitible compilation option.  The fact that the gcc documentation says that leaving out the -march= option will pick some default of the year is probably exactly what I want.  I think it picks i386 for 32-bit systems and k8 for 64-bit?  I'm not totally sure.   But it's better than what I had before without having to fill an evening learning about architectures and compilers.

I will take your advice and look into what I should be using.  But as I said, the documentation suggests that not specifying the option usually causes it to pick a versatile one, and likely to be appropriate for the popular CPUs of the time that the gcc version was released.

Are you recommending i386 for all systems, or just the 32-bit systems?

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

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

Activity: 2772
Merit: 1019



View Profile
June 01, 2012, 03:47:48 PM
 #765

No, I'm not sure it works on all systems.  But I never had a complaint when using march=native, which should be the least-compitible compilation option.

Unless your compiler machine is in fact a i386, then "native" would be ok Wink

It seems this issue is pretty much sorted-out, I guess the gcc sane default will be, well "sane".

Thanks!

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
June 01, 2012, 05:54:38 PM
 #766

So I'm running the latest git, but it still says .76.  Shouldn't it be .77? It's also always sitting at 98% CPU and being really unresponsive Sad

It looks like you have a check to google.com to see if the network is up.  Problem is, all my connections on this test system are proxied through Tor and sometimes google blocks Tor exit nodes so I get a socket timeout from line 729 of ArmoryQt.py in setupNetworking

Side note: The blockchain loaded in 90 seconds. Outside of a VM (on the host) it loads in about 60.

To run from git, you need to switch to the "tablesortingfix" branch.  I will merge the code into master once I'm ready to "release" it.

And yes, I know it's slowing down.  The acceleration of blockchain size has me scrambling to get some major things updated sooner rather than later.  Unfortunately, I'm just not there yet.  :-/
Oh okay.  I'll switch branches and test it out.

Quote
As for "google.com", I also check microsoft.com ...  I don't suppose that helps?  I figured that was a reliable way to determine if you have a connection to the outside world, but I guess it isn't.  Recommendations?
Is there any use case for having internet but no connection to bitcoind? If not, how about this pseudo-code:

Code:
if bitcoind_available():
  if bitcoind_rpc('getconnectioncount'):
    echo 'online mode'
  else:
    echo 'Satoshi found, but it has no connections. Falling back to offline mode.'
else:
  echo 'offline mode'

I think this would work and should be easy enough to implement.

etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 01, 2012, 07:09:03 PM
 #767

So I'm running the latest git, but it still says .76.  Shouldn't it be .77? It's also always sitting at 98% CPU and being really unresponsive Sad

It looks like you have a check to google.com to see if the network is up.  Problem is, all my connections on this test system are proxied through Tor and sometimes google blocks Tor exit nodes so I get a socket timeout from line 729 of ArmoryQt.py in setupNetworking

Side note: The blockchain loaded in 90 seconds. Outside of a VM (on the host) it loads in about 60.

To run from git, you need to switch to the "tablesortingfix" branch.  I will merge the code into master once I'm ready to "release" it.

And yes, I know it's slowing down.  The acceleration of blockchain size has me scrambling to get some major things updated sooner rather than later.  Unfortunately, I'm just not there yet.  :-/
Oh okay.  I'll switch branches and test it out.

Quote
As for "google.com", I also check microsoft.com ...  I don't suppose that helps?  I figured that was a reliable way to determine if you have a connection to the outside world, but I guess it isn't.  Recommendations?
Is there any use case for having internet but no connection to bitcoind? If not, how about this pseudo-code:

Code:
if bitcoind_available():
  if bitcoind_rpc('getconnectioncount'):
    echo 'online mode'
  else:
    echo 'Satoshi found, but it has no connections. Falling back to offline mode.'
else:
  echo 'offline mode'

I think this would work and should be easy enough to implement.

Interesting idea.  You're right there is no use cases I'm aware of for using Satoshi client if it's not connected to any peers.  However, I've never accessed bitcoind via RPC, I didn't even know there was a way to query the number of connections.  I assumed that if google/MS was ping-able, then the Satoshi client is at least capable of having peers.  It seems that that assumption is not the case.

I don't suppose that connectioncount is something I can query peer-to-peer?  Doesn't seem like it, but I also don't want to have to open another network connection just for this purpose...

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

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

Activity: 742
Merit: 500



View Profile WWW
June 01, 2012, 10:05:31 PM
 #768

Code:
if bitcoind_available():
  if bitcoind_rpc('getconnectioncount'):
    echo 'online mode'
  else:
    echo 'Satoshi found, but it has no connections. Falling back to offline mode.'
else:
  echo 'offline mode'

I think this would work and should be easy enough to implement.

Interesting idea.  You're right there is no use cases I'm aware of for using Satoshi client if it's not connected to any peers.  However, I've never accessed bitcoind via RPC, I didn't even know there was a way to query the number of connections.  I assumed that if google/MS was ping-able, then the Satoshi client is at least capable of having peers.  It seems that that assumption is not the case.

I don't suppose that connectioncount is something I can query peer-to-peer?  Doesn't seem like it, but I also don't want to have to open another network connection just for this purpose...
Oh yeah. I forgot you talked to bitcoind over the p2p port, not the rpc layer.  Hmm...  I'm pretty sure there is a way to ask a node for a list of at least some of it's peers; that is how the network works, right?  I don't have any experience with the p2p layer though.

interlagos
Hero Member
*****
Offline Offline

Activity: 496
Merit: 500


View Profile
June 02, 2012, 07:30:43 AM
 #769

Is there any way to restore the wallet from a seed in Armory?
It claims to have deterministic wallets, but I couldn't find an option to restore.

I'm looking for a brain-only cold-storage wallet solution.
Is there a plan to add this functionality to Armory?
Foxpup
Legendary
*
Online Online

Activity: 4298
Merit: 3021


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
June 02, 2012, 08:06:40 AM
 #770

Is there any way to restore the wallet from a seed in Armory?
It claims to have deterministic wallets, but I couldn't find an option to restore.

Wallets -> Restore from Paper Backup

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
interlagos
Hero Member
*****
Offline Offline

Activity: 496
Merit: 500


View Profile
June 02, 2012, 09:04:42 AM
 #771

Is there any way to restore the wallet from a seed in Armory?
It claims to have deterministic wallets, but I couldn't find an option to restore.

Wallets -> Restore from Paper Backup

Ok I somehow missed that, is there a way to get the seed without a printer and physical paper?
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 02, 2012, 11:08:05 AM
 #772

Is there any way to restore the wallet from a seed in Armory?
It claims to have deterministic wallets, but I couldn't find an option to restore.

Wallets -> Restore from Paper Backup

Ok I somehow missed that, is there a way to get the seed without a printer and physical paper?


Print it to pdf.
Foxpup
Legendary
*
Online Online

Activity: 4298
Merit: 3021


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
June 02, 2012, 12:12:01 PM
 #773

Is there any way to restore the wallet from a seed in Armory?
It claims to have deterministic wallets, but I couldn't find an option to restore.

Wallets -> Restore from Paper Backup

Ok I somehow missed that, is there a way to get the seed without a printer and physical paper?


Print it to pdf.

Or just look at the print preview and write it down the old fashioned way. Like I always say, you just can't trust printers these days. They keep a record of everything you print. And add invisible patterns to your pages to identify you. That's how The Man gets you. ¬.¬

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
etotheipi (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
June 02, 2012, 09:46:52 PM
 #774

Anyone have any comments about 0.77?  Given the lack of response to it, I suspect either no one is using it, or there are no complaints.  Either way, it's about time to release it, because I'm positive there are some users out there suffering (or stopped using) due to the table-sorting bug.


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

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

Activity: 1764
Merit: 1002



View Profile
June 02, 2012, 09:49:17 PM
 #775

i'm using the online version w/o any problems.  however, i'm a light user and use it just for accepting pmts for my subscription service.  i send occasionally.
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
June 03, 2012, 07:15:34 AM
 #776

Anyone have any comments about 0.77?  Given the lack of response to it, I suspect either no one is using it, or there are no complaints.  Either way, it's about time to release it, because I'm positive there are some users out there suffering (or stopped using) due to the table-sorting bug.


Haven't had a chance to pull that branch yet.  I will probably have time tomorrow.

EDIT: Oh cool. I see you went ahead and released it.

Gladamas
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


Bitcoin today is what the internet was in 1998.


View Profile
June 03, 2012, 07:39:54 AM
 #777

When an input from mined coins requires 120 confirmations to spend (such as P2Pool rewards), Armory won't recognize the transaction or give any information on it, instead comes up with an error "This is a non-standard transaction, which cannot be interpreted by this program. DO NOT ASSUME that you own these Bitcoins ... only an expert can tell you how these coins can be redeemed!"

If functionality for transactions with inputs directly from mined coins was added, this would be appreciated.

Is it also possible to not have to load the whole blockchain into the RAM (on Windows)? Couldn't Armory just save the blockchain to the disk (or use the Satoshi chain) and read from that? Thanks.

1GLADMZ5tL4HkS6BAWPfJLeZJCDHAd9Fr3 - LQ6Zx8v7fHVBiDX5Lmhbp6oEDB7dUFjANu
GPG 0xF219D5BB3C467E12 - Litecoin Forum
N.Z.
Sr. Member
****
Offline Offline

Activity: 427
Merit: 250



View Profile
June 03, 2012, 08:41:27 AM
 #778

etotheipi, when will Armory have "Send from" or "Coin control" feature? The lack of that is stopping me from forgetting official client. Oh, and also running bitcoind is annoying but I can live with that.
unclescrooge
aka Raphy
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
June 03, 2012, 11:57:49 AM
 #779

No complaint whatsoever. Runs even more smoothly than the previous one.

I love your client you know Smiley
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
June 03, 2012, 01:57:51 PM
 #780

Anyone have any comments about 0.77?  Given the lack of response to it, I suspect either no one is using it, or there are no complaints.  Either way, it's about time to release it, because I'm positive there are some users out there suffering (or stopped using) due to the table-sorting bug.



does this support satoshi v0.6 wallet.dat import?

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 ... 231 »
  Print  
 
Jump to:  

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