Bitcoin Forum
May 26, 2024, 08:50:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 ... 233 »
21  Bitcoin / Armory / Re: Paper wallet restored properly but Armory still stuck in Offline mode on: December 11, 2023, 07:54:13 AM
Quote
Hi @goatpig, when I tried your suggestion, "./ArmoryDB --satoshi-datadir=/home/*USERNAME*/.bitcoin" the only option that comes up is ./ArmoryQt.py

You have to cd to the folder where the binary is installed first. I honestly don't remember where it goes on Ubuntu. I'm guessing /usr/local/bin or /usr/local/lib/Armory. Try "whereis ArmoryDB" or cd to /usr and "find . ArmoryDB".

Quote
It looks like all the path issues with snap are the problem...  From here, as it stands though what could I try next? 

When you start BitcoinQt, what does it show you? I believe it can display where the blockchain data is located. Do you have a ./bitcoin folder in your home folder? You need to find where Core downloaded the blockchain data and feed that to Armory. If you find it and Armory can't read it, then it's a permission issue. We can look at that too.

Quote
Should I go ahead and wipe bitcoin-core off my machine and install it from the official tgz and start fresh?

I don't think that's necessary. The data is somewhere on your system, just need to find it. Hell, you could look at folder sizes and figure it out that way. Some 400GB of data doesn't just sneak around on a disk.
22  Bitcoin / Armory / Re: Paper wallet restored properly but Armory still stuck in Offline mode on: December 11, 2023, 07:52:52 AM
Quote
Hi @goatpig, when I tried your suggestion, "./ArmoryDB --satoshi-datadir=/home/*USERNAME*/.bitcoin" the only option that comes up is ./ArmoryQt.py

You have to cd to the folder where the binary is installed first. I honestly don't remember where it goes on Ubuntu. I'm guessing /usr/local/bin or /usr/local/lib/Armory. Try "whereis ArmoryDB" or cd to /usr and "find . ArmoryDB".

Quote
It looks like all the path issues with snap are the problem...  From here, as it stands though what could I try next? 

When you start BitcoinQt, what does it show you? I believe it can display where the blockchain data is located. Do you have a ./bitcoin folder in your home folder? You need to find where Core downloaded the blockchain data and feed that to Armory. If you find it and Armory can't read it, then it's a permission issue. We can look at that too.
23  Bitcoin / Armory / Re: Paper wallet restored properly but Armory still stuck in Offline mode on: December 10, 2023, 09:18:06 AM
Quote
if self.failedFindExe:  raise self.BitcoindError, 'bitcoind not found'

It cannot find bitcoind, turn off auto bitcoin management in Armory (first page in File -> Settings) and run bitcoind manually. Probably this is because you installed bitcoin via snap

Quote
/home/USERNAME/snap/bitcoin-core/common/.bitcoin/blocks

This looks wrong. Your blockchain data should be in ~/.bitcoin. This is the folder path you should give it. Try the following:

- From the terminal, cd to the Armory install folder: /usr/local/lib/armory
- Run the db process on its own like this: ./ArmoryDB --satoshi-datadir=/home/*USERNAME*/.bitcoin
- If it starts building the database, let it go all the way. Once it's done, start ArmoryQt.
24  Bitcoin / Armory / Re: Paper wallet restored properly but Armory still stuck in Offline mode on: November 28, 2023, 08:07:21 AM
@hosseinimr93 got it, yes it was pruned unfortunately... redownloading the blockchain now.
@goatpig, so yep it was in pruned mode...

Unfortunately Armory cannot run against pruned nodes at the moment.
25  Bitcoin / Armory / Re: Paper wallet restored properly but Armory still stuck in Offline mode on: November 26, 2023, 10:27:44 AM
It cannot find your blockchain data. Are you using a custom Core folder? Is it running in pruned mode?
26  Bitcoin / Armory / Re: The error occured on line #1 of recovery on: November 04, 2023, 08:49:29 AM
I have a paper back up made years ago(1.35) I set up a new computer installed Bitcoin Core. Then installed the latest version of Armory. After a few days of syncing both titles start with no errors. In the Armory program I am trying to Restore a wallet from paper back. Easy peasy. However, I am getting:
There is an error in the data you entered that could not be fixed automatically. Please double-check that you entered the text exactly as it appears on the wallet-backup page.

The error occured on line #1

I have checked and rechecked this line and I am imputing it exactly. What am I missing? Do I need to install an older version of Armory first?
Prethanks to anyone who helps.

Did you write your root key down? The software is failing to produce the expected checksum from your input, and the error is big enough that it can't autocorrect, suggesting at least 2 characters are wrong.
27  Bitcoin / Armory / Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 on: November 02, 2023, 09:30:10 AM
Summary: I get the same Armory result with "Scanning Transaction History" hanging at 43%.

1. How much free disk space do you have on the drive with the blockchain data?
2. Can you start bitcoind/qt on its own? What's your top block? Is your Core instance in sync with the network?
3. After starting bitcoind/qt on its own, assuming it's in sync, start ArmoryDB by itself from the command line and post the output here (go through pastebin for big splashes of text)
28  Bitcoin / Armory / Re: Optimizing Armory Wallet Encryption for Password Recovery on: October 30, 2023, 12:55:37 PM
If you're looking to put money into this, you should consider a CUDA implementations and either buying a RTX card or renting a few hours worth of an A100. You first need to estimate the amount of attempts you need to crack the password (known characters vs unknown characters, dictionnary size, that kinda stuff). Based on that you can project a budget and decide if you need a CPU or GPU approach.

Modern graphic & compute cards have plenty of RAM available. They can also make use of system RAM seamlessly (though at latency cost). Still, they're valid candidates for memory heavy KDFs, unlike 10 years ago. I don't know what the CUDA core to sha2 thread ratio looks like, but a rtx3080 has enough ram to handle ~400 32MB Scrypt instances.

You would need a CUDA implementation of Scrypt, which I suspect the Litecoin community knows a thing or two about.
29  Bitcoin / Armory / Re: Any hopes of getting Armory under a modern Ubuntu to work? on: October 30, 2023, 08:41:27 AM
qt4,  435GB, I feel dizzy.

You are looking at 2 different things here:

- Blockchain size:

You have to have a copy of the Bitcoin blockchain. This is a design choice for Armory, it's a full wallet.

- Qt4:

That, along with py2, have been deprecated a long time ago, no modern OS support this stuff anymore. In the dev branch, there's a version that runs on py3/qt5 but it's not very user friendly. Assuming you do not want to download chain, you have 2 approaches to accessing your funds:

1. export the private keys to Electrum

2. build the dev branch from source. I'll then provide you with a remote supernode from which you can query your balance data. That will allow you to create transactions to move your funds out. This is a more involved process than the first option and will require more effort on your end than the first option. I'll try to handhold you along the way however. Up to you.

30  Bitcoin / Armory / Re: Optimizing Armory Wallet Encryption for Password Recovery on: October 30, 2023, 08:28:59 AM
Thank you for your input. I might have used the incorrect term "optimized version"...
It's an in house implementation of Scrypt. I believe that's what Litecoin uses for their block hashing, maybe you could look there for some breakthrough in implemetation?

Quote
When reviewing KdfRomix::DeriveKey_OneIter(), as one example, it appears to me that removing memory allocations per iteration might be relevant when running lots of repeated iterations https://github.com/etotheipi/BitcoinArmory/blob/2a6fc5355bb0c6fe26e387ccba30a5baafe8cd98/cppForSwig/EncryptionUtils.cpp#L212

If the nature of Armory's algorithm means that threading doesn't scale past the number of CPUs, then the solution may not lie in encryption code "optimizations". On the other hand, if there's significant CPU idle time due to I/O operations, etc., might a high-memory system with a custom implementation offer some advantages? Sadly, I don't have the necessary knowledge to explore this deeper or implement the needed modifications.
So I guess this post is to figure out if I should look for outsourcing to analyze and improve the code, or if there's no point in going down that path.

The allocation is done via the default STL container under the hood (underlying container is std::vector<uint8_t>). Not much for you to do here, lookup table is preallocated:
Code:
   lookupTable_.resize(memoryReqtBytes_);
   lookupTable_.fill(0);

Quote
I created a Python script that generates all the passwords I wish to check into a file, but with 25 P/s, it will take years. I was hoping to reach 1000 P/s, which would make a great difference. Also, I'm willing to invest in more relevant hardware, once I understand what that entails.

You shouldn't do this from Python. It accesses the C++ code through the SWIG wrapper, this leads to multiple unnecessary allocations and copies. Also you're taking the hit for the Python runtime, and Python has no effective multi tasking, you'd have to multiprocess. That too isn't all that good, context switching for processes is significantly more expensive than for threads.

If you want to squeeze the most of your hardware on this task you'd need the following:
- Use an optimized, SSE/AVX enabled implementation of sha2-512. Armory 0.96.5 uses an old CryptoPP implementation from circa 2012, there could to be faster stuff out there by now. Building it with a modern compiler could help too.
- Use the C++ code, do NOT go through Python, multithread it in C++
- Run it in on some barethread Linux distro, not Windows. Do not mount a swap file either.
- Profile the CPU load to figure out the optimal thread count. Try with hyperthreading/SMT on & off. Try pining threads to explicit cores.
31  Bitcoin / Armory / Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 on: October 25, 2023, 07:57:52 AM
Interestingly... I have Armory and Bitcoin Core v0.25.1 working ok, but the Testnet version of Armory is exhibiting a similar behaviour to what the OP has. Armory Testnet is getting stuck at "Scanning Transaction History".

It is always at 88% (tried it 3 times now)... very strange. I can't find any obvious errors anywhere that are causing this issue. :-/



There's a weird tx in testnet that breaks the DB scanner. I have fixed this in the dev branch, but that code is for along compared to 0.96.5 that I can't just ship the fix back into it.
32  Bitcoin / Armory / Re: Armory Not Starting on: October 20, 2023, 09:11:12 AM
https://file.io/iAhETocOnPie

idk another way i can share the file idk if you are scared of downloading files on internet but i posted it here

Says the file is cancelled. Try copying the last few thousand lines in pastebin and post the link here.
33  Bitcoin / Armory / Re: Armory Not Starting on: October 18, 2023, 05:31:17 PM
i did manually like you said im looking at it rn

Armory is trying to connect to your node over port 8333. Is this port used by another process? Or maybe you have an antivirus blocking it? Look for the bitcoin core logs and post that here. You should find it in ~\AppData\Roaming\Bitcoin\debug.log
34  Bitcoin / Armory / Re: Armory Not Starting on: October 18, 2023, 07:40:11 AM
It can't connect to bitcoind/qt. Did you start your bitcoin core client?
35  Bitcoin / Armory / Re: Armory Not Starting on: October 12, 2023, 04:39:11 PM
Quote
e:\users\goat\code\armory3\cppforswig\

That's an artifact of Windows compilation. What you are seeing is the path where the source resided on my computer at the time of building the Windows binary. This is the underlying code here:

https://github.com/goatpig/BitcoinArmory/blob/master/cppForSwig/log.h#L70

For some reason on Windows it resolves __FILE__ to the full path instead of relative path. Go figure. I haven't gotten around to that, and I will probably replace the current log code with spdlog anyways.

There is compounding confusion in this log system, because the first half of the log is generated by the Python code and the dynamically loaded C++ code from SWIG library. That stuff runs on relative paths, for whatever reason. The second half is the concatenation of ArmoryDB's log, which has the full path resolution. Chaos ensues. You'll also notice the logs summoned from the Python side renders time as timestamps, where as the C++ logs renders them as datetime. Gotta clean up that mess at some point.
36  Bitcoin / Armory / Re: Armory Not Starting on: October 11, 2023, 07:21:50 AM
The first logs seems it was from drive C: now it has changed to drive E:.

Did you recently change something on armoryqt.conf file about the data folder?

I suggest pointing them properly to the right folder if your Armory data and Bitcoin core data are in drive E: you can follow the guide below

- https://btcarmory.com/docs/pathing#config-files

Where do you see that he changed his paths? I dont.

sent btc to wallet in offline mode didn't see the funds in wallet tried to restart armory but now it won't open logfile: https://pastebin.com/qhU12HSX

Please, follow my instructions here and report back.

Start bitcoin-qt manually, let it progress, also check your free disk space. If it all looks good, start ArmoryDB manually, then start ArmoryQt. You are using default paths so that should work.
37  Bitcoin / Armory / Re: Armory Not Starting on: October 10, 2023, 01:25:43 PM
There isn't much to go on in the logs. It seems to be having trouble starting bitcoind.

Start bitcoin-qt manually, let it progress, also check your free disk space. If it all looks good, start ArmoryDB manually, then start ArmoryQt. You are using default paths so that should work.
38  Bitcoin / Armory / Re: Armory won't start up on a new mac.. on: October 05, 2023, 07:34:08 AM
Apple has this habit of pushing compatibility breaking major updates. Likely to get the SWIG library to work, you'd need to build it with a recent version of XCode. Even if you managed to do that, you need to get through the py2/qt4 hurdle.

If you really want Armory to work on OSX, you're better off trying to build from the dev branch, which drops SWIG and runs on py3/qt5.
39  Bitcoin / Armory / Re: Armory won't start up on a new mac.. on: October 02, 2023, 07:17:08 AM
It's failing to load the C++ library that Python needs to access. You're better off trying to run it in a VM if all you got access to is OSX.
40  Bitcoin / Armory / Re: Armory wallet hangs on "Scanning Transaction History" Since Bitcoin Core 25.0 on: October 02, 2023, 07:13:26 AM
1. Did your chain data get pruned after you installed 25.0?
2. How many blocks is Core showing?
3. How much disk space do you have left?
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 ... 233 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!