MeshCollider f6120d40d5
Merge #15728: [wallet] Refactor relay transactions
7a9046e48 [wallet] Refactor CWalletTx::RelayWalletTransaction() (John Newbery)

Pull request description:

  Refactor `CWalletTx::RelayWalletTransaction()` function.

  This was a suggestion from the wallet-node separation PR: https://github.com/bitcoin/bitcoin/pull/15288#discussion_r256036330, which we deferred until after the main PR was merged.

  There are also makes two minor behavior changes:

  - no longer assert if fBroadcastTransactions is false. Just return false from the function.
  - no longer print the relay message if p2pEnabled is set to false (since the transaction is not actually relayed).

ACKs for commit 7a9046:
  promag:
    utACK 7a9046e48d0aac35e8e6a3dd315aa98a207bebfe.
  MeshCollider:
    utACK 7a9046e48d
  ryanofsky:
    utACK 7a9046e48d0aac35e8e6a3dd315aa98a207bebfe. No changes at all, just rebase after base PR #15632 was merged

Tree-SHA512: 2ae6214cfadd917a1b3a892c4277e5e57c3eb791e17f67511470e6fbc634d19356554b9f9c55af6b779fdef821914aad59b7cc9e6c13ece145df003bf507d486
2019-04-11 21:25:07 +12:00
..
2019-01-26 12:45:48 -05:00
2019-04-09 17:53:08 -04:00
2019-04-09 17:53:08 -04:00
2019-04-09 17:53:08 -04:00
2018-09-07 08:21:14 -04:00
2019-04-09 17:53:08 -04:00
2019-01-16 13:54:18 -05:00
2018-12-29 10:15:01 +01:00
2019-04-09 17:53:08 -04:00
2018-07-27 07:15:02 -04:00
2018-08-13 13:57:15 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-01-24 19:47:07 -08:00
2018-07-27 07:15:02 -04:00
2018-09-04 13:11:26 +02:00
2019-02-04 12:20:42 +00:00
2019-02-22 17:38:45 -08:00
2019-02-22 17:38:45 -08:00
2018-12-29 10:15:01 +01:00
2018-08-11 09:34:47 +03:00
2019-04-09 17:53:08 -04:00
2019-04-09 17:53:08 -04:00
2018-07-27 07:15:02 -04:00
2019-01-31 15:00:56 +00:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-01-18 00:34:47 +00:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-04-09 17:53:08 -04:00
2019-01-24 15:58:49 -08:00
2018-07-27 07:15:02 -04:00
2018-12-29 10:15:01 +01:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-14 12:19:28 -05:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-02-25 10:12:29 -05:00
2018-07-27 11:52:18 -07:00
2018-12-14 16:26:13 -05:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-04-09 17:53:08 -04:00
2019-04-09 17:53:08 -04:00
2018-07-27 07:15:02 -04:00