Bitcoin Forum
May 21, 2024, 10:48:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: getwork problems  (Read 719 times)
bitcreditscc (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501



View Profile
December 24, 2014, 08: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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!