Bitcoin Forum
May 26, 2024, 03:53:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 »
181  Other / Archival / Re: [ANN] {GPC} GROUPCoin POS|10M|WHITEPAPER 8:30PM EST| Decentralized Development on: August 07, 2014, 11:52:04 PM
think this coin has great potential
182  Other / Off-topic / Re: Bypass Faebook SMS verification! on: August 06, 2014, 09:34:32 PM
get yourself a prepaid card Smiley

i've sent you a message with my number to use
183  Economy / Games and rounds / Re: i want to give 100 BTC to one user on bitcointalk. tell me why it is U. on: August 04, 2014, 09:04:28 PM
cocaine and hookers...
184  Economy / Lending / Re: 0.02 BTC loan till August 8th on: August 04, 2014, 08:47:39 PM
here you are. please repay to: 1PWHSLnz9wrdmc3VWizH8ymD7eLm8sXUww

good luck Smiley
185  Bitcoin / Bitcoin Technical Support / Re: move method in bitcoind on: August 04, 2014, 08:29:46 PM
As it is a userfriendly good practice to give immediate feedback as soon as you receive a transaction it is better to use walletnotify as a trigger or pull the data again and again in an endless loop or cronjob. Then just take the last n transactions (just in case if you missed some notifications because of any obscure failures) and push them into your db.

Pseudocode:

Code:
$transactions = $bitcoinrpc->listtransactions('accountname', 500);
foreach ($transactions as $tx) {

    if ($tx['category'] == 'receive' && $tx['confirmations'] < 10) {
        $id_user = $db->query('SELECT id_user FROM addresses WHERE address={$tx['address']}');
        $db->query('INSERT INTO balance (txid, id_user, amount, confirmations) VALUES ({$tx['txid']}, {$id_user}, {$tx['amount']}, {$tx['confirmations']})
                           ON DUPLICATE KEY UPDATE confirmations={$tx['confirmations']}');
        // (balance.txid must be defined as unique key of course)

        if ($db->affectedRows() > 0) {
            // number of confirmations for $tx has changed, do any prefered action
        }
    }
}

It is also a good idea to write the users withdrawals as a negative amount into that balance table, so you can easily (and more important consistently) get the users balance by summing up the `amount` column.

186  Other / Off-topic / Re: How long have you been logged in for? on: August 02, 2014, 03:54:21 PM
5 days, 2 hours and 15 minutes.
187  Other / Off-topic / Re: Post your Total time logged into Bitcointalk on: August 01, 2014, 08:39:36 PM
Total time logged in: 5 days, 1 hours and 6 minutes.
188  Other / Off-topic / Re: password security on: July 31, 2014, 05:34:20 PM
Don't see a fail here. Confirming passwords does not increase security. It only prevents you from misstyping which is a non-issue as long as you are able to reset your credentials.

And as only long generated passwords are good passwords (which you typically generate in your password manager and copy+paste into that field with absolutely no chance of misstyping) confirmation form fields are in fact useless.
189  Other / Off-topic / Re: Let's Count to 21 Million with Images on: July 30, 2014, 10:28:56 PM
190  Other / Off-topic / Re: Let's Count to 21 Million with Images on: July 29, 2014, 07:45:14 PM
191  Other / Off-topic / Re: Antivirus Software Isn't Very Secure, Researchers Find on: July 29, 2014, 07:38:21 PM
Congratulation, you have no idea how security works!

Security works in layers. Say you have a security guard right? Well, a security guard can actually be a HUGE vulnerability in your company if he's bribed to help during the theft.

That means we should get rid of all security guards because it's possible for them to be corrupted, right?

nah. not because they are corrupted but because they are blind. do you really need that blind security guard at your front door who is molesting your friends and only keeping the really obvious stupid thieves out when on the other hand you have a dozen backdoors and windows open?
192  Other / Off-topic / Re: Let's Count to 21 Million with Images on: July 26, 2014, 08:02:31 AM
193  Economy / Trading Discussion / Re: Risk of BTC in Web Hosting Business on: July 25, 2014, 10:28:04 PM
I'm not an expert but isn't it possible to monitor/limit/shape/throttle outgoing mail traffic?
194  Economy / Services / Re: I'll pay you $10 to set up Nginx+WordPress+caching on my DigitalOcean VPS on: July 23, 2014, 08:04:49 PM
ubuntu minimal exists and personal preference is the essential factor when there is no significant technical difference. configuring and operating redhat/centos is really pain in the ass if you are used to debian/ubuntu (and vice versa i guess).
195  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][ATH] ATHEISTCOIN █ GROESTL-based █ BITTREX █ NEW BOUNTIES ADDED █ on: July 17, 2014, 05:36:01 PM
Could someone explain a newbie how to compile the source on linux?
196  Economy / Gambling / Re: Non-Dice Games on: July 08, 2014, 10:56:15 PM
This is actually really fun, exactly what I was looking for.

Then you will also like this one: https://www.satoshi-karoshi.com/?a=Mine.index  Smiley
197  Economy / Gambling / Re: satoshi-karoshi | affiliate special: 40% share on: June 28, 2014, 12:32:53 AM
*bump*

We are sharing 40% (instead of regularly 25%) of profits with our affiliates for the next ~2 weeks (until july, 15th 2014)

www.satoshi-karoshi.com
198  Economy / Gambling / Re: Best Bitcoin Gambling affiliate Programs on: June 18, 2014, 07:13:01 PM
We have a 25% revenue share program.
199  Bitcoin / Pools / Re: GHash.IO has 51% of the network now on: June 14, 2014, 12:46:32 AM
Bitcoin protocol needs to be changed so noone never can get that much power again. It can be done. You can limit amount of blocks one entity can get in a row, you can change many, many things to prevent people from getting all into one basket.
Question is...why devs didint already change it?

Because you can't. It's anonymous. You can not tell who actually mined a block. It would be easy for one pool to make itself look like five pools with 10% each but still being the one 50% pool.
200  Bitcoin / Bitcoin Technical Support / Re: Why does one tx go trough and the other not? on: June 03, 2014, 10:20:23 PM
Ok. But both of those shown transactions have the same "unconfirmed input, no fee, low priority" pattern, still one gets confirmed the other does not. Why that?

Site is https://satoshi-karoshi.com - instant deposit & play but as said withdraw only after all deposits are confirmed. Worked fine for over a year now  Cool
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!