Bitcoin Forum
July 12, 2024, 05:02:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 [119] 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 ... 233 »
2361  Bitcoin / Armory / Re: Extremely long engine initialization, v 0.95.1 on: December 02, 2016, 09:14:28 AM
FWIW, even with the suggested command line switches, ArmoryDB still uses 100% of the system RAM within 60 seconds.

1) Please don't hijack somebody else's thread, create your own and post your log files.

2) There is a difference between allocated memory (malloc) and mapped files (mmap). The usage figures show you total RAM load, but the distinction is significant: allocated memory belongs to the process while mapped files boils down to hinting the OS that you want these files cached in RAM for faster access. Mapped memory does not prevent new allocations, it simply uses otherwise free resources to speed up I/O.

You are better off documenting yourself on these topics than just jumping to conclusion. Armory has been using this model for nearly 3 years now.

3) This is an open source project, feel free to submit code if you have a better solution, or at least participate to the testing phases and provide constructive feedback and bug tracking.
2362  Bitcoin / Armory / Re: bare ArmoryDB? on: December 02, 2016, 06:45:05 AM
The DB does not use shared libraries, you should be able to just move the binary around and get it to run.
2363  Bitcoin / Armory / Re: bare ArmoryDB? on: December 01, 2016, 06:22:28 PM
DB is full cpp code. There is no install process to just install the DB, but you can only build that if you wish so, by running

Code:
make server
2364  Bitcoin / Armory / Re: Armory 0.95.1 is out on: December 01, 2016, 07:13:28 AM
Today I tried to import a paperwallet privkey into 0.94.1. It worked (import, not sweep), but I couldn't spend the funds:

Code:
  File "/opt/BitcoinArmory/armoryengine/Transaction.py", line 1054, in __init__
    raise KeyDataError('Must give pubkey map for singlesig USTXI!')
armoryengine.ArmoryUtils.KeyDataError: Must give pubkey map for singlesig USTXI!

So I upgraded to 0.95.1.
Which I can't get to start up.
Even with an empty armory user folder, it complains about
Code:
(ERROR) BDM.py:184 - DB error: /home/user/.bitcoin/blocks is not a valid path
My .bitcoin folder is a softlink to a folder on another harddisk, as I ran out of space for the bitcoind blockchain. I set all data to my user and 777 again (before, bitcoind ran on its own user with more strict permissions).
Still, I get the same error.

Is this a known problem?
If it takes too much effort to fix, I'll set up the client-server mode on separated machines right away instead.

Apparently I messed up.

Here is the code checking the folder attributes:

https://github.com/goatpig/BitcoinArmory/blob/master/cppForSwig/BlockUtils.cpp#L1109

and here is the underlying call:

https://github.com/goatpig/BitcoinArmory/blob/master/cppForSwig/DBUtils.cpp#L285

Basically this:

Code:
testPath(blkFileLocation_, 4);

Should be:

Code:
testPath(blkFileLocation_, 2);

However, if you chmod your symlink to 777 and it still doesn't work, it may be that access(2) doesn't play well with symlinks altogether. You have a few solutions to try.

First, you should set the 4 to a 2, build and try again. If that fails, comment out the path test line entirely and try again. This is just the code testing that the folder exists, for sanity checks. Lastly, if that still fails, try to point the DB directly to that HDD's path.

2365  Bitcoin / Armory / Re: armory block "update" on: November 30, 2016, 03:06:44 PM
Delete your databases folder. Run Armory with this added command line argument:

--db-type=DB_BARE
2366  Bitcoin / Armory / Re: armory block "update" on: November 30, 2016, 02:38:29 PM
Post armorylog.txt and dbLog.txt
2367  Bitcoin / Armory / Re: ArmoryDB fails to stop (Mac OS X) on: November 30, 2016, 02:37:26 PM
A small possiblity for improving Armory:  ArmoryQT could check if ArmoryDB is already running, and give a warning/error or the like.  Currently, it just crashes.

I going to tie Armory client shutdown to ArmoryDB's shutdown when the client spawns it. The distinction at startup is too wide to simplify it to just that.
2368  Bitcoin / Armory / Re: Armory cleared btc transactions? on: November 29, 2016, 04:55:48 AM
Let's take it from the top then.

1) Are you balances right?

2) How many wallets are loaded?

3) Is history missing each wallet's properties dialog?

4) I need to see armorylog.txt and dbLog.txt
2369  Bitcoin / Armory / Re: Armory 0.95.1 is out on: November 28, 2016, 05:13:52 PM
sorry for the edge case conditions, but will Armory work with Bitcoin Unlimited?

I'm not aware of any changes in BU that would break compatibility with Armory atm, although I don't follow its development.
2370  Bitcoin / Armory / Re: Armory Transaction Comments Only Take After a Restart on: November 28, 2016, 06:24:20 AM
There are plenty of messed up scenarios where the client fails to close bitcoind in automated mode. I'm moving that functionality to the DB and rewriting it in the process for the next version. That should side step all the corner cases.
2371  Bitcoin / Armory / Re: Armory 0.95.1 is out on: November 28, 2016, 06:22:27 AM
will this work in Debian 8.6?

Works on Wheezy, no reason it won't on Jessie.
2372  Bitcoin / Armory / Re: Armory cleared btc transactions? on: November 28, 2016, 04:57:03 AM
You are saying you only have history for the last few days?
2373  Bitcoin / Armory / Re: Armory cleared btc transactions? on: November 28, 2016, 04:03:07 AM
but the transactions are cleared from previous transactions

I don't understand what you are trying to say, can you elaborate?
2374  Bitcoin / Armory / Re: Loading Armory takes like forever on: November 27, 2016, 04:02:13 AM
So,
Armory finished reloading and reorganising everything.

Still no transactions for the wallets and thus no balances either.

after all I did not lost a fortune, hardly half a bitcoin or so. Building an up to date system only to recuperate my wallets will cost me considerably more.

I very much doubt the introduction of bitcoin into 3rd world countries: even though my system is like 2 years old and quit lightweight performancewise it will still outperform compared to 10+ years old hardware with dial-up alike speed restrictions as most really poor people have to rely on.

Best idea is to quit trying I guess ?

Thanks for all the efforts.

Let's see dbLog.txt
2375  Bitcoin / Armory / Re: Extremely long engine initialization, v 0.95.1 on: November 27, 2016, 04:01:41 AM
Unfortunately, no luck. Armory still crashes at the ArmoryDB.exe part. These are the last records in dbLog.txt:

-ERROR - 1480209973: (..\lmdb_wrapper.cpp:1435) Headers DB has no block at height: 0
-ERROR - 1480209973: (..\lmdb_wrapper.cpp:1415) No headers at height 0

Before the command prompt window crashed I also saw error about missing key pairs as before.

These types of errors have 4 different causes:

1) You are running a same DB folder against different blockchain folders.
2) You are running different versions of the code against the same DB folder. You should get an error output in the console and GUI in this case.
3) You have a bad/corrupted copy of the blockchain.
4) Your machine is unstable.

Quote
The PC is really stable

There is no knowing that without passing an hour worth of memtest and prime95 without errors. If you can actually pass these tests, then consider 3).

Quote
Perhaps something is left from the old version installation somewhere still?

The DB code does not use shared libraries, it's all in the one binary. The only possible "left over issue" is using a DB dataset built with a previous version (i.e. 0.94 data vs 0.95 binary).
2376  Bitcoin / Armory / Re: Armory 0.95.1 is out on: November 26, 2016, 11:21:01 AM
Hi.

Is 0.93 capable to sign off line transaction generated by 0.95 or I need to install new version on my off-line machine?

You are fine. You will need to upgrade when 0.96 comes out if you want sign SW transactions. If you do not create try to spend SW outputs, you won't need to upgrade.
2377  Bitcoin / Armory / Re: Extremely long engine initialization, v 0.95.1 on: November 26, 2016, 08:20:26 AM
DB is done building. You have to start the client to scan it now.

Quote
I believe the PC is actually very stable, I have not experienced a similar issue before.

People are having issues with upgrading to 0.95 because they do not wipe out the existing DB or use a different dbdir.

The issues you are experiencing are in a whole different class, and you are the only one with these. Surely if this was an in issue with the code, it would have manifested itself several times since April of this year, when 0.94 came out.
2378  Bitcoin / Armory / Re: Extremely long engine initialization, v 0.95.1 on: November 26, 2016, 05:44:50 AM
Somehow, your system appears to be very unstable. This isn't the first time you report errors that can be summed up to LMDB failing entire sets of I/O operations.

I would suggest you try to sanitize and isolate your setup as much as you can. This is what I would do:

1) Uninstall Armory, make sure the binaries are gone, download 0.95.1, verify the hash and signature, then install fresh. You don't need to wipe your datadir for that purpose, only the installation folder.

2) Do not run BitcoinQt when Armory is performing it's original build & scan. This should free up a lot of resources. Maybe taxing your system puts it over in terms of stability. You can start BitcoinQt once Armory is fully built and scan.

Running the DB alone gets you through the build phase. You have to run a client against that DB at least once so it has some wallet data to scan the blockchain against.

Your steps would be:

a) Start DB alone, let it complete. Once it says "Enabling zero-conf tracking", it's ready.
b) Start the client, you will know within the client when the scan is complete.
c) Start BitcoinQt.

3) Do not build the DB on your NAS. Create a folder on your SSD, and point to it specifically with --dbdir. The final DB_BARE db is ~200MB, DB_FULL is ~1GB, you shouldn't have trouble affording the space.

4) Consider running a few benchmarks on your system to test for stability. At least one RAM, one CPU and one storage stress test.

5) If you find out your CPU isn't stable underload, you can use --thread-count to manually force the level of parallelism during build & scan operations. This defaults to maximum available cores in your system.
2379  Bitcoin / Armory / Re: Armory Transaction Comments Only Take After a Restart on: November 26, 2016, 12:11:05 AM
All of these are known issues.
2380  Bitcoin / Armory / Re: Extremely long engine initialization, v 0.95.1 on: November 25, 2016, 12:16:39 PM
Quote
-–satoshi-datadir="X:\Other\BTC\Bitcoin"

That second prefix dash looks weird. It should be 2 minus (-) signs.
Pages: « 1 ... 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 [119] 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 ... 233 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!