Bitcoin Forum
May 25, 2024, 06:33:02 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 ... 233 »
401  Bitcoin / Armory / Re: Splitting Drives for Core and Armory on: February 22, 2020, 09:07:38 AM
any ideas on how big bc core / blocks and chainstate total storage required is?

/blocks: 278 GB
/chainstate: 4.15 GB

Quote
is there a good summary on the web of which directories / files that btcore and armory create & access?

Core saves the chain in datadir. Assuming your system is in C: and your user name is RAM103, it would default to:

Code:
C:\Users\RAM103\AppData\Roaming\Bitcoin

Armory saves its db in dbdir/databases. If you do not specify a custom dbdir, dbdir will be datadir. datadir carries the wallets and settings. It would default to:

Code:
C:\Users\RAM103\AppData\Roaming\Armory
402  Bitcoin / Armory / Re: Splitting Drives for Core and Armory on: February 21, 2020, 10:32:46 AM
Block files aren't necessarely 128MB, some earlier files can be as large as 1-2GB.
403  Bitcoin / Armory / Re: Armory and Windows 10 and port 9001 on: February 17, 2020, 09:09:03 PM
When you let ArmoryQt spawn the DB, it randomizes the port for the DB and passes it to a cookie file that the DB reads from.
404  Bitcoin / Armory / Re: Armory and Windows 10 and port 9001 on: February 14, 2020, 02:49:41 PM
This is telling you there's a zombie instance of ArmoryDB, you need to shut that down.
405  Bitcoin / Armory / Re: Armory and Windows 10 and port 9001 on: February 14, 2020, 09:03:49 AM
Are you sure the DB is actually running?
406  Bitcoin / Armory / Re: Building databases stuck on 0% - id: 1224 on: February 12, 2020, 06:44:30 PM
Sorry if this is obvious but how do I find the database folder?

C:\Users\Christian\AppData\Roaming\Armory\databases

Quote
Also, where can I find 96.5? The Armory website has 96.0 as the latest version..

https://btcarmory.com/
407  Bitcoin / Armory / Re: Building databases stuck on 0% - id: 1224 on: February 12, 2020, 07:39:14 AM
Delete the databases folder and update to 0.96.5
408  Bitcoin / Armory / Re: Armory has stopped working after Bitcoin Core crashed once on: February 10, 2020, 07:02:12 AM
1) Delete your log files

2) Start Bitcoin-Qt manually, let it sync

3) Start Armory, see how that goes.

4) If that fails, nuke your databases folder (C:\Users\Udeshs\AppData\Roaming\Armory\databases) and try again
409  Bitcoin / Armory / Re: Coin transfer confusion on: February 07, 2020, 07:10:34 AM
Quote
are my coins lost ?

No

Quote
I have the transaction hash can i recover with that ?

No

You need the private keys in your wallet to recover your coins. Make sure you have a wallet backup. If you don't, go an make one. Do not delete the wallets/armory datadir unless you are 100% sure you have a backup.

Next step is to start Core and let sync 100%. Then update Armory, delete the databases folder (defaults to ~/AppData/Roaming/Armory on Windows) and start Armory while Core is already running. This should sync and let you spend your coins.
410  Bitcoin / Armory / Re: Glacier Protocol on: February 01, 2020, 12:18:24 PM
I use a RPi for signing myself, though the carrier is a USB stick (the RPi is never directly connected to my online machine, and it never was connected to internet in the first place).

There has been proposals to either add an audio modem or an animated QR code codec as extra transfer channels. In general smart cards are better than USB keys because the USB protocol and handshaking is significantly richer than that of smart cards, which are only ever storage devices. There's arguable minor benefits to be had from DMA access to the storage device vs going through the driver.

For the more paranoid, you could write the data back and forth by hand, or burn CDs.
411  Bitcoin / Armory / Re: Generate armory wallet addresses with Bit-Wasp / bitcoin-php on: January 20, 2020, 08:21:36 PM
armoryd talks to ArmoryDB, not bitcoind. ArmoryDB needs a local bitcoind. Clients such as ArmoryQt and armoryd connect to ArmoryDB only, through a socket. That socket is however not encrypted, so it's on you to secure that stuff.
412  Bitcoin / Armory / Re: used addresses marked as unused on: January 20, 2020, 08:19:01 PM
Quote
Then I suppose the problem is in the C++ code (watching only wallet --> C++ , normal wallet  --> python ?)

Most likely the state is lost when the address objects on the cpp side are updated to reflect the new entries.

Quote
What is the difference from

Security: Watching-only

and

Security: Offline ?

They are both watching only wallets, but "offline" ones are flagged as yours. The assumption here is that since you have gone out of your way to flag this WO wallet as yours, you have access to the private keys on an offline machine.
413  Bitcoin / Armory / Re: used addresses marked as unused on: January 20, 2020, 07:03:29 PM
Unfortunately there is nothing of note in the log. What you are experiencing is a bug, the tx counts shouldn't be reset after generating an address. There is little point in chasing down this bug, I'm in the process of rewriting this section of code for the next version.
414  Bitcoin / Armory / Re: Generate armory wallet addresses with Bit-Wasp / bitcoin-php on: January 20, 2020, 08:30:31 AM
AFAIK, Armory doesn't generate private keys in the same way as BIP32 type wallets etc... It is using a proprietary system. So, I don't think you'll be able to export a "Master Public Key" from Armory, and have other wallet apps/libraries reproduce the same keys/addresses as your Armory wallet.

You options would then be to generate keys/addresses externally to Armory, and then import them to Armory... or you would need to use a different wallet that supported the BIP32 standard that I believe bitwasp is using.... that way, you would be able to export a "Master Public Key" from your wallet... and Bitwasp should be able to derive the same public keys/addresses without needing to expose the underlying seed/private keys.

You can export Armory public roots. You'd have to implement the address chain derivation code in php most likely. Your best bet is to setup your stack to talk to an instance of armoryd, which will handle the wallet stuff, spit out new addresses, and monitor the blockchain for you. It works over JSON-RPC.

https://github.com/goatpig/armoryd
415  Bitcoin / Armory / Re: used addresses marked as unused on: January 20, 2020, 07:35:47 AM
Can you post the logs for the online instance of Armory?
416  Bitcoin / Armory / Re: How to convert the backup phrases to a standard HD extended private key? on: January 16, 2020, 06:56:48 PM
In 1.35c, etotheipi figured he could generate the chaincode from a HMAC of the root, which led to the current 2 strings backups (32 bytes of data). I have no recollection of ever using wallets with a chaincode generated from the bad HMAC (I've been actively contributing the Armory since September 2014). I'm guessing there is a narrow window during which users have generated wallets with the bad HMAC?

In my opinion all wallets are generated with the bad HMAC.

https://github.com/goatpig/BitcoinArmory/blob/dev/armoryengine/ArmoryUtils.py#L1941

Ah I see my mistake now. I didn't think etotheipi's home baked HMAC was still in use. My code relied on cryptopp and now libbtc, which have correct hmac implementations. etotheipi one's botches the pad xoring indeed.

Quote
Because you use the same wrong size (32 instead of 64):

My code uses a proper HMAC implementation (cryptopp/libbtc). I've never ran into this issue because my code rips the chaincode along with the root key from the python wallets in order to convert them to the new format. I went ahead and assumed it generated the chaincode from the root instead, which is why I mistakenly concluded the old python code was using a proper HMAC.

Turns out the new code only generates chaincodes at wallet creation (wouldn't affect preexisting wallets) and when restoring from the root. I have yet to restore python wallets with the new code (they're converted on the fly atm), at which point I'll face this bug directly.
417  Bitcoin / Armory / Re: How to convert the backup phrases to a standard HD extended private key? on: January 16, 2020, 09:15:10 AM
I'm not too sure what's going on here, this was prior to me era of involvement. Armory went through a change in its chaincode generation from v1.35 to v1.35c. Prior to 1.35c, the chaincode was generated as its own PRNG value, with no relation to the root value. As a result, paper backups had to carry 4 strings (64 bytes worth of data).

In 1.35c, etotheipi figured he could generate the chaincode from a HMAC of the root, which led to the current 2 strings backups (32 bytes of data). I have no recollection of ever using wallets with a chaincode generated from the bad HMAC (I've been actively contributing the Armory since September 2014). I'm guessing there is a narrow window during which users have generated wallets with the bad HMAC?

Armory in my dev branch is running off of libbtc instead of cryptopp, and it manages to recover older wallets with the expected data, so I wouldn't be too worried about implementing support for the botched HMAC. I'd just leave that as an unsupported edge case and deal with it when I'd actually run into it, if ever. Keep in mind that the current state of master most likely can't deal with these "bad" chaincodes.
418  Bitcoin / Armory / Re: How to convert the backup phrases to a standard HD extended private key? on: January 04, 2020, 09:46:29 PM
Armory is set to never grab the same address twice. Generating a change address means to increment the use counter and grab the underlying address. You'd need user action to break this behavior, like using the wallet across several processes or restoring the wallet from a backup.
419  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.
420  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.
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 ... 233 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!