(self, f)
| 230 | return cls(nValue, scriptPubKey) |
| 231 | |
| 232 | def stream_serialize(self, f): |
| 233 | f.write(struct.pack(b"<q", self.nValue)) |
| 234 | BytesSerializer.stream_serialize(self.scriptPubKey, f) |
| 235 | |
| 236 | def is_valid(self): |
| 237 | if not MoneyRange(self.nValue): |
nothing calls this directly
no test coverage detected