Commit Graph

  • 2d4e23cfe2 Fix cyclic import and lint NIC619 2019-07-29 12:42:13 +08:00
  • a4a0d79f6d Improve import layout NIC619 2019-07-28 22:30:51 +08:00
  • e7ac09cb94 Fix: Add Gossipsub attribute peers_protocol and do cleanup when peer removed NIC619 2019-07-28 14:52:02 +08:00
  • d716e90e17 Fix on type hints NIC619 2019-07-28 14:30:15 +08:00
  • edd164c878 Add type hints to network folder NIC619 2019-07-28 14:06:29 +08:00
  • e1592997a8 Add type hints to routing folder NIC619 2019-07-27 17:10:03 +08:00
  • f2de986c74 Add type hints to peer folder NIC619 2019-07-27 16:27:01 +08:00
  • b695b0e1ec Add type hint to host folder NIC619 2019-07-27 15:15:42 +08:00
  • b2f496d081 Fix type hints except pb msg in pubsub folder NIC619 2019-07-27 11:27:47 +08:00
  • a0aa105867 Add type hint to pubsub notifee/interface NIC619 2019-07-26 17:30:51 +08:00
  • 3549f2ff8b Add type hints to mcache.py NIC619 2019-07-26 16:44:33 +08:00
  • 63014eeaae Add type hints to floodsub.py NIC619 2019-07-26 16:25:15 +08:00
  • b920955db6 Add type hints to gossipsub.py NIC619 2019-07-24 16:29:14 +08:00
  • 8eb6a230ff Fix and add type hints to pubsub.py NIC619 2019-07-24 16:29:02 +08:00
  • f0046fa3e0 Merge pull request #187 from mhchia/feature/pubsub-publish Kevin Mai-Husan Chia 2019-07-29 12:29:34 +08:00
  • f02d38c0ee Reflect PR feedback mhchia 2019-07-29 12:09:35 +08:00
  • 74d831d4e2 Reflect PR feedback mhchia 2019-07-28 18:06:38 +08:00
  • 70c5c84f32 Update libp2p/pubsub/floodsub.py Kevin Mai-Husan Chia 2019-07-28 16:09:01 +08:00
  • a1e20caebe Update libp2p/pubsub/floodsub.py Kevin Mai-Husan Chia 2019-07-28 16:07:11 +08:00
  • ffb3920468 Update libp2p/pubsub/floodsub.py Kevin Mai-Husan Chia 2019-07-28 16:06:03 +08:00
  • c252c62009 Update libp2p/pubsub/pubsub.py Kevin Mai-Husan Chia 2019-07-28 16:05:29 +08:00
  • 766d8ba1e1 A little bit clean up mhchia 2019-07-27 12:06:36 +08:00
  • c028aef2de Fix all tests mhchia 2019-07-27 11:49:03 +08:00
  • 65aedcb25a Fix several tests mhchia 2019-07-26 18:35:25 +08:00
  • 035d08b8bd Fix test_floodsub.py mhchia 2019-07-25 23:11:27 +08:00
  • dadcf8138e Fix the tests according to pubsub.Publish mhchia 2019-07-25 16:58:00 +08:00
  • cae4f34034 Refactor floodsub.publish mhchia 2019-07-25 14:08:16 +08:00
  • 93cf5a2c32 A roughly skeleton of floodsub.publish mhchia 2019-07-24 22:33:32 +08:00
  • 3f52b0dc0a Remove leftover imports mhchia 2019-07-24 21:57:46 +08:00
  • b528c211b9 Temp modified publish mhchia 2019-07-24 14:35:14 +08:00
  • 218bdb42c4 Add basic functionalities of publish mhchia 2019-07-23 16:10:14 +08:00
  • 8f9e5a28ff Temp mhchia 2019-07-22 18:12:54 +08:00
  • f329c5a627 Merge pull request #188 from mhchia/feature/add-typing-for-pubusb Kevin Mai-Husan Chia 2019-07-24 21:45:19 +08:00
  • a97bac0a02 Remove sudo from .travis.yml mhchia 2019-07-24 21:30:23 +08:00
  • d64c7d6d56 Add the missing type for port mhchia 2019-07-24 21:28:14 +08:00
  • ecf4e373da Remove unused aio_timers mhchia 2019-07-24 18:49:51 +08:00
  • 381f5ddc3a Replace click with argparse mhchia 2019-07-24 18:43:49 +08:00
  • 04b7df9fcf Lint examples in tox mhchia 2019-07-24 18:00:57 +08:00
  • 529829b9f1 Move codecov to tox.ini mhchia 2019-07-24 16:41:19 +08:00
  • 1ae306ae8f Fix mypy command mhchia 2019-07-24 16:34:55 +08:00
  • d3a948be47 Fix error: Change params floodsub.publish back mhchia 2019-07-24 16:24:14 +08:00
  • 8da4032c3b Let pylint not complain about FIXME, XXX mhchia 2019-07-24 16:23:30 +08:00
  • e428897cc8 Add the missing tox in CI mhchia 2019-07-24 16:11:05 +08:00
  • 859ec6e241 Add the missing env for py37-test mhchia 2019-07-24 16:09:03 +08:00
  • ae4c135ae1 Change travis CI config mhchia 2019-07-24 16:05:33 +08:00
  • 9497c3180f Add tox mhchia 2019-07-24 15:54:30 +08:00
  • d6c19e71a6 Add typing and notes in pubsub mhchia 2019-07-24 14:54:30 +08:00
  • 4819959e5a Merge pull request #184 from NIC619/fix_handle_graft NIC Lin 2019-07-24 13:55:07 +08:00
  • b0b4ddd0ca Fix test_handle_prune NIC619 2019-07-24 11:35:14 +08:00
  • 99eabe49eb Add handle_prune test NIC619 2019-07-21 22:28:43 +08:00
  • 99252e49f8 Prevent re-adding peers to mesh NIC619 2019-07-21 22:28:17 +08:00
  • 42093e40ec Add handle_graft test NIC619 2019-07-21 21:22:20 +08:00
  • e52bfe3a51 Fix: Respond GRAFT with PRUNE if not subscribed to the topic NIC619 2019-07-18 22:37:44 +08:00
  • 84824fd566 Merge pull request #182 from NIC619/fix_refactor_gossipsub_join NIC Lin 2019-07-23 18:12:37 +08:00
  • 0cc8a205fb Fix test and reduce number of nodes in test_join NIC619 2019-07-23 17:28:46 +08:00
  • c0a3af69e0 Apply PR feedback: Check that node is in mesh peer's mesh after subscribe NIC619 2019-07-23 16:45:54 +08:00
  • 042e0ac916 Update tests/pubsub/test_gossipsub.py NIC Lin 2019-07-23 16:37:41 +08:00
  • 3c3a9ac90b Update tests/pubsub/test_gossipsub.py NIC Lin 2019-07-23 16:37:01 +08:00
  • afc853a776 Apply PR feedback NIC619 2019-07-22 23:22:07 +08:00
  • cdbeb63879 Add test NIC619 2019-07-22 19:28:12 +08:00
  • 67f9edb77d Remove fanout topic after joining the topic NIC619 2019-07-22 19:28:07 +08:00
  • 4ab99485a6 Fix lint error NIC619 2019-07-21 23:32:54 +08:00
  • 14ee44c549 Lint test and add cleanup to the end NIC619 2019-07-19 19:43:12 +08:00
  • 41141c028b FIx: check topic exist in pubsub.peer_topics NIC619 2019-07-19 19:40:26 +08:00
  • 2c1c8dc8cf Add gossipsub.join test NIC619 2019-07-19 12:56:15 +08:00
  • fd1f318b0c Fix: in mesh heartbeat, select from gossipsub peers subscribed to the topic NIC619 2019-07-18 22:40:05 +08:00
  • a26c7783d6 Add one_to_all_connect NIC619 2019-07-18 19:39:57 +08:00
  • 404dc67e83 Fix: prevent selecting peers from topic not in peer topics NIC619 2019-07-18 19:39:01 +08:00
  • b5c3420c16 Refactor gossipsub.join NIC619 2019-07-15 17:13:46 +08:00
  • 1e78c21eca Merge pull request #181 from NIC619/fix_handle_unsubscribe NIC Lin 2019-07-21 20:09:51 +08:00
  • 69a35536f4 Merge pull request #179 from mhchia/feature/latest-maddr-and-pin-versions Kevin Mai-Husan Chia 2019-07-20 22:57:35 +08:00
  • 8d3b3fdb6c Add debug msg mhchia 2019-07-20 22:47:37 +08:00
  • 085a5e7526 Apply suggestions from code review Kevin Mai-Husan Chia 2019-07-20 22:38:56 +08:00
  • a2d1aadf25 Add test for checking p2p code mhchia 2019-07-08 17:55:25 +08:00
  • d3eb68fa50 Increase coverage mhchia 2019-07-08 17:50:32 +08:00
  • 73125b99b0 Fix the error due to the breaking change mhchia 2019-07-08 17:13:08 +08:00
  • 0fbf45d8ca Pin the versions mhchia 2019-07-08 16:14:49 +08:00
  • 4422888f6f Merge pull request #180 from mhchia/fix/include-all-pkgs-setuptools Kevin Mai-Husan Chia 2019-07-20 22:39:57 +08:00
  • d37f7f64e3 Merge pull request #176 from NIC619/small_fix_on_docstring NIC Lin 2019-07-20 22:12:08 +08:00
  • 29aae7dca4 Add gossipsub join/leave test NIC619 2019-07-19 20:16:53 +08:00
  • 36575e8c9b Add check to prevent gossipsub re-join and re-leave NIC619 2019-07-19 19:56:25 +08:00
  • 183eee0e85 Add self subscription tests NIC619 2019-07-18 13:39:22 +08:00
  • 89347be526 Prevent self re-unsubscription NIC619 2019-07-18 13:26:31 +08:00
  • f25d97fbd3 Prevent self re-subscription NIC619 2019-07-15 16:32:05 +08:00
  • 6d9ec7a9c5 Handle the unsubscribe case NIC619 2019-07-15 16:28:29 +08:00
  • edd02c498f Ignore pb files mhchia 2019-07-11 20:58:03 +08:00
  • 31cd520076 Add the missing __init__.py in pb mhchia 2019-07-11 17:50:36 +08:00
  • a7ce230d05 Change params multiaddr to maddr mhchia 2019-07-10 19:33:38 +08:00
  • c8cb375d19 Make pylint happy mhchia 2019-07-10 17:44:14 +08:00
  • fa092505e8 Add missing "package file" mhchia 2019-07-10 00:07:58 +08:00
  • 10511d4930 Clean up a bit mhchia 2019-07-09 23:55:43 +08:00
  • 0188985918 Change packages in setup mhchia 2019-07-09 23:29:03 +08:00
  • 900b6d9f37 Fix docstring NIC619 2019-06-21 11:51:11 -06:00
  • a6f6078814 Add vim .swo files and .mypy_cache to .gitignore Jason Carver 2019-06-03 12:22:46 -07:00
  • b001256f5f Merge pull request #166 from libp2p/peer-id stuckinaboot 2019-05-22 12:58:45 -04:00
  • 9340d03660 Merge branch 'peer-id' of https://github.com/libp2p/py-libp2p into peer-id Stuckinaboot 2019-05-22 11:37:31 -04:00
  • a4529d827d Modify peer_id str Stuckinaboot 2019-05-21 22:25:08 -04:00
  • 4b40339b63 Update peerid tests for longer peerids Stuckinaboot 2019-05-08 20:19:13 -04:00
  • ae44c062df Remove truncating peerid when converting to string Stuckinaboot 2019-05-08 20:19:02 -04:00
  • 8bdcc63296 Merge pull request #167 from ralexstokes/pin-multiaddr-version stuckinaboot 2019-05-22 11:33:49 -04:00