rpc: add a do_not_relay boolean to tx submission

Just to make it easier
This commit is contained in:
moneromooo-monero
2016-04-05 19:13:24 +01:00
parent e7c8a32a28
commit 5c9dd23b1c
3 changed files with 4 additions and 1 deletions

View File

@@ -383,7 +383,7 @@ namespace cryptonote
return true;
}
if(!tvc.m_should_be_relayed)
if(!tvc.m_should_be_relayed || req.do_not_relay)
{
LOG_PRINT_L0("[on_send_raw_tx]: tx accepted, but not relayed");
res.reason = "Not relayed";