Commit ffba2ea
committed
fixes
checked the actual dump which is different from Core's utxo dump. First coint has heightAndIsCoinbase = 0x81
0x80 is the same height with different isCoinbase
0x83 is a different height with same isCoinbase
Also the excessive amount test didn't work because the offset was wrong, see commit message bitcoin/bitcoin@e5ff4e4
> In addition, the undocumented offset is set surprisingly high (39 bytes is well into the
> serialization of the amount which starts at offset 36).
The values 39 and 36 are after core#29612 (Optimize dumptxoutset output), so they translate to 41 & 38 for us.1 parent 8c45cd9 commit ffba2ea
1 file changed
Lines changed: 16 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 128 | + | |
| 129 | + | |
137 | 130 | | |
138 | 131 | | |
139 | 132 | | |
140 | 133 | | |
141 | 134 | | |
142 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
0 commit comments