I lost 2.15 btc here...kind of sad. Now I will have to mine for months to get them back.
|
|
|
It's laughable from a non-american standpoint how a single city can have it's own regulatory system. The whole states thing in America is probably the issue, needs merging.
|
|
|
Looks fake to me. The decoded output is this From a3a61fef43309b9fb23225df7910b03afc5465b9 Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto < satoshin@gmx.com> Date: Mon, 12 Aug 2013 02:28:02 -0200 Subject: [PATCH] Remove (SINGLE|DOUBLE)BYTE I removed this from Bitcoin in f1e1fb4bdef878c8fc1564fa418d44e7541a7e83 in Sept 7 2010, almost three years ago. Be warned that I have not actually tested this patch. --- backends/bitcoind/deserialize.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/backends/bitcoind/deserialize.py b/backends/bitcoind/deserialize.py index 6620583..89b9b1b 100644 --- a/backends/bitcoind/deserialize.py +++ b/backends/bitcoind/deserialize.py @@ -280,10 +280,8 @@ opcodes = Enumeration("Opcodes", [ "OP_WITHIN", "OP_RIPEMD160", "OP_SHA1", "OP_SHA256", "OP_HASH160", "OP_HASH256", "OP_CODESEPARATOR", "OP_CHECKSIG", "OP_CHECKSIGVERIFY", "OP_CHECKMULTISIG", "OP_CHECKMULTISIGVERIFY", - ("OP_SINGLEBYTE_END", 0xF0), - ("OP_DOUBLEBYTE_BEGIN", 0xF000), "OP_PUBKEY", "OP_PUBKEYHASH", - ("OP_INVALIDOPCODE", 0xFFFF), + ("OP_INVALIDOPCODE", 0xFF), ]) @@ -293,10 +291,6 @@ def script_GetOp(bytes): vch = None opcode = ord(bytes ) i += 1 - if opcode >= opcodes.OP_SINGLEBYTE_END and i < len(bytes): - opcode <<= 8 - opcode |= ord(bytes) - i += 1 if opcode <= opcodes.OP_PUSHDATA4: nSize = opcode -- 1.7.9.4 h
|
|
|
I have to say, I'm somewhat disappointed in the devs not checking to ensure that the random number generator they use, actually works properly and assuming it's all OK, given they know how important the randomness is.
Right, because the -Qt devs ensured their PRNG was working well.
|
|
|
Annoyingly the Schildbach wallet seems to now enforce(!) a 0.0001 BTC default fee! Well, these issues aside - thanks for informing us. Well what do you expect? The minimum I always pay is 0.0006 or 0.0005 on the -Qt client. Non-fee transactions usually means hours to days waiting for confirmations.
|
|
|
While I am no specialist, Bitcoin gets it's "data"(blocks, transactions) from it's peer-to-peer technology.
|
|
|
I don't think my application is affected https://bitcointalk.org/index.php?topic=101612 as it uses OpenSSL 1.01e internally, so it should be safe I think. However if it is some Linux API that is responsible, then it might be affected too.
|
|
|
Hello everyone, I just wanted to know if there is an alt coin that is identical(RPC calls, transactions, etc...) to Bitcoin that I can use specifically for testing various transaction systems?
Almost all coins with the exception of one or two re-use the Bitcoin source code, so they are identical to the Bitcoin protocol. However, as suggested use testnet.
|
|
|
And the point of this thread is?
|
|
|
What? I remember I paid via PayPal to buy Minecraft in late 2010, I have free updates for life.
|
|
|
Nice, congratulations. Though I would've suggested a different language cause simply Python ain't all that fast when it comes to these expensive operations there.
|
|
|
True, but I've seen this guy do some crazy stunts. Betting at a multiplier of 80x, 40x, 10x and then 5x and adjusting his bet amount to recoup his losses if he wins, I even witnessed a loss streak of his up to 121, but he never gave up and recouped his losses.
At first I thought it was a bot, but the bets are different after he wins and it's just really weird.
|
|
|
I've been observing this guy for a while https://coinroll.it/user/abe5-b578-1fe3 and he seems to have figured out a way to profit. What system is he using, cause his initial bets after a win vary a lot. Also, if one doubles his money after a loss on the 2x multiplier, what does he do when it's at 5x? I am rather bad at math due to my ADHD.
|
|
|
Yeah, don't do that unless you are sure that your transaction volume will be extremely low.
You want the process run by -walletnotify to be very fast. Ideally, it should spit out a line into a pipe (or file or socket) and end promptly.
You should then have a different process, either a daemon or a cron job, read that stream and gather whatever information you need. You should be checking the confirmation count of the transactions, not the balance of the account. For that matter, using accounts can get you into trouble. Make sure you know what you are doing if you are going to use them at all.
-walletnotify will trigger when a transaction is included in a block, but it might also trigger if the transaction shows up over the network as a loose transaction. So, you should check the confirmation count each time -walletnotify hits, until you see at least one confirmation. After that, you should check it every time you see a block to make sure the count has reached your threshold. You could optimize that a bit by skipping the slow RPC calls until <threshold> number of blocks have been seen after the transaction was first included.
To be honest when I read your comment a few hours ago I had no clue what a pipeline, socket and cron job was, but after much googling, coffee and Wu Tang later I have come up with something like this. walletnotify=/home/btcdev/walletnotifyclient 127.0.0.1 1337 %s
walletnotifyclient.c#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h>
int main(int argc, char *argv[]) { if (argc < 4) { printf("\n Usage: %s <hostname> <port> <TxID> \n",argv[0]); exit(0); }
int sockfd, portno, n; struct sockaddr_in serv_addr; struct hostent *server;
char buffer[256];
portno = atoi(argv[2]); sockfd = socket(AF_INET, SOCK_STREAM, 0); if (sockfd < 0) { fprintf(stderr,"ERROR, opening socket\n"); exit(0); } server = gethostbyname(argv[1]); if (server == NULL) { fprintf(stderr,"ERROR, no such host\n"); exit(0); } bzero((char *) &serv_addr, sizeof(serv_addr)); serv_addr.sin_family = AF_INET; bcopy((char *)server->h_addr, (char *)&serv_addr.sin_addr.s_addr, server->h_length); serv_addr.sin_port = htons(portno); if (connect(sockfd,(struct sockaddr *) &serv_addr,sizeof(serv_addr)) < 0) { fprintf(stderr,"ERROR, connecting\n"); exit(0); } snprintf(buffer, sizeof(buffer), "%s",argv[3]); n = write(sockfd, buffer, strlen(buffer)); if (n < 0) { fprintf(stderr,"ERROR, writing to socket\n"); exit(0); } close(sockfd); return 0; exit(0); }
Server,php<?php $txid = array(); $server = stream_socket_server("tcp://127.0.0.1:1337", $errno, $errorMessage);
if ($server === false) { throw new UnexpectedValueException("Could not bind to socket: $errorMessage"); }
for (;;) { $client = @stream_socket_accept($server);
if ($client) { $txid[] = stream_get_contents($client); var_dump($txid); fclose($client); } } ?>
Am I on the right track or have I gone crazy? Quoting for archival purposes. But wow, you catch on quick.
|
|
|
Anything with cash in it's name is usually an indicator of a scam.
|
|
|
I am really bored lately, I've nothing to do, and I lost 0.90BTC(my own) to gambling instead of profiting that much.
I actually had a few ideas before I turned to gambling, I wanted to make a pool, but my programming skills were not very good, so I was unable to implement the stratum protocol in pushpool, the documentation was really scarce though, anyway, I scrapped the idea. I later wanted to create a PHP dice game for the popular Feathercoin alt-coin, but someone beat me to it, and today that dice site is pretty dead. So I had some luck with dice games and decided to play more, I profited a bit, but in the long run I lost 0.90BTC.
I really want to earn 3-4 bitcoins per month(which I need to convert to fiat for the time being till bitcoin becomes more mainstream). I can't be a programmer for hire, because my skills aren't very good, I am just a hobbyist in that regard, and my webdesign skills are less than 0.
A real job? Yeah, obviously that would work well, but I am not exactly the type to physically work.
Any ideas?
|
|
|
A while back I actually posted a thread regarding this, security practices for Bitcoiners.
|
|
|
Yeah, saying virtual puts off many people, they think it's just some flick like WoW gold or something backed by a single individual, calling it digital however makes it sound better.
|
|
|
I would recommend ABE, but with it, if you start importing from block 0, it might take a month or two to fully import the blockchain, unless of course you have an SSD and fast RAM.
|
|
|
|