Bitcoin Forum
May 26, 2024, 09:11:13 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 53 54 55 56 57 58 ... 233 »
141  Bitcoin / Armory / Re: Watch-Only wallets on: December 04, 2021, 09:16:06 PM
Wow, thank you, hosseinimr93! I was wondering why do I see v0.96-beta-a3d01aa722 on my installations. I was completely sure that I downloaded v0.96.5 installation from the website. It looks that I downloaded it off of https://www.bitcoinarmory.com/download/ and it was v0.96 instead.

Do I just close Armory and run the setup file in-place? Do I need to remove/rebuild database files, or are they all completely compatible between v0.96 and v0.96.5?

Thanks again for pointing me to right version!

You should empty the "databases" folder before running 0.96.5. You can install 0.96.5 over 0.96, it will replace the older binary. Wallet and databases data will be left untouched.
142  Bitcoin / Armory / Re: Armory - Github - BSA - FBAR on: December 03, 2021, 09:11:49 AM
That sweet, sweet race to the bottom...
143  Bitcoin / Armory / Re: Armory hangs on "Organizing Blockchain" (>12h). Grateful for any help. on: December 03, 2021, 08:02:48 AM
1. Run bitcoind manually, you're behind some 100k blocks as far as Armory is concerned
2. Make sure there are no zombie ArmoryDB instances
3. Make sure nothing is listening on 9001

Once bitcoind is caught up, start ArmoryDB from the terminal, let it catch up, post the log file back here if it doesn't get beyond block 700k. If ArmoryDB gets as far as "enabling zero conf parser", you can start ArmoryQt.
144  Bitcoin / Armory / Re: Armory hangs on "Organizing Blockchain" (>12h). Grateful for any help. on: December 02, 2021, 07:46:25 AM
Hard to help you without logs.
145  Bitcoin / Armory / Re: Will Armory 0.96.5 continue to 100% work with Bitcoin Core 0.21.1 and 0.22? on: December 02, 2021, 07:44:28 AM
0.22 should work with 0.96.5. There are no changes to the P2P layer nor block/tx serialization. Armory will simply ignore the taproot scripts.

On a side note, 0.96.5 ArmoryDB chokes on the testnet now. Someone mined malformed multisig scripts.
146  Bitcoin / Armory / Re: RPC Disabled on: December 01, 2021, 07:27:41 AM
Quote
BTW, in that state, you wont be able to broadcast transactions using Armory.

RPC is the broadcast fallback mechanism. Armory tries to broadcast via the p2p layer first, but that one throws a lot of false negatives.
147  Bitcoin / Armory / Re: Armory-Transaction through BitcoinCore running as TOR-hidden-service on: November 29, 2021, 01:20:32 PM
I'm now able to run bitcoind -daemon independently of Armory as long I immediately start Armory after I started bitcoind -daemon.
I guess that once bitcoind has established to many connections it doesn't accept RCP calls form Armory anymore.
Just peering through the fog

Don't really know what's going on there. The RPC connection should be available regardless of Core's p2p connection count. You could try to automate bitcoind from Armory to make sure the connection is grabbed early. In doubt, I would try to monitor the Core RPC port, see what's trying to connect through that.
148  Bitcoin / Armory / Re: Armory-Transaction through BitcoinCore running as TOR-hidden-service on: November 27, 2021, 05:38:40 PM
This is were Armory connects to the WAN I guess.

This isn't a WAN connection. This is ArmoryQt (the GUI) connecting to ArmoryDB (the blockchain service) on 127.0.0.1:50559

Quote
Can you point me somewhere where I can find an explanation how to broadcast an armory-transaction directly with Core?

Getting the raw tx

A. If a transaction fails to broadcast, it should dump the tx in hex in your logs.

B. Or, go through the unsigned tx flow instead of signing and broadcasting from the send dialog (on an online node). You would:

a) Create the transaction as unsigned. This will give you a text blob you can save to a file or copy paste around.
b) Load this blob via the offline transaction dialog (the sign/broadcast option). This stuff is available to both offline and online nodes, just make sure you've set the user mode to expert.
c) From this dialog, you will first sign the transaction. This will update the blob with the signatures.
d) From this same dialog (if you're doing this from an online wallet), or after loading the blob on your online instance, you can either broadcast the transaction, or copy the raw hex tx. Choose the latter.

Broadcasting the raw tx

You can broadcast transactions in hex format from the Core RPC using the sendrawtransaction command. There are 2 ways to do this:

A. If you're using the bitcoin-core-qt (the GUI), this is as simple as going to the console tab, writing sendrawtransaciton then pasting the hex tx in quotes. If you can't see that tab in the GUI, restart it with -disablewallet.

B. You can also do this from any terminal/command line prompt by sending the same command within a JSON packet to Core's RPC. This is a somewhat involved process, so I'll let you search for a guide to walk you through the steps (they're not that hard to find).
149  Bitcoin / Armory / Re: Armory-Transaction through BitcoinCore running as TOR-hidden-service on: November 26, 2021, 05:42:12 PM
Quote
My armory wallet appears as WITNESS - Inboundconnection at the Bitcoin-qt as Node 127.0.0.1:51266 through 127.0.0.1:8333.

So I guess I have to enable my Armorywallet within the bitcoin.conf to access the TOR-network.

This is really weird. Armory does not access the WAN at all. It only talks to your node on localhost. If your node is seeing Armory, broadcast should work. Maybe your settings prevent tx relay? Or "onlynet=onion" is rejecting the connection from localhost, which is not correctly reflected in the node count. At any rate, you can copy the raw tx from Armory and broadcast it directly with Core.
150  Bitcoin / Armory / Re: debian 11/bullseye deps on: November 21, 2021, 03:01:43 PM
Latest commit in dev should be able to create & sign unsigned transactions. It may choke while converting wallets, checking that next.
151  Bitcoin / Armory / Re: can't send Bitcoins out of Armory? on: November 15, 2021, 07:50:05 PM
Core signaling is unrelated, that's Taproot activation. While this doesn't affect Armory, you should consider updating Core.

With regards to Armory and signing your transactions, please elaborate on the step by step process. I don't want to assume anything you are doing or I'll be drawing false conclusions.
152  Bitcoin / Armory / Re: debian 11/bullseye deps on: November 14, 2021, 04:37:55 PM
Starting Ubuntu 19, py2 was not installed by default anymore. You could however install it, as well as qt4, and all the necessary dependencies for Armory. That accelerated quickly however and the whole thing was dumped unceremoniously in Ubuntu 21. I don't blame them however. I've lost track of that tbh, I use Manjaro these days. I may just bite the bullet and go full Arch and never look back.

Python is now just a runtime for the GUI. The blockchain service and wallet manager/signer are now fully headless C++ processes. The GUI is a dumb interface that implements as little mechanisms as possible. Every minute operation in the GUI is deferred to the wallet manager, from converting scripts to address strings to coin selection. The wallet manager interfaces with the blockchain service to keep track of balance and transaction history.

I stuck to Python cause all of Armory's legacy UI is hardcoded as qt4 dialogs and widgets. I intent to use QML to implement new UI elements going forward, and then maybe dump the Python/Qt dependency altogether and migrate the QML to something more modern like Flutter.
153  Bitcoin / Armory / Re: can't send Bitcoins out of Armory? on: November 14, 2021, 08:59:08 AM
0.92.x can only spend from older address types. If you picked a more recent address type, 0.92 won't be able to make sense of it. You'd have to update Armory on your offline signer.

Quote
First error I get was I must change to "auto" address type that changes the address from a PKG2 (?) to a different type to protect my privacy?

The change address is where your coins go back to. If all the recipients in a transaction are spending to modern address types (SegWit) and there is only one legacy type address (P2PKH), blockchain crawlers will look at the address type of the origin coins, and deduce the legacy type recipient is your change. Armory detects this and recommends you modify the change address type to obfuscate it.
154  Bitcoin / Armory / Re: debian 11/bullseye deps on: November 14, 2021, 08:46:08 AM
you're using pyside instead of qt?

PySide2. It's an officially maintained version of Qt5 for Python, but with a less restrictive license than PyQt5.

Quote
that bypasses the qt version somehow?

It doesn't, I'd have to use PySide6 for Qt6 (there's no PySide 3-4-5, they just went from 2 to 6)

Quote
it seems that qt4 doesn't exist on debian bullseye

You can build qt4 from source and install locally (look up qt-everywhere). Maybe there's a pyqt4 version on pip that statically links to qt4 and you wouldn't even need to install qt4.
155  Bitcoin / Armory / Re: debian 11/bullseye on: November 13, 2021, 09:15:59 PM
I'm guessing any psutil functions were rolled into python3 "native" libraries, which doesn't help at all :-/

Got rid of that dependency in the py3 version entirely. It's used to spawn processes and watch over the PIDs for what its worth.

Quote
to what extent is dev branch at github.com/goatpig/bitcoinarmory usable for everyday stuff?

Unlock wallet flow is a bit busted atm, have to fix it. I suspect the offline signing will throw some exceptions along the way. Nothing design related though, most likely syntax issues (Qt4 doesn't translate 100% into PySide2) and missing imports (I've been refactoring the massive qtdialogs file into a collection of smaller files, in part to get rid of the circular imports). I've signed offline transactions on testnet before but went through some more refactoring lately so I expect some cleanup ahead of me. Could be fixed sometimes in the coming week. That aside, the wallet creation dialogs are probably busted, same with comments (doesn't map over to the new wallet format yet), and the migration dialog from old to new wallets is thread bare.

Be warned, the build system isn't super user friendly right now.
156  Bitcoin / Armory / Re: Select coin source from 2 different wallets on: November 11, 2021, 10:36:19 AM
You can't really do this with current Armory. You'd have to manually manipulate the unsigned transaction or import the priv keys from one wallet to the other. I'll make a not of adding this functionality to the next version.
157  Bitcoin / Armory / Re: armory stuck scanning transaction history win10 new wallet on: November 08, 2021, 07:30:20 PM
-INFO  - 20:09:41.906: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:401) Starting address registration process

It would be easier if you presented full logs, it's hard to go off with just this. For now, the line suggests something went wrong when registering addresses with the DB, which is to say that never started scanning in the first place.
158  Bitcoin / Armory / Re: Armory 0.96.5 on: November 08, 2021, 07:28:22 PM
0.96.5 won't be able to spend to native taproot addresses. I'm working to add full support for that address format among other things.
159  Bitcoin / Armory / Re: Lost wallet password from 2017 on: November 08, 2021, 07:27:00 PM
Armory's KDF is particularly resource intensive. Unless you can remember most of your password, you are unlikely to crack the wallet within your lifetime.
160  Bitcoin / Armory / Re: chain code validator on: November 05, 2021, 08:14:21 AM
Quote
By using only the root key in the restore process does that in itself prove the balance is zero?

The chaincode is an integral part of how the addresses are generated, you cant skip it.

Quote
You mention recreating the chain code from 2 consecutive private keys, but I thought that it was random in the old style wallet.

The chaincode is unique and static for the lifetime of a wallet. 1.35c derives the chaincode from the root key, older versions pull 32 random bytes and use that instead. The chaincode is then used to generate key pairs on the chain.

Im not gonna delve in the math but basically to get the privkey N+1, you multiply privkey N by the chaincode. You do the same operation with the public keys. EC maths makes it so that pubkey N will match privkey N, even if you generated pubkey N without ever having knowledge of any private key (that's how we can have deterministic watching only wallets).

You cannot divide public keys because that operation does not exist in EC math, so you can't reveal the chaincode by looking at pubkey N and N+1. You can however do that with 2 consecutive private keys, since they are only scalars:

Code:
priv[N] * chaincode = priv[N+1] 
<=>
chaincode = priv[N+1] / priv[N]

Quote
You say there is some way to recreate the chain code?

Unless you have private keys, no. The chaincode for your wallet is a random number, it has no relation to your rootkey, you're going to have to remember it or find an old wallet file with some private keys in it.
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 ... 233 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!