Bitcoin Forum
May 25, 2024, 08:00:22 PM *
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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 ... 233 »
321  Bitcoin / Armory / Re: Sign message with another wallet on: August 20, 2020, 07:53:20 AM
While the old code uses a random r, new code in the dev branch uses RFC6979 meaning the sigs will always be same (if generated from Armory for the same message and address). IDK whether other wallets us that or not. I know Core does.
322  Bitcoin / Armory / Re: Armory returns to the send window instead of asking for password and sending on: August 17, 2020, 07:31:45 PM
Then it's a DB corruption issue. You need to rebuild & rescan the DB to fix the issue.
323  Bitcoin / Armory / Re: Armory returns to the send window instead of asking for password and sending on: August 17, 2020, 02:39:05 PM
Need to see the full log. This error can be a false positive, if it's trying to fetch the hash for the tx you are creating.
324  Bitcoin / Armory / Re: Armory points to log file ArmoryQT.exe.log. Can someone read it? on: August 17, 2020, 02:37:40 PM
Quote
See the logfile 'D:\armory 0.96.3.992\Armory\ArmoryQT.log' for details

This means you're having an issue with loading the Python interpreter, before the Armory code even gets to run. I'd suggest you update Armory first, try as is on your system and see from there. Logs may be useful, don't know yet.
325  Bitcoin / Armory / Re: Armory points to log file ArmoryQT.exe.log. Can someone read it? on: August 17, 2020, 06:08:54 AM
I need to upgrade the offline PC to Armory 96.5 as well in order to sign transactions -- ?

If you're signing older type of addresses, you don't need to. It's still preferable to update the offline instance.
326  Bitcoin / Armory / Re: Armory returns to the send window instead of asking for password and sending on: August 14, 2020, 06:03:24 PM
Post your logs.
327  Bitcoin / Armory / Re: I send BTC to offline wallet on: August 13, 2020, 12:12:30 PM
It's failing to find your blockchain data. You need to post logs.
328  Bitcoin / Armory / Re: Is the new Armory release that will work on Ubuntu 20.04 coming anytime soon? on: August 12, 2020, 12:06:20 PM
What Carlton said. You can try and give the dev branch a spin once in a while if you're adventurous. That aside, you'd have to guess from the commit description or ask me directly. I can't really give you ETAs, I don't work on Armory all day. It's hard to predict how much time I have to work on it atm.
329  Bitcoin / Armory / Re: Is the new Armory release that will work on Ubuntu 20.04 coming anytime soon? on: August 11, 2020, 11:08:49 AM
it mostly runs in py3 atm, have to clean some stuff up and do the qt5 conversion
330  Bitcoin / Armory / Re: Is the new Armory release that will work on Ubuntu 20.04 coming anytime soon? on: August 11, 2020, 08:17:01 AM
WIP (tm)
331  Bitcoin / Armory / Re: Can Bitcoin core/Armory be run on an external drive? on: August 11, 2020, 08:16:35 AM
This is more of a question about your OS and hardware other than armory in specific. A full node needs to write the blockchain to a drive that your computer recognizes.
So long as your computer can recognize your drive you could do anything with it.

It doesn't matter if the drive is in or out of the box for that matter (external vs. internal). Just set the wallet to store the blockchain there and have have connected before starting your client.

Not exactly. While Core only does plain read/write operations to the drive, Armory maps the files for access. This means it tells the OS to treat specific areas of the drive as part of the RAM. The OS then balances that stuff in and out of the RAM according to access patterns for significantly better performances. The caveat is that stuff like NFS won't work. Physically connected drives will however, through USB or internally.

Additionally, external drives are generally a lot slower than internal drives due to limitations of the interfaces used for this ie. USB... that may impact on your initial blockchain syncing time (which involves a lot of disk I/O)... but is probably not so much of an issue in day to day usage.

If it's a desktop computer, a 1TB hard drive is a lot cheaper than external drives with the same capacity.
Plus it will be faster since it's internally connected.

That's not necessarely true. NVMe drives are fast because they connect directly through PCIe. USB 3 is slow not because of the transport capabilities but because it typically goes through the southbridge. I think some manufacturers connect some USB-C ports to PCIe directly but that really depends on your mobo. If you straight up buy a PCIe USB-C adapter card however, you can get blazing fast speeds with a USB-C to m.2 connector.

That's not particularly relevant for a HDD, which is limited to ~100MB/s sequential I/O cause of the physical constraints, but you can get near native speeds with an NVMe drive plugged through USB-C that way. USB-C can carry 4K@60fps video for what its worth.
332  Bitcoin / Armory / Re: ArmoryDB doesn't scan blocks, no errors in log on: August 02, 2020, 07:36:21 AM
I guess it's ok as a temporary solution but still would like to know why armoryqt freezes and won't start armorydb on it's own.

https://github.com/goatpig/BitcoinArmory/blob/master/ArmoryQt.py#L1795

It runs this check on port 9001 instead of your custom one. Possibly the value hasn't been reflect in ArmoryQt.py cause it's hardcoded in ArmoryUtils.py and the compiler is that dumb?
333  Bitcoin / Armory / Re: ArmoryDB doesn't scan blocks, no errors in log on: August 01, 2020, 08:31:35 AM
1) Check port 15000 isn't in use.

2) Check ArmoryQt is actually trying to connect to localhost:15000

3) Start ArmoryDB manually if you have to, give it the proper port.
334  Bitcoin / Armory / Re: armory in ubuntu for newbees on: July 31, 2020, 06:41:20 PM
Try to rescan the db.
335  Bitcoin / Armory / Re: ArmoryDB doesn't scan blocks, no errors in log on: July 31, 2020, 06:17:45 AM
Well then there's a final trick, but it's worth trying. I'm going to guess you're on Windows, which is the only OS on which changing the Python code files is tricky.

As I said it's tricky but not impossible. Python code isn't compiled per se, it's interpreted. In the windows package, Armory bundles the Python interpreter along with the binary source for each python code file. This is so that Windows users can just run one executable. This executable starts the Python interpreter, and then points it to the Python code files in a zip archive: library.zip.

If you change a code in that library, it should be reflected in your setup. The idea is therefor to change hardcoded port in ArmoryUtils.py and replace that file in the code library zip archive. This would be a text file and not a binary file, so I'm not 100% sure that trick will work, but Python typically converts text files to binary files on the fly at import time so it should work.

You would need to change the port value at this line:

https://github.com/goatpig/BitcoinArmory/blob/master/armoryengine/ArmoryUtils.py#L88

Then copy the modified file in the zip archive (it's in the armoryengine folder), and delete the old file (ArmoryUtils.pyc). Your file is a .py (text), the file you're getting rid of is in binary (.pyc). Python should do the conversion for you next time your run Armory.
336  Bitcoin / Armory / Re: armory in ubuntu for newbees on: July 31, 2020, 06:08:42 AM
Ok. Perfect. Now I know what happened. Mine is a very old computer. That may explain the timeout.

It's not much related to the PC's performance. Armory's p2p broadcast code was implemented when Core would push transactions as is once delivered by another peer. Core batches now, so the broadcast detection throws a lot of false negatives. This needs a bit of a technical explanation to make sense:

Early days, before Core was even named Core, the Bitcoin node software did 2 things different: Setting up the JSON-RPC interface required some minor work on the user part, notably adding login and password to a config file. Therefor, Armory could not expect access to the RPC in plug and play setups (95% of users), so it had to rely on something else to broadcast transactions. The RPC returns with an ACK/nACK on broadcasts but if only 5% of users can set it up properly, it was useless to Armory.

Instead etotheipi (the original maintainer) opted to connect to Core through the P2P interface. Armory, still to this day, spoofs a P2P node to your Core instance, for the purpose of pushing transactions and getting new block notifications.

The P2P broadcast interface does not come with an explicit ACK/nACK. It doesn't provide a result at all as a matter of fact, for design reasons. The flow goes like this: advertise the hash of the transaction you want to broadcast to the peer. The peer will then request that transaction by hash. You will return the transaction body to the peer. Broadcast is over. The only way to know if that transaction made it into the peer's mempool is to query that peer for the same transaction. If it returns it to you, it's in. You won't get a reply otherwise.

So basically, Armory sends the transaction to your Core instance and polls it for a few seconds to verify it's been added to the mempool. Eventually core introduced broadcast batching, where it tries to make a better use of the MTU and reduce point of origin timing leaks. Basically your node will now wait some time and try to accumulate a bunch of transactions before announcing them to other peers. This delay also affects entry in the mempool (so that you can't just query the node for specific hashes to know what made it in or not with certainty). As a result, this disrupts the Armory P2P broadcast loop, since the polling may now timeout.

Since then, interfacing with the RPC has become easier so I've added a RPC broadcast fallback when available, which is why you received the message about the RPC.

337  Bitcoin / Armory / Re: ArmoryDB doesn't scan blocks, no errors in log on: July 30, 2020, 07:33:36 PM
Have you tried putting the port in quotes?
338  Bitcoin / Armory / Re: ArmoryDB doesn't scan blocks, no errors in log on: July 30, 2020, 05:24:54 PM
Try setting the port through armoryqt.conf (for ArmoryQt) and armorydb.conf (for ArmoryDB)
339  Bitcoin / Armory / Re: armory in ubuntu for newbees on: July 30, 2020, 05:21:12 PM
Broadcast timeout doesn't mean the tx didn't make to the mempool, it only means Armory sent the tx to your node but failed to acknowledge delivery in the allotted time (hence the timeout). When that happens, it tries to fallback to the RPC interface to broadcast through that, but since yours isn't set up, you got that message.
340  Bitcoin / Armory / Re: armory in ubuntu for newbees on: July 30, 2020, 03:29:12 PM
Did you try on the testnet? You have to run Core with -server to enable the RPC at any rate.
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 ... 233 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!