| 398 | } |
| 399 | |
| 400 | void GetBlockHeader(CBlockHeader &header) { |
| 401 | header.SetVersion(nVersion); |
| 402 | header.SetPrevBlockHash(hashPrev); |
| 403 | header.SetMerkleRootHash(merkleRootHash); |
| 404 | header.SetTime(nTime); |
| 405 | header.SetNonce(nNonce); |
| 406 | header.SetHeight(height); |
| 407 | header.SetSignature(vSignature); |
| 408 | } |
| 409 | |
| 410 | string ToString() const { |
| 411 | return TO_KV_STRING1(nVersion) + |
nothing calls this directly
no test coverage detected