Bitcoin Forum
October 06, 2024, 03:39:32 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: [ANN] pyspv 0.0.1-alpha - Python 3 Bitcoin SPV library on: December 08, 2018, 11:57:10 AM
Does the client still work? I receive the following error message.

Code:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pyspv/network.py", line 980, in cmd_version
    self.peer_last_block = struct.unpack("<L", payload)[0]
struct.error: unpack requires a buffer of 4 bytes

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pyspv/network.py", line 565, in run
    self.step()
  File "/usr/local/lib/python3.6/dist-packages/pyspv/network.py", line 602, in step
    self.handle_incoming_data()
  File "/usr/local/lib/python3.6/dist-packages/pyspv/network.py", line 673, in handle_incoming_data
    self.handle_command(command, payload)
  File "/usr/local/lib/python3.6/dist-packages/pyspv/network.py", line 705, in handle_command
    cmd(payload)
  File "/usr/local/lib/python3.6/dist-packages/pyspv/network.py", line 984, in cmd_version
    self.manager.peer_is_bad(self.peer_address)
  File "/usr/local/lib/python3.6/dist-packages/pyspv/network.py", line 336, in peer_is_bad
    self.delete_peer_address(peer_address)
  File "/usr/local/lib/python3.6/dist-packages/pyspv/network.py", line 225, in delete_peer_address
    self.peer_addresses[peer_address]['index'] = old['index']
KeyError: ('54.252.207.160', 18333)
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!