Merge pull request #797

d662ab5 rpc: print human readable time since received when printing pool (moneromooo-monero)
5c9dd23 rpc: add a do_not_relay boolean to tx submission (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2016-04-14 16:20:41 +09:00
4 changed files with 37 additions and 12 deletions

View File

@@ -407,7 +407,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";