Commit 433207c
committed
Merge rust-bitcoin/rust-miniscript#824: plan: add some clarifying docs
e89e226ec6cfee5985c92a215282c552790f36ba plan: add some clarifying docs (Marko Bencun)
Pull request description:
"The size in bytes of the script sig that" is ambiguous and could refer to the actual scriptSig, exlcuding the varint prefix that indicates its size.
The code comment in witness_size is promoted to the docstring, as its helpful to anyone trying to compute the right size of a transaction.
ACKs for top commit:
apoelstra:
ACK e89e226ec6cfee5985c92a215282c552790f36ba; successfully ran local tests; nice, good call
Tree-SHA512: 3798d921ddc477965023e6275178c42ff8b37ab03f593dd65078a4d57e7c922659a74db57f5858cc69931781e1ceff3a45d6c7b263b8220d04b594db180229ec1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
| 252 | + | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| |||
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
267 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
271 | 275 | | |
272 | | - | |
273 | | - | |
| 276 | + | |
274 | 277 | | |
275 | 278 | | |
276 | 279 | | |
| |||
0 commit comments