Bitcoin Forum
May 24, 2024, 03:10:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 [68] 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 ... 142 »
1341  Economy / Long-term offers / Re: Bitcoin Savings and Trust on: April 30, 2012, 11:03:55 PM
only one reason to like mondays... Smiley

i still hate mondays.

aussies get pirate-pay on tuesday mornings Smiley
1342  Economy / Invites & Accounts / Re: 200+ Bitcoin Domain Names for Sale [ends in 2 weeks] on: April 30, 2012, 11:01:32 PM
Bids have been disappointing so I've decided to bite the bullet and reregister the domains for another year. I'm hoping next year will bring better offers.

I'm still happy to hear any offer >$250 (and >$500 for gambling domains). Thank you for your patience.


That's way too hefty.  I'm charging $25 per domain and they have super high potential.

link to yours, accord?
1343  Other / Off-topic / Re: Let's Count to 21 Million with Images on: April 30, 2012, 11:31:57 AM


by the way, if you want better pics, just keep filtering out the unwanted types until the list comes good...

eg. 207 -peugeot -peugot -pug -peoguat -peugat -car
1344  Economy / Services / Re: Announcing BitcoinAdvertisers.com THE MONEY MAKING MONSTER! on: April 30, 2012, 04:04:12 AM
The "Ads by BitcoinAdvertisers.com" link still doesn't break out of the frame that it is in.

There is no intention of changing this at this time.
Oh, OK, I just thought you would possibly be wanting people to visit your site when they click the link. But if you wish to clear away the ad and leave a blank white space for them to stare at, that is fine with me too. Anytime I see one, I just click it and poof, no more ads. Quite considerate, actually.

andrew, rjk speaks the truth... you need to put something like target="_top" or target="_blank" in the href for BitcoinAdvertisers.com

otherwise, you're not going to grow your organic traffic.
1345  Economy / Services / Re: Announcing BitcoinAdvertisers.com THE MONEY MAKING MONSTER! on: April 30, 2012, 02:28:17 AM
It gives a 'preview' but it is still in boxes. You ought show exactly how it will look.

you just +1'd my post Wink
1346  Bitcoin / Bitcoin Discussion / Re: Open for testing: Bitcoin RPS (Rock Paper Scissors challenge) on: April 30, 2012, 01:47:22 AM
agreed, awesome Cheesy

i created some games... who wants to challenge me?
1347  Economy / Services / Re: Announcing BitcoinAdvertisers.com THE MONEY MAKING MONSTER! on: April 28, 2012, 06:53:03 PM
also andrew, on your preview page, it would be good if you displayed the ad how it will actually appear...

as it is currently it's not as helpful, imho.
1348  Economy / Services / Re: Announcing BitcoinAdvertisers.com THE MONEY MAKING MONSTER! on: April 28, 2012, 06:39:05 PM
hi andrew, i added this to my website but then quickly removed it as i thought it looked a bit messy:

if it appeared centered properly, and if 'BitcoinAdvertisers.com' wasn't sliced off at the bottom, that might help.


I will look into this.

i tried again, this time modifying the generated code to have border:1px solid #cccccc instead so at least it now appears to be centered: http://payb.tc

your domain is still cut off though (in chrome)

thanks!
1349  Economy / Services / Re: Announcing BitcoinAdvertisers.com THE MONEY MAKING MONSTER! on: April 28, 2012, 06:32:08 PM
hi andrew, i added this to my website but then quickly removed it as i thought it looked a bit messy:



if it appeared centered properly, and if 'BitcoinAdvertisers.com' wasn't sliced off at the bottom, that might help.
1350  Bitcoin / Press / Re: 2012-04-27 Stripping For Bitcoins on: April 28, 2012, 04:59:21 AM

starts off with:
Quote
a virtual currency that's not really worth anything.

nice research.
1351  Bitcoin / Press / Re: 2012-04-27 Stripping For Bitcoins on: April 27, 2012, 03:10:06 AM
cool, i noticed a sudden surge in traffic to payb.tc the last day or so... maybe that article was the catalyst.
1352  Other / Beginners & Help / Re: Private key to Public key on: April 27, 2012, 02:49:26 AM
That's from here, and I don't think it can be used to go from a private key to a public key.

Quote
* @author theymos (functionality)

ah yeah, from before mike put it in a class.
1353  Other / Beginners & Help / Re: Private key to Public key on: April 26, 2012, 01:51:30 PM
if the private key is a hex string, try following the below functions.

(apologies to the author, i don't remember where i found this code)

Code:
define("ADDRESSVERSION","00"); //this is a hex byte
 
function decodeHex($hex)
{
        $hex=strtoupper($hex);
        $chars="0123456789ABCDEF";
        $return="0";
        for($i=0;$i<strlen($hex);$i++)
        {
                $current=(string)strpos($chars,$hex[$i]);
                $return=(string)bcmul($return,"16",0);
                $return=(string)bcadd($return,$current,0);
        }
        return $return;
}
 
function encodeHex($dec)
{
        $chars="0123456789ABCDEF";
        $return="";
        while (bccomp($dec,0)==1)
        {
                $dv=(string)bcdiv($dec,"16",0);
                $rem=(integer)bcmod($dec,"16");
                $dec=$dv;
                $return=$return.$chars[$rem];
        }
        return strrev($return);
}
 
function decodeBase58($base58)
{
        $origbase58=$base58;
       
        $chars="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
        $return="0";
        for($i=0;$i<strlen($base58);$i++)
        {
                $current=(string)strpos($chars,$base58[$i]);
                $return=(string)bcmul($return,"58",0);
                $return=(string)bcadd($return,$current,0);
        }
       
        $return=encodeHex($return);
       
        //leading zeros
        for($i=0;$i<strlen($origbase58)&&$origbase58[$i]=="1";$i++)
        {
                $return="00".$return;
        }
       
        if(strlen($return)%2!=0)
        {
                $return="0".$return;
        }
       
        return $return;
}
 
function encodeBase58($hex)
{
        if(strlen($hex)%2!=0)
        {
                die("encodeBase58: uneven number of hex characters");
        }
        $orighex=$hex;
       
        $chars="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
        $hex=decodeHex($hex);
        $return="";
        while (bccomp($hex,0)==1)
        {
                $dv=(string)bcdiv($hex,"58",0);
                $rem=(integer)bcmod($hex,"58");
                $hex=$dv;
                $return=$return.$chars[$rem];
        }
        $return=strrev($return);
       
        //leading zeros
        for($i=0;$i<strlen($orighex)&&substr($orighex,$i,2)=="00";$i+=2)
        {
                $return="1".$return;
        }
       
        return $return;
}
 
function hash160ToAddress($hash160,$addressversion=ADDRESSVERSION)
{
        $hash160=$addressversion.$hash160;
        $check=pack("H*" , $hash160);
        $check=hash("sha256",hash("sha256",$check,true));
        $check=substr($check,0,8);
        $hash160=strtoupper($hash160.$check);
        return encodeBase58($hash160);
}
 
function addressToHash160($addr)
{
        $addr=decodeBase58($addr);
        $addr=substr($addr,2,strlen($addr)-10);
        return $addr;
}
 
function checkAddress($addr,$addressversion=ADDRESSVERSION)
{
        $addr=decodeBase58($addr);
        if(strlen($addr)!=50)
        {
                return false;
        }
        $version=substr($addr,0,2);
        if(hexdec($version)>hexdec($addressversion))
        {
                return false;
        }
        $check=substr($addr,0,strlen($addr)-8);
        $check=pack("H*" , $check);
        $check=strtoupper(hash("sha256",hash("sha256",$check,true)));
        $check=substr($check,0,8);
        return $check==substr($addr,strlen($addr)-8);
}
 
function hash160($data)
{
        $data=pack("H*" , $data);
        return strtoupper(hash("ripemd160",hash("sha256",$data,true)));
}
 
function pubKeyToAddress($pubkey)
{
        return hash160ToAddress(hash160($pubkey));
}
 
function remove0x($string)
{
        if(substr($string,0,2)=="0x"||substr($string,0,2)=="0X")
        {
                $string=substr($string,2);
        }
        return $string;
}
1354  Other / Off-topic / Re: Let's Count to 21 Million with Images on: April 26, 2012, 06:34:03 AM
1355  Economy / Speculation / Re: zOMG SellOff! on: April 26, 2012, 02:28:42 AM
15K BTC sold from ~$5.14 to ~$4.99.

As I'm posting, the spread is so big that it actually bounced back up to $5.14 afterwards.

i know the price has been fairly stable for quite some months now, but every time i see a new rally/crash thread i still expect to see the price doubled/halved.

then i check and it's only moved like 3%
1356  Bitcoin / Bitcoin Discussion / Re: Idea for a paid, anonymous api service. on: April 25, 2012, 08:59:01 AM
so what is it? a proxy service or something more?

it's nothing but an idea at the moment, but take blockexplorer just as an example.

they provide an api to get various info, such as the 'received' amount of an address:

http://blockexplorer.com/q/getreceivedbyaddress/1A8JiWcwvpY7tAopUkSnGuEYHmzGYfZPiq

however, they also ask people not to query it too often, because of server resources, etc.

if such a service were paid for, it could help pay for server resources/profit for the api developer.

eg. http://blockexplorer.com/q/getreceivedbyaddress/1A8JiWcwvpY7tAopUkSnGuEYHmzGYfZPiq?payment_key=5fji23892u3dfj389kfjw8jij23fj2ifj2323f829jf82j3fffji

if payment_key is invalid or doesn't contain enough bitcoins, die(); else sweep the key and output the requested info.

there are millions of api's out there... some that you have to sign up for and pay a monthly subscription fee, some that currently have no subscription option but limit the number of requests.


pretty much any api you can think of could use this system... off the top of my head, let's say there's an api for a 'daily joke', where each joke costs 0.00001 btc, or a certain fx chartist might charge 0.01 per up/down/hold prediction.


edit: also a server could easily provide binary data for a given request, eg: http://pornsite/hotvideo.mp4?payment_key=5fji23892u3dfj389kfjw8jij23fj2ifj2323f829jf82j3fffji



Actually I like the model where you deposit bitcoins to the server, and use them more. It can still be fairly anonymous - eg. your first bitcoin deposit creates your account, then later you can do requests by singing the request with your bitcoin public key you made the first bitcoin transaction.

Creating lots of these microtransactions is not that sensible, since there will be transaction fees in the future.

yeah i was thinking something along those lines too, except using an api key that is given to you on your first request...

if you were going to use the same service more than once, you could pay up front for many requests, and the output of the first request contains an api_key for use in all the follow-up requests.

each call from then on might also output a summary of your remaining balance, etc.
1357  Bitcoin / Development & Technical Discussion / Re: Want to build a website, 0 coding experience... Should I? on: April 25, 2012, 08:54:47 AM
What if an attacker rewrote the recorded bitcoins addresses(SQLi) to have sent money routed to their BTC address instead?  unless everything was strictly email then that might be different.
They aren't using the website to send anything but alert the store which address payment was made from so no diversion is possible, no BTC passes through the site.
For an attacker to divert funds they would need to modify the stores listed address. Payment address can be firstbits vanity address as domain name for the store.

store owner should periodically download a dump of the address list to make sure all of them are legit, and keep as few online as possible.

eg. start with a list of just 20 addresses, and every time the list gets down to 10, send an email to admin saying 'top up the address list'. that way, a tampering of the list will be easier to spot.
you might also do some kind of merkle magic on the list to make tampering even quicker to spot.
1358  Bitcoin / Bitcoin Discussion / Re: Idea for a paid, anonymous api service. on: April 25, 2012, 08:37:03 AM
so what is it? a proxy service or something more?

it's nothing but an idea at the moment, but take blockexplorer just as an example.

they provide an api to get various info, such as the 'received' amount of an address:

http://blockexplorer.com/q/getreceivedbyaddress/1A8JiWcwvpY7tAopUkSnGuEYHmzGYfZPiq

however, they also ask people not to query it too often, because of server resources, etc.

if such a service were paid for, it could help pay for server resources/profit for the api developer.

eg. http://blockexplorer.com/q/getreceivedbyaddress/1A8JiWcwvpY7tAopUkSnGuEYHmzGYfZPiq?payment_key=5fji23892u3dfj389kfjw8jij23fj2ifj2323f829jf82j3fffji

if payment_key is invalid or doesn't contain enough bitcoins, die(); else sweep the key and output the requested info.

there are millions of api's out there... some that you have to sign up for and pay a monthly subscription fee, some that currently have no subscription option but limit the number of requests.


pretty much any api you can think of could use this system... off the top of my head, let's say there's an api for a 'daily joke', where each joke costs 0.00001 btc, or a certain fx chartist might charge 0.01 per up/down/hold prediction.


edit: also a server could easily provide binary data for a given request, eg: http://pornsite/hotvideo.mp4?payment_key=5fji23892u3dfj389kfjw8jij23fj2ifj2323f829jf82j3fffji

1359  Bitcoin / Bitcoin Discussion / Re: Idea for a paid, anonymous api service. on: April 25, 2012, 02:12:47 AM
brainstorming part 2:

client pre-pays by funding a bitcoin address in advance, if they know the purchase price, and then simply sends the private key in the request (use HTTPS Cheesy)

eg. http://server.com/secret_info?bitcoin_private_key=5fiwejwoefjwiewefmfiweiwjcewjmiejwifjeijwoewjioejiow

server then sweeps the key, checks it is the required amount, etc and sends the info

Code:
array
(
  'secret_info' => 'i love pineapples'
)
1360  Bitcoin / Bitcoin Discussion / Idea for a paid, anonymous api service. on: April 25, 2012, 01:58:54 AM
i'm just brainstorming, none of this has been coded, thought through much, or debugged... i'm just typing it out as i think of it...

you send an api request to a certain web service, along with an optional postback url:

eg. http://server.com/secret_info?postback=http://client.com/receive_info.php

server then outputs something like:

Code:
array(
  'price' => 3.5  // BTC
  'address' => 1vfjfiowjeifwojeiofwjweiiwjfwoeio //unique purchase address
  'expires' => '2012-05-01 12:30:00'
)

client then sends 3.5 btc to the address given, and the server posts the secret info to the client's postback url as soon as it sees the transaction on the network (or as soon as it has a certain number of confirmations).

...............

alternatively, (for more client anonymity), if the client doesn't specify a postback url, the server simply outputs a key for use in a secondary request:

Code:
array(
  'price' => 3.5  // BTC
  'address' => 1vfjfiowjeifwojeiofwjweiiwjfwoeio //unique purchase address
  'expires' => '2012-05-01 12:30:00'
  'key' => 'afwiejowjeiwjefifjwioejfwijefijmwiejcoiw' //this is a unique 'api key' for retrieving the secret info
)

once the client has the unique key, it sends 3.5 btc to the address given, and then re-asks the server for the info:

eg. http://server.com/secret_info?key=afwiejowjeiwjefifjwioejfwijefijmwiejcoiw

the server then checks to see if the corresponding address has received the purchase amount (3.5 btc) and if so outputs the secret info:

Code:
array(
  'secret_info' => 'ponies are cool'
)


no signup necessary, no ongoing api membership fees... just one-off payments for one-off pieces of info from the api.

one might pay blockexplorer/blockchain.info in this manner if they charged a tiny amount for each request

that way if they charged a certain price, they could allow requests to come in far more often, like thousands per hour.
Pages: « 1 ... 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 [68] 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 ... 142 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!