Okay, I had won quite a lot last night and was at 50BTC (most was unconfirmed), now this morning I have 17BTC and all my previous TX's to satoshidice don't even exist, what the hell happened? Did someone doublespend them so I got non-existant BTC? I've heard of a few other people so far having this same issue with "stuck" transactions from them... Pretty annoyed at losing 33BTC of my winnings T_T
malfunctiongale script? Nope, all by hand, that martingale script is extremely buggy and loses a lot, despite my modifications. This was all sent through my blockexplorer wallet by hand.
|
|
|
Okay, I had won quite a lot last night and was at 50BTC (most was unconfirmed), now this morning I have 17BTC and all my previous TX's to satoshidice don't even exist, what the hell happened? Did someone doublespend them so I got non-existant BTC? I've heard of a few other people so far having this same issue with "stuck" transactions from them... Pretty annoyed at losing 33BTC of my winnings T_T
|
|
|
Great idea possibly. Still the issue of squatters possibly buying out well-known id's too.. not sure how well that'll go.
|
|
|
Here's my modified version with a few more sanity checks, it even waits for your balance to be confirmed. I was testing it out and it worked great, but one issue was, I had it running so quickly, that I ran out of confirmed balance, and had nearly 2BTC unconfirmed, so I added a function to check whether you actually have enough balance confirmed to even send it, if not, it waits 1 minute, and repeats until you have enough balance. <?php require_once('jsonRPCClient.php'); /** BITCOIN **/ $btcu = array("user" => "", // RPC Username "pass" => "", // RPC Password "host" => "localhost", // RPC Hostname/IP "port" => 9332); // RPC Port $b = new jsonRPCClient("http://{$btcu['user']}:{$btcu['pass']}@{$btcu['host']}:{$btcu['port']}");
define('MIN_BET', 0.05); define('MAX_BET', 6); define('ADDRESS', '1dice97ECuByXAvqXpaYzSaQuPVvrtmz6');
$bet = MIN_BET; $total_fees = 0; $count = 0; $count_won = 0; while (($bet <= MAX_BET) && ($count_won < 200)) { $balance_a = $b->getbalance('*', 0); if (!isset($starting_balance)) $starting_balance = $balance_a; if($b->getbalance('*', 1) < $bet) { // If we don't have enough confirmed bitcoins to send to satoshi dice... echo "Waiting for confirmed balance"; while($b->getbalance('*', 1) < $bet) { echo "."; sleep(60); // Wait a full minute before checking the balance again. } echo "\n"; } try // Wrapped in a try catch block just incase we run out of cash. { $b->sendtoaddress(ADDRESS, (float) $bet); } catch(Exception $e) { echo "Have: " . $b->getbalance('*', 1) . " Needed: " . $bet . "\n"; die("Ran out of money?\n"); } $balance_b = $b->getbalance('*', 0); $count++; $fee = $balance_a - $balance_b - $bet; $total_fees += $fee; $total_fees = number_format($total_fees,8,'.','')+0;
echo 'Game #'.$count."\n"; echo 'Balance: ' . $balance_a." "; echo 'Bet: '. $bet." "; echo 'Fee: '. (number_format($fee, 8, '.', '') +0) . " "; echo 'Total Fees: '. $total_fees. "\n"; echo 'Balance: ' . $balance_b . " ".'Waiting';
$balance_c = 0;
while ($balance_b >= $balance_c) { sleep(4); $balance_c = $b -> getbalance('*', 0); echo '.'; } echo "\nBalance: $balance_c ";
$diff = $balance_c - $balance_b;
if ($diff > $bet) { $bet = MIN_BET; $count_won++; echo "Win! ($count_won out of $count)\n"; } else { $bet *= 2; echo 'Lose!'."\n"; }
echo "\n"; }
echo 'Starting Balance: '.$starting_balance."\n"; echo 'Ending Balance : '. $balance_c."\n"; echo 'Total Fees: '. $total_fees."\n"; $amt_won = $balance_c - $starting_balance; echo 'Net Profit: '. (number_format($amt_won,8,'.','') + 0). "\n\n";
?>
|
|
|
Thanks for the speedy response.
Yeah, you might be waiting a little longer, latest namecoind has a few compilation errors, I'm waiting for khalahan to figure out the issue.
|
|
|
Gave it a try, bought 5 days 2 days ago. All are still pending and none are in the namecoin explorer.
Sorry, namecoind glitched out, so my crons failed. Going to try to re-do the crons to unlock your domains, if that fails I'll refund your 0.05BTC so you can purchase them again (or withdraw)
|
|
|
Funny. I noticed someone selling uranium ore on Silk road while I was browsing through the armory the other day
if you're in the US, you can easily order it from http://unitednuclear.com/And it's mostly legal too.
|
|
|
For 1btc a month people can get there own VPS and run znc, and anything else they want, that is currently what I do, so a ZNC only service for .5btc wouldn't be worth it
^^^ This. You can easily get a low end VPS that could easily do hosting, or a few tasks, as well as host a ZNC, for a similar price. A nice example of this would be BitVPS's openVZ VPS's: Their first plan for a 256mb VPS ( 512mb swap, 10gb space, 100gb b/w ) is only 2.92BTC quarterly ( That's only 0.73 BTC per month ), and that's capable of a lot more.
|
|
|
This is a pretty awesome idea, people will get to learn more science, get paid, and also contribute further to science at the same time. It's a win:win for both sides almost.
|
|
|
Okay, after an hour of debugging, it's mostly ready... Now that I've got most of the major bugs out, I'm going to hold a private beta just so I can ensure that it's stable and safe enough for production.
If anyone would like to try it out, just PM me and I'll send you a link to sign up for BuyBIT
|
|
|
Sounds great I was planning on creating a faucet for Litecoin for a while, but I'm glad someone finally put the effort in and made one.
|
|
|
Welcome to BitcoinTalk Faisal7 I've PM'd you my MSN email if you would like some help with whatever service you're creating.
|
|
|
The pay-in rate is slightly awkward: After your first 50 credits, that's 0.01, but then it's every 100, e.g. 150 is 0.02$, 250 is 0.03$, and 350 is 0.04$. Oh and it's also 7 credits per captcha ( usually ), and you get 1 credit for any referrals who solve captchas
|
|
|
Here's an important question: Have you gave any other sites your private keys? I had the same issue with 5BTC once, and I was worried for over an hour til I realized I gave mtgox my privatekey for the address they were received at... In the end, all my BTC was simply sweeped into my mtgox account. So yeah, if you can check if you gave any of your private keys to sites like blockchain.info wallet or mtgox, you might find that's where your BTC went.
|
|
|
Things you could try: see if the daemon version is crashing too run a memory test run a hard disk test
I'd recommend all of these. But also just to be sure, you should backup your wallet and see if bitcoin runs fine with a blank wallet. If it does, your wallet could be corrupt and might need fixed.
|
|
|
A lot of people may know of sites like CaptchaTrader which allow users to solve captchas or buy captchas for cash. But one thing that could be nice, would be being able to request payment in bitcoin. If someone were to create a captcha proxy (their API allows requesting captchas and verifying whether the answer was correct or not) that would simply take requests from users and forward it to the CaptchaTrader API, then they could verify the captcha and pay the user in BTC for solving it. They have an API documentation here: http://www.captchatrader.com/documentationFrom what it looks like, their request API should be pretty suitable for doing this if nobody is going to completely re-create the project. The owner of the Bitcoin captchatrader will be able to cash out to his/her paypal/alertpay or obtain an amazon giftcard for $5 with the CaptchaTrader credits they obtain from their users filling in captchas.
|
|
|
I've hit a small roadspike in the development of this... The automation of setting off a name_firstupdate once the name_new has hit 12 blocks isn't too simple as I can't track the transaction ID. name_new does return a long and short value, but there's no transaction ID returned, so it's not exactly easy to track the transaction to check whether it's hit 12 confirms or not. I'm planning on a quick (possibly temporary) fix by storing the block number at which the domain was pre-ordered, and then when the cron is ran in order to firstupdate all domains which are ready, checking which domains have been waiting at least 20 blocks after their name_new. If anyone knows of a cleaner way of ensuring the domain has hit at least 12 confirms, your comments will be greatly appreciated.Disregard that. I'm an idiot. Also an update on the progress: Done: - Namecoin/bitcoin deposits
- Registration and login system
- Obtaining domain information
- (MOSTLY) Handling domain purchases
- Bootstrap design
To-Do - Finishing the domain purchasing
- Adding more javascript validation in order to make the user experience a little bit smoother
- Adding more security to the login (Captchas after several failed attempts, and lockouts after too many)
- Cleaning up dirty debugging hacks all over the code
the problem with .bit domains is that it is hard to access them. I figured it out but it involved adding another DNS server, which is weird since, if I have a namecoin client running I have all the info in its blockchain and I should be able to pull the info from there. If anyone has some experience working with firefox extensions it should be possible to make something like the TOR .onion domains extension.
I really do hope someone is able to create a firefox and/or chrome extension for namecoin, that way .bit's are more accessible. Foxyproxy already allows DNS requests to be forwarded through a selected proxy, so I'm pretty sure it'd be possible to maybe create an extension that could check for http://*.bit/ and forward the DNS request through one of the existing namecoin DNS servers.
|
|
|
Currently, if I have bitcoind running on 20 machines, or 20 bitcoind running on the same machine ( vps for example ), each of them need to download and store 2 GB blockchain, total 40 GB diskspace used and much bandwidth wasted to download it 20 times. [...] I think the easiest way to make it better would be to have a "read-only" blockchain, one of the bitcoind writes it, and the others only use it read only to check transactions.
As I've pointed out before on IRC, this isn't the way to accomplish what you want. A "one write many read" blockchain can not be accomplished with a simple patch— it would take either significant and hazardous rewrite of BDB, or a hazardous rewrite of bitcoin to use something custom instead of BDB. Even if someone managed to pull it off I'm doubtful we'd take it upstream. Instead, it appears to be generally agreed that we want to split the blockchain and the wallet— so you could have one trusted blockchain and N wallets (GUI or CLI/RPC) talking to it across the network. I completely agree here. On my VPS, if I give someone access and they need to run their own bitcoind, it ends up with an extra 2gb+ space being chewed up by THEIR blockchain, if instead, my personal bitcoind could handle the blockchain, and the other users bitcoind's would simply control their own wallets and use the single blockchain instance provided by my primary bitcoind, it'd save a lot of time and resources for setting up several bitcoind's. So essentially we're looking to have separate daemons for the wallet management and the blockchain validation?
|
|
|
Buybit is officially closed.Original Post Many of you probably know that dot-bit's registrar is waaay overpriced (1.5BTC for a .bit? seriously...), but also that buying and configuring a domain with namecoin directly is a PITA. So... I've started work on BuyBIT, the soon to come .bit registrar, I'm expecting to have it ready for an open beta by next week. My Account.bit Domain InfoFront PageJust a little sneak peak for now ^ Most of the code is done, I've got a nice clean bootstrap template as you can see, and security will be a top priority as well FEATURES: - Will be costing around 0.5 or maybe 1NMC for a domain (that's only 0.008 BTC at current exchange rates)
- When purchasing a domain, you'll be able to choose whether to pay in bitcoins (currently only 0.01BTC for a domain), or you can get it slightly cheaper if you buy with Namecoins.
- Security is a top priority, SHA512 passwords, prepared SQL statements, NMC/BTC wallets are properly secured on the server, all transactions are logged in the database to allow investigation, etc.
- Full control over the domain, you can transfer a domain from your current Namecoin wallet into BuyBIT for free. To configure it, for the moment I'll allow selection between a Nameservers, or just directly onto an IP, so that people can configure the domain similar to as they would for a .com or .net, and also I'll have a JSON setting for advanced users who want to put more specific values.
- POSSIBLY an on-site market for auctioning/selling your .bit's to other users for BTC/NMC
- More to come...
UPDATE 24/05/2012 - Just got lulzplzkthx to do a quick bugscan of the site... looks like this is going to need a LOT more work. Probably won't be open til next week.Okay, I'm redesigning it, the current code is full of dirty hacks and everything. TEMPORARY BETA: http://buybit.sv.gd/Don't complain at me if there's any issues, it's just a quick hack-up of a site at the moment, but it still works anyway. A new version is planned for the next few weeks If your domain is "stuck" and hasn't been processed for 24 hours, please PM me and I'll issue you a refund
|
|
|
At the moment, most pay-monthly or pay-annually services use invoices, and warn their users via e-mail or other methods several days before their payment is due, then they can deposit the appropriate amount of BTC in their account on site, before the payment is due. At the moment, there is no pay monthly option in the Bitcoin client, most likely because it's not on the top priorities. There's also many flaws in the design, for example if you accidentally left it paying 1BTC every month to 1blablabla, and suddenly the payment address changed, the Bitcoins would be lost (or scooped up into the owners personal funds rather than your own). There may be certain escrow services that allow pay-monthly sort-of automation, although I haven't used any so I don't know of any examples that do so.
|
|
|
|