Pages:
Author

Topic: Pooled/Remote Mining - Open Source - Updated 2010-12-24 - page 4. (Read 59069 times)

newbie
Activity: 7
Merit: 0
Any ideas?

You should install libboost-all-dev.
Which isn't available on debian stable (lenny). Libbost1.35-dev is available and installed.
Trying to build boost from source now, seems to take some time...
legendary
Activity: 1078
Merit: 1005
I've updated the first post with the latest release.  The "contributed" distribution method should be working now.  That is the only substantial change in this release.

Does this require remote miner clients to update as well? Or is it just the server?
pc
sr. member
Activity: 253
Merit: 250
I found https://github.com/doublec/bitcoin-pool/blob/master/src/build-osx.txt which told me how to install Berkley DB, and I managed to build on a Mac with CUDA disabled. I'd like to try CUDA, but the build seems to not quite know where I've installed its Toolkit and SDK, even though CMake does. But I've dug through it enough for one night, and I'm now happily generating with my CPU on the pooled server from my Mac.

The binary I built is at http://dl.dropbox.com/u/16187822/bitcoinr, although I assume you need a 64-bit Intel system at the least to run it, and perhaps there are even more requirements that your system needs to be similar to mine. But I did manage to put just the binary on another Mac and it's running there too, so it seems to be at least somewhat portable.
sr. member
Activity: 1344
Merit: 264
bit.ly/3QXp3oh | Ultimate Launchpad on TON
Does that also work for running a server on Windows?

Yes, except replace 'bitcoinr' with 'remoteminer-cpu.exe' or 'remoteminer-cuda.exe'.

Got it working.  Was missing the "-gen" and it didn't want to run.  Added "-gen" and it's find now.

Thanks!
hero member
Activity: 532
Merit: 505
here's a feature request:

show distribution type in server status messages.

that'd be nice.  Smiley
pc
sr. member
Activity: 253
Merit: 250
replace src/remote/remotebitcoinheaders.h with http://www.bluishcoder.co.nz/bitcoin-pool/remotebitcoinheaders.h and see how that goes.

Well, that seems to give different errors:

Code:
Relm:~/Downloads/bitcoin-remote-20101205-src% make clean
Relm:~/Downloads/bitcoin-remote-20101205-src% make
[  8%] Building NVCC (Device) object cmake-bitcoinr/./bitcoinr_generated_bitcoinminercuda.cu.o
[ 16%] Building CXX object cmake-bitcoinr/CMakeFiles/bitcoinr.dir/__/src/remoteminermain.cpp.o
In file included from /Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/remotebitcoinheaders.h:33,
                 from /Users/pete/Downloads/bitcoin-remote-20101205-src/src/remoteminermain.cpp:19:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../headers.h:46:20: error: db_cxx.h: No such file or directory
In file included from /Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../headers.h:126,
                 from /Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/remotebitcoinheaders.h:33,
                 from /Users/pete/Downloads/bitcoin-remote-20101205-src/src/remoteminermain.cpp:19:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:28: error: ‘DbEnv’ does not name a type
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:41: error: ISO C++ forbids declaration of ‘Db’ with no type
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:41: error: expected ‘;’ before ‘*’ token
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:43: error: ‘DbTxn’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:43: error: template argument 1 is invalid
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:43: error: template argument 2 is invalid
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:156: error: ISO C++ forbids declaration of ‘Dbc’ with no type
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:156: error: expected ‘;’ before ‘*’ token
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:167: error: expected `;' before ‘int’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:167: error: ‘Dbc’ has not been declared
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:206: error: ISO C++ forbids declaration of ‘DbTxn’ with no type
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:206: error: expected ‘;’ before ‘*’ token
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:214: error: expected `;' before ‘public’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:167: error: ‘DB_NEXT’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h: In member function ‘bool CDB::Read(const K&, T&)’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:58: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:65: error: ‘Dbt’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:65: error: expected `;' before ‘datKey’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:68: error: expected `;' before ‘datValue’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:69: error: ‘datValue’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:69: error: ‘DB_DBT_MALLOC’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:70: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:70: error: there are no arguments to ‘GetTxn’ that depend on a template parameter, so a declaration of ‘GetTxn’ must be available
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:70: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:70: error: ‘datKey’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h: In member function ‘bool CDB::Write(const K&, const T&, bool)’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:88: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:97: error: ‘Dbt’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:97: error: expected `;' before ‘datKey’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:103: error: expected `;' before ‘datValue’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:106: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:106: error: there are no arguments to ‘GetTxn’ that depend on a template parameter, so a declaration of ‘GetTxn’ must be available
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:106: error: ‘datKey’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:106: error: ‘datValue’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:106: error: ‘DB_NOOVERWRITE’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h: In member function ‘bool CDB::Erase(const K&)’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:117: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:126: error: ‘Dbt’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:126: error: expected `;' before ‘datKey’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:129: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:129: error: there are no arguments to ‘GetTxn’ that depend on a template parameter, so a declaration of ‘GetTxn’ must be available
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:129: error: ‘datKey’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:133: error: ‘DB_NOTFOUND’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h: In member function ‘bool CDB::Exists(const K&)’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:139: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:146: error: ‘Dbt’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:146: error: expected `;' before ‘datKey’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:149: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:149: error: there are no arguments to ‘GetTxn’ that depend on a template parameter, so a declaration of ‘GetTxn’ must be available
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:149: error: ‘datKey’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h: In member function ‘int CDB::ReadAtCursor(int*, CDataStream&, CDataStream&, unsigned int)’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:170: error: ‘Dbt’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:170: error: expected `;' before ‘datKey’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:171: error: ‘DB_SET’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:171: error: ‘DB_SET_RANGE’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:171: error: ‘DB_GET_BOTH’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:171: error: ‘DB_GET_BOTH_RANGE’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:173: error: ‘datKey’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:176: error: expected `;' before ‘datValue’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:177: error: ‘DB_GET_BOTH’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:177: error: ‘DB_GET_BOTH_RANGE’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:179: error: ‘datValue’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:182: error: ‘datKey’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:182: error: ‘DB_DBT_MALLOC’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:183: error: ‘datValue’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:184: error: request for member ‘get’ in ‘* pcursor’, which is of non-class type ‘int’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h: In member function ‘bool CDB::TxnBegin()’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:217: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:219: error: ‘DbTxn’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:219: error: ‘ptxn’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:220: error: ‘dbenv’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:220: error: ‘GetTxn’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:220: error: ‘DB_TXN_NOSYNC’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:223: error: request for member ‘push_back’ in ‘((CDB*)this)->CDB::vTxn’, which is of non-class type ‘int’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h: In member function ‘bool CDB::TxnCommit()’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:229: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:231: error: request for member ‘empty’ in ‘((CDB*)this)->CDB::vTxn’, which is of non-class type ‘int’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:233: error: request for member ‘back’ in ‘((CDB*)this)->CDB::vTxn’, which is of non-class type ‘int’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:234: error: request for member ‘pop_back’ in ‘((CDB*)this)->CDB::vTxn’, which is of non-class type ‘int’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h: In member function ‘bool CDB::TxnAbort()’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:240: error: ‘pdb’ was not declared in this scope
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:242: error: request for member ‘empty’ in ‘((CDB*)this)->CDB::vTxn’, which is of non-class type ‘int’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:244: error: request for member ‘back’ in ‘((CDB*)this)->CDB::vTxn’, which is of non-class type ‘int’
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../db.h:245: error: request for member ‘pop_back’ in ‘((CDB*)this)->CDB::vTxn’, which is of non-class type ‘int’
In file included from /Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../headers.h:127,
                 from /Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/remotebitcoinheaders.h:33,
                 from /Users/pete/Downloads/bitcoin-remote-20101205-src/src/remoteminermain.cpp:19:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../net.h: In member function ‘void CNode::EndMessage()’:
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../net.h:710: warning: invalid access to non-static data member ‘CMessageHeader::nMessageSize’ of NULL object
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../net.h:710: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../net.h:718: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../net.h:718: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../net.h:719: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object
/Users/pete/Downloads/bitcoin-remote-20101205-src/src/remote/../net.h:719: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
make[2]: *** [cmake-bitcoinr/CMakeFiles/bitcoinr.dir/__/src/remoteminermain.cpp.o] Error 1
make[1]: *** [cmake-bitcoinr/CMakeFiles/bitcoinr.dir/all] Error 2
make: *** [all] Error 2

Thank you very much for your help.
legendary
Activity: 1078
Merit: 1005
Does that also work for running a server on Windows?

Yes, except replace 'bitcoinr' with 'remoteminer-cpu.exe' or 'remoteminer-cuda.exe'.
sr. member
Activity: 1344
Merit: 264
bit.ly/3QXp3oh | Ultimate Launchpad on TON


To run a server on linux:

Code:
bitcoind -remoteserver -remotebindaddr=0.0.0.0 -remotebindport=8335 -gen

Note the 'remotebindaddr'. This is what makes the server accessible over the internet by other clients.

To run clients:

Code:
bitcoinr -server=ip.addr.of.server -address=bitcoinaddress

Does that also work for running a server on Windows?
legendary
Activity: 1078
Merit: 1005
I'm having the same problem compiling on a Mac.  Compiles fine on Linux.

replace src/remote/remotebitcoinheaders.h with http://www.bluishcoder.co.nz/bitcoin-pool/remotebitcoinheaders.h and see how that goes.
newbie
Activity: 35
Merit: 0
It's highly likely that I've screwed something up trying to get this to all work (my guess is Boost), but there's not really much in the way of direction. Can anyone give me a hand? Thanks.

I'm having the same problem compiling on a Mac.  Compiles fine on Linux.
hero member
Activity: 489
Merit: 505
I've temporarily hacked in a hard coded limit of 102 clients. Any connects after that will fail. Unfortunately no message is printed to the client and it immediately retries but it beats the server crashing.
You could put haproxy [1] in front of both servers so that the less charged one gets new connecting clients and you even have transparent failover :-)

[1] http://haproxy.1wt.eu/
member
Activity: 103
Merit: 17
I've updated the first post with the latest release.  The "contributed" distribution method should be working now.  That is the only substantial change in this release.
legendary
Activity: 1078
Merit: 1005
Any ideas?

You should install libboost-all-dev.
legendary
Activity: 1078
Merit: 1005
Could someone please provide an example of what command and options I would use to start a mining server?
Also an example of the what client's would have to run to connect to my server.

To run a server on linux:

Code:
bitcoind -remoteserver -remotebindaddr=0.0.0.0 -remotebindport=8335 -gen

Note the 'remotebindaddr'. This is what makes the server accessible over the internet by other clients.

To run clients:

Code:
bitcoinr -server=ip.addr.of.server -address=bitcoinaddress
newbie
Activity: 7
Merit: 0
I'm also having issues building on Debian (Lenny).
Code:
me@K230255:~ $ git clone git://github.com/doublec/bitcoin-pool
Initialized empty Git repository in /home/me/bitcoin-pool/.git/
remote: Counting objects: 229, done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 229 (delta 60), reused 164 (delta 28)
Receiving objects: 100% (229/229), 480.10 KiB | 542 KiB/s, done.
Resolving deltas: 100% (60/60), done.
me@K230255:~ $ cd bitcoin-pool/
me@K230255:~/bitcoin-pool $ /usr/local/bin/cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.35.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Found BerkeleyDB: /usr/lib/libdb.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/me/bitcoin-pool
me@K230255:~/bitcoin-pool $ make
Scanning dependencies of target bitcoinr
[ 11%] Building CXX object cmake-bitcoinr/CMakeFiles/bitcoinr.dir/__/src/remoteminermain.cpp.o
In file included from /home/me/bitcoin-pool/src/remote/../headers.h:77,
                 from /home/me/bitcoin-pool/src/remote/remotebitcoinheaders.h:34,
                 from /home/me/bitcoin-pool/src/remoteminermain.cpp:19:
/usr/include/boost/interprocess/sync/file_lock.hpp:166: error: ‘bool boost::interprocess::file_lock::timed_acquire_file_lock(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’ cannot be overloaded
/usr/include/boost/interprocess/sync/file_lock.hpp:110: error: with ‘bool boost::interprocess::file_lock::timed_acquire_file_lock(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’
/usr/include/boost/interprocess/sync/file_lock.hpp:194: error: ‘bool boost::interprocess::file_lock::timed_acquire_file_lock_sharable(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’ cannot be overloaded
/usr/include/boost/interprocess/sync/file_lock.hpp:138: error: with ‘bool boost::interprocess::file_lock::timed_acquire_file_lock_sharable(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_acquire_file_lock(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:119: error: ‘try_acquire_file_lock’ was not declared in this scope
/usr/include/boost/interprocess/sync/file_lock.hpp:132: error: ‘winapi’ has not been declared
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_acquire_file_lock_sharable(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:147: error: ‘try_acquire_file_lock_sharable’ was not declared in this scope
/usr/include/boost/interprocess/sync/file_lock.hpp:160: error: ‘winapi’ has not been declared
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_acquire_file_lock(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:175: error: ‘try_acquire_file_lock’ was not declared in this scope
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_acquire_file_lock_sharable(boost::interprocess::file_handle_t, bool&, const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:203: error: ‘try_acquire_file_lock_sharable’ was not declared in this scope
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_lock(const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:262: error: ‘timed_acquire_file_lock’ is not a member of ‘boost::interprocess::detail’
/usr/include/boost/interprocess/sync/file_lock.hpp: In member function ‘bool boost::interprocess::file_lock::timed_lock_sharable(const boost::posix_time::ptime&)’:
/usr/include/boost/interprocess/sync/file_lock.hpp:298: error: ‘timed_acquire_file_lock_sharable’ is not a member of ‘boost::interprocess::detail’
In file included from /home/me/bitcoin-pool/src/remote/../headers.h:127,
                 from /home/me/bitcoin-pool/src/remote/remotebitcoinheaders.h:34,
                 from /home/me/bitcoin-pool/src/remoteminermain.cpp:19:
/home/me/bitcoin-pool/src/remote/../net.h: In member function ‘void CNode::EndMessage()’:
/home/me/bitcoin-pool/src/remote/../net.h:710: warning: invalid access to non-static data member ‘CMessageHeader::nMessageSize’ of NULL object
/home/me/bitcoin-pool/src/remote/../net.h:710: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
/home/me/bitcoin-pool/src/remote/../net.h:718: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object
/home/me/bitcoin-pool/src/remote/../net.h:718: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
/home/me/bitcoin-pool/src/remote/../net.h:719: warning: invalid access to non-static data member ‘CMessageHeader::nChecksum’ of NULL object
/home/me/bitcoin-pool/src/remote/../net.h:719: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
make[2]: *** [cmake-bitcoinr/CMakeFiles/bitcoinr.dir/__/src/remoteminermain.cpp.o] Error 1
make[1]: *** [cmake-bitcoinr/CMakeFiles/bitcoinr.dir/all] Error 2
make: *** [all] Error 2
me@K230255:~/bitcoin-pool $

Any ideas?
sr. member
Activity: 1344
Merit: 264
bit.ly/3QXp3oh | Ultimate Launchpad on TON
Q: How would one go about running their own mining server?

I read the readme and tried to setup my own mining server, but it doesn't seem to be acting like a server.  I tried the "-remoteserver" flag, but it doesn't take it.

Could someone please provide an example of what command and options I would use to start a mining server?
Also an example of the what client's would have to run to connect to my server.

Thanks!  Smiley
legendary
Activity: 1246
Merit: 1016
Strength in numbers
I added a call to SetLastVerifiedMetaHash but that didn't fix the issue for the contributed distributed type. So I've switched back to 'connected' and this displays the address as being in the pool.

I'll switch back to 'contributed' if the issue is resolved.

Imagine there were multiple servers running the contributed method. Wouldn't the optimal thing for a miner to do to be to continually jump to the server that had most recently generated since the same power will be worth more there since you are sharing with fewer previous work units?
legendary
Activity: 1078
Merit: 1005
I added a call to SetLastVerifiedMetaHash but that didn't fix the issue for the contributed distributed type. So I've switched back to 'connected' and this displays the address as being in the pool.

I'll switch back to 'contributed' if the issue is resolved.
newbie
Activity: 35
Merit: 0
That was graceful.  Nice!
legendary
Activity: 1078
Merit: 1005
puddinpop, there appears to be no call to SetLastVerifiedMetaHash in the current code, whereas there is in the last version. Is this a bug?
Pages:
Jump to: