{
UpdateTransaction(mtx,vini,sigdata);
return(true);
- } else fprintf(stderr,"signing error for SignTx vini.%d %.8f\n",vini,(double)utxovalue/COIN);
+ } else
+ {
+ fprintf(stderr,"signing error for SignTx vini.%d %.8f\n",vini,(double)utxovalue/COIN);
+ return(false);
+ }
#else
return(false);
#endif
mtx.vout.push_back(MakeCC1vout(EVAL_LOTTO,funding,lottopk));
return(FinalizeCCTx(0,cp,mtx,mypk,txfee,CScript() << OP_RETURN << E_MARSHAL(ss << (uint8_t)EVAL_LOTTO << (uint8_t)'F' << sbits << ticketsize << odds << firstheight << period << hentropy)));
}
+ return "";
}
std::string LottoTicket(uint64_t txfee,uint256 lottoid,int64_t numtickets)
for (i=0; i<n; i++)
fprintf(stderr,"%llu ",(long long)prices[i]);
fprintf(stderr,"-> %llu ht.%d\n",(long long)price,height);
+ return (int64_t)price;
}
int64_t OracleCorrelatedPrice(int32_t height,std::vector <int64_t> origprices)
{
return nodes[idx >> CHUNK_SHIFT][idx & chunkMask()];
}
- return NODE_TYPE();
+ else
+ {
+ std::__throw_length_error("CChunkedLayer [] index out of range");
+ return NODE_TYPE();
+ }
}
void push_back(NODE_TYPE node)
{
return nodeSource->GetMMRNode(idx);
}
+ else
+ {
+ std::__throw_length_error("COverlayNodeLayer [] index out of range");
+ return NODE_TYPE();
+ }
}
// node type must be moveable just to be passed here, but the default overlay has no control over the underlying storage
HOST="$HOST" BUILD="$BUILD" NO_PROTON="$PROTON_ARG" "$MAKE" "$@" -C ./depends/ V=1
./autogen.sh
-CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" "$PROTON_ARG" $CONFIGURE_FLAGS CPPFLAGS='-g' CXXFLAGS='-g'
+CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" "$PROTON_ARG" $CONFIGURE_FLAGS CPPFLAGS='-g -Wno-builtin-declaration-mismatch -Werror' CXXFLAGS='-g'
"$MAKE" "$@" V=1