Show Posts
|
Pages: [1] 2 »
|
1
|
Bitcoin / Development & Technical Discussion / Error: Signature must be zero for failed CHECK(MULTI)SIG operation
|
on: November 14, 2016, 07:53:29 PM
|
Hi, could someone give me a hand with an error? 16: mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation)I get this error message when i try to send a transaction in regtest (i didn't test it in other networks). Details: bitcoin-cli sendrawtransaction "01000000019a6f1c41fd248d499742f5d35f8fa261be00a0a187785eefe5d1cacb42abe2930000000048473044022027e72718acc7a14b3654cc4e86cb5d46d5ca020e327d9941a7965a3e9a52a4840220243a7ed16753f46194ffbdec68c4fa300c23cba30e499a147eba383f47119c2d01ffffffff0250bb052a010000001976a914aa9fcf69961a101de1a3279238657391e9f8141b88ac0000000000000000226a20d4962daf2b2f39666bcd8d35df1357c5608b7019791c20812cd9108b830388bc00000000" error code: -26 error message: 16: mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation) bitcoin-cli decoderawtransaction "01000000019a6f1c41fd248d499742f5d35f8fa261be00a0a187785eefe5d1cacb42abe2930000000048473044022027e72718acc7a14b3654cc4e86cb5d46d5ca020e327d9941a7965a3e9a52a4840220243a7ed16753f46194ffbdec68c4fa300c23cba30e499a147eba383f47119c2d01ffffffff0250bb052a010000001976a914aa9fcf69961a101de1a3279238657391e9f8141b88ac0000000000000000226a20d4962daf2b2f39666bcd8d35df1357c5608b7019791c20812cd9108b830388bc00000000" { "txid": "eb09809dcedeca7874c5b9457256e8418ba00d96a35d9e3526f17a7f11030e36", "hash": "eb09809dcedeca7874c5b9457256e8418ba00d96a35d9e3526f17a7f11030e36", "size": 200, "vsize": 200, "version": 1, "locktime": 0, "vin": [ { "txid": "93e2ab42cbcad1e5ef5e7887a1a000be61a28f5fd3f54297498d24fd411c6f9a", "vout": 0, "scriptSig": { "asm": "3044022027e72718acc7a14b3654cc4e86cb5d46d5ca020e327d9941a7965a3e9a52a4840220243a7ed16753f46194ffbdec68c4fa300c23cba30e499a147eba383f47119c2d[ALL]", "hex": "473044022027e72718acc7a14b3654cc4e86cb5d46d5ca020e327d9941a7965a3e9a52a4840220243a7ed16753f46194ffbdec68c4fa300c23cba30e499a147eba383f47119c2d01" }, "sequence": 4294967295 } ], "vout": [ { "value": 49.99986000, "n": 0, "scriptPubKey": { "asm": "OP_DUP OP_HASH160 aa9fcf69961a101de1a3279238657391e9f8141b OP_EQUALVERIFY OP_CHECKSIG", "hex": "76a914aa9fcf69961a101de1a3279238657391e9f8141b88ac", "reqSigs": 1, "type": "pubkeyhash", "addresses": [ "mw58cUP45n5S3cA82p5nFxNWYT8L4YZWHw" ] } }, { "value": 0.00000000, "n": 1, "scriptPubKey": { "asm": "OP_RETURN d4962daf2b2f39666bcd8d35df1357c5608b7019791c20812cd9108b830388bc", "hex": "6a20d4962daf2b2f39666bcd8d35df1357c5608b7019791c20812cd9108b830388bc", "type": "nulldata" } } ] }
Can you see what is wrong? Thank you. UPDATE:
C:\Users\lucas.ontivero>bitcoin-cli decodescript 473044022027e72718acc7a14b3654cc4e86cb5d46d5ca020e327d9941a7965a3e9a52a4840220243a7ed16753f46194ffbdec68c4fa300c23cba30e499a147eba383f47119c2d01 { "asm": "3044022027e72718acc7a14b3654cc4e86cb5d46d5ca020e327d9941a7965a3e9a52a4840220243a7ed16753f46194ffbdec68c4fa300c23cba30e499a147eba383f47119c2d01", "type": "nonstandard", "p2sh": "2N1ceLS8UmGjqnduV5G11suZKpjoDd49dNH" }
It says type: nonstandard! why?
|
|
|
3
|
Bitcoin / Bitcoin Technical Support / REST inteface question
|
on: June 27, 2015, 05:23:19 PM
|
Hi, I am trying to use the rest interface included in 0.10.0 (I'm using 0.10.1) but cannot make it work. This is what I do: Run bitcoin-qt as follow: bitcoin-qt.exe -testnet -rest -rpcport=18332Inmediatly after that, I send a GET request: http://127.0.0.1:18332/rest/chaininfo.jsonThe response is 503 - Service unavailable: a valid reason (verifying blocks / Loading Indexes / Something about wallet / etc - I don't remember the messages really but the point is the 503 error is ok ) Seconds after that, I send exactly the same request: http://127.0.0.1:18332/rest/chaininfo.jsonAnd I get a 404 - Not Found. What am I doing wrong?
|
|
|
4
|
Bitcoin / Bitcoin Discussion / NY Bank interested in blockchain.
|
on: April 28, 2015, 03:10:17 PM
|
Few minutes ago I had a meeting to explain the blockchain to some middle management of the company that I work for. They wanted to understand what the company can offer to a NY bank because the bank has a budget item to invest "in blockchain", whatever that means.
|
|
|
5
|
Bitcoin / Bitcoin Technical Support / Bitcoin-qt 0.10.0 stopped working - ReadCompactSize() : size too large
|
on: April 20, 2015, 02:37:29 AM
|
Hi,
I was using bitcoin-qt 0.10.0 and it worked so far but now, it always fails. This is the last part of the debug.log file. In the end there are two ERROR entries.
2015-04-20 01:53:44 Bound to 0.0.0.0:8333 2015-04-20 01:53:44 init message: Cargando el Ãndice de bloques... 2015-04-20 01:53:44 Opening LevelDB in C:\Users\****\AppData\Roaming\Bitcoin\blocks\index 2015-04-20 01:53:44 Opened LevelDB successfully 2015-04-20 01:53:44 Opening LevelDB in C:\Users\****\AppData\Roaming\Bitcoin\chainstate 2015-04-20 01:53:44 Opened LevelDB successfully 2015-04-20 01:53:56 LoadBlockIndexDB: last block file = 252 2015-04-20 01:53:56 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=244, size=95301518, heights=350714...351103, time=2015-04-04...2015-04-07) 2015-04-20 01:53:56 Checking all blk files are present... 2015-04-20 01:54:09 LoadBlockIndexDB(): transaction index enabled 2015-04-20 01:54:10 LoadBlockIndexDB(): hashBestChain=000000000000000001bd8a044a084bbee53c8a6b7bb118145f71c31edab15764 height=350919 date=2015-04-06 02:53:23 progress=0.976874 2015-04-20 01:54:10 init message: Verificando bloques... 2015-04-20 01:54:10 Verifying last 288 blocks at level 3 2015-04-20 02:09:31 ERROR: ReadBlockFromDisk : Deserialize or I/O error - ReadCompactSize() : size too large 2015-04-20 02:09:31 ERROR: VerifyDB() : *** ReadBlockFromDisk failed at 350690, hash=000000000000000013290aecbe160e27e4d92b71dd2e397e9a8abeaee85ac7ac
What can I do?
Thank you.
|
|
|
7
|
Bitcoin / Development & Technical Discussion / Realtime Analysis for transactions reusing R values (Robot)
|
on: December 22, 2014, 04:13:31 AM
|
I've been studing bitcoin for a couple of weeks and I was able to understand it (partially) after creating some little and useless tools (that's how I learn new things) so, I was very surprised by the bci issue and all the technical discussions about security especially about ECDSA and how to get the private key from the signature that reuse the same R values. In fact in for a while I though there was a robot stoling bitcoins and that idea hit my head all the day so, yesterday I created a bitcoin transaction sniffer (a tcp sniffer that filters the 8333 port) that watches for transactions sent to my full node and checks if two or more inputs are reusing the same R value in the scriptSig, if there is a reuse then it calculates the private key and imports it to the wallet. I know it sounds like a hacking tool with no good intentions but currently it is a harmless tool and an example about how to obtain the private key from two signatures that are reusing the same R value (the math is interesting). It can be used for other kind of realtime transactions analysis and the idea to implement it with a sniffer instead of doing a fake node could be useful too because we can analyse the traffic and collaborate with the network at the same time. Here you can see a console output when it is sniffing the tcp/ip traffic for incoming transactions. And the code is in github https://github.com/lontivero/BitcoinWatcher.git
|
|
|
8
|
Other / Meta / Is there something behind the constant trolling?
|
on: December 19, 2014, 12:46:27 AM
|
It is just that, you know, there are 4 or 5 very known and annoying trolls that are a bit aggresive in this forum and constantly insult those that think btc is not a ponzy scam. What is really wierd is that they use their time and effort creating new accounts and opening discussions with the plain intention to let you know that you are not selling your bitcoins because your are just an idiot.
Is there something behind the trolling or are just idle people?
|
|
|
11
|
Bitcoin / Development & Technical Discussion / Newbie question about block mining racing.
|
on: December 01, 2014, 08:12:18 PM
|
Hi,
there is something that I don't understand very well and I hope you could help me. Just imagine there are 2 nodes (node A and node B), each maintains a list of unverified transactions * Node A has tx1, tx2 and tx3 * Node B has tx1, tx3 and tx4
Then they both decide to include them all in a new block and start mining. Node A finds the hash first so, it includes its block in the blockchain and publishes it. That is what I understood however I don't know how Node B should behave because it has 2 transactions in common with A.
- Should Node B to stop mining its block?
And my last question (at least for a couple of days) is:
- How do nodes decide how many transactions to include in a block?
|
|
|
12
|
Bitcoin / Bitcoin Discussion / Who are the next adopters?
|
on: November 30, 2014, 11:27:22 PM
|
Hi,
I was thinking for a while about who will be the next people to adopt Bitcoin after techies. IMO they should be the financial services guys or black market's types. What do you think?
|
|
|
13
|
Bitcoin / Bitcoin Technical Support / Bitcoin-qt 25% CPU and 500MB RAM
|
on: November 28, 2014, 11:15:05 PM
|
Hi,
I wanted to consolidate all my wallets in one, just to have only one balance (because I has some satoshis here and there) so, I did a wallet backup 328 KBs and restore a 2 year-old wallet that I had with several small transactions and also imported the wallets that I had in my other computers. Finally I imported the backuped wallet's private keys. After that (almost 40 minutes), I had a 8MBs wallet and the bitcoin-qt client started to use 25% CPU and almost 500MBs RAM.
After this I restored the 328KBs wallet (it has just a couple of addresses and transactions) and all go back to normal. Is this the expected consumption?
|
|
|
15
|
Bitcoin / Development & Technical Discussion / Bitcoin protocol standarization
|
on: November 28, 2014, 05:04:22 AM
|
Hi,
Everytime I tell some people about bitcoin they ask me "who controls it?". I tell them nobody does it because it is a protocol just like http or smtp. However sometimes I think that that is not true. Of course nobody controls the currency but the bitcoin core team is who takes the decisions about the "reference" implementation, what means it is the team that update the protocol even when there are other full-node implementations out there.
In fact, if we have a "reference implementation" is because the thruth is in the source code instead of being in a specification document and that's also a problem. Moreover, you need to be a top hacker to understand the reference implementation source code because it is a bit messy so, if I am right, the thruth is in a messy piece of code.
These facts don't look very well because it means centralization and unilateral control. And there are other signals here and there, in this moment I can read "News: Bitcoin Core 0.9.3 has been released. Download." in the this forum header. I mean, it is more and more like the "official" node. Oh, the alert message described in the protocol specs looks like a centralised broadcast system (yes, I understand it is okay and is there for a good reason)
I think something should be done in order to improve this situation. I know it sounds awful but we need an agreement system like a IETF for the bitcoin protocol.
Is something similar in the roadmap?
|
|
|
16
|
Economy / Service Discussion / Companies that accept bitcoins
|
on: November 26, 2014, 10:17:25 PM
|
Hi, I need to do a list of companies (big ones, if possible) that accept bitcoins. I know about Dell, Overstock, PayPal, AirBaltic, Mozilla, Apache, Wordpress, and I am going to search for others. Could you help me with a company name?
(I know there is a page in the bitcoin.org wiki with lots a lots of companies however they are very small and unknown, many of them about bitcoin itself. I need to create a power point spreadsheet to share with some companies' directors and they don't care about little companies -I do-.)
Oh, it doesn't have to be a company, it can also be any well-known organization or person. (Snowden for example)
Thx!
|
|
|
17
|
Economy / Speculation / Everything except the price trend is going fantastic
|
on: November 26, 2014, 03:10:46 PM
|
I don't use to open discussions here because all my questions have already been answered somewhere in this forum however I cannot understand what is going on in these days with the bitcoin price. Let me explain myself:
It is clear for me that in this year (2014) we are a lot better than years before. We can buy directly with bitcoins in overstock and paypal has "integrated" bitcoin in its payment system. I also saw a browser extension that allow us to buy in amazon (there is a middleman).
Without MtGox and after the 2013's bubble the ecosystem looks healthier than before.
There weren't bad news in 2014, no more repetitive-fear-generator SilkRoad / drugs / isis / satan news. In fact there were more good news thanks to new projects/startups.
I think that in this atmosphere the bitcoin's price shouldn't go down. What is going on? Do you know?
|
|
|
18
|
Bitcoin / Development & Technical Discussion / .NET Blockchain Parser
|
on: November 19, 2014, 09:52:27 PM
|
Hi, I've just uploaded a little project that can parse the blockchain (the raw blk? ?.dat files) and returns the block's data (block, transactions, inputs and outputs) while it walks the blockchain. It is a very very simple piece of code and works pretty well. As an example, in the same github repo there is a tool that reads the blockchain and save its blocks data in a ms sql database. I called it BlockchainToSql. I know there is a similar tool available for MySql but we, the .NET devs, are as we are. the github repo: https://github.com/lontivero/BlockchainParserIf you find it interesting and want to collaborate then please do it.
|
|
|
20
|
Bitcoin / Meetups / Córdoba, Argentina
|
on: June 05, 2013, 06:26:13 PM
|
Hi guys, this is just to let you know that we´re organising an event for next 27th June in Córdoba city, Argentina. Here the details: Bitcoins: El oro del futuro Introducción En un mundo que avanza aceleradamente hacia la digitalización de todo cuanto es posible, Bitcoin es la evolución natural del dinero, una moneda digital que está cobrando cada vez mayor relevancia en el mundo entero. La posibilidad de tener dinero en la nuve para transferirla de manera inmediata, sin costo y de manera segura a cualquier persona, en cualquier parte del mundo introduce cambios en el comercio tal y cual lo conocemos hoy a la vez que promete transformar de manera radical todos aquellos elementos en los que el dinero interviene. Objetivos: Difundir el conocimiento de esta moneda digital entre el público que desee iniciarse en su uso, Explicar sus beneficios, potencialidad y desafios que introduce en el mundo globalizado, Presentar los posibles futuros escenarios en el uso de la moneda. Temas Presentación de bitcoin como moneda, historia, conceptos, su uso, tecnología, monedas alternativas, seguridad, mercados, valor actual y probable valor futuro. Mercado, qué se puede comprar con bitcoins, aspectos legales, regulación, valor intrínseco y mitos. Cambios en el comercio, en la sociedad, en el sistema bancario, inflación/deflación y prestamos. Evolución del bitcoin en el mundo Bitcoin en el contexto Argentino, volatilidad, trading, alternativa al dolar/oro como resguardo de valor. Lugar: colegio universitario IES, en Buenos Aires 563, Nueva Córdoba. Para inscribirte, sigue el siguiente link: https://docs.google.com/forms/d/1lsuF7C-dZD3Xwtjam8_TDoSC-OnPnahcDmCXpRowVgM/viewform
|
|
|
|