Search content
Sort by

Showing 20 of 27 results by omnibrain
Post
Topic
Board BitcoinJ
Topic OP
Married Wallet Example
by
omnibrain
on 04/05/2015, 16:39:19 UTC
Hi

I'm trying to use the new "married wallet" feature that was introduced in bitcoinj 0.13. I understand the concept, but I don't understand how to create the spending transaction, or to be more specific, how to implement the TransactionSigner#signInputs method. Do I need to "manually" create the scriptSig for each input, and then add them to the propTx.partialTx? Or is there a more high level approach to do this?

Any help is greatly appreciated. In fact, I will donate a beer ($5) to anyone who provides an example implementation of TransactionSigner for married wallets, similar to the example implementation of payment channels, which is really helpful. If the example is well done, perhaps Mike could merge it in the bitcoinj-examples project, I think this would help a lot for anyone using this feature in the future.

EDIT: I posted this in the bitcoinJ mailing list: https://groups.google.com/forum/#!topic/bitcoinj/hJyvxQWJdkQ
Post
Topic
Board Development & Technical Discussion
Re: Salvaging refund protocols from malleability attacks with P2SH
by
omnibrain
on 20/04/2015, 13:49:23 UTC

We change the protocol so that the escrow payment is to P2SH(2 of 2 Alice2, Bob2) and Alice2 and Bob2 are new keys that they've never used elsewhere and Bob does not know Alice2.

Alice computes the refund but instead of telling bob the refund transactions, she tells Bob only the hash value she wants signed with Bob2.


Is there a library that supports this?

Let's say I wanted to implement this payment protocol, do I have to "manually" construct the hash value from the unsigned transaction, and later "manually" putting together the transaction that includes Bob2's signature?

And one more question: Does BitcoinJ follow the protocol described above, or is BitcoinJ still prone to transaction malleability?

Any help is greatly appreciated, I'm working on a payment channel implementation for my bachelor thesis
Post
Topic
Board Auctions
Topic OP
BFL single and Avalon Batch #2 to sell
by
omnibrain
on 08/10/2013, 14:36:46 UTC
Hi

I'm selling my miners:

BFL Single, average Hashrate = 55GHs/s => min. price 13 BTC

AVALON Batch #2, average Hashrate = 70GHs/s => min. price 15 BTC

The miners will go to the highest bidder (if there is any). Both devices are in hand, ready to deliver or pick up in Zurich, Switzerland. The highest bidder can chose how the device(s) shall be delivered, but has to pay for the shipment himself.
Post
Topic
Board Project Development
Topic OP
Kraken API example in Python
by
omnibrain
on 12/09/2013, 15:37:37 UTC
Hi,

I'm having trouble getting access to Kraken's private API. I don't understand how to create the API signature. If somebody could post an example, if possible in Python, I'd be very grateful.

This is the description on their website on how to create the signature:

Code:
API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST data)) and base64 decoded secret API key
Post
Topic
Board Altcoin Discussion
Re: [XPM] Primecoins Exchange / Trade Thread
by
omnibrain
on 11/07/2013, 22:14:30 UTC
ouch. I should go to bed.
Post
Topic
Board Altcoin Discussion
Re: [XPM] Primecoins Exchange / Trade Thread
by
omnibrain
on 11/07/2013, 21:47:27 UTC
I tried signing up for mcxnow. I feel extremely dumb for asking this but...

What is the answer to the security question to sign up? ("Type next letter in series: qwert"). I guessed "yuiop", but doesn't work.

(One wonders why they have a security question at all if they only have one single question)
Post
Topic
Board Development & Technical Discussion
Re: [Bounty] How-to Multi signature transactions
by
omnibrain
on 30/06/2013, 12:47:08 UTC
The order of the keys is important.

Code:
bitcoind createrawtransaction '[{"txid":"12af315cdba24e9fd070a7579135d5ade458b5e71008b0421dcc6bb8a795b3cb","vout":0,"scriptPubKey":"a9143d0277df5a51360d0b2d68bbbbf7ed784601f30587","redeemScript":"5221024e43b94cfcdc4c8bd4502d37c8745538f19972434d1c72cb23e9ca0454103ef62103f74a2c52d87c81c589775510ff1d6743f4ab2529a7206cc28762f1559d716ada2102b55624dd872a0b3db3cf053dacd2960cfe909db3a5405353f95631cfc297dda253ae"}]' '{"1Bjaewgk3bXujiJUqLcrkk7aKSS1f9kUV3":0.0095}'

bitcoind signrawtransaction '0100000001cbb395a7b86bcc1d42b00810e7b558e4add5359157a770d09f4ea2db5c31af120000000000ffffffff01f07e0e00000000001976a91475bed242e9b2cf5b4d45ef9f052be369067eae6888ac00000000' '[{"txid":"12af315cdba24e9fd070a7579135d5ade458b5e71008b0421dcc6bb8a795b3cb","vout":0,"scriptPubKey":"a9143d0277df5a51360d0b2d68bbbbf7ed784601f30587","redeemScript":"5221024e43b94cfcdc4c8bd4502d37c8745538f19972434d1c72cb23e9ca0454103ef62103f74a2c52d87c81c589775510ff1d6743f4ab2529a7206cc28762f1559d716ada2102b55624dd872a0b3db3cf053dacd2960cfe909db3a5405353f95631cfc297dda253ae"}]' '["KxfZ1HKs7PLxXo7gmjJVU3Chvcu6fPKzBt61MEGnNZCpG4LC6kQH"]'

Looks like someone already sent it back to you.

Yeah I just figured this out, thanks to the folks on #bitcoin-dev

Btw there's a tool to make this really easy: https://github.com/CodeShark/CoinClasses
And here's how to use it: http://pastebin.com/W0zCLB6i


Post
Topic
Board Development & Technical Discussion
Re: [Bounty] How-to Multi signature transactions
by
omnibrain
on 30/06/2013, 09:36:57 UTC
Sorry if I am being stupid but how do you "create" them?

Not stupid, just ignorant, which everyone of us were at some point.

Code:
bitcoind createmultisig

He wasn't asking how to create the multi-sig address, but how to create the scriptPubKey and redeemScript.

I've tried to follow Gavin's script to create a multi-sig address and spend the coins I sent to it, but I can't figure out how to create a transaction. Signing the raw transaction doesn't work for some reason. If someone could look at this and tell me what I did wrong, I'd be extremely grateful: http://pastebin.com/gkqF2Lh8 . Feel free to "steal" the 0.0095 BTC as long as you explain me how you created the transaction and what I did wrong.
Post
Topic
Board Hardware
Re: Avalon batch [2] countdown!
by
omnibrain
on 29/06/2013, 15:22:25 UTC
Just got a tracking number for my order #2717. Order was placed on February 18th. Yay! Smiley
Post
Topic
Board Altcoin Discussion
Re: Ripple Giveaway!
by
omnibrain
on 21/05/2013, 08:32:29 UTC
r4vTLr2BUe6eJCmvJsybQFkC2ihet3aQum
Post
Topic
Board Hardware
Re: Avalon batch [2] countdown!
by
omnibrain
on 15/04/2013, 09:00:53 UTC
How does AVALON usually give updates? Is there a blog or something where they publish news? Would be nice to hear from them today, after all today is the day they are supposed to ship.
Post
Topic
Board Computer hardware
Re: Selling my AVALON ASIC batch #2 preorder on ebay, if anyone is interested
by
omnibrain
on 10/04/2013, 13:51:31 UTC
In case some of you are still suspect that I am a scammer, I created another screenshot from the AVALON ASIC store:

http://i.imgur.com/gcmsAWj.png
Post
Topic
Board Computer hardware
Re: Selling my AVALON ASIC batch #2 preorder on ebay, if anyone is interested
by
omnibrain
on 10/04/2013, 12:48:43 UTC
Last thing to ask: What is if Bitcoin crashes during the next few weeks? Then I won't have the Coins to pay 30.000 USD worth.

Then I will contact the second highest bidder. If you can't proof me that you have enough coins the moment the auction ends, I will also contact the second highest bidder. The reason for this is that if you speculate that the bitcoin price will rise, and only then have enough money to purchase the device, it's a definite loss for me:

1. Price goes up: I'm giving the device away for too little money -> Buyer wins, seller loses
2. Price goes down: I'm selling the device for more than it may be worth -> Seller wins, buyer loses

So as I said, if the price goes down, and you can't pay me, it's a definite loss for me.
Post
Topic
Board Computer hardware
Re: Selling my AVALON ASIC batch #2 preorder on ebay, if anyone is interested
by
omnibrain
on 10/04/2013, 12:35:18 UTC
I live near the Border to Switzerland in Germany, so I would definitly pick it up personally. But you would only accept Cash? No Bitcoins? That could be a problem as all my funds are in Bitcoins, it would take a while to transfer all that money to my bank account, so I think, if you don't accept Bitcoinpayment (at whatever conditions you like), The ASIC will only remain a dream for me.

You can pay with bitcoin, no problem. Only condition is that you wait and maybe have a coffee with me until there are at least 3 confirmations Smiley
Post
Topic
Board Computer hardware
Re: Selling my AVALON ASIC batch #2 preorder on ebay, if anyone is interested
by
omnibrain
on 10/04/2013, 12:10:42 UTC
Ah - good old order #2717 again :-)
What do you mean?

I have seen that invoice before, with the same markings over the adresses and one where there are another layer of black marking.

The pictures also look pretty familiar - https://bitcointalk.org/index.php?topic=140099.0
Yeah, somebody copied my order confirmation, and created a listing on ebay. I have proof that my order is the original: http://i.imgur.com/NkXLAc5.png . Especially the blue edge in the email field proofs that my order confirmation is the original.

So if I understand you right, I can bid on the auction, win it,  then wait until the device has arrived at you in Zürich. Then travel to you to Zürich, bring along my bitcoinwallet, convince me that this thing exists and works, then transmitt you the appropriate amount of BTCs, wait for confirmation and take the ASIC home with me? Is that right?

What is if Avalon chooses to deliver 4 instead of 15.April maybe in August: Can i retreat from my bid in that case? And how long is it binding?

KJ
I will cancel the deal if the device hasn't arrived within 30 days after Monday. If you decide to pick the device up and pay cash, you didn't lose anything. If you paid with paypal, you can charge back (or I will send the money back, whatever is less of a hassle). Ebay requires that if you sell a preorder, the item has to be sent within 30 days. So if you don't believe me that I'll let you charge back, or give you back the money, ebay will be totally on your side.
Post
Topic
Board Computer hardware
Re: Selling my AVALON ASIC batch #2 preorder on ebay, if anyone is interested
by
omnibrain
on 10/04/2013, 11:22:25 UTC
Ah - good old order #2717 again :-)
What do you mean?
Post
Topic
Board Computer hardware
Topic OP
Selling my AVALON ASIC batch #2 preorder on ebay, if anyone is interested
by
omnibrain
on 10/04/2013, 10:59:15 UTC
Hi,

I'm selling my AVALON ASIC preorder of batch #2. The auction ends on Sunday. According to AVALON it should ship on Monday. Before calling me a scammer, please watch my proof video that I actually purchased the device. If you need any other proof to convince you that I'm not a scammer, please let me know. Here's the video: http://www.youtube.com/watch?v=xZh_DNXJFFc

And here's the ebay auction: http://www.ebay.com/itm/AVALON-ASIC-Bitcoin-BTC-Miner-Preorder-batch-2-60-GHash-s-/261198209710?pt=LH_DefaultDomain_0&hash=item3cd0a062ae

I will only accept PayPal (or cash, if you chose to pick the device up here in Switzerland), so that the buyer can reverse the payment if he feels like I'm a scammer. I will also give all my personal information to the highest bidder (copy of passport, address, phone number, etc). I love bitcoin, and I hate scammers as much as you do.

In case you are asking yourself why the heck I'm selling this thing:
  • I'm a formerly poor (not "living on the street"-poor, more like "not having any money left at the end of the month"-poor) student that has made a lot of money with bitcoins. So much that about 97% of my wealth is now in bitcoins. I'm starting to get nervous, and I need to diversify my assets.
  • Honestly I have no idea where I would leave the miner running. I have a tiny apartment, and this thing is probably loud as hell. My friends' and familiy's appartments are either also too small, or their internet connection is not reliable enough.

Before you ask me any questions please check the FAQs in the ebay item description. If you have any more questions, feel free to ask.

I know some of you are going to say "this seems fishy" or "don't do it, these ebay auctions are always scams" or similar. If you do, please explain why you think so, and I will try to proof that you are wrong.

One more thing: I realize I only have very few posts on bitcointalk, I also don't have an otc account. The only internet account that may give me some credibility is my reddit account: http://www.reddit.com/user/omnibrain/ . I also have a localbitcoins account, but unfortunately only one review.

Thanks for reading!
Post
Topic
Board Beginners & Help
Re: Avalon Asic from Ebay, save to buy?
by
omnibrain
on 10/04/2013, 09:26:16 UTC
Monday? Which Monday? Lol

Seller if you have that on Monday you will make a hell of a lot more selling it if you have it IN HAND with pictures and can ship the next day. Selling a "preorder" won't make you as much.

This whole thread is fishy.

I'm not sure you are right. The later I'm selling the device, the less value it has. My thinking was that people would pay more if they can get the device as early as possible. And if the auction would only be for 1 day, a lot less people will see it, than if it is for 5 days.
And did you watch my proof video that I purchased the device? http://www.youtube.com/watch?v=xZh_DNXJFFc . You have to admit that this would be extremely difficult if not impossible to fake. Also I decided to only accept PayPal, so if you don't receive the device within 30 days, you can charge back. If the buyer has any other reasonable way to handle the transaction, I'm very open to suggestions. I'm really not trying to scam anyone, and I'm trying everything to make that clear. I'm also willing to give all my personal information to the highest bidder (Phone number, copy of my passport, address, anything).

Monday? Which Monday? Lol

Seller if you have that on Monday you will make a hell of a lot more selling it if you have it IN HAND with pictures and can ship the next day. Selling a "preorder" won't make you as much.

This whole thread is fishy.

well they do ship Monday ..

Well if it ships Monday, let me know when you get it and I will pay you 10x what you paid for it. I am completely serious feel free to message me!
Really? You will pay 300'000$? If you promise that, I will cancel the auction and hold it for you when it arrives Smiley
Post
Topic
Board Hardware
Re: eBay Avalon scam. AGAIN !!!
by
omnibrain
on 09/04/2013, 22:00:17 UTC
Post
Topic
Board Beginners & Help
Re: Avalon Asic from Ebay, save to buy?
by
omnibrain
on 09/04/2013, 21:56:08 UTC
There was a technical problem with ebay, I couldn't re-add the images, and I couldn't edit the description. I was on the phone with ebay.com for about 30 minutes, and then they told me that this problem could not be fixed, and I'd have to re-list the item. Extremely annoying. I also had to talk to the american support, because I created the listing on ebay.com, and not ebay.ch. Ebay is a horrible website...

So now there's a new offer: http://www.ebay.com/itm/AVALON-ASIC-Bitcoin-BTC-Miner-Preorder-batch-2-60-GHash-s-/261198209710?pt=LH_DefaultDomain_0&hash=item3cd0a062ae

 
i wouldnt trust buying a pre order off ebay buddy.
its way to riskey .
It's also risky for the seller. But I'm sure we can find a solution.

You are not allowed to sell items (preorders) on eBay that cannot be delivered in 30 days.

http://pages.ebay.com/help/policies/pre-sale.html

Quote
If you want to sell presale items, be sure to meet all of the following criteria:

    Guarantee that the item will be available for shipping within 30 days from the purchase date. Be sure to clearly state this information in your listing.

    Clearly indicate in the listing that the item is a presale item.

    The handling time specified in your listing should reflect the time from the end of the listing until the item is shipped to the buyer—not the time the item is in your possession. Be sure to specify the correct handling time in your listing.

    In the listing form, you need to use the default font size of 3 so people can easily see these sale terms.

Make sure your listing follows these guidelines. If it doesn't, it may be removed, and you may be subject to a range of other actions, including limits of your buying and selling privileges and suspension of your account.

This is from preorder sellers often stringing buyers along trying to get them to wait past the time that eBay disputes can be opened, and selling items that they don't have and might not get.
According to avalon the device should ship on monday. As far as I know they have been quite reliable, so I hope the 30 days will work.