- -lncurses
This commit is contained in:
@@ -574,9 +574,9 @@ komodod_LDADD += \
|
|||||||
$(LIBZCASH_LIBS)
|
$(LIBZCASH_LIBS)
|
||||||
|
|
||||||
if TARGET_DARWIN
|
if TARGET_DARWIN
|
||||||
komodod_LDADD += libcc.dylib -lncurses
|
komodod_LDADD += libcc.dylib # -lncurses
|
||||||
else
|
else
|
||||||
komodod_LDADD += libcc.so -lncurses
|
komodod_LDADD += libcc.so # -lncurses
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -120,9 +120,9 @@ std::string Rogue_pname = "";
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// todo:
|
// todo:
|
||||||
// verify keystrokes tx is in mempool and confirmed
|
// add some more conditions to multiplayer
|
||||||
// chaining when mempool tx sometimes infinite loops?
|
// change rogue_extract to subfunction without JSON to be used by other functions
|
||||||
// bailout stealing, is it possible?
|
// how does it work with playertxid instead of pubkey
|
||||||
|
|
||||||
//////////////////////// start of CClib interface
|
//////////////////////// start of CClib interface
|
||||||
//./komodod -ac_name=ROGUE -ac_supply=1000000 -pubkey=03951a6f7967ad784453116bc55cd30c54f91ea8a5b1e9b04d6b29cfd6b395ba6c -addnode=5.9.102.210 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc > /dev/null &
|
//./komodod -ac_name=ROGUE -ac_supply=1000000 -pubkey=03951a6f7967ad784453116bc55cd30c54f91ea8a5b1e9b04d6b29cfd6b395ba6c -addnode=5.9.102.210 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc > /dev/null &
|
||||||
@@ -812,8 +812,6 @@ UniValue rogue_keystrokes(uint64_t txfee,struct CCcontract_info *cp,cJSON *param
|
|||||||
} else return(cclib_error(result,"couldnt reparse params"));
|
} else return(cclib_error(result,"couldnt reparse params"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// change to subfunction without JSON to be used by other functions
|
|
||||||
|
|
||||||
UniValue rogue_extract(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
UniValue rogue_extract(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
||||||
{
|
{
|
||||||
UniValue result; CPubKey pk,roguepk; int32_t i,n,num,maxplayers,gameheight,batonht,batonvout,numplayers,regslot,numkeys,err; std::string symbol,pname; CTransaction gametx; uint64_t seed,mult; int64_t buyin,batonvalue; char rogueaddr[64],fname[64],str[512],*pubstr,*keystrokes = 0; std::vector<uint8_t> playerdata,newdata; uint256 batontxid,playertxid,gametxid; FILE *fp; uint8_t player[10000],pub33[33];
|
UniValue result; CPubKey pk,roguepk; int32_t i,n,num,maxplayers,gameheight,batonht,batonvout,numplayers,regslot,numkeys,err; std::string symbol,pname; CTransaction gametx; uint64_t seed,mult; int64_t buyin,batonvalue; char rogueaddr[64],fname[64],str[512],*pubstr,*keystrokes = 0; std::vector<uint8_t> playerdata,newdata; uint256 batontxid,playertxid,gametxid; FILE *fp; uint8_t player[10000],pub33[33];
|
||||||
|
|||||||
Reference in New Issue
Block a user