Bitcoin Forum
September 30, 2024, 12:35:51 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 170 171 172 173 174 175 176 177 [178] 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 ... 233 »
3541  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 13, 2015, 04:29:27 PM
85%, reporting 4 hours now, although the number randomly just jumps around.

maybe incorporate some sort of mini-game for the wait, or a value/total transactions counting down (or up) until it's up to date? The time doesn't make sense, so are there other options on the dashboard screen to show something else?

Nothing more on the dashboard. If you were running this on Linux, you'd see a report in the terminal for each 2500 block milestone. We'll adjust the progress bar granularity eventually.
3542  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 13, 2015, 01:51:48 PM
HDD is getting murdered I see. I'll test building on a HDD and optimize fullnode for that. Supernode is hopeless on a HDD to begin with.
3543  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 13, 2015, 12:03:23 PM
I completely understand Smiley And btw, I'm just running normal armory, not the supernode. still scanning transactions, up to 46% now and reporting 11 hours to go

What's your RAM and CPU usage at again?
3544  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 13, 2015, 01:56:27 AM
This takes 1/2 an hour to fix, if you need a walkthrough, I'm happy to help Smiley You just need to get the links that are broken, create page's, configure them to be the URL that's now broken, and then use page links to, to send them to the correct (working) page. This would broken links across old builds, as well as this new build.

There is a wealth of solutions and yours certainly is an acceptable one. Thank you for your concern. However, the issue is about segregation of duties, not implementation. This simply is not a part of the codebase I deal with right now, and every time I ran across this bug in the past few months, I failed to pass it on to the right person.

CircusPeanut is keeping track of everything being reported in this thread and assigning tasks to the proper personnel. This may sound selfish, but I deal with the DB issues, not the rest. Maybe 90% of the DB code was changed this time around and I am solely focusing on getting that part solid. Also I don't usually answer unless the issue is dire or I have at least some sort of a fix worked in already. However I do read all the posts in this thread.

I'm already working on a couple bugs I found on my own a few days ago, although I don't expect any of you will run into those. I'm also paying attention to DB building speed with the different machines you guys run on. From that I will decide if there is need to make anything faster. Keep in mind that I expect most private users will be running fullnode, not supernode, so give that DB type some love too =)
3545  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 12, 2015, 11:39:11 PM
Links have been down for a while now. We're aware of the snafu but have been lazy about it I guess =(
3546  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 12, 2015, 08:23:54 PM
16gb ram here and quad core i7, but not ssd

now up to 34% into scanning transaction history. my cpu  is low, but disk and ram usage nearly 100%

I have a large swapfile though, so I wonder if that's what's causing the delay in my case?

It's not helping that the OS is constantly moving stuff in and out of the swap, it eats disk I/O for no reason. You can try without.

You can halt the scan process at any time, even by killing the process. The DB is resilient to segfaults.
3547  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 12, 2015, 08:06:26 PM
I have 16 GB of RAM as well, and my swap file is on my SSD. However, I have another task using just under 9GB. Armory uses about 900MB in the scanning stage. Is Armory limiting itself because it sees that there isn't a lot of RAM to spare, or is something else the cause of this 900MB vs +2GB thing?

As I said LMDB is a mapped DB. File mapping is entirely controlled by the OS. Depending on how much resources your other active processes require, the OS will throttle down the amount of physical RAM it makes available to hold the mapped file. This in return will crush the write speed (which needs to resolve the page on which the key is or will be before it can write in the data).

My scans take usually an extra 30-40% speed if I play old steam games in the meantime.

To give you an idea, I use a laptop with an i7 haswell, 32GB DDR3 and 3 micro SSDs in RAID0 and no swapping file. It takes me about 1h30 to copy the blocks over and 3h30 to scan supernode (last time I did it was around block 335k). About 45 minutes to scan fullnode, but that's cause the processing is performed in a single thread. Fullnode scans could be lightning fast if I multithreaded that part, as they require very little writing past the block copying. However, that again was not a priority.

I can't wait for DDR4 in laptops so that I can move to 128GB RAM
3548  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 12, 2015, 07:57:17 PM

You are still building the DB (copying block data over), not scanning (actually parsing the transaction data). When scanning supernode, you will be using over 2GB RAM at least.

But why does it use such little resources? That's what I don't understand.
About 40% of RAM is free on my system at any given time, why doesn't Armory take it? Same with IO.

The DB creation works in 2 phases:

1) Building, which is simply copying the blockchain as a whole over to the DB. This is the phase you are in, which takes very little resources. This code is single threaded and was barely modified in this release (only to support headers first Core). It could be made faster but this isn't a priority in any way.

2) Scanning the transaction history: this part requires heavy IO and processing, and has been largely modified. It will eat all the RAM on your system and I/O capacity of your drives, take several hours/days, and runs on 2 to 4 threads (possible more to come).
3549  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 12, 2015, 07:46:56 PM
snip

The obvious bottleneck is I/O. Moreover, LMDB maps its whole dataset in RAM, so a machine with little RAM and a swapping file on a HDD will get crushed.

I have 16 GB of RAM and a 1 GB swap file on my SSHD(85 MB/s read/write), it still goes extremely slowly, and I see Armory using ≤41 MB of the swap file and ≤200 MB of RAM. Armory only uses about 1 MB/s of IO right now.

You are still building the DB (copying block data over), not scanning (actually parsing the transaction data). When scanning supernode, you will be using over 2GB RAM at least.
3550  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 12, 2015, 07:31:59 PM
Hi,

I'm responsible for the DB code. For those who care, it takes me 3h30 to build supernode, which approximates 90GB with the current blockchain size.

If you have less than 16GB of RAM and a HDD, do not expect supernode to build under a week. Your machine can't handle it. This DB type tracks ALL transactions in the blockchain, it's meant for heavy duty servers. You should at least try and see how long it will take your system to build fullnode before thinking of going with supernode.

The obvious bottleneck is I/O. Moreover, LMDB maps its whole dataset in RAM, so a machine with little RAM and a swapping file on a HDD will get crushed.
3551  Bitcoin / Armory / Re: Armory 0.93 testing release! (with 0.05 BTC bug bounty) on: January 10, 2015, 12:15:43 PM
Is deterministic signing fully implemented? Is the deterministic signing code coming from libsecp256k1?

Yeah it's fully implemented and set by default. We still use cryptopp only

1) Can't export Log File. On a new Linux install, Core 0.10.0 and in Supernode go to "File" > "Export Log File" > "OK"

Translation tags (tr()) have introduced some bugs, we'll get on top of it
3552  Bitcoin / Armory / Re: Is Armory compatible with Bitcoin 0.10? on: December 31, 2014, 03:24:03 PM
0.92.3 will choke on out of order headers but dev (upcoming 0.93) is ready for headers first. As for the DB, if you mean Core's underlying database, Armory doesn't use that, it only relies on the raw blocks. I haven't heard of a change to that format since headers first.

Well, with headers first, the raw blocks on disk may be out of order, too.  I guess that counts as a change of format.

roy

I meant that I haven't heard of another change to the raw block files since the announcement of headers first downloading (which involves out of order block data, indeed). We are ready for that part with the upcoming release, but 0.92.3 and older aren't.
3553  Bitcoin / Armory / Re: Is this worth wrestling with? on: December 28, 2014, 01:15:08 PM
Glad it went well. I hope users that read this thread resort to the ticket system instead of banging their heads on their keyboards instead.
3554  Bitcoin / Armory / Re: Is Armory compatible with Bitcoin 0.10? on: December 26, 2014, 12:30:51 AM
By choking do you mean itll get through it or I can't use armory with .10?

It will scan, but fail to see new blocks while running if the headers appear out of order, maybe even seg fault. A restart would probably display the new blocks.
3555  Bitcoin / Armory / Re: Is Armory compatible with Bitcoin 0.10? on: December 24, 2014, 02:44:44 PM
0.92.3 will choke on out of order headers but dev (upcoming 0.93) is ready for headers first. As for the DB, if you mean Core's underlying database, Armory doesn't use that, it only relies on the raw blocks. I haven't heard of a change to that format since headers first.
3556  Bitcoin / Armory / Re: I'm afraid I lost Bitcoin ... offline Armory -> online Armory <- Android Wallet on: December 22, 2014, 04:06:34 PM
Russia have no law, but here in bitcointalk you must listen to developer goatpig

I listen carefully Developer goatpig and I'm trying to understand him. What should I do?

Just wait for Matt to take care of the ticket. If it's something complicated (I doubt it is), he'll escalate and I'll take care of it.
3557  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 22, 2014, 04:04:52 PM


Create a ticket and attach your log files:

https://support.bitcoinarmory.com/home

I created the ticket https://support.bitcoinarmory.com/home, but a confirmation letter does not come at gmail.com ...

I found in the folder of ARMORY several logs. Which of the logs I need to send?

One guy (goatpig Hero Member) says to the next thread https://bitcointalk.org/index.php?topic=902412.msg9915688#msg9915688 that my ARMORY is offline because I am from Russia. I think that guy is delirious.

Same weird guy asking for your logs -_-". And I'm only delirious on certain days of the week.

Need both armorylog.txt and armorycpplog.txt

Not sure about the confirmation email, we changed ticket engine a short time ago, and I'm not familiar with the new one yet.

I can tell from your screenshots that Armory is not online. It's in an inconsistent state (STATE != COUNTRY), or situation if you prefer, or status, or condition. Anyways, it's not online. Add your logs to the ticket and wait for instructions on that end.

At least someone got a laugh out of this.
3558  Bitcoin / Armory / Re: I'm afraid I lost Bitcoin ... offline Armory -> online Armory <- Android Wallet on: December 22, 2014, 02:33:35 PM
You used the right address. Bitcoin addresses come with a checksum so you couldn't just have messed up the address and sent your coins to blackhole. As bc.info displays, this address only has one transaction. If the coins would have been stolen, there would 2 transactions, yours funding the address, and one for the thief looting you.

Yet Armory shows neither 1 or 2 transactions, or any number for that matter. It shows 0, so obviously it isn't online.

Now, may it be mother Russia or not, dev tells you what to do, so make that ticket!
3559  Bitcoin / Armory / Re: Sanitizing USB devices on: December 22, 2014, 02:25:39 PM
Can't be sanitized if bad usb is actively modifying the files on the fly
Presumably part of their solution would involve having hardware in which you could plug the dirty USB drive that would not have any modifiable firmware which BadUSB could infect.

Our solution is to side step USB entirely, but for the sake of the argument:

The industry standard is to sell programmable MCUs (with NVRAM), where the USB firmware shares the same address space with whatever extra code the 2nd stage manufacturer will purpose it for. For the USB storage class, there is very little custom code to add, however the implication is that the MCU is mounted on a PCB that is wired to allow updating the NVRAM, usually through ICSP.

Bottom line, you are often sold USB devices that could be entirely re-purposed through an easy firmware update, and this is where the vulnerability lies.

There are 3 solutions to this dilemma:

1) Use MCUs with cooked-in logic: there is a class of MOS (i think) to which you can burn in the firmware permanently the first time you program it in. This would create firmwares that can't be messed with. A firmware attack would have to limit itself to the device's RAM, and that won't survive a power cycle, which would limit the infection to the one machine.

2) Destroy the "commute to write" pin. To set the NVRAM to write mode you need to power a dedicated pin. However, destroying it might be complicated, those QFP style packages have some very small pin spacing, chances are you could damage the entire MCU or the board trying to take down a single pin. If you manage to, you got yourself into the same situation as 1)

3) Side step USB entirely: it's a "managed" port, that needs firmware on both host and client side, too many vulnerabilities.

Keep in mind that even a sane USB device (on which no firmware attack will survive a power cycle) is not safe vector per say. You could simply attack the data written on it rather than the firmware, like say, tamper the change address (Armory will warn you of that however).

I stress this point because in an adversary situation (when an attacker can run arbitrary code on your machine), it will be entirely easier to modify the data written to the USB key than attack its firmware. Granted, it may not yield as large a reward as the USB attack.
3560  Bitcoin / Armory / Re: Primary Armory Feature Fail: cannot make wallet backup on: December 22, 2014, 01:58:30 PM
I have been using the core Bitcoin client until now but was interested in some of the features of Armory - primarily the magical wallet backup feature.  I just installed current version of Armory (0.92.3) and find that I cannot make a printed wallet backup at all.  Actually, I made one when the wallet first got generated, but I didn't choose the "use secure print" option.  Deciding that Armory was worth trying, I attempted to make a SecurePrint(tm) backup, but it fails.  In fact, all attempts to make a wallet backup fail, SecurePrint(tm) or otherwise.

When I choose to make a printed backup, I progress through the "Print Wallet Backup" dialog and preview, but when I click "Print..." and get the OS print dialog, I cannot click on any of the controls on that dialog.  I get beeps on each click.  It's like some other window has focus.  The only thing I can do is choose "Cancel" from the "Print Wallet Backup" dialog which dismisses that window, and after some delay, the OS print dialog as well.  No backup ever gets generated.

The OS is OS X 10.10.1 and both Armory and the Bitcoin core clients are at their latest respective versions.

This smells like a pretty serious bug on a core feature of the product, and a bug that is a show-stopper for me.  There is no other Armory feature that (for me) justifies the downsides of Armory (the doubling of the block chain storage requirements and overall slow performance, not to mention the, ahem, less than ideal qt ui).

Can anyone else duplicate this bug or comment on alternative methods to generate a SecurePrint(tm) wallet backup?


Make a ticket, attach your log files, our Mac maintainer will look at it.

https://support.bitcoinarmory.com/home
Pages: « 1 ... 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 170 171 172 173 174 175 176 177 [178] 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 ... 233 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!