pybit/py3/block.py
def prep_header(self) -> bytes:
        """Get header bytes.

        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
Get header bytes.

        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.
        
Get header bytes.
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.
Get header bytes . 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) -> bytes:
        header = self._version \
            + self._prevHash \
            + self._merkleRootHash \
            + self._timestamp \
            + self._nBits \
            + self._nonce
        return header
def prep_header ( self ) -> bytes : header = self . _version + self . _prevHash + self . _merkleRootHash + self . _timestamp + self . _nBits + self . _nonce return header
Get header bytes.
Get header bytes .
"""Get header bytes.

        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