@@ -76,7 +76,7 @@ the passed message.
76
76
77
77
#### Tracepoint ` net:outbound_message `
78
78
79
- Is called when a message is send to a peer over the P2P network. Passes
79
+ Is called when a message is sent to a peer over the P2P network. Passes
80
80
information about our peer, the connection and the message as arguments.
81
81
82
82
Arguments passed:
@@ -116,7 +116,7 @@ added to and removed (spent) from the cache when we connect a new block.
116
116
(` chainstate.CoinsTip() ` ). For example, the RPCs ` generateblock ` and
117
117
` getblocktemplate ` call ` TestBlockValidity() ` , which applies the UTXO set
118
118
changes to a temporary cache. Similarly, mempool consistency checks, which are
119
- frequent on regtest, also apply the the UTXO set changes to a temporary cache.
119
+ frequent on regtest, also apply the UTXO set changes to a temporary cache.
120
120
Changes to the _ main_ UTXO cache and to temporary caches trigger the tracepoints.
121
121
We can't tell if a temporary cache or the _ main_ cache was changed.
122
122
@@ -253,8 +253,8 @@ TRACE6(net, inbound_message,
253
253
254
254
### Guidelines and best practices
255
255
256
- #### Clear motivation and use- case
257
- Tracepoints need a clear motivation and use- case. The motivation should
256
+ #### Clear motivation and use case
257
+ Tracepoints need a clear motivation and use case. The motivation should
258
258
outweigh the impact on, for example, code readability. There is no point in
259
259
adding tracepoints that don't end up being used.
260
260
0 commit comments