Bitcoin Forum
May 02, 2024, 09:52:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 »
1461  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [announce] Namecoin - a distributed naming system based on Bitcoin on: April 28, 2011, 05:08:47 AM
@doublec thanks for the modified polipo.  What do you think about a modified resolver library that allows "sideloading"?  How about this in /etc/resolv.conf:
I don't know much about DNS so avoided modifying or using any existing DNS code. What I have been able to do is get 'dnsmasq' to serve namecoind names using a standard dnsmasq build. eg. try:
Code:
dig @cd.pn bluishcoder.bit

This seems to work well. What I did was write a small program that does a name_scan and prints out the valid mappings in the same format as /etc/hosts. I then run dnsmasq with the option for obtaining names from this file. I have a script that runs every 5 minutes that rewrites this file and sends a SIGHUP to dnsmasq. The program to generate the hostfile is namecoin-hosts.c. It needs libjansson and libcurl. It can be built with:
Code:
gcc -o namecoin-hosts namecoin-hosts.c -lcurl -ljansson

The entries I changed in my dnsmasq.conf were:
Code:
local=/.bit/
local-ttl=300
addn-hosts=/tmp/hosts.txt

I have a simple shell script that does the updating:

Code:
while true; do
  ./namecoin-hosts 127.0.0.1:8332 rpcuser rpcpassword >/tmp/hosts.txt
  kill -HUP `cat /var/run/dnsmasq/dnsmasq.pid`
  echo `date`
  sleep 300
done
1462  Economy / Marketplace / Re: New guy here looking to sell 200BTC for 1.90 (Any helpful comments appreciated!) on: April 28, 2011, 12:48:51 AM
So, with the current market rate at about 1.94, is my price considered fair? I'd preferably like to just sell it on MT Gox, but I'm Canadian and not willing to create a Liberty Reserve account. Anyways, let me know if you're interested, or if you've got some advice for a new guy I would love to hear it!
You might like to look into #bitcoin-otc - the 'over the counter' marketplace for buying and selling coins.
1463  Economy / Marketplace / Re: Buying/Selling Poker Site Money on: April 27, 2011, 10:53:06 AM
I'd be interested too. Would #bitcoin-otc be a reasonable way of doing the trades? You can make use of the existing trust mechanism for example.
1464  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [announce] Namecoin - a distributed naming system based on Bitcoin on: April 27, 2011, 10:05:05 AM
I hacked a bit on the polipo HTTP proxy code and added simple namecoin support for DNS lookups. The modified code is in this git repository: https://github.com/doublec/namecoin-polipo. It needs libjansson for JSON parsing and libcurl for talking to the namecoind JSON-RPC server.

Once compiled, you can run it passing it the details about the namecoind server:

Code:
$ git clone https://github.com/doublec/namecoin-polipo
$ cd namecoin-polipo
$ make
$ ./polipo namecoindServer="127.0.0.1:8332" namecoindUsername=rpcuser namecoindPassword=rpcpassword

This will start the proxy, and it'll connect to the namecoind JSON-RPC server with the given details. It runs 'name_scan' to get the list of names. Any program using this proxy will have all .bit domains resolved by namecoind. Currently it only supports mapping to IP addresses. So namecoind values like the following work: {"map":{"":"192.0.32.10"}}. As an example 'bluishcoder.bit' hopefully resolves to the IP address of my server with my weblog using this version of polipo. It rescans namecoind when a request is made for a domain lookup and the last scan was more than 10 minutes ago. 

To use it with Firefox (or other browsers) go into the network settings and set the 'http proxy' to localhost, port 8123.

I decided to do this to avoid needing to run the ncproxy script since I don't need socks support. Comments, suggestions, patches are welcome.
1465  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [announce] Namecoin - a distributed naming system based on Bitcoin on: April 27, 2011, 03:07:15 AM
Until a DNS proxy that uses namecoin comes along, one approach to using namecoin for host name lookups could be to provide the option to scan the names every time a block is mined and update/rewrite the users /etc/hosts (or windows equivalent). This might be a quick way of starting to use the namecoin chain for lookups. Even a simple script that does this every 10 minutes or so, getting the names from namecoind via RPC would do a reasonable job.
An option for using socks enabled programs is to use ncproxy combined with SSH. SSH to localhost using the '-D' option to set up a socks proxy. 

Code:
$ ssh -Dn 2001 user@locahost &
$ ncproxy --user=namecoind-user --password=namecoind-password -p 9055 -s 127.0.0.1:2001

This sets up ncproxy to forward to the SSH proxy. You can configure firefox to use this socks proxy by going into 'Preferences/Advanced/Network/Settings' and adding '127.0.0.1' and '9055' in the Socks proxy area. You should also go into 'about:config' in Firefox, search for net.proxy.socks_remote_dns and double click on it to set it to true. This will cause DNS requests to go through ncproxy and then the SSH socks proxy.

You can also slip polipo in there if you want a web cache. Run:
Code:
$ ssh -Dn 2001 user@locahost &
$ ncproxy --user=namecoind-user --password=namecoind-password -p 9055 -s 127.0.0.1:2001
$ ./polipo socksParentProxy=localhost:9055

Configure firefox to use the HTTP proxy on port 9055 instead of a socks proxy.

These approaches seem to work in that name lookups occur. Unfortunately there appear to  be no namecoin entries with the JSON format to actually see if ncproxy is doing the job.
1466  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [announce] Namecoin - a distributed naming system based on Bitcoin on: April 27, 2011, 12:12:54 AM
Until a DNS proxy that uses namecoin comes along, one approach to using namecoin for host name lookups could be to provide the option to scan the names every time a block is mined and update/rewrite the users /etc/hosts (or windows equivalent). This might be a quick way of starting to use the namecoin chain for lookups. Even a simple script that does this every 10 minutes or so, getting the names from namecoind via RPC would do a reasonable job.
1467  Bitcoin / Development & Technical Discussion / Re: Pooled/Remote Mining - Open Source - Updated 2010-12-24 on: April 25, 2011, 09:27:54 AM
Will be an update here? It will be great if gethashespersec will show total hashps for all connected miners. Smiley
I added this to puddinpop's code in a branch of my github repository mirroring his code: https://github.com/doublec/bitcoin-pool/tree/lowcpu

With this code 'gethashespersec' will show the total server hash rate. It also adds a command line option '-distributionpercent' allowing the server operator to set the percentage of the generated coins that are available for distribution (the rest go to the server operator). It rounds the generated coin amounts to 3dp as well to help prevent dust accumulation in miners wallets. Feel free to cherry-pick the commits that interest you.
1468  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [announce] Namecoin - a distributed naming system based on Bitcoin on: April 20, 2011, 10:22:32 AM
I compiled namecoind on linux  by just running 'make'. Not 'make -f makefile.unix' as you'd do to build 'bitcoind'. I also added 'rpcport=...' in the '~/.namecoin/bitcoin.conf' file to set an RPC port that doesn't clash with bitcoind that I have running. Note that the configuration file is still called 'bitcoin.conf' but it lives in '~/.namecoin'.
1469  Bitcoin / Project Development / Re: Windows Phone 7 Bitcoin Client [100 BTC] on: April 19, 2011, 11:42:31 PM
No problem with that, by November hopefully 100 BTC will be worth quite large amount of money. Smiley
That's true, hopefully people contributing to the bounty put the bitcoins aside now while it's worth less Smiley I have a WP7 which is why I'm asking the questions btw, not trying to put 'stop energy' into the discussion.
1470  Bitcoin / Project Development / Re: Windows Phone 7 Bitcoin Client [100 BTC] on: April 19, 2011, 11:17:53 AM
This bounty shouldn't be too hard, once bitcoinj has been developed, porting over to C# shouldn't be toohard.  Then a WPF GUI needs to be made, and some sort of way to download/send transactions over http needs to be developed.
There's also the fact that Windows Phone 7 doesn't allow background processing or multitasking. Whenever you switch away from the app it stops. You'll have to download newest blocks everytime you start it. Again the november 'mango' update should help with this as some form of background operation is supposed to be available.

I don't see any chance of your bounty being claimed if only a completely client side solution is allowed until at least mango becomes available in November-ish (earlier to registered WP7 developers possibly).
1471  Bitcoin / Project Development / Re: Windows Phone 7 Bitcoin Client [100 BTC] on: April 19, 2011, 06:40:16 AM
Full client, except generation and JSON-RPC

da2ce7: 100BTC
It's not possible to do a full client on Windows Phone 7 at this stage. The public API's do not include socket access. Only HTTP requests are allowed. A workaround would need to be done whereby it accesses a client or proxy running on a server. Would that be adequate for the bounty?

In the upcoming 'mango' update due about November for WP7 it will be possible to do socket level access.
1472  Economy / Marketplace / Re: 1000 BTC for 1000 NZD on: April 02, 2011, 01:05:29 PM
So I'm looking to get some Bitcoin, any Kiwi around willing to sell?
I'll pay via bank transfer, with Bitcoins in escrow (seller pays).
I can sell for bank transfer to an NZ account (or trade in person so we don't need escrow depending on where you are). I'd be looking to get around 1.07 NZD per BTC though depending on NZ exchange rate at the time. Look me up on #bitcoin-otc or PM me if you're interested.
1473  Other / Off-topic / Re: git question about weird trees when pulling on: April 01, 2011, 01:15:56 PM
It looks like at some point your remote machine had a commit that the local or gitorious didn't have. Now every pull from your remote machine is a merge.
1474  Bitcoin / Development & Technical Discussion / Re: Direct pool payout to paypal..... on: March 30, 2011, 03:35:14 AM
Wow, nice method for coming off as mature.
I'm not sure what your issue with sgornick's post is. Compute4Cash is a bitcoin pool and they pay to paypal. They are just targeting a different audience than bitcoin users.
1475  Bitcoin / Project Development / Re: Does WeUseCoins Deserves the Full Bounty? RETAKE on: March 30, 2011, 12:58:21 AM
Yes
1476  Bitcoin / Bitcoin Discussion / Re: Difficulty selling BitCoins on: March 29, 2011, 05:25:01 AM
Is there no BitCoin2PayPal, where you send BitCoins to a BitCoin address, wait for a confirmation and around 10 minutes later the money is PayPal'd to you?

CoinCard pretty much does this.
1477  Bitcoin / Pools / Re: Cooperative mining (150Ghash/s) on: March 26, 2011, 12:01:19 PM
Now Firefox uses a SERVICE in windows.
Still, it opens slow to me than chrome. Even though i used speedyfox or starterfox.

Firefox does not use a windows service. Are you sure the third party addon starterfox isn't adding one?
1478  Bitcoin / Development & Technical Discussion / Re: Is A Javascript Based Miner At All Possible? on: March 24, 2011, 04:29:06 AM
It'll be more interesting when WebCL becomes available in browsers:

http://www.conceivablytech.com/5978/products/webcl-to-enablegpu-accelerated-web-apps
1479  Bitcoin / Development & Technical Discussion / Re: bitcoind running on the N900 smartphone on: March 24, 2011, 04:28:03 AM
Btw, when i do bitcoind stop it seems it doesn't close (i still see it running with htop, and trying to fire it up again gives me an error about the .lock), am i doing somthing wrong?

It takes quite a while (a few minutes) to stop but it does eventually. I don't know why.
1480  Bitcoin / Development & Technical Discussion / Re: bitcoind running on the N900 smartphone on: March 23, 2011, 10:11:36 PM
Bitcoin opens an IRC connection to lfnet for bootstrapping (finding peers).  New nodes have to find out about existing nodes somehow. 

Run it with '-no-irc' to prevent it from making an IRC connection. You can also use '-no-listen' to prevent it from listening for incoming connections and use '-connect' to explicitly connect to a node. This minimizes the number of connections to your phone.
Pages: « 1 ... 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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!