Andrew Chow
5666966dff
Merge bitcoin/bitcoin#28364 : log: log wtxids when possible, add TXPACKAGES category
...
a3b55c94b9ffde07386aa887149ddca91b364967 [doc] move comment about AlreadyHaveTx DoS score to the right place (glozow)
3b8c17838a561616fd7c933753c7b98b6c6c7c99 [log] add more logs related to orphan handling (glozow)
51b3275cd1de467933f13d8b71286bf5ebd12b4b [log] add category TXPACKAGES for orphanage and package relay (glozow)
a33dde1e41d8923a46db84b50550175fa6149c48 [log] include wtxid in tx {relay,validation,orphanage} logging (glozow)
Pull request description:
This was taken from #28031 (see #27463 for project tracking).
- Log wtxids in addition to txids when possible. This allows us to track the fate of a transaction from inv to mempool accept/reject through logs.
- Additional orphan-related logging to make testing and debugging easier. Suggested in https://github.com/bitcoin/bitcoin/pull/28031#pullrequestreview-1531022386 and https://github.com/bitcoin/bitcoin/pull/28031#discussion_r1269622220
- Add `TXPACKAGES` category for logging.
- Move a nearby comment block that was in the wrong place.
ACKs for top commit:
instagibbs:
reACK a3b55c94b9
achow101:
ACK a3b55c94b9ffde07386aa887149ddca91b364967
brunoerg:
crACK a3b55c94b9ffde07386aa887149ddca91b364967
mzumsande:
Code review ACK a3b55c94b9ffde07386aa887149ddca91b364967
Tree-SHA512: 21884ef7c2ea2fd006e715574a9dd3e6cbbe8f82d62c6187fe1d39aad5a834051203fda5f355a06ca40c3e2b9561aec50d7c922a662b1edc96f7b552c9f4b24d
2023-08-31 12:55:38 -04:00
..
2023-08-17 15:26:34 -04:00
2023-08-14 17:39:49 -04:00
2023-08-08 17:50:41 +02:00
2023-06-12 19:47:19 +01:00
2022-08-13 13:55:38 +01:00
2023-08-17 15:37:41 -04:00
2023-08-17 18:28:15 +02:00
2023-06-15 10:27:56 -06:00
2023-08-14 17:38:27 -04:00
2023-05-20 12:08:13 +02:00
2023-08-28 22:09:39 +10:00
2022-09-29 16:43:30 +01:00
2023-01-31 18:48:50 +01:00
2022-10-23 15:03:04 +01:00
2023-08-28 22:09:39 +10:00
2023-08-23 16:19:39 -04:00
2022-12-24 23:49:50 +00:00
2023-08-31 12:29:24 +01:00
2023-08-24 17:34:57 -04:00
2023-08-17 15:55:01 +02:00
2023-07-18 15:25:05 +01:00
2023-07-24 22:33:40 -07:00
2023-08-25 17:09:13 +02:00
2023-07-27 14:24:52 +02:00
2023-08-14 17:38:27 -04:00
2023-08-24 16:11:20 -04:00
2023-05-26 13:41:07 -03:00
2023-06-29 11:59:31 +01:00
2023-08-16 14:48:06 +02:00
2023-06-29 16:14:07 -06:00
2023-05-29 13:26:31 +02:00
2023-08-17 15:55:07 +02:00
2023-08-14 17:38:27 -04:00
2023-05-26 15:47:55 -07:00
2023-08-25 17:09:13 +02:00
2023-05-24 12:03:18 -07:00
2022-12-24 23:49:50 +00:00
2023-02-01 11:33:35 +01:00
2023-05-04 20:57:51 +01:00
2023-05-20 12:08:13 +02:00
2023-03-23 12:55:18 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-08-15 07:30:48 +05:30
2023-08-15 07:30:48 +05:30
2023-08-18 12:52:30 -04:00
2023-05-20 12:08:13 +02:00
2023-07-25 17:40:07 +02:00
2023-05-20 12:08:13 +02:00
2023-05-20 12:08:13 +02:00
2023-06-16 10:38:19 +01:00
2023-08-05 10:42:56 +02:00
2023-02-15 14:42:28 -08:00
2023-08-17 18:28:15 +02:00
2023-08-17 18:28:15 +02:00
2022-12-24 23:49:50 +00:00
2023-07-24 16:23:38 -04:00
2023-05-25 19:24:05 +02:00
2023-05-25 19:24:05 +02:00
2023-05-10 10:39:58 +02:00
2023-05-10 10:39:58 +02:00
2023-04-20 06:08:22 -07:00
2023-06-16 10:38:19 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-03-23 19:38:38 +01:00
2023-03-23 19:38:38 +01:00
2023-08-14 17:38:27 -04:00
2023-07-25 17:40:07 +02:00
2023-07-25 17:40:07 +02:00
2023-08-14 17:39:49 -04:00
2023-01-31 11:50:10 +00:00
2023-08-07 22:31:46 +02:00
2023-08-05 10:45:19 +02:00
2023-03-15 16:42:42 +01:00
2023-03-15 16:42:42 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-04-19 10:48:30 +02:00
2023-05-09 18:48:52 +02:00
2023-05-20 12:08:13 +02:00
2023-03-23 12:52:00 +01:00
2023-04-03 14:41:22 +01:00
2022-12-24 23:49:50 +00:00
2023-07-12 10:01:51 +02:00
2022-12-12 21:06:04 +00:00
2022-12-12 21:06:04 +00:00
2023-05-09 18:47:14 +02:00
2023-06-28 12:20:25 +01:00
2022-12-24 23:49:50 +00:00
2023-05-20 12:08:13 +02:00
2023-03-23 12:55:18 +01:00
2023-08-29 09:27:19 +01:00
2023-07-10 10:47:17 -03:00
2023-08-14 17:39:49 -04:00
2023-08-14 17:38:27 -04:00
2023-06-23 14:22:33 -04:00
2023-06-23 14:22:33 -04:00
2023-08-29 16:41:22 +01:00
2023-08-29 16:41:22 +01:00
2023-08-17 16:26:20 +02:00
2023-08-10 11:58:59 +02:00
2022-07-21 10:42:09 +01:00
2023-02-27 13:53:29 +00:00
2023-02-03 22:33:14 +01:00
2022-09-13 17:15:17 +01:00
2022-11-17 14:52:45 +00:00
2023-07-19 10:26:11 +01:00
2023-08-10 11:58:59 +02:00
2023-06-16 10:38:19 +01:00
2023-01-28 15:24:13 +00:00
2023-03-23 19:38:38 +01:00
2023-05-30 11:39:59 -04:00
2022-12-24 23:49:50 +00:00
2023-08-29 16:41:22 +01:00
2023-07-25 21:51:20 +01:00
2022-12-24 23:49:50 +00:00
2023-08-23 20:13:49 -04:00
2023-08-23 20:13:49 -04:00
2023-06-05 11:02:47 -04:00
2023-07-17 13:27:46 +02:00
2023-06-28 16:35:45 -05:00
2023-05-26 13:41:07 -03:00
2023-08-25 17:09:32 +02:00
2022-12-24 23:49:50 +00:00
2023-08-14 17:38:27 -04:00
2023-08-14 17:38:27 -04:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-03-26 15:49:52 +02:00
2023-07-11 19:26:52 +02:00
2023-05-15 10:18:58 +02:00
2023-08-14 17:38:27 -04:00
2023-04-21 14:06:12 -04:00
2023-06-23 14:22:33 -04:00
2023-07-26 17:09:23 -04:00
2023-08-17 15:31:27 -04:00
2023-08-17 15:26:34 -04:00
2023-04-03 14:44:48 +01:00
2023-06-12 10:24:14 -03:00
2023-01-12 13:42:44 +00:00
2023-06-16 10:38:19 +01:00
2022-12-24 23:49:50 +00:00
2023-08-03 10:35:22 +02:00
2023-06-28 09:52:33 +02:00
2023-06-28 09:52:33 +02:00
2023-08-14 17:38:27 -04:00
2023-07-24 15:32:35 +02:00
2023-07-19 18:12:42 +02:00
2023-07-19 18:12:42 +02:00
2023-01-25 09:33:26 +01:00
2023-04-19 10:48:30 +02:00
2022-12-24 23:49:50 +00:00
2023-01-31 11:50:10 +00:00
2023-08-08 16:04:22 +02:00
2023-08-08 16:03:40 +02:00
2023-06-28 09:52:27 +02:00
2023-06-28 09:52:27 +02:00
2023-08-17 16:26:20 +02:00
2023-08-17 16:26:20 +02:00
2023-08-29 16:41:22 +01:00
2023-06-20 10:23:08 +02:00
2023-07-17 13:27:46 +02:00
2022-12-10 14:34:44 -06:00
2023-06-28 15:12:12 -04:00
2023-08-29 16:41:22 +01:00
2023-08-18 12:52:30 -04:00
2023-02-01 11:33:35 +01:00
2023-01-05 09:05:14 +00:00
2023-05-15 10:18:58 +02:00
2023-01-03 19:31:29 -06:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-05-20 12:08:13 +02:00