MarcoFalke
55ceaeb8c4
Merge #18030 : doc: Coin::IsSpent() can also mean never existed
...
1404c57403 [doc] Coin: explain that IsSpent() can also mean never existed (Sjors Provoost)
Pull request description:
This can be especially confusing where `AccessCoin()` is used with logic like this:
```c++
while (iter.n < MAX_OUTPUTS_PER_BLOCK) {
const Coin& alternate = view.AccessCoin(iter);
if (!alternate.IsSpent()) return alternate;
```
ACKs for top commit:
practicalswift:
ACK 1404c57403
MarcoFalke:
ACK 1404c57403
jnewbery:
utACK 1404c57403
Tree-SHA512: 418618dd7e08bd5cc8360e3501d0f57e34100e5101ad3b8e0a819923fa860f44c7f2fada0f8447a1af3c2601fd72bfe619b91ff2f26f7133ceaeb0c98b017b12
2021-03-23 11:11:02 +01:00
..
2021-03-18 20:37:21 +01:00
2021-03-10 14:31:10 +08:00
2021-03-11 13:45:14 +08:00
2021-03-17 14:56:20 +08:00
2021-03-18 14:57:50 +08:00
2021-03-19 20:47:10 +01:00
2021-03-19 20:47:10 +01:00
2021-03-17 14:56:20 +08:00
2021-03-23 09:59:40 +01:00
2021-03-22 08:35:21 +01:00
2021-03-21 07:51:11 +01:00
2021-03-11 13:45:14 +08:00
2021-02-18 10:07:37 +00:00
2021-02-18 15:08:35 +01:00
2021-02-18 15:08:35 +01:00
2021-03-17 17:59:22 -07:00
2021-03-17 17:59:22 -07:00
2021-03-19 20:52:16 +01:00
2021-03-17 14:56:20 +08:00
2021-02-12 07:53:29 -06:00
2021-02-18 09:40:42 +01:00
2021-03-16 19:52:31 +01:00
2021-03-11 13:45:14 +08:00
2021-02-12 07:53:29 -06:00
2021-03-23 11:11:02 +01:00
2021-03-01 17:36:16 +01:00
2021-03-02 16:05:28 +00:00
2021-03-02 16:05:28 +00:00
2021-02-23 14:34:30 +01:00
2021-02-10 20:46:25 +00:00
2021-03-11 13:45:14 +08:00
2021-03-19 20:52:16 +01:00
2021-03-16 11:00:57 +01:00
2021-03-16 11:00:57 +01:00
2021-03-16 15:10:47 +01:00
2021-03-04 18:24:00 +01:00
2021-03-16 10:48:36 -07:00
2021-03-01 18:19:37 +01:00
2021-03-01 18:19:37 +01:00
2021-03-17 12:17:33 +01:00
2021-02-21 21:01:02 +02:00
2021-03-04 12:34:46 +08:00
2021-03-04 12:34:46 +08:00
2021-03-23 09:59:40 +01:00
2021-03-17 14:56:20 +08:00
2021-03-17 14:56:20 +08:00
2021-03-18 09:16:11 +01:00
2021-03-18 14:57:50 +08:00
2021-03-19 20:47:10 +01:00
2021-03-19 20:47:10 +01:00
2021-03-01 18:19:46 +01:00
2021-03-01 13:22:11 +01:00
2021-03-16 19:52:31 +01:00
2021-03-16 19:52:31 +01:00
2021-03-17 14:56:20 +08:00
2021-02-18 07:53:37 +01:00
2021-03-04 18:24:00 +01:00
2021-03-15 10:41:30 +08:00
2021-03-15 10:41:30 +08:00
2021-03-02 12:21:32 +00:00
2021-03-02 12:21:32 +00:00
2021-03-11 13:45:14 +08:00
2021-03-22 11:22:06 +08:00
2021-03-18 18:43:52 +01:00
2021-02-27 01:08:09 +10:00
2021-03-02 19:40:11 +10:00
2021-03-11 13:45:14 +08:00
2021-03-22 11:22:06 +08:00
2021-03-17 12:17:33 +01:00
2021-03-01 17:56:07 -05:00