Bitcoin Forum
May 24, 2024, 12:31:16 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 »
241  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 12, 2012, 12:37:48 AM
In this thread Peter posted a link to some experimental pre-0.8 builds on his server. That's what I'm running. Block data files are now ~128MB, numbered blk000X.dat, and in the .bitcoin/blocks folder. Other than that, I'm not sure what changed.

Oh, and it looks like there is a problem where Armory doesn't see any new blocks coming in after it's caught up, when connected to a 0.8 client. I thought it was a permissions issue, but after fixing that I'm still seeing it. Nothing interesting in the log, either.
242  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 11, 2012, 11:55:53 PM
SOB!  I even moved my blk files around to test this before committing the upgrade to beta.  If this truly is broken, I need to fix that, because I was under the assumption that this should coast users through the 0.8 upgrade. 

And given those errors you report, looks like it may be more than renaming block files.  Perhaps they changed the way data is written, too...?  Gah!  I guess I need to just download 0.8 and test it myself...

Sorry, I might not have been clear. It reads the files, but when it gets to the "end" of one, it throws this error a bunch (random amount?), before it starts reading the next.
243  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 11, 2012, 08:09:29 PM
Yes!  I agree this is an excellent solution -- one that I very much wanted to implement myself, but decided could not be promoted as a general solution -- due to the risk of users not disabling terminal logins via serial (thus, actually decreasing security for a number of impatient/inattentive users). 

But, I always wanted such a solution that could be documented on the website as "Use at your own risk, but it's a pretty sweet solution if you do it right...".  I would personally use this, I just never got around to implementing a serial protocol.  I suppose, alternatively, I could find a way to make an Armory offline bundle DVD -- with OS and everything preconfigured correctly for this purpose.  Then the serial solution would be perfect Smiley 

Until then, I will graciously accept the modifications to Armory as a side-branch, or maybe a diff file or something that can be downloaded/distributed separately.  Put instructions on the website with appropriate warnings.

Thanks! Yeah, I don't think this needs to be a core part of Armory, especially since there are so few changes necessary, and Armory is very easy to build (at least on Linux).

I've run into one strange issue though... the extra scripts work just fine on my online machine, but on the Pi they stopped working. It's not giving me an "unrecognized symbol: armoryengine error", it just doesn't recognize CLI_ARGS (or any other "constant" from armoryengine), even though I'm doing "from armoryengine import *". Oddly, running "python armoryengine.py" works just fine, and starting up a REPL and doing "from armoryengine import *" lets me "print CLI_ARGS" without issue. Any ideas?

edit... Hmm. It must be a path issue of some kind, because when I move the script out of the extras directory and remove the "sys.path.append('..')", it works.
244  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 11, 2012, 07:29:45 PM
Here is a diff of my changes: http://pastebin.com/A9x0grtz

There's probably a better way to do some of the threaded stuff for the listener, and I'll probably clone the Github project and submit a push request to make it easier for either etotheipi or others to fix it up, but right now it works pretty well!
245  Other / Archival / Re: [WTS] Raspberry Pi (Mod B/v2.0/512MB) on: December 11, 2012, 05:43:57 PM
I'd happily pay a premium to be able to buy things in BTC over USD to support the Bitcoin economy and encourage buyers and sellers.

Wouldn't you be supporting the bitcoin economy by exchanging your bitcoins for dollars, and buying two Pies instead of one?

Also, what if I did not want anyone to know I bought a Pi?

I was able to PGP encrypt the message and pay with Bitcoin. This way, no one knew I was even interested or in the process of purchasing one.
If I used my credit card, or at the store, many paper trails would exist.

True, but I can't imagine a scenario where those benefits of Bitcoin necessitate paying double the price for something like a Pi.
246  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 11, 2012, 06:37:16 AM
I'm really excited!

After considering the criticism of my Armory Pi setup, I spent the day learning serial ports, (more) python, and Armory. I'll release the codes tomorrow, but my solution is pretty sweet. I disabled the serial terminal and replaced it with a program that listens for unsigned transactions. When it sees one, it unlocks the wallet with the passphrase entered on the Pi's own keyboard, signs the transaction, and sends it back over the serial port. The other modification is to Armory, specifically the first offline transaction screen. Along with "Save as file" and "Copy to clipboard" options, there is now a "Transmit over serial" button, which does just what it seems. When it receives the signed transaction back, it automatically advances to and fills the text box on the transaction broadcast screen.

All this required surprisingly little code, but I need some sleep right now!

edit... I found a bug (or two). If you're running the LevelDB version of Bitcoin, Armory won't go online if the blk00*.dat files don't exist, even if the blocks/blk000*.dat files do. Also, I saw a lot of this

Code:
***ERROR:  parseNewBlockData did not get enough data...
***ERROR:  parseNewBlockData did not get enough data...
***ERROR:  parseNewBlockData did not get enough data...
***ERROR:  parseNewBlockData did not get enough data...
***ERROR:  parseNewBlockData did not get enough data...
***ERROR:  parseNewBlockData did not get enough data...
***ERROR:  parseNewBlockData did not get enough data...
***ERROR:  parseNewBlockData did not get enough data...
***ERROR:  parseNewBlockData did not get enough data...

at what I am assuming is the end of a block data file, before the next one begins scanning. It can last for quite a few seconds sometimes, churning those out 10 per seconds or so.
247  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 10, 2012, 03:01:11 PM
Yep!
The 99.8% secure and elegant way would be a custom ssh shell.
You connect to the RPi via SSH, but won't get a regular command prompt (with too much rights), but a custom script interface. Something like
Quote
Welcome!
Please enter your unsigned TX.
Alternative:
[1] for stats
[2] for full shell (password needed)
[3] for exit
You enter the TX, it automatically returns the signed TX, then ,aybe shuts down the RPI.
For this you wouldn't even need a password or keys for "login".
For enhanced security you should only use "drop me a full shell" via livecd or another offline computer.

30 sec google shows this how to swap the shell for a script:
http://www.alteraforum.com/forum/showthread.php?t=18579&s=1ea4abc27f1684f9871b3508867f8fff&p=72609#post72609

..and any script will do!
The more I think about it - you have a winner there!

Ente

That would be awesome, but I'm not sure how to do this over a serial connection, since I'm not using ssh, but screen.
248  Economy / Games and rounds / Re: Circle of Trust [Game/experiment] on: December 09, 2012, 05:25:30 PM
12r6DPnX5TNK4PhnTiShmuK6o4jE8Yh28C

I don't know, this guy doesn't seem very trustworthy...
249  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 08, 2012, 05:59:37 PM
So I'm finally quite happy with my offline wallet setup, and I wanted to share it with others.

I have been using a Rapsberry Pi to run the offline instance of Armory. It was hooked up to my monitor through HDMI, and I had an extra keyboard around. When I wanted to perform an offline transaction, I would create it on my main computer, put it on a USB drive, plug the keyboard and USB drive into the Pi, run Armory, sign the transaction, transfer it back to the main computer, and broadcast it.

Last week, I purchased a USB to TTL, and that whole process changed for the better. The cable provides power to the Pi and allows for a terminal login to the device, so I no longer need an HDMI cable, power cable, or keyboard. I merely keep it unplugged, and plug it in when I want to perform a transaction. I log in using screen (screen /dev/ttyUSB0 115200), then run this script which does the following...

Opens a new file called armory.unsigned.tx in Nano, allowing me to paste in the ascii-serialized transaction
Runs this script against the unsigned file
If the file was signed, then display it using Less (at which point I copy it and paste into the broadcast transaction form)
Shutdown the Pi

I'm pretty sure that the TTY device only allows for a single login at a time, so I don't think it would be possible, and certainly not feasible, for an attacker to steal bitcoins from the Pi during the short time that it's connected to my computer. Any thoughts?
250  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 07, 2012, 06:34:21 PM
Just ran into an issue with a few transactions which have been included in a block being stuck at 0 confirmations. I renamed mempool.bin, restarted, and then they weren't in the transaction list at all. What can I give you that would help you figure out the cause?

edit... I'll email you the log, a watching only copy of the wallet, and mempool.bin
251  Economy / Service Announcements / Re: [ANN] LocalBitcoins.com - a location-based bitcoin to cash marketplace on: December 06, 2012, 05:27:27 PM
Donate to your favourite charity, bitcoin foundation, or use the money to promote bitcoin some other way Smiley

Ok, will do! Thanks for being awesome!
252  Economy / Service Announcements / Re: [ANN] LocalBitcoins.com - a location-based bitcoin to cash marketplace on: December 03, 2012, 10:01:45 PM
There is already min/max functions, the only limit is that they work only with two parameters. So you have to nest them if you want to use multiple parameters. For example:

min(min(mtgoxUSD, bitfloorUSD), bitstampUSD)

That's awesome, I didn't see that documented anywhere.

Is 14B8Zb94ypK7R11UV1RAojJkeSmpCHZfKJ still your donation address? I'd like to show my appreciation for your service.
253  Economy / Service Announcements / Re: [ANN] LocalBitcoins.com - a location-based bitcoin to cash marketplace on: December 03, 2012, 04:56:57 PM
I know I've bugged you a bit with feature requests, but I thought of another that would be nice.

When creating a custom dynamic price, it would be nice to have min() and max() functions. For instance, if I'm selling I might want to sell at USD_24h or mtgoxUSD_ask, whichever is higher.

Is 14B8Zb94ypK7R11UV1RAojJkeSmpCHZfKJ still your donation address? I don't see it on the site anymore.
254  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 02, 2012, 08:52:23 PM
who created this?

As etotheipi obersved, I based it off of his cli_sign_txdp.py script.

Cool script.  I wasn't aware of blockchain.info's service.  How does it work exactly?  You give them an address you want the money to end up at, and they give you an address to which you can send coins and they will eventually be forwarded there?  How long does it take?

Thanks! The page that describes their mixer, along with an HTML interface to it is here. Yeah, you give them a destination address, and they give you an anonymous forwarding address. They only keep the association in their database for 8 hours, unless the forwarding address receives funds, then the association is kept until 6 confirmations. When an anonymous transaction is queued, blockchain.info wallet users that create transactions will have their funds routed to your destination address, and your funds will be routed to their destination. They use their taint analysis tools to guarantee that the input and output are not linked through the block chain in any way.

The time varies, depending on how much you need mixed. I've had it take as little as half an hour, as long as two days (but that was for quite a large amount).
255  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 02, 2012, 07:44:11 PM
Great, I switched branches and used the coin control dialog once without issue. It is slick, nice job.

In case anyone else created their savings to Armory in one massive transaction like I did, and now are bothered that the entire amount is linked (if you spend 1 BTC to someone, they can trivially see how many coins you own), here's the script I used. It asks how much you want to anonymize, and the min and max amount you would want in each address. It creates addresses in your selected wallet, uses blockchain.info's API to create an anonymous forwarding address, and selects a random amount between the min and max. It builds a transaction with as many outputs as needed to hit the total, and then saves it to a file. This can then be imported into Armory, inspected, signed, and broadcast.

I used blockchain.info for this because I trust them, they have an API, and they charge a (IMO) reasonable 1.5 % fee.

http://pastebin.com/XLT5FgdB
256  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 02, 2012, 02:11:56 AM
Holy moly that was easy!  All I had to do was modify one call to compute the balance and utxoList differently if Coin Control was selected, and it seems to work flawlessly!  It treats your coin-selection as if it was your wallet, yet the dialog pretty clearly identifies that you are in CC mode.

If anyone in Linux or OSX wants to try it right now, you can do so by checking out the "coincontrol" branch.  You don't even need to recompile (well, you do if you haven't upgraded to 0.85 yet).   It is only available under "Expert" usermode.  I recommend running it in the terminal, so that you can see the output when you hit the "Send" button.  It will dump the coin-selection to the terminal so you can verify that the selection was made correctly.  Alternatively, you can click "Create Unsigned Transaction", copy the tx to the clipboard, then re-enter it on the next window and then "Click here for more information about this transaction."

Test this thing!  Tell me if something doesn't work or if it's missing something.  If it's stable enough, I'll make it official ASAP.  There's been so much demand for it over the past year, that I think it deserves its own release!


That's awesome news. Question: has the threading branch been merged to master, or do I have to manually merge the two branches to test this?
257  Bitcoin / Armory / Re: Armory - Discussion Thread on: December 02, 2012, 12:00:27 AM
Amazing!  Now that I have all this experience with PyQt and a super-versatile library under-the-hood, making the interface was not hard at all!  How's it look?  Smiley

...

That's purely the interface, showing you all non-zero-balance addresses, and updating the send-BTC dialog to show you the result of your selection.  It doesn't actually work yet (it still selects from all addr).  Getting that part working is my project for after dinner...

That looks excellent! Perfect timing too, since I just used armoryengine and blockchain.info's anonymous forwarding API to split the one huge output I've had in my offline wallet since I switched to armory into a bunch of unconnected outputs. With this, I'll be able to ensure that there is as little tainting as possible.
258  Bitcoin / Legal / Re: Is stealing Bitcoins illegal? on: December 01, 2012, 12:56:06 AM
Theft deprives someone use of the thing. Copying test scores or an mp3 file doesn't deprive the rightful owner use of it, thus, it is not theft. Spending someone else's bitcoins does deprive them use of it, thus it is theft.
259  Bitcoin / Bitcoin Discussion / Re: jgarzik goes berzerk in #bitcoin-dev, wtf? on: November 30, 2012, 10:19:52 PM
Ya, I didn't comment on that because honestly I think this thread is stupid. #bitcoin-dev is a developer related channel, not a channel for requesting upvotes on an extremely controversal and political topic article. Jeff gave a warning and followed with a ban. I dont think he 'went berzerk'

I agree that it wasn't the place for asking for upvotes, and that the title of this thread is exaggerated. However, after the warning, the topic changed to new translations of the Bitcoin software. I think it is completely unreasonable for Jeremias to have been banned for that.
260  Bitcoin / Armory / Re: Armory - Discussion Thread on: November 30, 2012, 09:45:43 PM
So I am running Armory while the blockchain is still loading in the Satoshi client.  This is somewhat annoying but there is a balloon in the OS that pops in and out and says Armory is "Disconnected" and "Connented" in the lower right corner.  This happens a lot while the Satoshi client is loading the blocks.  Once the Satoshi client is done the balloon continues popping out in and out.

I am using Windows Vista 64bit and Armory 64bit.

EDIT: I restarted Armory when the blockchain was loaded in Satoshi and it works fine.

Armory's not very good at "drinking from the firehose", as I've heard it described.
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!