forked from OpenBazaar/OpenBazaar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Drop unused attributes _peer_alive and responses_received. * Make failure cases stand out in send, send_raw and start_handshake. * Drop PeerListener.stop. * Do not destroy global context arbitrarily. * Turn TransportLayer.shutdown into abstract method. * Straighten PeerListener.listen. * Make default callbacks equal to None. * Catch ValueErrors produced by json.loads. * Assert the sender's guid has been initialized prior to sending. * Remove unused import.
- Loading branch information
Showing
3 changed files
with
84 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters