diff options
author | fanquake <fanquake@gmail.com> | 2023-10-29 10:05:13 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-10-29 10:10:53 +0100 |
commit | 42b0d5f59b868e8ed5ae6c7df3bc133f79e3bfb3 (patch) | |
tree | bd32913df89db000f46022e311540dffbdbea257 /src/test/validation_block_tests.cpp | |
parent | e789b30b2565c8bdbf48a45f2c5a7b92e5d61d25 (diff) | |
parent | faec889f938f90e0b887426db27a15ec0d169399 (diff) |
Merge bitcoin/bitcoin#28740: refactor: Add LIFETIMEBOUND to all (w)txid getters
faec889f938f90e0b887426db27a15ec0d169399 refactor: Add LIFETIMEBOUND to all (w)txid getters (MarcoFalke)
Pull request description:
Currently some getters return a reference, some don't. Fix this by returning a reference everywhere. Also, add `LIFETIMEBOUND` to all. Then, use the compiler warnings to create copies only where needed.
Also, fix iwyu includes while touching the includes.
ACKs for top commit:
dergoegge:
Code review ACK faec889f938f90e0b887426db27a15ec0d169399
stickies-v:
ACK faec889f938f90e0b887426db27a15ec0d169399
pablomartin4btc:
cr ACK faec889f938f90e0b887426db27a15ec0d169399
Tree-SHA512: 0c2a151f39d0e007b4d33b0b85ad578cc220f3e9dd94890e812b3181c3901545b039325707731cc39a5e89557f59c1154c6320525f78f5de95f119a514d2d23f
Diffstat (limited to 'src/test/validation_block_tests.cpp')
0 files changed, 0 insertions, 0 deletions