Git Product home page Git Product logo

pushpool's Issues

JSON parse failed

JSON parse failed in default example-cfg.json

sbin/pushpoold -E -F -D 2 -c ../pushpool/example-cfg.json
[2013-10-11 09:21:9.552407] Debug output enabled
[2013-10-11 09:21:9.553197] ../pushpool/example-cfg.json: JSON parse failed

Where find error? Please add to debug more information.

srv.db_sharelog

Is srv.db_sharelog enabled anywhere in the code? It doesn't look like I can activate it via command line params and I didn't see it get set anywhere. Logging the shares to a file works fine, however.

build issues

I'm getting this when I try to build:

gcc -DHAVE_CONFIG_H -I. -fno-strict-aliasing -pthread -I/usr/include/mysql -fPIC -pipe -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -g -I/usr/include -g -O2 -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c
config.c: In function ‘read_config’:
config.c:305:2: warning: passing argument 2 of ‘json_loads’ makes integer from pointer without a cast [enabled by default]
/usr/include/jansson.h:219:9: note: expected ‘size_t’ but argument is of type ‘struct json_error_t
config.c:305:2: error: too few arguments to function ‘json_loads’
/usr/include/jansson.h:219:9: note: declared here
make[1]: *
* [config.o] Error 1

Any suggestions on where the problem may be? Is it my jansson library version (2.0.1)?

mysql queries database with `username` = ?

Here's an example from mysql.log:

130420  4:25:02    56 Prepare   SELECT `password` FROM `pool_worker` WHERE `username` = ?
56 Close stmt
56 Prepare   SELECT `password` FROM `pool_worker` WHERE `username` = ?
56 Close stmt
56 Prepare   SELECT `password` FROM `pool_worker` WHERE `username` = ?
56 Close stmt
56 Prepare   SELECT `password` FROM `pool_worker` WHERE `username` = ?
56 Close stmt

The miner sent a username of "test.1" but it's not being used in the query.

byteswap.h dependency missing on OS X

Not sure how much you care about making the project work outside of a Linux sandbox, but it's failing to build for me on OS X due to it missing byteswap.h and endian.h (which OS X does not provide). I'd be deploying this to Linux in production anyway, but was hoping I could get it running locally for development purposes.

Thanks for your hard work!

autotools-config.h Missing.

Using the Vs2012 Developer console:

C:\Users\Elycin\Documents>cd pushpool-master

C:\Users\Elycin\Documents\pushpool-master>cl server.c
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.

server.c
server.c(24) : fatal error C1083: Cannot open include file: 'autotools-config.h
: No such file or directory

Configure script fails

% SNIP %
checking for SQLite3 library >= 3.0.0... yes
checking for mysql_config... /usr/bin/mysql_config
checking for pg_config... no
no
./configure: line 5958: syntax error near unexpected token ,' ./configure: line 5958:LIBCURL_CHECK_CONFIG(, 7.10.1, ,'
-bash-3.2$

Line 5958:
LIBCURL_CHECK_CONFIG(, 7.10.1, ,
AC_MSG_ERROR([Missing required libcurl >= 7.10.1]))

Unless I'm doing something wrong?!

Version 0.5 (3 days ago)

Many Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.