From 117f64ab825104006c968ee02b22b0dce0d21d66 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 30 Jul 2018 01:53:51 -1100 Subject: [PATCH] Dice winner and dice loser --- src/rpcserver.cpp | 2 ++ src/rpcserver.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 580a050c3..9e911d210 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -373,6 +373,8 @@ static const CRPCCommand vRPCCommands[] = { "dice", "dicefund", &dicefund, true }, { "dice", "diceaddfunds", &diceaddfunds, true }, { "dice", "dicebet", &dicebet, true }, + { "dice", "dicewinner", &dicewinner, true }, + { "dice", "diceloser", &diceloser, true }, { "dice", "diceaddress", &diceaddress, true }, /* tokens */ diff --git a/src/rpcserver.h b/src/rpcserver.h index 4da7c73c0..4423df345 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -239,6 +239,8 @@ extern UniValue dicelist(const UniValue& params, bool fHelp); extern UniValue diceinfo(const UniValue& params, bool fHelp); extern UniValue diceaddfunds(const UniValue& params, bool fHelp); extern UniValue dicebet(const UniValue& params, bool fHelp); +extern UniValue dicewinner(const UniValue& params, bool fHelp); +extern UniValue diceloser(const UniValue& params, bool fHelp); extern UniValue lottoaddress(const UniValue& params, bool fHelp); extern UniValue ponziaddress(const UniValue& params, bool fHelp); extern UniValue auctionaddress(const UniValue& params, bool fHelp);