Author

Topic: getwork problems (Read 746 times)

hero member
Activity: 602
Merit: 501
December 24, 2014, 03:18:57 PM
#1
Code:
Making all in src
make[1]: Entering directory `/c/bitcoin-master/src'
  CXX    libbitcoin_server_a-rpcmining.o
rpcmining.cpp: In function 'json_spirit::Value getwork(const Array&, bool)':
rpcmining.cpp:525:41: error: passing 'const CScript' as 'this' argument of 'CScript& CScript::operator=(const CScript&)' discards qualifiers [-permissive]
pblock->vtx[0].vin[0].scriptSig = mapNewBlock[pdata->hashMerkleRoot].second;
                                         ^
make[1]: *** [libbitcoin_server_a-rpcmining.o] Error 1
make[1]: Leaving directory `/c/bitcoin-master/src'
make: *** [all-recursive] Error 1

i was trying to return getwork into 0.9.x, can someone help me get this to work.
Jump to: