pybit/py2/block.py
def prep_header(self):
        """
        Prep the block header for hashing as stored in the Block class where
        timestamp is already reversed (may change in future)

        This data is already converted to hex so decode back to binary
        """

        # Collect header hex
        header = self._version \
            + self._prevHash \
            + self._merkleRootHash \
            + self._timestamp \
            + self._nBits \
            + self._nonce

        return header

        Prep the block header for hashing as stored in the Block class where
        timestamp is already reversed (may change in future)

        This data is already converted to hex so decode back to binary
        
Prep the block header for hashing as stored in the Block class where
timestamp is already reversed (may change in future)

This data is already converted to hex so decode back to binary
Prep the block header for hashing as stored in the Block class where timestamp is already reversed ( may change in future ) This data is already converted to hex so decode back to binary
def prep_header(self):
        header = self._version \
            + self._prevHash \
            + self._merkleRootHash \
            + self._timestamp \
            + self._nBits \
            + self._nonce
        return header
def prep_header ( self ) : header = self . _version + self . _prevHash + self . _merkleRootHash + self . _timestamp + self . _nBits + self . _nonce return header
Prep the block header for hashing as stored in the Block class where
timestamp is already reversed (may change in future)
Prep the block header for hashing as stored in the Block class where timestamp is already reversed ( may change in future )
"""
        Prep the block header for hashing as stored in the Block class where
        timestamp is already reversed (may change in future)

        This data is already converted to hex so decode back to binary
        """ # Collect header hex
self