Bitcoin Forum
May 21, 2024, 09:35:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Pushpool - Tech Support on: June 19, 2011, 03:53:35 PM
Folks

I am trying to set up a bitcoind + pushpoold running on an Amazon EC2. No problems on bitcoind side, but I really don't know what's happening on the pushpoold side. Compilation was smooth, but I can't manage to run it.

My config file:

Code:
{
   # network ports
   "listen" : [
      # binary protocol (default), port 8342
      { "port" : 8342 },

      # HTTP JSON-RPC protocol, port 8341
      { "port" : 8347, "protocol" : "http-json" },

      # HTTP JSON-RPC protocol, port 8344,
      #proxy is most likely your external ip address if your running a public pool | Public pools WON'T have the following ip addresses: (10.0.0.1, 127.0.0.1, 192.168.1.100, or 192.168.254.254,etc,etc)
      # requests to us | "proxy" should be set to your ip address that people will connect through
      { "port" : 8344, "protocol" : "http-json",
        "proxy" : "127.0.0.1" },

      # binary protocol, localhost-only port 8338
      # host is most likely your localhost address
      { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
   ],

   # database settings
   "database" : {
      "engine" : "mysql",

      "host" : "localhost",

      "port" : 3306,

      #database name
      "name" : "pushpool",
      #database username
      "username" : "mysqlusername",
      #database password
      "password" : "mysqlpass",
      #enable sharelog | to insert share data or sometimes known as "work"
      "sharelog" : true,
      "stmt.pwdb":"SELECT password FROM pool_worker WHERE username = ?",

      "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"

   },

   #uncoment this when you want to use memcached (Recommended for servers over 1.5gb of ram)
   # cache settings
   #"memcached" : {
   #   "servers" : [
   #      { "host" : "127.0.0.1", "port" : 11211 }
   #   ]
   #},

   "pid" : "/tmp/pushpoold.pid",

   # overrides local hostname detection
   "forcehost" : "localhost.localdomain",

   "log.requests" : "/tmp/request.log",
   "log.shares" : "/tmp/shares.log",

   # the server assumes longpolling (w/ SIGUSR1 called for each blk)
   "longpoll.disable" : false,

   # length of time to cache username/password credentials, in seconds
   "auth.cred_cache.expire" : 75,

   # RPC settings
   #Bitcoind Protocal settings
   #Host were bitcoind can be found on the network
   "rpc.url" : "http://127.0.0.1:8332/",
   #Username & password to connect to bitcoind
   "rpc.user" : "user",
   "rpc.pass" : "mypassword",

   # rewrite returned 'target' to difficulty-1?
   "rpc.target.rewrite" : true
}

I'm trying to run pushpoold with this command:

Code:
# pushpoold -c /usr/local/etc/pushpool.json --debug=2 -F -E
[2011-06-19 15:49:1.684078] Debug output enabled
[2011-06-19 15:49:1.684530] Forcing local hostname to localhost.localdomain
[2011-06-19 15:49:1.698690] Listening on host :: port 8342
[2011-06-19 15:49:1.698765] Listening on host :: port 8347
[2011-06-19 15:49:1.698819] Listening on host :: port 8344
[2011-06-19 15:49:1.698870] Listening on host 127.0.0.1 port 8338

Pushpoold simply quits. No messages, no further notice. This is pushpoold-0.5. I have tried a number of different branches as well as from the latest Github official sources. Same results.

Any help is much much appreciated.

Thanks in advance.
2  Local / Português (Portuguese) / Re: Primeira Pool em Portugues on: June 19, 2011, 03:42:13 PM
Acabei de entrar lá, vou fazer um teste de 24h.  Wink

Não esquece de dar o seu parecer por aqui Wink
3  Local / Português (Portuguese) / Re: Para mineradores: on: June 19, 2011, 03:41:06 PM
Quanto a fees,
Slush pool são 2%,
BTC Guild é 0%.

O melhor é eu migrar para a BTCGUILD que é 0,correto?

Em termos de fees, sim. Mas é bom ter em mente que pools menores geram menos resultados para todos. Às vezes vale a pena pagar o fee e participar da divisão de um bolo maior que não pagar fees e participar da divisão de migalha (a menos que você tenha alguma motivação ideologica, como proteger a rede de um pool com mais de 50% de poder computacional).
4  Other / Beginners & Help / Re: POLL: What's the *real* reason you ever got into Bitcoins? on: June 19, 2011, 03:36:14 PM
Might as well ease the time a little while waiting to be released from the newbie section Smiley

Feel free to post more reasons below.


miccy

Being on a revolutionary movement Smiley
5  Other / Beginners & Help / Re: Newbie restrictions on: June 19, 2011, 03:22:57 PM
Makes sense if it's annoying regulars.

Indeed!
6  Local / Português (Portuguese) / Re: Bitcoin exchange no Brasil? on: June 14, 2011, 01:06:20 AM
Oi pessoal

Bacana o movimento que está começando a surgir quanto aos BTCs em geral e em específico na comunidade brasileira/de língua portuguesa.

Gostei da ideia de montar uma bolsa local para aumentar a liquidez em BTC/BRL. Tenho um background em computação e trabalho com mercado financeiro. Acho que, como vocês mencionaram, juntos podemos contribuir nesta direção. Um pouquinho de cada um acaba se tornando algo relevante.

Alguns pontos que acredito que possamos analisar:
  • Que meios de pagamento podem ser utilizados? (Transferência bancária, boleto, PayPal, PagSeguro, etc.)
  • Quais as questões legais disto NO BRASIL?
  • Que tecnologia melhor se adequaria a este contexto? (PHP, Rails, LISP, alguma solução Open Source já existente etc.)
  • Como dar credibilidade às transações realizadas através desta bolsa? (custódia, OTC, market data etc.)
  • Como financiar a operação? (estrutura de fees, manutenção tecnológica etc.)

O que acham?
--
Sellaro
7  Other / Beginners & Help / Re: Introduce yourself :) on: June 13, 2011, 10:29:27 PM
New to BTC world. Kind of enthusiast of economics phenomena. I think I'm a nice guy Smiley
8  Other / Beginners & Help / Re: Newbie restrictions on: June 13, 2011, 10:28:11 PM
Thanks for the clarification. Makes sense once you are informed about the reasons for the restrictions.

Kind regards
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!