Bitcoin Forum
May 25, 2024, 10:03:51 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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 ... 186 »
741  Bitcoin / Armory / Re: Vista 32bit for offline wallet? on: November 21, 2013, 09:08:52 PM
I got a Linux buddy to do the GPG signing test on the stable release (64 bit), because I thought that was best for cold storage, but  then remembered the cold PC was 32 vista.

Can I use that as it doesn't need to synch, or would you recommend the google 32 bit release or current beta?

If so I will re-do the check on one of those tomorrow?



Sorry, I should've been clear... the 32-bit version will work fine offline because it uses no RAM or other resources in offline mode... but most people download it to use it offline and then send me nasty emails about the results.  So I removed it and send the link to people like you Smiley

You won't be able to run the 64-bit version on 32-bit (though, typically 32-bit apps can run on 64-bit Windows).  You'll need to download the new version... and/or use the latest version just posted (0.89.99.14 ... soon to be .16).
742  Bitcoin / Armory / Re: Armory - Discussion Thread on: November 21, 2013, 08:51:42 PM
I was helping a newcomer set up an Armory wallet (he's on .89.9x). He wanted to create a paper backup. He hadn't yet created an address for it.

When he went to create the paper backup, only the root key was printed out, not the chain code. Is the chain code essential for importing the wallet later?

ETA: -And could you tell me why Windows XP isn't supported? Is it just because you don't have it to test on for each new release, or are there significant known issues?

I'll let goatpig explain about the XP issues -- basically our new build system doesn't natively support it.  Luckily, Goatpig appears to have a solution!  We'll implement that in 0.91 (after this release).

As for the backups: yes, wallets created with the new version only contain the root key.  The chaincode is now derived from the root key, and thus does not need to be backed up.  The system detects whether the chaincode needs to be backed up, and then prints a 4-line backup if it's needed, 2-line backup if not. 

I know it's confusing, but there was really no reason not to do it, besides the confusion around questions like these!  You cannot create a 2-line backup with wallets created with 0.88.1 earlier.  Yet, backing those up with the new system (with SecurePrint and/or Fragmented), still work, and will use four lines. 

When in doubt, use the backup tester!  I put it in to calm users' nerves about issues like these Smiley
743  Bitcoin / Armory / Re: Vista 32bit for offline wallet? on: November 21, 2013, 08:44:39 PM
Thank you Alan

Can we use this object..... 

Version 0.88.1-beta for Windows 64-bit [torrent]

as it looks like and exclusive 64bit package, and I can't find a comparative 32 bit package.



You can find a 32-bit version on the old google-code download page:

https://code.google.com/p/bitcoinarmory/downloads/list

It didn't post it to the website, because I didn't want people to think they could use the 32-bit version online, because (in 0.88.1) it used 6+ GB of RAM.  The new version works in both 32-bit and 64-bit. 
744  Bitcoin / Armory / Re: Sweep vs. Import? on: November 21, 2013, 08:20:10 PM
I was under the impression sweeping would move the coins off-chain without incurring any possible transaction fee, and would do this instantly without need for confirmations. The more I think about it, the dumber that sounds as the rest of the network would have no idea those coins were "moved" in the first place.

I'm now a bit confused as to why someone would wish to sweep coins at all. It seems you need to have total control over both wallets in either scenario. You're also advising to never "delete" a wallet. If sweeping still means the coins get sent as a transaction to a new address, how is this different than a normal send?

In my question I do not care at all about signing messages or proving ownership at a later date. I'm more interested in keeping funds secure and organized. I also do not care about the astronomically remote chance of a private key collision.

So, the million dollar question: Why sweep at all, ever? Would the best course of action to be keeping all of the older wallets empty after draining them with a single transaction to the armory wallet, which would consolidate everything?


It is only recommended you use "Import" when you are sure you're the only person who's ever seen the private key, and you plan to use it again.  Since address re-use is discouraged, the only real reason would be for vanitygen addresses which are frequently used without.  Otherwise, always sweep, especially for Casascius coins and paper wallets which have been passed around.

WHy?  Because it's extremely dangerous to add private keys to your wallet that other people have seen.  You open yourself up to situations where someone "sends you money" by sending it to the address that they have the private key for.  It shows up in your wallet and looks like it's yours.  You act on the assumption that the money is yours, then they sweep it back to their own address.  This is a major attack vector against someone who accepts large amounts of money for services.  You pay, they serve, you sweep, they're screwed.

And don't fall for the argument that "all keys should be held on forever in case someone sends more money to it."  Someone randomly sending money to a private key that has become public is like dumping money on the ground.  Any actions you take to "watch that address" is like walking around your neighborhood every day hoping someone accidentally dropped $1 bill.  One day you might get lucky and find $1, but you have better things to do with your time, and it's best not to pollute your wallets with mixed-origin private keys. 

You want to know that when you receive money to any of your wallets, it's really yours.  If there's no reason to believe the key will ever be used again, sweep it.
745  Bitcoin / Armory / Re: Vista 32bit for offline wallet? on: November 21, 2013, 08:08:28 PM
Any good guys, or should I stick to 64bit for cold storage with windows OS?

New beta release working great for online wallet, 64 bit Windows 7 machine (4gb ram)?

Well, we naturally recommend Linux for the offline computers, and we've gone to great lengths to make it as easy as possible (default OS install options, unpack and run offline bundle from website).  But it's not a good recommendation if you have never touched Linux before, because inevitably you have to do some other things in the OS occasionally, and it can be scary Smiley

32-bit vs 64-bit doesn't matter.  There shouldn't be any performance or security difference between the two.
746  Bitcoin / Armory / Re: change-back-to-self address on: November 21, 2013, 04:46:07 PM
When you go to a store and try to pay for your candy bar with a $20-bill, the cashier takes your $2.29 and gives you $17.71 change.  This is the same thing: your outgoing transactions have to combine multple previous transactions (bills) to pay the target amount, but frequently overshoot.  For instance, when you try to pay for 0.1 BTC, you might have to use a 3 BTC input to construct the transaction, then you'd actually create two outputs fro the tx:  0.1 to the target recipient, and 2.9 back to yourself. 

Armory creates a new address in your wallet (always protected by your paper backup) for these change outputs.  It marks them with that comment so that you know you didn't create that address yourself.  All of them are still part of your wallet and [most importantly] are still protected by your paper backup.  It's just a quirk in the way the Bitcoin transactions work.
747  Bitcoin / Development & Technical Discussion / Re: SIGHASH_WITHINPUTVALUE: Super-lightweight HW wallets and offline data on: November 21, 2013, 04:19:59 PM
Sorry but I don't think this is worth hard forking Bitcoin over. For validating a signature we currently need only the input (if it's signed). This change increases the number of dependencies for signature checking code. Namely Bitcoin validation nodes now need to fetch the previous output. This could seriously complicate the design and functionality of Bitcoin nodes if widely used. It is a good idea, but there are many ways to improve Bitcoin. I'm not sure Bitcoin is made for these things and should stay more simple and focused (like UNIX vs the other operating systems).

http://www.gwern.net/Bitcoin%20is%20Worse%20is%20Better?2

Bitcoin works because it doesn't try to do much. If we want to maintain a decentralised and open Bitcoin, I think it's a bit of a slippery slope to throw every feature we get excited about into Bitcoin.

Did I miss something or did you?  The only thing this does is simplifies things for the signer, and negligible impact for the verifiers.  The verifier still has to go fetch the previous TxOut to get its scriptPubKey to cram into the TxIns before signing.  All this does is say "if this SIGHASH bit is on, also grab the value from that TxOut and prepend it to the scriptPubKey".  That simple change allows an offline signing device to sign transactions confidently without having to see the entire previous transactions being spent.
748  Bitcoin / Development & Technical Discussion / Re: SIGHASH_WITHINPUTVALUE: Super-lightweight HW wallets and offline data on: November 21, 2013, 08:07:59 AM
If it's so trivial to implement then where is your proposed implementation and BIP? It could be re-implemented fifty times through rejections and objections and still be less work that the true work associated with all the testing, wallet implementations, and alt-implementations associated with this idea.

I was talking about from the wallet design perspective.  Multi-sig & P2SH increases the complexity of the app.  This change is trivial leverage in your software and dramatically simplifies it.  I assure you I understand that any such changes are "not trivial" to implement in the protocol.  But it certainly doesn't hurt that it's so simple in concept...
749  Bitcoin / Armory / Re: Different versions online/offline on: November 21, 2013, 07:33:20 AM
There is exactly zero problems mixing and matching operating systems and Armory versions.  The communication between online and offline computers is done through pure-ASCII files on USB, and I don't think the protocol has changed one bit since Armory was released 2 years ago.  So even ancient versions of Armory can be used on the offline computer, with the latest on the online computer.  And as long as both OSes read and write ASCII files, there's no problem there either.

This is why it's rarely necessary to upgrade the offline system.  ECDSA signing hasn't changed, and BIP 10 hasn't changed (though it will with the new wallets, BIP 32, payment protocol, and multisig!).  However, I have added some extra things that help offline signing; like popup warnings when transactions exhibit suspicious patterns, etc.  But it's not critical to upgrade it.  

The exception is this version I'm about to release: some people may optionally upgrade because they want the fragmented backup features.
750  Bitcoin / Development & Technical Discussion / Re: SIGHASH_WITHINPUTVALUE: Super-lightweight HW wallets and offline data on: November 21, 2013, 07:27:14 AM
You'll have more luck pushing for this by developing a multisig wallet implementation and getting people to actually use it first - P2SH required a painful soft-fork yet years later it's still hardly ever used, making people question the value of new features. P2SH was something that everyone was supposed to be using by now because of the "obvious" security need; you're proposed reason for a soft-fork and associated system-wide risk is significantly more niche.

Slightly off-topic, but if it wasn't for the rapid blockchain growth and my procrastination in fixing Armory's scalability issues, I'd have Multisig-with-P2SH implemented already.  The problem is not the features being useless or unwanted, it's that there's such a shortage of human capital to make progress in this part of the Bitcoin development world.  There's so few environments where such a feature could be implemented, and so many other priorities of the few people developing those environments.

However, this particular change is trivial to implement, and dramtically simplifies implementation of any kind of offline signing device.  There's no doubt it would be used immediately by Armory and all the HW wallet developers.
751  Bitcoin / Project Development / Re: [BOUNTY] Help test next major release of Armory! [0.04 BTC/bug] on: November 21, 2013, 06:51:04 AM
Note, the disappearing tx bug has been found!  Just posted about it in the other thread.  Rapidly getting closer to a releasable piece of software!
752  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.14) on: November 21, 2013, 06:48:06 AM
Please help me find the disappearing-tx bug!  
I'll give 0.2 BTC to someone who finds the pattern!

I need your help with this one!  I'm going insane trying to figure out the pattern behind this bug.  90% of my tx go through fine.  It seems to only happen when I'm not paying attention.  

FOUND!  Bounty off.

Sadly, I actually found this bug yesterday, but thought that its behavior would occur 100% of the time I did some specific behavior.  When I tested and it didn't happen, I assumed that wasn't actually a bug (or the bug).  It turns out that was it after all, but it only triggers under very specific, infrequent conditions.  Frustrating! 

Also, CircusPeanut fixed the restore-backup entry fields misbehaving (putting the cursor in the middle of the input mask fields, instead of at the beginning).  That should remove some extra confusion (a lot of people got really tripped up by that!).

Will be attending to some of the things found in the bug-bounty thread and then will release a final testing version before the official 0.90-beta release.  There are still problems with the release, but at some point I have to just release it.  And this version has more than enough usability to replace 0.88.1 on the website.  Exciting!

753  Bitcoin / Armory / Re: Running Armory on Testnet on: November 20, 2013, 11:43:42 PM
Just posted signed installers, and hashes files.

https://bitcointalk.org/index.php?topic=299684.msg3657358#msg3657358
754  Bitcoin / Armory / Re: RAM-Reduction & Backup Center Testing (version 0.89.99.14) on: November 20, 2013, 11:42:56 PM
POSTED SIGNED INSTALLERS:

https://bitcoinarmory.com/download/

Since the installers are now posted on the official website, I decided I should go through the effort of offline-signing everything, even though it's not the final release.    You can download the SHA256 hashes file here (now with a note to reduce confusion about which hash function to use):

https://s3.amazonaws.com/bitcoinarmory-releases/armory_sha256sum_hashes_0.89.99.14.txt.asc

Note that the .deb files changed hashes since yesterday, because I took the liberty to GPG-sign (using dpkg-sig) the .deb files.  You can use "dpkg-sig --verify *.deb" to check them.  If the signature is good, you don't need to mess with the hashes file.
755  Bitcoin / Armory / Re: Failed import of private key on: November 20, 2013, 11:40:59 PM
Hey, I know this is old, but I'm trying to import a key created by Multibit into Armory, and it seems I have run into this same problem.

Is there a solution or workaround to import compressed keys ??

The only "workaround" is to wait for version 0.92-beta when we implement the new wallets and add native support for compressed keys.  There is just not any good ways to backport the old wallets to use them, that would be easier than just finishing the new wallet format (because there's such exhaustive testing that goes into changing wallet functionality like this, I'd prefer to just do it once).

Sorry, you'll just have to be patient!
756  Bitcoin / Armory / Re: Running Armory on Testnet on: November 20, 2013, 10:19:29 PM
First of all, this is the thread about running Armory on testnet!   I think you posted to the wrong thready by accident!  Move your reply and to the RAM-reduction thread and I'll move mine!



Website requires javascript to access the downloads section. That's a downer.

No .tar.gz for online systems? I'd rather have everything concerning armory under /home/armory than install a system-wide .deb.

Is the 0.89.99.14-testing .deb package signed?

Code:
$ dpkg-sig --verify armory_0.89.99.14-testing_amd64.deb 
Processing armory_0.89.99.14-testing_amd64.deb...
$ _

Oh, well I tried but my lucid is too ancient unfortunately:

Code:
armory depends on libc6 (>= 2.14); however:
  Version of libc6 on system is 2.11.1-0ubuntu7.13.

Pity!

(Edit: well I guess I could try to compile it)

So I don't usually go through the effort of signing the testing versions, but since they are posted on the website I will go through the effort.  I definitely should've done that (but I've been rather busy recently and it slipped my mind)...

Though, the tar.gz package is a good idea.  I hadn't thought of distributing one of those.  Also, compiling on Linux is pretty darned simple.  It's five lines at the terminal to install all dependencies and build (though I haven't tried it on 10.04 in a while, but I never had a problem with it).

I'll get some signatures on those things right away.
757  Bitcoin / Armory / Running Armory on Testnet on: November 20, 2013, 09:00:00 PM
If you want to run Armory on testnet, you'll have to disable auto-bitcoind and run Bitcoin-Qt or bitcoind in testnet mode manually.  And especially confusing is the fact that Armory and Bitcoin-Qt/bitcoind use inconsistent command line arguments.  For instance, you use "-testnet" flag with Bitcoin-Qt/bitcoind and "--testnet" flag for Armory (yes, one slash for bitcoin, two slashes for Armory).  To be more explicit:

  • Armory.exe --testnet
  • Go to settings, unselect "Let Armory run Bitcoin software in the background"
  • Close Armory
  • bitcoind.exe -testnet
  • Wait for it to synchronize
  • Armory.exe -testnet


Due to some quirks in the path resolution, if you want to use a custom directory for Armory and Bitcoin, the --datadir and --satoshi-datadir arguments are inconsistent.  For instance, if you moved both your bitcoin home dir and your armory home dir to F:\Bitcoin and F:\Armory, respectively, do the following:

Code:
bitcoind.exe -testnet -datadir=F:\Bitcoin
Armory.exe  --testnet --datadir=F:\Armory\testnet3 --satoshi-datadir=F:\Bitcoin

The problem is that Bitcoin-Qt expects the base bitcoin home directory, even for testnet, and will add the "testnet3" for you.  If you specify F:\Bitcoin\testnet3, it will run in F:\Bitcoin\testnet3\testnet3.  But I did not realize this when I setup the code for processing arguments, and Armory requires explicitly specifying the full path. 
758  Bitcoin / Project Development / Re: [BOUNTY] Help test next major release of Armory! [0.04 BTC/bug] on: November 20, 2013, 08:53:01 PM
Sorry guys, I dropped out of contact for a while to try to get some coding&development done.  I will get to all of the posts here eventually.   For now, I would just like to post a 0.2 BTC bounty as described in this post.  This bug is holding up the release schedule, and I can't reproduce it reliably. 

Many of you have reported this occurring at some point.  But I still don't have a solid pattern for it.  I have a couple things I think might fix it, but I won't know if I've fixed it unless I can reproduce it!

If you have gotten Armory fully online and can do some testing for me, help me find the pattern and claim the 0.2 BTC!

759  Bitcoin / Armory / Re: Armory Forks on: November 20, 2013, 06:05:44 PM
Hi barwizi,

I'm not sure exactly what will need to be done, because it's very dependent on the alt-chain you're developing for.  If it was something like Litecoin, you would change the header hash calculation.  Regardless of the alt-chain, you'll have to modify a bunch of the constants in the C++ and python code (magic bytes, address prefix bytes, port, genesis block).

Just some background on how the code is laid out:

Armory's primary goal was to implement as much as possible in python, because of the ease of implementation, error handling, corner cases, flexibility, etc.  However, python is dirt slow, so all the blockchain processing and crypto was implemented in C++, and pulled into the project through SWIG.  As such, the code is split into

C++ (in cppForSwig directory):  This where TheBDM is stored (The BlockDataManager).  It does all handling/scanning/tracking of 15 GB of blockchain, tracking of address balances, unspent output lists, transactions histories, ledger entries, zero-confirmation transactions, etc.  And it is where the crypto operations are executed (EncryptionUtils.h/.cpp).  All these things are accessed from python as if they're native python objects (thanks SWIG!).

Python (mostly just armoryengine.py):  Most everything else is in the python, with all the core in armoryengine.py.  ArmoryQt and qtdialogs is all GUI-related stuff, and may require only minimal updating.  Updating armoryengine.py is where most things would probably have to happen.  This is where the wallet format and operations are defined, interfaces to TheBDM, networking with Bitcoin-Qt (minimal), transaction processing, creation and verification, file formats, etc. 

Per my original statement, what will have to update the constants in the python code, and also pass those constants along to TheBDM so the C++ code is operating on the correct blockchain.

Armory is big and complex.  It will take some time to get into it and understand all the parts of it.  Sometimes I wonder how I'm able to keep track of all of it!   
760  Bitcoin / Development & Technical Discussion / Re: SIGHASH_WITHINPUTVALUE: Super-lightweight HW wallets and offline data on: November 20, 2013, 07:33:21 AM
The consensus seems to be that no one thinks it's worth doing this.  I still think it makes sense to do as one of those latent upgrades that goes in now but isn't active until 12 months from now.   But as you can see from the discussion some people are very focused on overhauling the SIGHASH system entirely, and don't think it's worth the effort to do this small change.  I disagree, but what can I do?
The consensus unlikely includes those developing wallets. It is the single most dangerous "feature" I came across while implementing Bitcoin that one is not able to validate the fee of a transaction on its own but need to retrieve its referenced predecessors. We should do this.

For reference, I specifically recall retep talking to Gavin about it on IRC shortly after his last post, and Gavin agreed that modifying the SIGHASH system was a bad idea.  I didn't feel like pressing it, at the time, though.

That's not to say that this can't be done or that Gavin and the other devs aren't persuadable.  But it would mean mobilizing support for it and presenting a strong case to those that are against it.  If the system was built with feature from the start, we'd all be happy and no one would have an issue with it.  It's more about convincing folks that the benefit is worth the trouble of making the change.  As you said... the people who most strongly support this are the ones actually developing software that has to deal with the megabytes of supporting transactions just to verify a few bytes.
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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 ... 186 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!