Bitcoin Forum
May 06, 2024, 06:18:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 [122] 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 ... 195 »
2421  Economy / Speculation / Re: zero hour for the downtrend on: January 20, 2012, 07:02:52 AM
Whoever just cleared the last of my old sells at $6.50 has my gratitude.  Of course, if it hits $7 before it hits $6 from here, I'll wish I hadn't said anything publicly.
2422  Bitcoin / Development & Technical Discussion / Re: WARNING Transactions and Addresses will soon be used as high volume data storage on: January 20, 2012, 06:58:38 AM
More dangerous than that is that supply and demand are often a greedy-algorithm which means it gets stuck at local-maximums, like Humans destroy the environment needed to survive for short-term profits.

This is where I stopped reading.  You don't see your own life as a counter-argument?  We've chased short term profits that "destroy the environment needed to survive" so much that the world currently supports several billion people.

As for the rest of your posts, I'll give you 10 BTC if you can create 100,000 transactions sending .00000001 BTC each and get them into the chain before the end of the year.  They can be legitimate transactions back to yourself, or to whatever arbitrary hashes you want.
2423  Bitcoin / Development & Technical Discussion / Re: PULL request #748 : Pay-to-script-hash (OP_EVAL replacement) on: January 20, 2012, 02:44:56 AM
Yeah, I just grepped out p2sh and saw 8 NOP2SH and 4 p2sh.  If the 4 strings I found are actually for BIP17 instead of BIP16, it doesn't change my conclusion in the least.
2424  Bitcoin / Development & Technical Discussion / Re: PULL request #748 : Pay-to-script-hash (OP_EVAL replacement) on: January 20, 2012, 01:19:57 AM
I run two kinds of nodes, a bitcoind node and a phoenix-miner node. Which one, or both, of these nodes needs to be updated to support P2SH?
Just he bitcoind node.
Very few miners still run bitcoind nodes. So all you need to do is get the top 2 or 3 pool operators to switch to the new code and you've secured the 55%. Are any of the pools on board so far?
Thankfully, the majority of big pools are opposing BIP16.

I dout that!  Dont' spread FUD.

Just by grepping the blk0001.dat file, I see 4 votes for, and 8 votes against.  I'm pretty sure that means that Luke is still against it, one person is for it, and the entire rest of the mining world is uncommitted.
2425  Bitcoin / Bitcoin Technical Support / Re: Send coins from specific address in wallet on: January 19, 2012, 08:22:12 PM
Mind if I ask why you think you want to do this?

I want to keep my private and my business chains separate.
Somebody I'm doing business with should not automatically know where I spend my money in my private time. Some thins are just private. (has nothing to do with illegal)

If you really want to keep them divided, you'd be better off running two nodes, or using a client that can handle multiple wallet files.

Picking the transactions to redeem by hand or by script is a poor idea.  You are almost certainly losing both anonymity and security, which seems like a poor trade if you are looking for privacy.
2426  Bitcoin / Mining / Re: Bitcoin BIP 16 /P2SH/ is bad, your action is needed! on: January 19, 2012, 08:12:09 PM
There are no addresses.

Your wallet is a list of private/public key pairs.  When you want someone to pay you, you take a hash of a public key, then give them the hash.  To redeem that transaction later, you need to provide the same public key that created the hash, and prove that you know the private key that corresponds to that public key by signing the transaction with it.

The minimum amount of information needed to create a secure transaction to a single keypair is a single hash.  We then embed that hash into a string using special rules, and we call it an address, but it never exists in the bitcoin system as anything but a hash.

Now, say you want to create a transaction that can be redeemed by either of two different keypairs.  How much information do you need to create that transaction?  You need two hashes, one for each key, and then you can create a script that can be satisfied by either of them.

It gets worse.  If you want to have a (A and B) or C system, you need to provide hashes of all three keys.  If you want a (N of M) system, you need to provide all N hashes.

And that isn't all.  Not only do we need to provide 3 key hashes for (A and B) or C, but we need to standardize the interchange format so that you can create an address that includes the three hashes and the relationship between them.  And we need a format for (2 of 3), and another one for (3 of 4), and in general we need a format for every system.  The CEO and CFO can spend if they agree, but otherwise either of them requires a majority of keys from the board of directors?  New format.  Any junior officer can spend with the consent of either the CEO or the CFO and the consent of at least one board member?  New format.

With P2SH, the addresses that you give out are the size of a single hash, regardless of what lurks beneath.

The redemption transaction grows, since it will include the script in addition to all of the needed public keys, and all of the needed signatures.  But, that is a problem for the person spending from the complex transaction, not the person spending to it.
2427  Economy / Speculation / Re: MtGox Live status on: January 19, 2012, 03:08:18 PM
out of sync?  like late?

yeah, language fails to express my disdain

W T F, Clark Moody is beating GoxLive by several seconds OFF ITS OWN API!!!

Heh.  You do know that both of those tools use websockets to pull data directly from the feed to your browser, right?

It isn't the server at mtgoxlive.com that gets out of sync, it is your browser.
2428  Bitcoin / Mining / Re: Bitcoin BIP 16 /P2SH/ is bad, your action is needed! on: January 19, 2012, 02:27:45 PM
I will not claim to understand the details of the discussion, but If I understand the high-level issue, we are trying to find a second solution to a problem for which we already have a solution (use double length addresses).
That tells me a couple of things:
- There is no urgency in adopting a second solution.

This summarizes my feeling. It's not like it is impossible to do multi-sig payments, they just result in slightly larger transactions.

Anyway, as says the quote above, I cannot claim I understand the details. I would just like to know if theymos opinion that this is mostly a style issue is a consensus, or there's more than style at stake. (not saying that style isn't important, it definitely is. I just want to understand if there is more to it)

The issue isn't "slightly" larger transactions.  Complex transactions can be much larger than normal transactions, and it puts the burden on the wrong party.  See this post.
2429  Other / Beginners & Help / Re: rph's DIY FPGA Miner: Skillet-Reflowed? on: January 18, 2012, 09:32:52 PM
They do make ZIF sockets for BGAs, but they are obscenely expensive except for very popular shapes.  When Intel ships a couple million 1156 sockets, those are only like $20 each, but the world market for CSG484 is probably only a few thousand units, so those sockets can be hundreds of dollars each.
2430  Economy / Economics / Re: Prices Cannot Stabilize on: January 18, 2012, 01:45:00 PM
Artificial scarcity, a very special character of BTC, in a world that almost everything can be mass produced without limit

What world you live in is what I'm starting to wonder.

I just been to china, you better come to see how many gold mines have been opened here this year. Soon, gold will flood the market like chinese made shoes, at the same time as people getting out of the panic of post financial crisis...

The reason gold price hold relatively stable is because people have replaced most of its use with fiat money, otherwise the price of gold already skyrocketed to a unheard level

You do understand that China is "buying" somewhere near 100% of the output of their domestic gold mines, right?

The reason China has so many gold mines is because they have very nearly zero gold reserves, and they don't want to buy a few thousand tons on the open markets.  Nothing is getting flooded any time soon.
2431  Bitcoin / Bitcoin Technical Support / Re: Send coins from specific address in wallet on: January 18, 2012, 06:53:00 AM
Mind if I ask why you think you want to do this?
2432  Bitcoin / Bitcoin Discussion / Re: Is the Bitcoin Community Under Attack? on: January 18, 2012, 06:49:23 AM
MtGox's HTTPS will prevent any MITM attack unless the attacker compromises a CA or something.

Just curious theymos, what is your take on what was going on with all the charts when it was cycling in a loop between 6 and 7? After about 25 minutes those cycles were erased and the market sat at 6 until orders that were placed during the swings on the charts were executed.  Anything is possible and I have never seen anything like what happened today.

I will tell you exactly what happened today.  Ready?

Actually, gox just uses a queue with timestamps.  Their order matcher can fall behind during busy times.

When the queue is busy, everyone sees huge price swings and they try to place orders, but their orders are going to the queue, not the market.  The swings you are seeing right now on mtgoxlive.com are at least several minutes old already, possibly much older, and everyone frantically clicking their trade buttons and the bots scrambling to make sense of things are just making it worse.

I gave a much longer answer to (more or less) this same question several months ago.  Feel free to dig it out of my post history.  And, just to repeat myself:

It must be hell to be alive today with no clue about how anything at all really works.
2433  Economy / Speculation / Re: wtf is going on? on: January 18, 2012, 01:52:59 AM


Nice...needs labels to define which one is which though.  I would assume we are the little fish.

If you've made money lately, then you are the yellow fish.  If you haven't, you are the red fish.  Either way, the blue fish is "not you".
2434  Bitcoin / Bitcoin Discussion / Re: Is the Bitcoin Community Under Attack? on: January 18, 2012, 01:50:40 AM
It must be hell to be alive today with no clue about how anything at all really works.
2435  Bitcoin / Bitcoin Discussion / Re: mtgox under attack on: January 18, 2012, 01:19:55 AM
Actually, gox just uses a queue with timestamps.  Their order matcher can fall behind during busy times.

When the queue is busy, everyone sees huge price swings and they try to place orders, but their orders are going to the queue, not the market.  The swings you are seeing right now on mtgoxlive.com are at least several minutes old already, possibly much older, and everyone frantically clicking their trade buttons and the bots scrambling to make sense of things are just making it worse.
2436  Bitcoin / Development & Technical Discussion / Re: PULL request #748 : Pay-to-script-hash (OP_EVAL replacement) on: January 18, 2012, 12:57:34 AM
Hey Gavin, what do you think about making the new P2SH transaction recognition explicit rather than implicit?
....

So, the default P2SH scriptPubKey would become:

Code:
scriptPubKey: OP_P2SH OP_HASH160 [20-byte-hash of {[pubkey] OP_CHECKSIG} ] OP_EQUAL

I think that this would address Luke's (somewhat valid) complaint about the magic transaction special case code path, while still being exactly P2SH.

So what happens if I put two OP_P2SH's in a scriptPubKey?

Either ignore it and leave the flag set, or reject the transaction as invalid.  Ignoring it should be safe enough, but setting a limit (like 1) will prevent people from spamming up the chain with tons of pointless repeated NOPs.

  What happens if I put one in a scriptSig?

Bounce the transaction, at least for now.  Maybe some day in the future we will be able to safely handle a full blown OP_EVAL, but we don't have to treat it like one right now.

What if I put it inside an OP_IF ... OP_ENDIF ?

You could either allow it to be set conditionally when encountered inside the script, or ignore placement and set the flag either way based on finding the opcode during static analysis.  Conditionally setting the flag might actually be useful.  I need to study up on the conditionals, but it could end up being a pretty short path to (N of M) or K, with transactions that could be triggered by either the P2SH script, or by the ordinary key.

We could even require that it be the first opcode for now, with the desire that the restriction be relaxed in the future, if safe to do so.

I think you're really just suggesting that the "magic" scriptPubKey be 24 bytes big instead of 23, and start with one of the NOP opcodes-- yes? In which case there is going to be a special case code path anyway.

Well, not really.  There wouldn't be any magic scriptPubKey.  Any valid scriptPubKey could become magic by including the NOP.  In practice, this means that most P2SH scripts would be identical to NOP + the current magic script, but down the road when scripting is better developed, people would be able to trigger P2SH from an arbitrary script, maybe.

It could possibly turn out that there are no useful cases for combining ordinary scripts with P2SH, in which case it would turn out that all we've done is made the magic codes one byte longer.  Even then, having an explicit marker for "hey, I'm a special transaction" could turn out to be worth the ~5% bloat.
2437  Bitcoin / Development & Technical Discussion / Re: PULL request #748 : Pay-to-script-hash (OP_EVAL replacement) on: January 17, 2012, 04:14:54 PM
I just read the BIP and a few of the messages in this thread (not all).  The BIP states:

"The purpose of pay-to-script-hash is to move the responsibility for supplying the conditions to redeem a transaction from the sender of the funds to the redeemer."

Could someone tell me why this is a transaction/protocol level problem and not just limitation of current clients?  Why is it not sufficient to simply solve this problem by having the sender send to a normal address that the recipient then turns around and sends to another address that imposes whatever rules they would like?  This has already been discussed as the approach to enable the recipient to set the transaction fees (sender creates a fee-less transaction and the recipient then sends back to themselves with a fee attached).

It seems to me that this BIP isn't solving an actual problem or limitation and it doesn't actually provide a multi-sig capability.  Why can't multi-sig simply be handled as a two step process…sender crafts a transaction to a normal address that the recipient then sends to an address that imposes a multi-sig rule.  If such transactions are sent directly from sender to recipient, a single use address could be generated by the recipient software, given to the sender and the recipient software would automatically generate the follow-on transaction that moves everything to the multi-sig transaction.  This could all be done in a transparent way for the user (to them, they are just asking the software to create a multi-sig address to give to the sender).

What you describe is an ugly hack, in my opinion.  But you are right that it is an entirely doable ugly hack.

First, that scheme requires that the recipient have an active node running at all times, or at least often enough to sweep receipts occasionally.  Second, it requires more transactions, up to twice as many, but less if the system gathers multiple transactions before sweeping.  Third, it requires that the extra transactions embed the all of the key hashes, making them rather large, and combined with the second point, it means a lot of needless bloat.  Also, it means a lot of hard to predict fees, since all of the extra transactions will be working from new, fresh transaction outputs.

In P2SH, there are no extra transactions, all transactions can be small regardless of the complexity of the redemption scheme, fees will be low since the ordinary oldest coins first policy can be kept, and it can all be done offline.

Also, I just realized that the sweeping scheme can reduce privacy and anonymity, since a sender will be able to watch for their payment to get swept and try to deduce extra information from the protection scheme.  In P2SH, all details of the protection stay hidden until the coins are redeemed.
2438  Bitcoin / Bitcoin Discussion / Re: My Bitcoin Giveaway on: January 17, 2012, 03:59:52 PM
Allowance in bitcoin… that's pretty cool! The only thing he can buy without asking you is drugs though. (j/k)

I usually paired them with "real" gifts, but gave plenty of Casascius coins as presents this past Christmas. I also gave my niece and nephews "savings accounts" via individual wallets burned to CD, and address payment cards for easy depositing. My niece in particular was thrilled with it; I'll show her how to spend the funds when she turns 18 (although it'll be pretty cool if she figures it out on her own sooner.)
Careful with that, even CDs get destroyed if you keep them in the sun, or if they get scratched. Should be fine if you have a secure backup I guess.

Fake edit: Or in the microwave.

lol, fake question: who cooks CDs in mircowaves  Huh

it is pretty fun....the sparkles are pretty  Cheesy

Very pretty.  Just make sure that you stop it after a second or two.  If the polycarbonate burns, you'll need a new microwave, and possibly a new kitchen.

Use M*Disc for long term storage of bitcoin wallets.  Of course, I haven't tested one in a microwave yet.

There are two protected copies of each CD. I'll look into M*Disc though.

For those that have never heard of it before, M*disc is a recordable media (currently DVD only) that uses a ceramic layer rather than an organic dye and metal foil.  Ordinary recordable media has a very short lifetime because the dye denatures and the metal foil oxidizes.  M*disc drives use a higher powered layer to burn holes into the ceramic layer, so they should be good for a long time.  Estimates are currently up into the 1000 year range.  I figure mine should be good for 50 years or so.
2439  Bitcoin / Development & Technical Discussion / Re: PULL request #748 : Pay-to-script-hash (OP_EVAL replacement) on: January 17, 2012, 03:20:31 PM
Hey Gavin, what do you think about making the new P2SH transaction recognition explicit rather than implicit?

Ok, since none of the options are perfect, how about we try to satisfy everyone with a hybrid solution?

How about we just redefine OP_NOP1 to mean "do nothing right now, but if the rest of this script is valid in the normal sense, then unpack the second script and run it too".  It'll break old clients, and we have to deal with that, but this way we don't have a special case second code path.  Essentially do exactly what P2SH does, but make the recognition explicit with a dedicated opcode, and not implicit.  Make it a flag that can only be set by the OP_P2SH opcode and can't be cleared, maybe even make the new opcode trigger an immediate validation failure if found by the second pass interpreter so that people can't try to sneak recursion in with it.

So, the default P2SH scriptPubKey would become:

Code:
scriptPubKey: OP_P2SH OP_HASH160 [20-byte-hash of {[pubkey] OP_CHECKSIG} ] OP_EQUAL

I think that this would address Luke's (somewhat valid) complaint about the magic transaction special case code path, while still being exactly P2SH.
2440  Bitcoin / Bitcoin Discussion / Re: My Bitcoin Giveaway on: January 17, 2012, 02:05:55 PM
Allowance in bitcoin… that's pretty cool! The only thing he can buy without asking you is drugs though. (j/k)

I usually paired them with "real" gifts, but gave plenty of Casascius coins as presents this past Christmas. I also gave my niece and nephews "savings accounts" via individual wallets burned to CD, and address payment cards for easy depositing. My niece in particular was thrilled with it; I'll show her how to spend the funds when she turns 18 (although it'll be pretty cool if she figures it out on her own sooner.)
Careful with that, even CDs get destroyed if you keep them in the sun, or if they get scratched. Should be fine if you have a secure backup I guess.

Fake edit: Or in the microwave.

lol, fake question: who cooks CDs in mircowaves  Huh

it is pretty fun....the sparkles are pretty  Cheesy

Very pretty.  Just make sure that you stop it after a second or two.  If the polycarbonate burns, you'll need a new microwave, and possibly a new kitchen.

Use M*Disc for long term storage of bitcoin wallets.  Of course, I haven't tested one in a microwave yet.
Pages: « 1 ... 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 [122] 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 ... 195 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!