Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3080
|
|
May 16, 2015, 02:34:26 AM |
|
does it normally take over 24 hours to download and sync with the network? just a little ridiculous IMHO. Yes. It's 40 GB, and it grows about 100 MB every day. Make sure you've got space, the Armory database also takes around 40 GB atm.
|
Vires in numeris
|
|
|
therealmrmike
Newbie
Offline
Activity: 5
Merit: 0
|
|
May 20, 2015, 07:33:21 PM |
|
Last month I created a wallet on a computer not connected to the internet. I added the wallet to a connected PC with what I thought was a watch only but it said offline in the security window. I wanted to create another wallet and thought I did everything the same but this time it shows security as "watch only". what are the differences thanks
|
|
|
|
picobit
|
|
May 21, 2015, 01:32:52 PM |
|
The difference between "watch-only" and "offline" is whether you have told Armory that you own the full wallet with the private keys ("offline"), or that it is somebody else's wallet you watch (watch-only). I think.
|
|
|
|
TimS
|
|
May 21, 2015, 03:13:27 PM |
|
The difference between "watch-only" and "offline" is whether you have told Armory that you own the full wallet with the private keys ("offline"), or that it is somebody else's wallet you watch (watch-only). I think.
You've got it.
|
|
|
|
therealmrmike
Newbie
Offline
Activity: 5
Merit: 0
|
|
May 21, 2015, 06:27:24 PM |
|
The difference between "watch-only" and "offline" is whether you have told Armory that you own the full wallet with the private keys ("offline"), or that it is somebody else's wallet you watch (watch-only). I think.
You've got it. thank you
|
|
|
|
STRML
Newbie
Offline
Activity: 17
Merit: 0
|
|
May 25, 2015, 04:53:13 PM |
|
Anything to be done about armoryd's crazy memory usage? I'm seeing 41GB virt and about 6GB residual. It's causing other processes to start swapping. It is done scanning blocks, this is persistent memory usage. In comparison, bitcoind only uses about 55MB residual.
Restarting the process causes the memory to go down, but then armoryd starts eating up CPU and filling up again. It continually is using the lion's share of resources on the system.
When a program (such as Armory) reads a file, the file is copied into memory. As soon as Armory is done using the file, the memory is marked as available for other programs, but until another program claims the memory, you still see it as assigned to Armory because the kernel assumes that there is a chance that Armory will open that file again, and Armory's data is still there. All modern operating systems do this, so it always look like there is very little RAM free. I do not know about Windows, but on Linux the kernel still keeps track of that memory after Armory quits, in case some other program happens to want the same file. As soon as the memory is needed for something else, it is wiped and assigned to that something else. I don't think this is exactly true in Armory's case. We have attempted to jail Armory using cgroups but during database rebuilds it fails if the memory restrictions are too stringent (<2GB in my testing). Additionally, if there is swap on the system, it appears the system will use the swap before asking Armory to relinquish any of its used memory, causing other processes on the system to hang waiting for I/O.
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3752
Merit: 1364
Armory Developer
|
|
May 25, 2015, 06:03:38 PM |
|
I don't think this is exactly true in Armory's case. We have attempted to jail Armory using cgroups but during database rebuilds it fails if the memory restrictions are too stringent (<2GB in my testing). Additionally, if there is swap on the system, it appears the system will use the swap before asking Armory to relinquish any of its used memory, causing other processes on the system to hang waiting for I/O.
Both are obvious symptoms. If Armory is aggressively asking for memory it will take priority over processes in the background or that aren't requesting as much I/O. That's basic OS optimization. As for memory requirements, Armory expects to have about 2~4GB of RAM at its disposal for it's own scanning needs. The rest is mmap'ed files requested by LMDB. That's controlled by a hardcoded value and will probably be dynamically assigned in the upcoming version.
|
|
|
|
Exdeath
|
|
May 28, 2015, 10:40:20 PM |
|
Hi, Why Armory doesn't work correctly ? $ armory /usr/lib/armory/armoryengine/Transaction.py:2675: SyntaxWarning: import * only allowed at module level def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals): (WARNING) ArmoryQt.py:2815 - ***WARNING: Duplicate wallet detected, hub1za1u (WARNING) ArmoryQt.py:2825 - Second wallet is more useful than the first one... (WARNING) ArmoryQt.py:2826 - Wallet 1 (skipped): /home/exdeath/.armory/armory_hub1za1u__.wallet (WARNING) ArmoryQt.py:2827 - Wallet 2 (loaded): /home/exdeath/.armory/armory_hub1za1u_WatchOnly.wallet "sni-qt/3436" WARN 04:33:15.586 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (WARNING) SDM.py:768 - Overriding not-available state. This should happen 0-5 times (WARNING) SDM.py:768 - Overriding not-available state. This should happen 0-5 times (WARNING) SDM.py:768 - Overriding not-available state. This should happen 0-5 times (ERROR) ArmoryQt.py:1323 - 4 attempts to load blockchain failed. Remove mempool.bin. (ERROR) ArmoryQt.py:1328 - File mempool.bin does not exist. Nothing deleted. (ERROR) Traceback (most recent call last): File "/usr/lib/armory/ArmoryQt.py", line 7068, in method_signal method() File "/usr/lib/armory/ArmoryQt.py", line 2485, in proceedOnceBitcoindIsReady self.loadBlockchainIfNecessary() File "/usr/lib/armory/ArmoryQt.py", line 2537, in loadBlockchainIfNecessary TheBDM.goOnline() File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner return func(*newArgs, **kwargs) File "/usr/lib/armory/armoryengine/BDM.py", line 251, in goOnline self.bdmThread.setConfig(self.bdmConfig()) File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner return func(*newArgs, **kwargs) File "/usr/lib/armory/armoryengine/BDM.py", line 339, in bdmConfig bdmConfig.blkFileLocation = blockdir File "/usr/lib/armory/CppBlockUtils.py", line 2101, in <lambda> __setattr__ = lambda self, name, value: _swig_setattr(self, BlockDataManagerConfig, name, value) File "/usr/lib/armory/CppBlockUtils.py", line 45, in _swig_setattr return _swig_setattr_nondynamic(self,class_type,name,value,0) File "/usr/lib/armory/CppBlockUtils.py", line 38, in _swig_setattr_nondynamic if method: return method(self,value) TypeError: in method 'BlockDataManagerConfig_blkFileLocation_set', argument 2 of type 'string const &'
Traceback (most recent call last): File "/usr/lib/armory/ArmoryQt.py", line 7068, in method_signal method() File "/usr/lib/armory/ArmoryQt.py", line 2485, in proceedOnceBitcoindIsReady self.loadBlockchainIfNecessary() File "/usr/lib/armory/ArmoryQt.py", line 2537, in loadBlockchainIfNecessary TheBDM.goOnline() File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner return func(*newArgs, **kwargs) File "/usr/lib/armory/armoryengine/BDM.py", line 251, in goOnline self.bdmThread.setConfig(self.bdmConfig()) File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner return func(*newArgs, **kwargs) File "/usr/lib/armory/armoryengine/BDM.py", line 339, in bdmConfig bdmConfig.blkFileLocation = blockdir File "/usr/lib/armory/CppBlockUtils.py", line 2101, in <lambda> __setattr__ = lambda self, name, value: _swig_setattr(self, BlockDataManagerConfig, name, value) File "/usr/lib/armory/CppBlockUtils.py", line 45, in _swig_setattr return _swig_setattr_nondynamic(self,class_type,name,value,0) File "/usr/lib/armory/CppBlockUtils.py", line 38, in _swig_setattr_nondynamic if method: return method(self,value) TypeError: in method 'BlockDataManagerConfig_blkFileLocation_set', argument 2 of type 'string const &' (ERROR) Traceback (most recent call last): File "/usr/lib/armory/ArmoryQt.py", line 4351, in executeModeSwitch TheBDM.goOnline() File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner return func(*newArgs, **kwargs) File "/usr/lib/armory/armoryengine/BDM.py", line 251, in goOnline self.bdmThread.setConfig(self.bdmConfig()) File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner return func(*newArgs, **kwargs) File "/usr/lib/armory/armoryengine/BDM.py", line 339, in bdmConfig bdmConfig.blkFileLocation = blockdir File "/usr/lib/armory/CppBlockUtils.py", line 2101, in <lambda> __setattr__ = lambda self, name, value: _swig_setattr(self, BlockDataManagerConfig, name, value) File "/usr/lib/armory/CppBlockUtils.py", line 45, in _swig_setattr return _swig_setattr_nondynamic(self,class_type,name,value,0) File "/usr/lib/armory/CppBlockUtils.py", line 38, in _swig_setattr_nondynamic if method: return method(self,value) TypeError: in method 'BlockDataManagerConfig_blkFileLocation_set', argument 2 of type 'string const &'
Traceback (most recent call last): File "/usr/lib/armory/ArmoryQt.py", line 4351, in executeModeSwitch TheBDM.goOnline() File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner return func(*newArgs, **kwargs) File "/usr/lib/armory/armoryengine/BDM.py", line 251, in goOnline self.bdmThread.setConfig(self.bdmConfig()) File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner return func(*newArgs, **kwargs) File "/usr/lib/armory/armoryengine/BDM.py", line 339, in bdmConfig bdmConfig.blkFileLocation = blockdir File "/usr/lib/armory/CppBlockUtils.py", line 2101, in <lambda> __setattr__ = lambda self, name, value: _swig_setattr(self, BlockDataManagerConfig, name, value) File "/usr/lib/armory/CppBlockUtils.py", line 45, in _swig_setattr return _swig_setattr_nondynamic(self,class_type,name,value,0) File "/usr/lib/armory/CppBlockUtils.py", line 38, in _swig_setattr_nondynamic if method: return method(self,value) TypeError: in method 'BlockDataManagerConfig_blkFileLocation_set', argument 2 of type 'string const &' https://img-fotki.yandex.ru/get/4302/63627607.10/0_100efc_eda360f0_origLinux Mint 17.1
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3752
Merit: 1364
Armory Developer
|
|
May 28, 2015, 11:01:16 PM |
|
force your block file location with --satoshi-datadir
|
|
|
|
Exdeath
|
|
May 29, 2015, 09:07:06 AM Last edit: May 29, 2015, 09:23:11 AM by Exdeath |
|
$ armory --satoshi-datadir ~/.bitcoin /usr/lib/armory/armoryengine/Transaction.py:2675: SyntaxWarning: import * only allowed at module level def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals): (WARNING) ArmoryQt.py:2815 - ***WARNING: Duplicate wallet detected, hub1za1u (WARNING) ArmoryQt.py:2825 - Second wallet is more useful than the first one... (WARNING) ArmoryQt.py:2826 - Wallet 1 (skipped): /home/exdeath/.armory/armory_hub1za1u__.wallet (WARNING) ArmoryQt.py:2827 - Wallet 2 (loaded): /home/exdeath/.armory/armory_hub1za1u_WatchOnly.wallet (WARNING) ArmoryQt.py:2451 - Tried to start bitcoind, but satoshi already running "sni-qt/12288" WARN 15:03:51.384 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (ERROR) ArmoryQt.py:1323 - 7 attempts to load blockchain failed. Remove mempool.bin. (ERROR) ArmoryQt.py:1328 - File mempool.bin does not exist. Nothing deleted. -INFO - 1432890354: (BlockUtils.cpp:894) blkfile dir: /home/exdeath/.bitcoin/blocks -INFO - 1432890354: (BlockUtils.cpp:895) lmdb dir: /home/exdeath/.armory/databases -INFO - 1432890354: (lmdb_wrapper.cpp:478) Opening databases... -INFO - 1432890354: (BlockUtils.cpp:1226) Executing: doInitialSyncOnLoad -INFO - 1432890354: (BlockUtils.cpp:1297) Total number of blk*.dat files: 258 -INFO - 1432890354: (BlockUtils.cpp:1298) Total blockchain bytes: 36,863,680,999 -INFO - 1432890354: (BlockUtils.cpp:1671) Reading headers from db -INFO - 1432890356: (BlockUtils.cpp:1697) Found 358568 headers in db -DEBUG - 1432890356: (Blockchain.cpp:211) Organizing chain w/ rebuild -WARN - 1432890358: (BlockUtils.cpp:1327) --- Fetching SSH summaries for 475 registered addresses -INFO - 1432890358: (BlockUtils.cpp:1340) Left off at file 257, offset 74199201 -INFO - 1432890358: (BlockUtils.cpp:1343) Reading headers and building chain... -INFO - 1432890358: (BlockUtils.cpp:1344) Starting at block file 257 offset 74199201 -INFO - 1432890358: (BlockUtils.cpp:1346) Block height 358512 -DEBUG - 1432890359: (Blockchain.cpp:211) Organizing chain w/ rebuild -INFO - 1432890362: (BlockUtils.cpp:1381) Looking for first unrecognized block -INFO - 1432890362: (BlockUtils.cpp:1532) Loading block data... file 0 offset 121433722
mdb_enlarge_map failed with error: "Can not allocate memory", id: 12 segmentation error help me please (i can sent you 1 bitcoin if you help me fix this)
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
|
May 29, 2015, 10:00:59 AM |
|
$ armory --satoshi-datadir ~/.bitcoin /usr/lib/armory/armoryengine/Transaction.py:2675: SyntaxWarning: import * only allowed at module level def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals): (WARNING) ArmoryQt.py:2815 - ***WARNING: Duplicate wallet detected, hub1za1u (WARNING) ArmoryQt.py:2825 - Second wallet is more useful than the first one... (WARNING) ArmoryQt.py:2826 - Wallet 1 (skipped): /home/exdeath/.armory/armory_hub1za1u__.wallet (WARNING) ArmoryQt.py:2827 - Wallet 2 (loaded): /home/exdeath/.armory/armory_hub1za1u_WatchOnly.wallet (WARNING) ArmoryQt.py:2451 - Tried to start bitcoind, but satoshi already running "sni-qt/12288" WARN 15:03:51.384 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (ERROR) ArmoryQt.py:1323 - 7 attempts to load blockchain failed. Remove mempool.bin. (ERROR) ArmoryQt.py:1328 - File mempool.bin does not exist. Nothing deleted. -INFO - 1432890354: (BlockUtils.cpp:894) blkfile dir: /home/exdeath/.bitcoin/blocks -INFO - 1432890354: (BlockUtils.cpp:895) lmdb dir: /home/exdeath/.armory/databases -INFO - 1432890354: (lmdb_wrapper.cpp:478) Opening databases... -INFO - 1432890354: (BlockUtils.cpp:1226) Executing: doInitialSyncOnLoad -INFO - 1432890354: (BlockUtils.cpp:1297) Total number of blk*.dat files: 258 -INFO - 1432890354: (BlockUtils.cpp:1298) Total blockchain bytes: 36,863,680,999 -INFO - 1432890354: (BlockUtils.cpp:1671) Reading headers from db -INFO - 1432890356: (BlockUtils.cpp:1697) Found 358568 headers in db -DEBUG - 1432890356: (Blockchain.cpp:211) Organizing chain w/ rebuild -WARN - 1432890358: (BlockUtils.cpp:1327) --- Fetching SSH summaries for 475 registered addresses -INFO - 1432890358: (BlockUtils.cpp:1340) Left off at file 257, offset 74199201 -INFO - 1432890358: (BlockUtils.cpp:1343) Reading headers and building chain... -INFO - 1432890358: (BlockUtils.cpp:1344) Starting at block file 257 offset 74199201 -INFO - 1432890358: (BlockUtils.cpp:1346) Block height 358512 -DEBUG - 1432890359: (Blockchain.cpp:211) Organizing chain w/ rebuild -INFO - 1432890362: (BlockUtils.cpp:1381) Looking for first unrecognized block -INFO - 1432890362: (BlockUtils.cpp:1532) Loading block data... file 0 offset 121433722
mdb_enlarge_map failed with error: "Can not allocate memory", id: 12 segmentation error help me please (i can sent you 1 bitcoin if you help me fix this) You dont have enough free/usable RAM; add more RAM, close apps, etc.
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
Exdeath
|
|
May 29, 2015, 10:18:07 AM Last edit: May 29, 2015, 11:29:43 AM by Exdeath |
|
The RAM was free (I have 10 Gb)
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3752
Merit: 1364
Armory Developer
|
|
May 29, 2015, 12:22:03 PM |
|
Are you using a 32bit OS? How much free disk space do you have?
|
|
|
|
Exdeath
|
|
May 29, 2015, 12:36:00 PM |
|
Yes 32 bit. I have 140 Gb (61.3 / 206 Gb)
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3752
Merit: 1364
Armory Developer
|
|
May 29, 2015, 12:41:27 PM |
|
Yes 32 bit. I have 140 Gb (61.3 / 206 Gb)
0.93.x does not work on x86 OS. Wait for 0.94
|
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
|
May 29, 2015, 10:31:19 PM |
|
i saw this in the Bitcoin wiki for deterministic wallets:
"Armory deterministic wallet Armory has its own Type-2 deterministic wallet format based on a "root key" and a "chain code." Earlier versions of Armory required backing up both the "root key" and "chaincode," while newer versions start deriving the chaincode from the private key in a non-reversible way. These newer Armory wallets (0.89+) only require the single, 256-bit root key. This older format is intended to be phased out in favor of the standard BIP0032 format. "
is this going to be a problem for those who keep and maintain old style wallets with both the chain code and root key?
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3752
Merit: 1364
Armory Developer
|
|
May 29, 2015, 11:14:34 PM |
|
i saw this in the Bitcoin wiki for deterministic wallets:
"Armory deterministic wallet Armory has its own Type-2 deterministic wallet format based on a "root key" and a "chain code." Earlier versions of Armory required backing up both the "root key" and "chaincode," while newer versions start deriving the chaincode from the private key in a non-reversible way. These newer Armory wallets (0.89+) only require the single, 256-bit root key. This older format is intended to be phased out in favor of the standard BIP0032 format. "
is this going to be a problem for those who keep and maintain old style wallets with both the chain code and root key?
The new wallet format supporting BIP32 will be backwards compatible with every previous Armory wallet format.
|
|
|
|
justusranvier
Legendary
Offline
Activity: 1400
Merit: 1013
|
|
May 29, 2015, 11:18:02 PM |
|
The new wallet format supporting BIP32 will be backwards compatible with every previous Armory wallet format.
When you say "BIP32", do you mean BIP44?
|
|
|
|
goatpig
Moderator
Legendary
Offline
Activity: 3752
Merit: 1364
Armory Developer
|
|
May 29, 2015, 11:22:40 PM |
|
The new wallet format supporting BIP32 will be backwards compatible with every previous Armory wallet format.
When you say "BIP32", do you mean BIP44? I guess that's the proper name for the BIP specified HD wallets. Confusing me >_<"
|
|
|
|
justusranvier
Legendary
Offline
Activity: 1400
Merit: 1013
|
|
May 30, 2015, 01:18:13 AM |
|
BIP44 is the standard for multiple account wallets derived from a single seed.
|
|
|
|
|