BinaryData Transaction::GetHash() { ByteBuffer buf; buf << *this; return Crypto::SHA256D(buf.Binary()); }