diff options
author | W. J. van der Laan <laanwj@protonmail.com> | 2021-11-29 16:01:42 +0100 |
---|---|---|
committer | W. J. van der Laan <laanwj@protonmail.com> | 2021-11-29 16:39:05 +0100 |
commit | 913b7148a26c3cca93f8bf20f6c57609d0ede0a6 (patch) | |
tree | ef1c6a8932e87feb850029b053d9e69572c7f316 /src/wallet | |
parent | a574f4ad390908ace794eb10fdb917d66c57094b (diff) | |
parent | 2bc51c5c3215398875c04456a3f3df1c07b830b5 (diff) |
Merge bitcoin/bitcoin#22902: tracing: utxocache tracepoints
2bc51c5c3215398875c04456a3f3df1c07b830b5 [tracing] tracepoints to utxocache add, spent and uncache (Arnab Sen)
a26e8eef43c5ff0f4a5cd44d1d331a7bd72564a5 [tracing] tracepoint for utxocache flushes (Arnab Sen)
Pull request description:
This PR adds some of the UTXO set cache tracepoints proposed in https://github.com/bitcoin/bitcoin/issues/20981#issuecomment-802688809. The first tracepoints were added in bitcoin#22006.
tracepoint | description
-- | --
`utxocache:flush` | Is called after the caches and indexes are flushed
`utxocache:add` | when a new coin is added to the UTXO cache
`utxocache:spent` | when a coin is spent
`utxocache:uncache` | when coin is removed from the UTXO cache
The tracepoints are further documented in `docs/tracing.md` and the usage is shown via the two newly added example scripts in `contrib/tracing/`.
ACKs for top commit:
laanwj:
Code and documentation review ACK 2bc51c5c3215398875c04456a3f3df1c07b830b5
Tree-SHA512: d6b4f435d3260de4c48b36956f9311f65ab3b52cd03b1e0a4ba9cf47a774d8c4b31878e222b11e0ba5d233a68f7567f8a367b12a6392f688c10c11529341e837
Diffstat (limited to 'src/wallet')
0 files changed, 0 insertions, 0 deletions