Bitcoin Forum
July 05, 2024, 05:24:00 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 68 69 70 71 72 ... 233 »
421  Bitcoin / Armory / Re: How to convert the backup phrases to a standard HD extended private key? on: January 04, 2020, 11:39:05 AM
Quote
1) how does Armory generate the change addresses?

Grab the next unused address in the chain

Quote
2) when you restore a wallet from its Root Key, how many addresses are checked to retrieve the total balance? Maybe it tries until it finds at least 100 consecutive addresses without tx, or more?  I did a test, it stops after 1000 consecutive addresses.

Scan all 1k addresses in the lookup.
422  Bitcoin / Armory / Re: How to convert the backup phrases to a standard HD extended private key? on: December 26, 2019, 10:50:54 PM
Those are pointing to the dev branch, which is in constant flux. You can look at the code in the master branch:

https://github.com/goatpig/BitcoinArmory/blob/master/cppForSwig/EncryptionUtils.cpp#L749

Quote
You confirm that if a single private key was revelead the entire wallet is compromised?

Private key N with the chaincode will let you compute all private keys beyond N. To compute private keys prior to N, you need all public keys preceding N as well. Both chaincode and public keys are considered known data (as they lay on online computers), hence the generalization that revealing a private key within the chain is as good as revealing all private keys in the wallet.

Keep in mind that you shouldn't treat soft derived BIP32 private keys with any less care, as the same property applies:

Quote
One weakness that may not be immediately obvious, is that knowledge of a parent extended public key plus any non-hardened private key descending from it is equivalent to knowing the parent extended private key (and thus every private and public key descending from it). This means that extended public keys must be treated more carefully than regular public keys.

It is good practice to not reveal your wallet's private keys, regardless of the derivation scheme. Consider the wallet compromised if you did, and move the funds out.
423  Bitcoin / Armory / Re: How to convert the backup phrases to a standard HD extended private key? on: December 26, 2019, 06:02:54 PM
That quote gives you links directly to the code.
424  Bitcoin / Armory / Re: Stuck at "organizing blockchain" for 20+ hours on: December 25, 2019, 07:16:17 PM
Post your logs.
425  Bitcoin / Armory / Re: Armory delete function security on: December 15, 2019, 12:10:01 AM
Use a 3rd party specialized in this. Deletion is out of scope for Armory. Note that it's significantly easier to reach "assumed safe" level of deletions with SSDs than with HDDs.
426  Bitcoin / Armory / Re: Armory stuck on "Preparing Databases" on: December 09, 2019, 02:30:04 PM
Quote
Kind of an ominous blaring kick in the nuts that when I see it prune the blockchain down, SOMETHING CHANGED.
But no Armory update to address recent changes......
SO here we sit....

You cannot design a blockchain service that fully indexes your wallet's history against a node that prunes that very history.
427  Bitcoin / Armory / Re: Output amount is wrong on: December 03, 2019, 08:17:06 AM
For an exampel if I preveiw a transaction where the send amount is 0.12 BTC with a fee of 0.00004 and preciew another transaction where the send amount is 0.19 BTC with a fee of 0.00004 then "Sum of outputs" of both the preciews is 0.2 BTC. I guess that I once had an input of 0.2 BTC?
However, is this wrong? Should it be 0.12 BTC + fee as an output and 0.19 BTC + fee?

I don't know if it matters but I restored my armory wallet. If I hover the question mark of the "sum of outputs" it says:
"Most transactions have at least a recipient output and a return-change output. You do not have enough information to determine which is which, and so this fields shows the sum of all outputs".

My armory is online and I can make transactions with it. Wallet version is 1.35

A bitcoin transaction is broken down into 2 section.

1) Inputs point to previous outputs, they redeem the entire value of their respective output and make these available to the transcation

2) Outputs assign the available balance to new recipients. Any value that is no assigned is burned as fee.

The "sum of outputs" field informs you about how much BTC was redeemed by the transaction's inputs. The wallet assigns your spend value to the payment address, and the left over back to one of your addresses as change. In the transaction detail dialog you can see the change as greyed out.

You should always compare the sum of outputs value vs what you are paying, and if they differ, make sure your transaction has a change output. These are the baseline steps to verify your transaction before signing, besides double checking the payment address and spend value.

Quote
Armory is  a good wallet, but there are many better  imo. Electrum.org is a better one and electrum allows you to see each input you have (it is called Coin, in coin tab)

Armory had coin control before Electrum had deterministic wallets.
428  Bitcoin / Armory / Re: Armory 0.96.5 won't start in Linux Mint 19.2 Cinnamon Tina on: November 14, 2019, 01:57:51 AM
I'll keep pushing builds for older hardware, no reason to stop doing those.
429  Bitcoin / Armory / Re: Armory 0.96.5 won't start in Linux Mint 19.2 Cinnamon Tina on: November 13, 2019, 12:13:54 PM
How does one correctly decide if a computer is compatible with gcc7.2 or gcc4.9? In my case, my Intel486 Laptop works great with gcc4.9. However, it does not work with gcc7.2.  In contrast, my Ubuntu desktop PC works great with gcc7.2. 

Based on your OS. gcc4.9 is built on a dedicated offline debian 8 laptop. This is to provide builds for people who use older systems as their signer mostly.

Quote
Also what does the acronym "NOASM" represent?

CPU manufacturers add extra silicon on top of the baseline Intel x86 and AMD64 for specific calculations. Stuff like AVX, baked in AES, the old MMX and so on. All that stuff is instruction sets that are not part of the baseline. If you allow your compiler to build against those, you get a performance boon, but older CPUs without the dedicated silicon can't run the software. If you turn off the compiler's access to these instructions, the code will run on anything that's x86/x64 compliant.

The "No ASM" tag signifies that these optimizations are turned off. This is due to how they get enabled the in the first place: GCC will read the C++ code and interpret it into assembly. Assembly code isn't very human readable. The lingo just isn't intuitive, and revolves around registers, which are specific addresses to certain CPU resources.

A simple example: in C/C++ and any other language designed for humans, you perform additions by writing them out as you would on paper. To add a to b and get the result in c you do "c = a + b". In Assembly, you'd have to load a in the first addition register, b in the second addition register, and read the result in the result register. This is why we use compilers, to avoid having to go through that mess.

The extended instruction sets  you see in modern CPUs allow you to perform some operations much faster than just using the plain old x86 stuff. One example is pulling 2 128bit integers and adding or multiplying them in as little as 3 cycles instead of breaking down the operation to multiple 32 or 64 bit operations, each costing a few cycles.

Now don't get the wrong idea, the compiler doesn't interpret your code to use extended instructions on a whim. This typically has to be enabled by humans, and more often than not you gotta get your hands dirty and implement in pure ASM to squeeze performance. In the case of Armory, the crypto library it uses has a bunch of these assembly sections to leverage extended instructions, most notably for AES. In this case, NOASM means "turn off all of these optimizations, just use old x86".

The goal is to allow people to use Armory on older hardware. It goes in line with using gcc4.9, to allow for older machines to be recycled into offline signers for the most part, since the performance cost of offline Armory is negligible even on 20 years old machines. The builds with recent GCC has a all optimizations enabled and is meant for recent machines using online Armory, which is resource intensive.
430  Bitcoin / Armory / Re: Using Armory on the BCH chain on: November 12, 2019, 12:53:18 PM
This feature is long dead and I'll remove all BCH signer code in the next release to boot. Therefor, I'm going to unsticky this thread.
431  Bitcoin / Armory / Re: Armory 0.96.5 won't start in Linux Mint 19.2 Cinnamon Tina on: November 12, 2019, 12:50:50 PM
Try the noasm .deb
432  Bitcoin / Armory / Re: ArmoryDB crashes after completing transaction history scan on: November 03, 2019, 10:11:25 AM
Update to 0.96.5, delete the DB and start over.
433  Bitcoin / Armory / Re: Armory on macOS: Requires openssl installed with homebrew on: October 31, 2019, 10:17:15 AM
The issue is more PyQt than Mac tbh. Some modules depend on OpenSSL (QtNetwork is the chief culprit), and PyQt includes everything Qt has to offer by default. Using Qt at the C++ level, you could probably avoid that kind of overzealous linkage.
434  Bitcoin / Armory / Re: Armory on macOS: Requires openssl installed with homebrew on: October 31, 2019, 01:23:23 AM
Huh so what depends on openssl? libbtc?

Qt
435  Bitcoin / Armory / Re: armory (0.96.5) is only offline on my PC on: October 19, 2019, 05:24:05 PM
Code:
[code]
Database bitcoin core (only one log):
D:\database

Blockchain:
D:\blocks

You should skip these two, they complicate your setup. Let Core handle that pathing for you. Once you're setup properly, they will default to these :

Code:
D:\Bitcoin\new\home\dir\chainstate
D:\Bitcoin\new\home\dir\blocks

**************************************
Bitcoin Core setup:

Quote
1) Create a shortcut of bitcoin-qt.exe

2) In the target field, add -datadir=D:\Bitcoin\new\home\dir

This will allow Bitcoin core to use this path for its settings. You need to customize the Core settings for your system:

Quote
1) In your Core datadir (D:\Bitcoin\new\home\dir), create a text file and name it bitcoin.conf

2) Add the following lines in there:

Code:
server=1
cookie=1

Start bitcoin-qt from the shortcut and let it download the blockchain.

*******************************
Armory setup:

Quote
1) Create a shortcut of ArmoryQt.exe

2) Add this to the target field: --datadir=D:\Armory\new\home\dir\Armory

Same as with Core, this tells Armory where to look for its settings and wallet data. Now for the Armory specific settings:

Quote
1) Create a file named armoryqt.conf

2) Add the following in there:
Code:
satoshi-datadir=D:\Bitcoin\new\home\dir

Once Core is done downloading the chain, start ArmoryQt with the shortcut and you should be good.[/code]
436  Bitcoin / Armory / Re: armory (0.96.5) is only offline on my PC on: October 17, 2019, 02:55:20 PM
Quote
2019-10-16 10:51:29 (INFO) -- ArmoryUtils.pyc:1285 - Invoked: D:\Armory\new\home\dir\Armory\ArmoryQt.exe

Armory wasn't invoked with any of your command line arguments. I don't know why you're putting spaces everywhere, that will definitely break paths.

Quote
--datadir = <D>: \ <D: \ Armory \ new \ home \ dir \ Armory> - satoshi-datadir = <D>: \ <D: \ blocks>

This stuff is just insanity. Give me the path for your Armory Data and Bitcoin Core data, I'll tell you how to setup.
437  Bitcoin / Armory / Re: Problems installing Armory on Windows 10 on: October 09, 2019, 09:24:57 AM
ASCII is basically the western alphabet encoding. If you are using "exotic" characters such as Arabic, Chinese, Hebrew and the like, they cannot be encoded with the ASCII standard, you'd have to use UTF to represent them.

The folders you referred to are for the binary installation. The "install" I am talking about is the where on your system the Armory wallet and settings are saved. This is a different folder from the one that holds the binaries.

On Windows, it defaults to:

Code:
C:\Users\*username*\AppData\Roaming\Armory

Where *username* is the name you have given to your user account during the Windows install. If this name uses non ASCII characters, Armory will fail to run.

You need to first confirm this is the issue, then set your Armory user folder to an ASCII only path. For that, you need to create a shortcut of ArmoryQt.exe and add "--datadir=*custompath*" in the target box, where *custompath* is whatever folder you choose.

You can search the web for "ASCII table" for the list of acceptable characters for the custom path.
438  Bitcoin / Armory / Re: Problems installing Armory on Windows 10 on: October 07, 2019, 09:47:52 AM
Do not install Armory in a folder that has non ASCII characters.
439  Bitcoin / Armory / Re: Not enough UTXO's will result in loss of privacy. on: September 13, 2019, 08:21:43 PM
Armory is warning that it has to unrelated UTXOs together to meet the value of your desired payment. This erodes your privacy because if you move forward with this transaction, all these UTXOs will now be related.

There is no risk of coin loss, just privacy loss. Financial privacy is significant however, don't damage if you don't need to.

What you can to go around the issue is manually select UTXOs you know are fine to mix/use for that particular payment.
440  Bitcoin / Armory / Re: PPA vs. DEB install. Which is better for Armory & Bitcoin Core? on: September 09, 2019, 05:48:46 AM
Quote
But once I was in solely in charge of keeping my own money safe, my attitude quickly changed

Then he went full Kubernets. Never go full Kubernets!
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 68 69 70 71 72 ... 233 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!