remove some labs stuff
This commit is contained in:
@@ -241,7 +241,7 @@ std::string FinalizeCCTx(uint64_t CCmask,struct CCcontract_info *cp,CMutableTran
|
|||||||
{
|
{
|
||||||
char coinaddr[64];
|
char coinaddr[64];
|
||||||
GetCCaddress1of2(cp,coinaddr,globalpk,pubkeys[i]);
|
GetCCaddress1of2(cp,coinaddr,globalpk,pubkeys[i]);
|
||||||
fprintf(stderr,"%s + %s -> %s vs %s\n",HexStr(globalpk).c_str(),HexStr(pubkeys[i]).c_str(),coinaddr,destaddr);
|
//fprintf(stderr,"%s + %s -> %s vs %s\n",HexStr(globalpk).c_str(),HexStr(pubkeys[i]).c_str(),coinaddr,destaddr);
|
||||||
if ( strcmp(destaddr,coinaddr) == 0 )
|
if ( strcmp(destaddr,coinaddr) == 0 )
|
||||||
{
|
{
|
||||||
privkey = cp->CCpriv;
|
privkey = cp->CCpriv;
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ make -f Makefile_rogue
|
|||||||
rm ../libcc.so
|
rm ../libcc.so
|
||||||
cp librogue.so ../libcc.so
|
cp librogue.so ../libcc.so
|
||||||
|
|
||||||
#echo sudoku/musig/dilithium
|
echo sudoku/musig/dilithium
|
||||||
#gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o sudokucc.so cclib.cpp
|
gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o sudokucc.so cclib.cpp
|
||||||
|
|
||||||
#echo games tetris
|
echo games tetris
|
||||||
#./maketetris
|
./maketetris
|
||||||
|
|
||||||
#echo games prices
|
echo games prices
|
||||||
#./makeprices
|
./makeprices
|
||||||
|
|
||||||
#echo customcc stub
|
echo customcc stub
|
||||||
#gcc -O3 -DBUILD_CUSTOMCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o customcc.so cclib.cpp
|
gcc -O3 -DBUILD_CUSTOMCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o customcc.so cclib.cpp
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
gcc -O3 -DBUILD_CUSTOMCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o customcc.so cclib.cpp
|
gcc -O3 -DBUILD_CUSTOMCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o customcc.so cclib.cpp
|
||||||
cp customcc.so ../libcc.so
|
cp customcc.so ../libcc.so
|
||||||
#cd ..
|
cd ..
|
||||||
#make
|
make
|
||||||
#cd cc
|
cd cc
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
#include <boost/filesystem/path.hpp>
|
#include <boost/filesystem/path.hpp>
|
||||||
|
|
||||||
// CCLIB fails to compile with this!
|
// If CCLIB fails to compile with this, use the one below.
|
||||||
//#include <db_cxx.h>
|
#include <db_cxx.h>
|
||||||
#include "../depends/x86_64-unknown-linux-gnu/include/db_cxx.h"
|
//#include "../depends/x86_64-unknown-linux-gnu/include/db_cxx.h"
|
||||||
|
|
||||||
extern unsigned int nWalletDBUpdated;
|
extern unsigned int nWalletDBUpdated;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user