+prints
This commit is contained in:
@@ -139,6 +139,7 @@ CScript Marmara_scriptPubKey(int32_t height,CPubKey pk)
|
|||||||
CScript MarmaraCoinbaseOpret(int32_t height,CPubKey pk)
|
CScript MarmaraCoinbaseOpret(int32_t height,CPubKey pk)
|
||||||
{
|
{
|
||||||
uint8_t *ptr;
|
uint8_t *ptr;
|
||||||
|
fprintf(stderr,"height.%d pksize.%d\n",height,(int32_t)pk.size());
|
||||||
if ( height > 0 && (height & 1) == 0 && pk.size() == 33 )
|
if ( height > 0 && (height & 1) == 0 && pk.size() == 33 )
|
||||||
return(EncodeMarmaraCoinbaseOpRet(pk,height));
|
return(EncodeMarmaraCoinbaseOpRet(pk,height));
|
||||||
return(CScript());
|
return(CScript());
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ CBlockTemplate* CreateNewBlock(const CScript& _scriptPubKeyIn, int32_t gpucount,
|
|||||||
txnouttype txT;
|
txnouttype txT;
|
||||||
if ( scriptPubKeyIn.size() > 0 && Solver(scriptPubKeyIn, txT, vAddrs))
|
if ( scriptPubKeyIn.size() > 0 && Solver(scriptPubKeyIn, txT, vAddrs))
|
||||||
{
|
{
|
||||||
|
fprintf(stderr,"txT.%d vs TX_PUBKEY.%d\n",txT,TX_PUBKEY);
|
||||||
if (txT == TX_PUBKEY)
|
if (txT == TX_PUBKEY)
|
||||||
pk = CPubKey(vAddrs[0]);
|
pk = CPubKey(vAddrs[0]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user