Show Posts

Pages: [1] 2 3 4 5 6 »

2

Bitcoin / Development & Technical Discussion / Re: Bitcoin math question

on: December 20, 2019, 11:37:28 AM

Here is what I mean. The famous tx here with repeated r values:9ec4bc49e828d924af1d1029cacf709431abbde46d59554b62bc270e3b29c4b1 p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 K = GF(p) r1 = 0xd47ce4c025c35ec440bc81d99834a624875161a26bf56ef7fdc0f5d52f843ad1 r2 = 0xd47ce4c025c35ec440bc81d99834a624875161a26bf56ef7fdc0f5d52f843ad1 s1 = 0x44e1ff2dfd8102cf7a47c21d5c9fd5701610d04953c6836596b4fe9dd2f53e3e s2 = 0x9a5f1c75e461d7ceb1cf3cab9013eb2dc85b6d0da8c3c6e27e3a5a5b3faa5bab z1 = 0xc0e2d0a89a348de88fda08211c70d1d7e52ccef2eb9459911bf977d587784c6e z2 = 0x17b0f41c8c337ac1e18c98759e83a8cccbc368dd9d89e5f03cb633c265fd0ddc PK = 0xC477F9F65C22CCE20657FAA5B2D1D8122336F851A508A1ED04E479C34985BF96 (the private key correctly resolves to 1BFhrfTTZP3Nw4BNy4eX4KFLsn9ZeijcMm) Ok, so we figure out the nonce now, we have all other data. K((PK*r1)+z1)/s1 gives N=0x1EE0FAC1872E11EB3E02F24D7623203BBA6DB0E13DEF6DD3E8EBFD1920286254 However K((z1z2)/(s1  s2)) gives the right N = 0x7A1A7E52797FC8CAAA435D2A4DACE39158504BF204FBE19F14DBB427FAEE50AE Why is the first nonce formula not working right? If you have all the params of a transaction, shouldn't this formula work? The second one resolves right K(((s1*N)z1)/r1) by this formula, but not my first nonce formula, which uses only the first tx parameters, why? More over, the following formulas all work for my own transactions: K((PK*r1)+z1)/s1 gives the right N K((r2*z1)+(r1*s2*c)(r1*z2))/((s1*r2)(s2*r1)) gives the right N K(((s1*N)z1)/r1) gives the right PK But here it does not



3

Bitcoin / Development & Technical Discussion / Bitcoin math question

on: December 19, 2019, 03:49:37 PM

Bitcoin transaction formula question. If k is the nonce, it goes through the same pattern to become the R value as the private key does to become the public key, right? k * Gx = R So if I take a k value and input it into for example bitaddress.org (or any other software for that matter) like it was the private key, the first part of the public key is supposed to match the R value of my transaction? (minus the 04 at the beginning) But I don't get this value. Am I missing something?



4

Bitcoin / Development & Technical Discussion / Bitcoin and SageMath question

on: December 12, 2019, 10:56:43 PM

I was reading up on Bitcoin formulas, but I cannot get this one to work in SageMath. This was supposed to be for related nonces and I was trying it with my own transactions. c = k2k1 where c is the difference between the two nonces. p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 K = GF(p) K((r2*z1)+(r1*s2*c)(r1*z2))/((s1*r2)(s2*r1)) Doesn't come up with the right result! It's supposed to give me k1. This one works fine: K((z1*s2  z2*s1)/(r*(s1s2))) for repeated R's. Did I mess up the formula or SageMath? Or everything together? Ugh! It bugs me. Thank you for any constructive thoughts.



5

Bitcoin / Development & Technical Discussion / Re: Tool to search the whole Blockchain?

on: December 12, 2019, 03:52:55 PM

MixMAx123, I was looking for a way to search a given R value within the transaction scripts. For example, I want to find all transactions where R value equals 000000000000000000000003B78CE563F89A0ED9414F5AA28AD0D96D6795F9C6. The output would be all the TX hashes which contain this R value. I was not able to find anything like this online. Not really finding a blockchain parser that does this either



6

Bitcoin / Development & Technical Discussion / Tool to search the whole Blockchain?

on: December 10, 2019, 03:54:48 PM

I often read about someone scanning the blockchain scripts and signatures, but I am unable to find a specific tool. How would I go about, for example, if I wanted to search the whole blockchain for a specific r or s signature? For Windows preferably. Bitcoin blockchain explorers won't go into the details of transactions and usually offer only tx, address or block search.



9

Bitcoin / Development & Technical Discussion / Bitcoin weak transaction nonce question

on: December 06, 2019, 12:34:09 PM

I finally have some free time to dive deeper into bitcoin studies, so I have a question (or two maybe). I read an article about lattice attacks when a bad k (nonce) is used. I found some addresses in which the signatures (s part) start with the same bytes, is that a sign that an address has been using a weak nonce? If the same r is used (exact same nonce) in different transactions, then the formula for calculations would be K((z1*s2  z2*s1)/(r*(s1s2))). What would it be, if the same s is reused in the formula, but the r's are different?



10

Economy / Games and rounds / Re: Ok, here's a 1BTC puzzle.

on: January 25, 2019, 12:30:51 PM

I was thinking it is an anagram. My best not working guesses were: SatoshiNakamotoHasTheHexOfTheBtc SheMetSatoshiNakamotoAtTheHexCon
And just random one BlockNumbersAreTheTeethOfTheComb
Tried also using the hex to decimal and picking words from BIP39 by numbers, but that just did not add up. 8 words in the question, 8 words in the answer. Could not find the logic to this, so gave up as well. At least giving us one word from the answer would have been great help.



13

Alternate cryptocurrencies / Speculation (Altcoins) / Re: ETH return to 1000 USD after hardfork?

on: January 07, 2019, 07:07:46 PM

Ethereum is always great on projects. For some reason so few people know that Playstation is actually going to adopt ethereum this year! The new game Plague Hunters based on eth is launching this year (Q1 2019 promised). This should be even better than cryptokitties, which also added to the price quite handsomely last year. So if you ask me, $1000 is quite possible. There are just a lot of reasons for ethereum to raise in price, hardfork being just one of them.



14

Bitcoin / Bitcoin Technical Support / Re: Constructing bitcoind for nonstandard txs

on: December 18, 2018, 09:55:12 PM

I followed the instructions exactly, used them on the same bitcoin version from 2015. The only thing I changed is pulling up newer boost libraries when compiling. They compiled perfectly fine into exe files. I run bitcoind, then do the usual bitcoincli sendrawtransaction <transaction hex> and still get this error, despite the changed code. The bitcoind connects just fine to nodes, the only thing that can be is maybe the node, not the bitcoincli returning this error. I will try to run my own node on a different PC, connect and check tomorrow.



15

Bitcoin / Bitcoin Technical Support / Constructing bitcoind for nonstandard txs

on: December 18, 2018, 09:20:38 PM

Hi, I have a question. I followed Max Kaye's guide to compiling bitcoin for nonstandard transactions. Used the same version of bitcoin as his guide does, made the necessary changes, compiled from source...and still bitcoincli gives me "error code: 26 error message: badtxnsnonstandardinputs (code 64)"
The only two files his guide states to change is the standard.cpp and /rpcrawtransaction.cp. Is his guide inaccurate or am I missing something?
Thanks in advance for the help.



16

Economy / Economics / Exchange market data manipulation bringing the whole crypto market down?

on: September 08, 2018, 09:20:30 PM

Hi guys, I was investigating the recent market plunge and this is my two cents as to why the crypto market is experiencing this situation. Some people were tying this to the fake news about Goldman Sachs crypto desk plans change, but I think this is due to an exchange faking data. The news that BitForex is faking data came around auguest 26th. Now this is what can really be happening on the market. An exchange lists fake data about the price dropping rapidly, then it buys the real crypto at the discount price (knowing that the price is "fake") on other exchanges. After this, the same exchange spams fake data the other way around and sells the currency at the real or overvalued price = profit! Today Coinmarketcap states that BitForex ethereum volume is $1,090,589,986, which is 40% of the whole market. I do not see a real economic situation in which this can be true. The question is when will such hoax schemes of market manipulation stop? Really, coinmarketcap was such a trusted source of market data and now this is just a very sad situation. What do you think? What are your speculations about the recent price changes?



19

Alternate cryptocurrencies / Altcoin Discussion / Bitcoin math vs. altcoin math

on: May 21, 2018, 08:14:58 AM

Bitcoin is a highly informative coin with all the math explained in detail. The formulas are all available online, there are even resources that calculate the s, r and z from any transaction, so anyone can verify that the math works. Unfortunately, altcoins do not always provide such information. I was looking at zerocoin protocol and I was not able to find the link between the data in the transactions and the formula for the protocol, which is supposed to be c = g^{s} h^{r }(mod p) where c, g, h, p are supposed to be a part of the transaction. The github resources were also uninformative about how the signature contains these values, neither is google. How would one go about finding this connection? There are lots of coins using the protocol, but nobody explains how transaction decoding works.



20

Alternate cryptocurrencies / Altcoin Discussion / Zerocoin protocol math question

on: May 20, 2018, 10:25:49 AM

Ok, as I understand it, zerocoin protocol is also based on math just as much as bitcoin. The formula is supposed to be c = g^{s} h^{r }(mod p) where c, g, h, p are known. When a zerocoin mint transaction occurs, it produces a signature 4 x 64 bytes. However, I am not able to find which part of the signature correlates to which number. The github coding annotation is also not helpful, as the noting of the signature says = params, coin, coin commintment, mhash. Could anyone please clarify me on this issues? I would like to understand how the math works behind the zerocoin protocol on my own transactions.



