| 66 | |
| 67 | template<typename Stream> |
| 68 | void Unserialize(Stream &s) { |
| 69 | uint32_t code = 0; |
| 70 | ::Unserialize(s, VARINT(code)); |
| 71 | nHeight = code >> 1; |
| 72 | fCoinBase = code & 1; |
| 73 | ::Unserialize(s, Using<TxOutCompression>(out)); |
| 74 | } |
| 75 | |
| 76 | /** Either this coin never existed (see e.g. coinEmpty in coins.cpp), or it |
| 77 | * did exist and has been spent. |
nothing calls this directly
no test coverage detected