Bitcoin Forum
June 22, 2024, 09:54:39 AM *
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 17 18 19 20 21 22 23 24 25 26 27 28 29 30 »
181  Economy / Gambling / Re: Sweepabit - Beta | New mini casino site! on: April 26, 2016, 03:12:00 AM
Nice update, with some help from bit_exo, the house edge is now fixed.

1% on first tile you click.
Then, 0.50% on the other tiles you click. (on a same game)

Yes, nice look.
i will try soon
182  Economy / Gambling discussion / Re: How much can u lose with gambling? on: April 26, 2016, 03:09:04 AM
I lost 0.1btc yesterday  with secondstrade Sad
but i will win soon
183  Economy / Gambling / Re: ★No.1 BITCOIN BINARY OPTIONS ★HIGHEST REWARD 190%★1% DOUBLE DICE★ on: April 26, 2016, 03:07:39 AM
Really nice game!
I will win more 100 btc soon!
Thanks!
184  Economy / Micro Earnings / Re: Block this address!! It already cost me 0.39BTC in just 2days :( on: April 26, 2016, 03:04:08 AM
Most faucet traffic is from Russia and Ukraine. Good idea to block boths.

ok.
but where get traffic? it's most trafic for faucet
185  Economy / Services / Re: ★☆★ Bitvest Plinko Sig. Campaign ★☆★ Earn up to .0007/Post on: April 26, 2016, 02:59:00 AM
Hello,

Can I join to your Bitvest Plinko Sig. Campaign ?

Thanks!
186  Economy / Services / Re: ★☆★ 777Coin Signature Campaign ★☆★ Earn up to .0007/Post (Newb-Hero Welcome) on: April 26, 2016, 02:55:21 AM
Hello,

Can i join to your Signature Campaign?

Thanks!
187  Economy / Micro Earnings / Re: ninja7.xyz - new faucet on: April 26, 2016, 02:49:49 AM
Do you want get bonus?
try get big reward NOW!
Good luck, friends!
188  Economy / Micro Earnings / Re: ninja7.xyz - new faucet on: April 25, 2016, 08:47:55 AM
NEW ROUND start!
You can WIN 10K satoshi now!

Good luck!

bonus:
if you win 1000 satoshi, post here.
and i will pay to you 7777 satoshi free!

Thanks!
189  Economy / Services / Re: INCREASED PAYOUT(7/13) ۩۞۩ secondstrade.com ★signature campaign★ on: April 24, 2016, 07:26:47 AM
Name:  HackerBOSS
Posts:  399
Activity: 84
Position:  Member
Bitcoin address: 12wub1EyDWhrTaxwYLGRUpxDPxQ2uBsVgi

Thanks!


Ahh... That's why I vaguely familiar with your username, we had once post on the same board. Here, let me show you a link of your post to refresh the memory.

OMG, is really scam!
peoples dont play in this game, if you dont want lose all your money.

need open sig campaign - ***secondstrade.com - SCAM***
good luck,
friends.

And again,

do you refund btc topic starter? aaaa...
your game not fair!
I not recommended to play this f*****g game Shocked

Hmm... Just like another user who said that star-censored word about secondstrade but then turns out applying on the very sig campaign.
And just like before, Admin, the decision is yours, but for me myself, I won't hire someone who talk bad about my company. I believe it won't show a good image if my "employee" is bad mouthing about my company and... not recommending people to invest on it.

sorry, but is not I!
I will bought this account..

you can not join us , the reason is above.
sorry for that.

oh, sorry!
but is not I.
I bought this account.

I will delete this shit post.
I like your site!
190  Bitcoin / Development & Technical Discussion / Re: how to use wallet notify (bitcoind) ? on: April 21, 2016, 09:49:23 AM
-snip-
my script get hash, amount etc.. but i need wallet of player.

There is no simple way to get the "sending address"[1]. You have to check the inputs, but more often than not there will be several inputs. Its better to let the user set an address you store in your database along with their other information.

Code:
txid = dc8697d1afd6c7ac2f667cd3239e19bf227a7b5ce8be64b2f8bb3c626979425b # "random" one from the block to the hash that Polyatomic posted.
raw_tx = getrawtransaction(txid)
decoded_tx = decoderawtransaction(raw_tx)

within decoded_tx you will find a "vin" section with a value "vout" and a txid. If you check each of the txids you will see that they have a "vout" section. The outputs that created the inputs that are used in the TX you received. Find the one where "vout" matches "n" and look up its address. In this example there are 4 inputs, all "from" the address "1NgrpJJj2PMj9RsHutVK7vf8dchcpfM4YZ", but you need to decide how you want to handle different addresses.

IIRC the data is mixed formatted, arrays within JSON, but that might be different for PHP.

[1] there is no such thing

ok. i will experience..

but how make it secondstrade.com ?

bet is send to address only. no need enter player wallet
191  Bitcoin / Development & Technical Discussion / Re: how to use wallet notify (bitcoind) ? on: April 21, 2016, 06:13:39 AM


 
ok.

i generated 2 addresses getaccountaddress();
after i send btc to 1 new generated address.

and call gettransaction($txid);

how get address of 2 addresses that received payemnt?

You mean listing your addresses that've received payment(in the past)? Yep that's possible as well. Run this command->
Code:
listreceivedbyaddress
. Basically, it lists only addresses that already 've received transactions. However, you can list all the addresses by setting the first argument to 0, and the second one to true->
Code:
listreceivedbyaddress 0 true

for example sport betting..

1 wallet - win #1 team
2 wallet - win #2 team

player placed bet to 2 wallet.. (send paymet to 2 wallet)

my script get hash, amount etc.. but i need wallet of player.

 


192  Bitcoin / Development & Technical Discussion / Re: how to use wallet notify (bitcoind) ? on: April 21, 2016, 04:10:15 AM
i use gettransaction($txid);

how get my wallet address for receiving? (this method get payer wallet address only)
Run this command->
Code:
getaccountaddress <account>
. This'll return the current bitcoin address for receiving payments to this account. If <account> does not exist, it will be created along with an associated new address that'll be returned.
P.S.-> "getaccountaddress" will return the same address until coins are received on that address; once coins have been received, it will generate and return a new address.

ok.

i generated 2 addresses getaccountaddress();
after i send btc to 1 new generated address.

and call gettransaction($txid);

how get address of 2 addresses that received payemnt?
193  Bitcoin / Development & Technical Discussion / Re: how to use wallet notify (bitcoind) ? on: April 21, 2016, 03:06:32 AM
i use gettransaction($txid);

how get my wallet address for receiving? (this method get payer wallet address only)
194  Bitcoin / Project Development / Re: So You Want To Use Bitcoin On Your Website? on: April 21, 2016, 02:15:22 AM
i use gettransaction($txid);

how get my wallet address for receiving? (this method get payer wallet address only)
195  Economy / Services / Re: INCREASED PAYOUT(7/13) ۩۞۩ secondstrade.com ★signature campaign★ on: April 21, 2016, 01:54:18 AM
sorry, but is not I!
I will bought this account..
Then it's your problem. You should know that there are some risks when buying account.

i think need remove that messages.
and will be ok
196  Economy / Services / Re: INCREASED PAYOUT(7/13) ۩۞۩ secondstrade.com ★signature campaign★ on: April 20, 2016, 05:02:14 PM
Name:  HackerBOSS
Posts:  399
Activity: 84
Position:  Member
Bitcoin address: 12wub1EyDWhrTaxwYLGRUpxDPxQ2uBsVgi

Thanks!


Ahh... That's why I vaguely familiar with your username, we had once post on the same board. Here, let me show you a link of your post to refresh the memory.

OMG, is really scam!
peoples dont play in this game, if you dont want lose all your money.

need open sig campaign - ***secondstrade.com - SCAM***
good luck,
friends.

And again,

do you refund btc topic starter? aaaa...
your game not fair!
I not recommended to play this f*****g game Shocked

Hmm... Just like another user who said that star-censored word about secondstrade but then turns out applying on the very sig campaign.
And just like before, Admin, the decision is yours, but for me myself, I won't hire someone who talk bad about my company. I believe it won't show a good image if my "employee" is bad mouthing about my company and... not recommending people to invest on it.

sorry, but is not I!
I will bought this account..
197  Bitcoin / Development & Technical Discussion / Re: how to use wallet notify (bitcoind) ? on: April 20, 2016, 12:29:27 PM
-walletnotify will run twice per transaction, when it's first seen on the network as unconfirmed, and when it gets it's first confirmation.

To track more than one confirmation you need to use -blocknotify

and blocknotify how much times call myscript.php?
198  Bitcoin / Development & Technical Discussion / Re: how to use wallet notify (bitcoind) ? on: April 20, 2016, 12:25:39 PM
-walletnotify will run twice per transaction, when it's first seen on the network as unconfirmed, and when it gets it's first confirmation.

To track more than one confirmation you need to use -blocknotify

after first confirmation payment not lost?
199  Economy / Services / Re: INCREASED PAYOUT(7/13) ۩۞۩ secondstrade.com ★signature campaign★ on: April 20, 2016, 12:22:59 PM
Name:  HackerBOSS
Posts:  399
Activity: 84
Position:  Member
Bitcoin address: 12wub1EyDWhrTaxwYLGRUpxDPxQ2uBsVgi

Thanks!
200  Bitcoin / Development & Technical Discussion / Re: how to use wallet notify (bitcoind) ? on: April 20, 2016, 07:46:43 AM
   -alertnotify=<cmd>    Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)
   -blocknotify=<cmd>    Execute command when the best block changes (%s in cmd is replaced by block hash)
    -walletnotify=<cmd>    Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)


So for individual transactions, you would want to use walletnotify, eg:

Code:
bitcoind -walletnotify=/path/to/script.php %s

Then in script.php, you could do something like:

Code:
<?php
$tx 
$argv[1];
$txinfo json_decode( `bitcoin-cli gettransaction $tx` );
if( 
$txinfo['confirmations'] >= ) {
    
// update mysql if necessary.
}
of course with sanitization, error checks, etc....   ;-)


If you are likely to have more than one tx in a given block, a more efficient way to do it can be to include the block-hash with the tx in the db, so you can look up all tx by block.  Then use blocknotify instead of walletnotify.


edit:  and don't forget that the txid can change due to transaction malleability. 

Thanks!

how much times wallet notify call script.php ?
 
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!