Merge pull request #4683

3a85af40 core: fix handle_incoming_tx* comment about return value (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-11-04 20:43:08 +02:00
commit 5918ef93f8
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -117,7 +117,7 @@ namespace cryptonote
* @param relayed whether or not the transaction was relayed to us * @param relayed whether or not the transaction was relayed to us
* @param do_not_relay whether to prevent the transaction from being relayed * @param do_not_relay whether to prevent the transaction from being relayed
* *
* @return true if the transaction made it to the transaction pool, otherwise false * @return true if the transaction was accepted, false otherwise
*/ */
bool handle_incoming_tx(const blobdata& tx_blob, tx_verification_context& tvc, bool keeped_by_block, bool relayed, bool do_not_relay); bool handle_incoming_tx(const blobdata& tx_blob, tx_verification_context& tvc, bool keeped_by_block, bool relayed, bool do_not_relay);
@ -133,7 +133,7 @@ namespace cryptonote
* @param relayed whether or not the transactions were relayed to us * @param relayed whether or not the transactions were relayed to us
* @param do_not_relay whether to prevent the transactions from being relayed * @param do_not_relay whether to prevent the transactions from being relayed
* *
* @return true if the transactions made it to the transaction pool, otherwise false * @return true if the transactions were accepted, false otherwise
*/ */
bool handle_incoming_txs(const std::vector<blobdata>& tx_blobs, std::vector<tx_verification_context>& tvc, bool keeped_by_block, bool relayed, bool do_not_relay); bool handle_incoming_txs(const std::vector<blobdata>& tx_blobs, std::vector<tx_verification_context>& tvc, bool keeped_by_block, bool relayed, bool do_not_relay);