Bitcoin Forum
May 03, 2024, 09:33:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 ... 158 »
1661  Bitcoin / Development & Technical Discussion / Re: provable address on: February 05, 2014, 04:44:52 PM
With stealth address there is no need to reuse address https://bitcointalk.org/index.php?topic=418071.0
1662  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: February 05, 2014, 02:45:15 PM
Bitstamp has the best liquidity of all exchanges. Its where most people actually enter and exit the ecosystem. If you  have or want cash in a bank account its most likely going to be based on that price. Bitstamp is also a very important hub for nearly all of bitcoin's commercial integration and services. The trendy thing to do right now is to integrate your service with bit stamp to perform all btc to fiat conversions.

By the same note I also consider bitstamp to be btcs single point of failure (centralization). Any FUD involving bitstamp would be really bad - much worse than even huobi/china. This is probably not how satoshi envisioned bitcoin working.

Just 1 year ago:

Quote
MtGox has the best liquidity of all exchanges. Its where most people actually enter and exit the ecosystem. If you  have or want cash in a bank account its most likely going to be based on that price. MtGox is also a very important hub for nearly all of bitcoin's commercial integration and services. The trendy thing to do right now is to integrate your service with bit stamp to perform all btc to fiat conversions.

By the same note I also consider MtGox to be btcs single point of failure (centralization). Any FUD involving MtGox would be really bad - much worse than even huobi/china. This is probably not how satoshi envisioned bitcoin working.

So what? Gox is now dead and the price is increased by 40x.
1663  Bitcoin / Development & Technical Discussion / Re: A cautionary note: I just forked webbtc.com/bitcoin-ruby via two different ways on: February 05, 2014, 04:24:03 AM
Somewhere I read Gavin said that there was a bug that allow everyone to spend everyone's coins (now fixed). Do you know which one he was referring to?

Hint: The OP_RETURN opcode used to return true, not false.

Why is that a problem?

I find your conversation with Gavin here: http://sourceforge.net/mailarchive/forum.php?thread_name=CANEZrP3qgo-VC5YHTSLOH5rGdv5PP4e2V6qECQVfvMgJXFbx-g@mail.gmail.com&forum_name=bitcoin-development

It seems to me that a script was always declared as true when it hit an OP_RETURN, and the rest of the script was ignored. So the fix was to make OP_RETURN returning false, and to execute the scriptSig and scriptPubKey separately. So even if the scriptSig is true, it still needs to run the scriptPubKey.

So what will happen in this case now? : scriptSig = OP_FALSE, scriptPubKey = OP_NOT. As the scriptSig is false, will it stop there as false, or the scriptPubKey will make the overall outcome as true?
1664  Bitcoin / Development & Technical Discussion / Re: A cautionary note: I just forked webbtc.com/bitcoin-ruby via two different ways on: February 04, 2014, 10:36:01 AM
Is this behavior intentional (with legitimate use) or unintentional (aka. bug)?

Definitely a bug. If SignatureHash() had returned 0 in that case rather than 1 you could use it to steal everyone's coins apparently due to how ECC signatures work.

Somewhere I read Gavin said that there was a bug that allow everyone to spend everyone's coins (now fixed). Do you know which one he was referring to?
1665  Bitcoin / Development & Technical Discussion / Any easy way to broadcast non-standard transaction? on: February 04, 2014, 09:32:01 AM
Is there any easy way to broadcast non-standard transaction, more importantly, send to a miner who is willing to mine it? I think the blockchain.info API worked before but not now
1666  Bitcoin / Development & Technical Discussion / Re: A cautionary note: I just forked webbtc.com/bitcoin-ruby via two different ways on: February 04, 2014, 09:29:13 AM

Ok, but then if the signature is valid on the second input, how can the exact same signature be valid for a totally different transaction spending normal inputs? (the second one I provided, 315ac7d4c26d69668129cc352851d9389b4a6868f1509c6c8b66bead11e2619f)

Didn't you explain it in the OP? If one uses SIGHASH_SINGLE without a corresponding output, a signature for 0000000000000000000000000000000000000000000000000000000000000001 is valid

Yup, exactly - come to think of it the example would have been better done by spending three outputs, with two valid-yet-the-same-signature ones.



Is this behavior intentional (with legitimate use) or unintentional (aka. bug)?
1667  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: February 04, 2014, 07:29:33 AM
Gox: -10%
Btcchina: -10%
Huobi: -30%
Btce: -20%  (altcoins: -90%)
Bitfinex: -15%
Bitstamp: -60%+

Volume is always low during price stability, just like the $5, $13, $120 stability we have seen
1668  Bitcoin / Bitcoin Discussion / Re: Is having amounts larger than 25 BTC in a wallet a security problem? on: February 04, 2014, 07:17:58 AM
Thank you for the answers.  I think it makes sense.  Again, please correct me if I am wrong.

1) The current difficulty of mining is 2,193,847,870 which is approximately 2^32
2) A valid transaction paired with the private key and converted into a 2^256 bit long hash.  Hence, brute force approach to crack a password has a difficulty of about 2^256.  Hence mining is 2^234 time easier than cracking a password.


And this still underestimates the difference because the ECDSA takes much more steps to calculate than SHA256
1669  Bitcoin / Development & Technical Discussion / Re: A cautionary note: I just forked webbtc.com/bitcoin-ruby via two different ways on: February 04, 2014, 06:22:11 AM
Also, here's another fun puzzle: 61d47409a240a4b67ce75ec4dffa30e1863485f8fe64a6334410347692f9e60e

How is the byte string 000080 not true, yet any other non-zero bytestring does evaluate as true?

https://en.bitcoin.it/wiki/Script
Quote
The stacks hold byte vectors. Byte vectors are interpreted as little-endian variable-length integers with the most significant bit determining the sign of the integer. Thus 0x81 represents -1. 0x80 is another representation of zero (so called negative 0). Byte vectors are interpreted as Booleans where False is represented by any representation of zero, and True is represented by any representation of non-zero.

so 000080 = 0?
1670  Bitcoin / Development & Technical Discussion / Re: A cautionary note: I just forked webbtc.com/bitcoin-ruby via two different ways on: February 04, 2014, 04:10:46 AM

Ok, but then if the signature is valid on the second input, how can the exact same signature be valid for a totally different transaction spending normal inputs? (the second one I provided, 315ac7d4c26d69668129cc352851d9389b4a6868f1509c6c8b66bead11e2619f)

Didn't you explain it in the OP? If one uses SIGHASH_SINGLE without a corresponding output, a signature for 0000000000000000000000000000000000000000000000000000000000000001 is valid

BTW, there is a typo on the wiki:
https://en.bitcoin.it/wiki/OP_CHECKSIG#Procedure_for_Hashtype_SIGHASH_SINGLE

Quote
The transaction that uses SIGHASH_SINGLE type of signature should not have more outputs inputs than inputs outputs.
1671  Bitcoin / Development & Technical Discussion / Re: A cautionary note: I just forked webbtc.com/bitcoin-ruby via two different ways on: February 04, 2014, 03:52:44 AM

    Compare the scriptSigs against the one in this transaction: 315ac7d4c26d69668129cc352851d9389b4a6868f1509c6c8b66bead11e2619f

    I can't read C++, but it seems it works like this:

    • For the first input, it is an invalid SIGHHASH_SINGLE signature, so the overall script is valid (with OP_NOT)

    • For the second input, for the same reason as 315ac7d4c26d69668129cc352851d9389b4a6868f1509c6c8b66bead11e2619f, it is valid
    1672  Bitcoin / Development & Technical Discussion / Re: A cautionary note: I just forked webbtc.com/bitcoin-ruby via two different ways on: February 04, 2014, 03:37:34 AM
    Here's a good test if you think you have a hope of re-implementing Bitcoin exactly: a59012de71dafa1510fd57d339ff488d50da4808c9fd4c001d6de8874d8aa26d

    Tell me how that transaction got mined in detail.

    The HASH160 of 0xac91 is 0x827fe37ec405346ad4e995323cea83559537b89e so it is valid?

    EDIT: The HASH160 of 0xac is 0x17be79cf51aa88feebb0a25e9d6a153ead585e59

    So actually there is no CHECKSIG done here

    You need to learn how P2SH works: BIP16

    Yes, I was wrong.

    For the second input, the serialized script is simply OP_CHECKSIG. So one can use ANY public key with a correct signature to redeem it, right? (normally, the public key is part of the serialized script)

    For the first one, the serialized script is OP_CHECKSIG OP_NOT. So one can use any public key with a WRONG signature to redeem it.

    I didn't check the validity of the signature but obviously they use the same signature and public key...... So there must be something wrong in my interpretation....


    1673  Bitcoin / Development & Technical Discussion / Re: A cautionary note: I just forked webbtc.com/bitcoin-ruby via two different ways on: February 04, 2014, 03:00:21 AM
    Here's a good test if you think you have a hope of re-implementing Bitcoin exactly: a59012de71dafa1510fd57d339ff488d50da4808c9fd4c001d6de8874d8aa26d

    Tell me how that transaction got mined in detail.

    The HASH160 of 0xac91 is 0x827fe37ec405346ad4e995323cea83559537b89e so it is valid?

    EDIT: The HASH160 of 0xac is 0x17be79cf51aa88feebb0a25e9d6a153ead585e59

    So actually there is no CHECKSIG done here
    1674  Bitcoin / Press / Re: [2014-01-31] Forbes - Silk Road Vendor Filing Claim For Seized Bitcoins on: February 03, 2014, 04:37:56 PM
    Shouldn't they claim it BEFORE the forfeiture order is made? They have more than 2 months to make the claim. The court made the forfeiture order because no one claimed the bitcoin. Isn't it too late now?

    p.s. DPR's personal coins are not (yet) forfeited because he made a claim
    1675  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: February 03, 2014, 09:59:16 AM

    but to be honest, if it weren't to Gox, Bitcoin wouldn't be at what it is at today.   

    If there were no Gox, we would have Box, Cox, Fox, whatever to make bitcoin to be at what it is at today
    1676  Economy / Speculation / Re: SecondMarket Bitcoin Investment Trust Observer on: February 01, 2014, 01:03:15 PM
    Updated. Around 1300XBT bought last week
    1677  Economy / Speculation / Re: You are offered $5,000 per bitcoin, but can never hold any again on: January 31, 2014, 05:06:47 PM
    It really depends on how many bitcoins one is holding now. If one holds 1,000,000BTC now, obviously he should sell all at $5000 for 5 billion. I one is holding 0.01BTC now, there is no reason to give up the opportunity to acquire more bitcoin just for $50.
    1678  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: January 31, 2014, 05:00:24 PM

    It is obvious to me that with the BTC China bank deposit re-acceptance news, people began to buy BTC at there.
    Immediately, someone sold those exact amount just to keep the price stable. What a trade volume!
    Being successful, people gave up making short profit. Significant volume down.
    I call it price control... but who and why? when does this "project" finish?
    The moment it finishes, price would start to move. I don't think it would be downward.

    I think it's just some bot testing
    1679  Local / 中文 (Chinese) / Re: 美国拘捕两名比特币交易所创始人 on: January 28, 2014, 10:04:43 AM
    這報導不盡不實. 請看原文: http://www.scribd.com/doc/202555785/United-States-vs-Charles-Shrem-and-Robert-M-Faiella

    這兩傢伙都是活該的, 用真實身份參與毒品交易, 早晚會被抓, 無論用bitcoin還是法幣都一樣
    1680  Bitcoin / Bitcoin Discussion / Re: Poll: Did you actually read the entire Charlie Shrem Criminal Complaint? on: January 28, 2014, 09:13:31 AM
    I read the whole thing. He deserves it if the complaint is true and complete
    Pages: « 1 ... 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 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 ... 158 »
    Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!