pybit/py2/block.py
def read_header(self):
        """
        Read the block header, store in ._name attributes
        """
        # Read magic number: 4 bytes
        self._magic = self.read_next(4)

        # Read block size: 4 bytes
        self._blockSize = self.read_next(4)

        # Read version: 4 bytes
        self._version = self.read_next(4)

        # Read the previous hash: 32 bytes
        self._prevHash = self.read_next(32)

        # Read the merkle root: 32 bytes
        self._merkleRootHash = self.read_next(32)

        # Read the time stamp: 32 bytes
        self._timestamp = self.read_next(4)

        # Read target difficulty: 4 bytes
        self._nBits = self.read_next(4)

        # Read the nonce: 4 bytes
        self._nonce = self.read_next(4)

        # Read the number of transactions: VarInt 1-9 bytes
        self._nTransactions = self.read_var()

        Read the block header, store in ._name attributes
        
Read the block header, store in ._name attributes
Read the block header store in . _name attributes
def read_header(self):
        self._magic = self.read_next(4)
        self._blockSize = self.read_next(4)
        self._version = self.read_next(4)
        self._prevHash = self.read_next(32)
        self._merkleRootHash = self.read_next(32)
        self._timestamp = self.read_next(4)
        self._nBits = self.read_next(4)
        self._nonce = self.read_next(4)
        self._nTransactions = self.read_var()
def read_header ( self ) : self . _magic = self . read_next ( 4 ) self . _blockSize = self . read_next ( 4 ) self . _version = self . read_next ( 4 ) self . _prevHash = self . read_next ( 32 ) self . _merkleRootHash = self . read_next ( 32 ) self . _timestamp = self . read_next ( 4 ) self . _nBits = self . read_next ( 4 ) self . _nonce = self . read_next ( 4 ) self . _nTransactions = self . read_var ( )
Read the block header, store in ._name attributes
Read the block header store in . _name attributes
"""
        Read the block header, store in ._name attributes
        """ # Read magic number: 4 bytes # Read block size: 4 bytes # Read version: 4 bytes # Read the previous hash: 32 bytes # Read the merkle root: 32 bytes # Read the time stamp: 32 bytes # Read target difficulty: 4 bytes # Read the nonce: 4 bytes # Read the number of transactions: VarInt 1-9 bytes
self