Bitcoin Forum
May 23, 2024, 11:30:21 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 31 32 33 34 35 36 37 38 39 40 41 42 43 [44]
861  Economy / Exchanges / Re: www.BITSTAMP.net Bitcoin exchange site for USD/BTC on: April 05, 2013, 03:09:43 PM
Does bitstamp have a public websocket/streaming API?
Also, are there any request limits to usual API?

Yes:

Code:
 var trades_socket = io.connect('https://websocket.bitstamp.net:8080/live_trades');
 var orders_socket = io.connect('https://websocket.bitstamp.net:8080/live_orders');

Yes:

 up to 1 per second

How do we use the Socket.IO API? There doesn't seem to be happening much besides a connected message when using this:

Code:
<script src="https://websocket.bitstamp.net:8080/socket.io/socket.io.js"></script>
<script>
    var conn = io.connect('https://websocket.bitstamp.net:8080/live_trades');

    conn.on('connect', function() {
        alert('Connected!');
    });

    conn.on('disconnect', function() {
        alert('Disconnected!');
    });

    conn.on('message', function(data) {
        alert('Got Something!');
    });

    conn.on('anything', function(data) {
        alert('Got Something!');
    });

    conn.on('error', function() {
        alert('Got Error!');
    });
</script>
862  Bitcoin / Project Development / [BOUNTY] Node JS Pool Server (0.5 BTC) on: April 05, 2013, 11:02:19 AM
Hi All,

I have been lurking around this forum for a while and I see a lot of people wanting to set up a pool of their own either private or public. I think that's a good thing, but I don't think there are a lot of people succeeding, while the principle of a pool server is pretty simple, the technical part isn't that easy. The only opensource project I know of seems to be eloipool and it's written in python without any documentation. As most people here have at least some knowledge of JavaScript, I think it might be interesting if someone were to create a clean lightweight documented pool server written in JS.

So I am looking for someone that would like to take up the challenge, there is already some opensource code to communicate with bitcoind using node:

https://github.com/freewil/node-bitcoin

A couple of requirements I have:

- Written entirely in Node.JS
- GBT as protocol to communicate with miners. Optional extra plugable Stratum Module
- A simple payout system included that can be easily expanded and customized by the pool operator. Optional sample score based payout script.
- Database of preference is MongoDB, but PostgreSQL is also allowed.
- Web interface should be created by the pool operator and therefor should not be included in the pool software.
- Code should be available on github
- Basic documentation is required and I'm volunteering to add more once the code is finished

The bounty is negotiable and if too high I'd like to crowdfund with the community if there is a lot of interest for something like this.

Current Bounty: 0.5 BTC

Any Questions, Remarks, Things I forgot?

Thanks for reading and let's make this happen!
863  Other / Beginners & Help / Re: Yes hello you probably hate me on: April 05, 2013, 10:11:00 AM
Trolololol!
864  Other / Beginners & Help / Re: is it possible to change the denominations? on: April 04, 2013, 11:13:31 AM
It might already be there, but I kind of agree 1 Satoshi should be the default. That gives the illusion of more growing opportunity.
865  Other / Beginners & Help / Re: Introduce yourself :) on: April 04, 2013, 11:11:20 AM
Hi Everybody!
866  Economy / Scam Accusations / Re: Butterflylabs Huge SCAM on: April 04, 2013, 11:05:30 AM
Guess they weren't a scam after-all.
867  Other / Beginners & Help / Re: Newbie restrictions SUCK on: April 04, 2013, 11:04:13 AM
Good times, waiting 5 hours just because I want to have a chat on the potential of creating a pool in node.
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 31 32 33 34 35 36 37 38 39 40 41 42 43 [44]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!