Commit Graph

98 Commits

Author SHA1 Message Date
Derrick Hammer 1c167aad2a
*modify connect to return an existing connection if it exists, and if not, throw a not implemented error 2023-03-19 14:55:23 -04:00
Derrick Hammer bdf0cb705c
*Update dist 2023-03-19 14:03:38 -04:00
Derrick Hammer 1a4f33c697
*Move _connectBackoff retry to costructor so we don't create duplicate hooks 2023-03-19 14:03:24 -04:00
Derrick Hammer 290ca18c4b
*Store the listenConnections connection so don't create duplicates incase init/ready is called multiple times 2023-03-19 14:02:50 -04:00
Derrick Hammer 14a71cffd9
*update dist 2023-03-19 11:14:53 -04:00
Derrick Hammer ce24ca1bd9
*missing storing the socket 2023-03-19 11:14:31 -04:00
Derrick Hammer 0ee94ca1e5
*Update dist 2023-03-19 10:48:28 -04:00
Derrick Hammer c869488951
*Track socks to reuse objects as we are storing state on them 2023-03-19 10:48:11 -04:00
Derrick Hammer ab78add294
*update dist 2023-03-18 14:42:37 -04:00
Derrick Hammer 4e504124b2
*update module hash 2023-03-18 14:42:22 -04:00
Derrick Hammer 30c08327b4
*update dist 2023-03-18 13:55:47 -04:00
Derrick Hammer 44b9842ea9
*add dht getter that returns a mock object including ready 2023-03-18 13:55:33 -04:00
Derrick Hammer 46b0911d57
*Update dist 2023-03-16 14:25:09 -04:00
Derrick Hammer acc2ed4db3
*Update module hash 2023-03-16 14:24:41 -04:00
Derrick Hammer 1d61d00881
*Update dist 2023-02-17 21:05:40 -05:00
Derrick Hammer 36dd596aab
*Methods not needed 2023-02-17 21:05:28 -05:00
Derrick Hammer ee3e71351c
*Update dist 2023-02-17 21:03:50 -05:00
Derrick Hammer 7028609da4
*Set hash length to 32 2023-02-17 21:03:42 -05:00
Derrick Hammer bbbe813360
*Update dist 2023-02-17 20:07:08 -05:00
Derrick Hammer 4977f88d55
*Mixed up code 2023-02-17 20:06:46 -05:00
Derrick Hammer 1ba371fb1c
*Update dist 2023-02-17 20:05:07 -05:00
Derrick Hammer 232f82d828
*Support strings in join with nobile blake2b hashing 2023-02-17 20:04:21 -05:00
Derrick Hammer 8061477c0b
*Update dist 2023-02-17 19:36:14 -05:00
Derrick Hammer df63f8be30
*Add persistent tracking of topics 2023-02-17 19:35:56 -05:00
Derrick Hammer ae487a27e5
*Update dist 2023-02-17 16:50:42 -05:00
Derrick Hammer b98db98b6a
*Missing await 2023-02-17 16:50:05 -05:00
Derrick Hammer c52e437f50
*Update dist 2023-02-17 11:28:36 -05:00
Derrick Hammer 6f30bb7faa
*set maxAttempts to Number.MAX_SAFE_INTEGER 2023-02-17 11:28:07 -05:00
Derrick Hammer 1970763114
*Update dist 2023-02-17 09:26:10 -05:00
Derrick Hammer ff7266f05e
*Switch to backoff.js 2023-02-17 09:25:58 -05:00
Derrick Hammer acbc5408c9
*Update dist 2023-02-17 08:50:06 -05:00
Derrick Hammer b76aa38f76
*Move listenConnections call to private method that will do a backoff connection after returning 2023-02-17 08:49:35 -05:00
Derrick Hammer 7d031231a3
*Update dist 2023-02-17 08:31:37 -05:00
Derrick Hammer d3460ae956
*Move backoff reset to the ready method 2023-02-17 08:31:24 -05:00
Derrick Hammer 54a817742c
*Update dist 2023-02-17 08:20:16 -05:00
Derrick Hammer a7384cf688
*Listen for connections before waiting for ready 2023-02-17 08:20:02 -05:00
Derrick Hammer 72324beb68
*Update dist 2023-02-17 08:08:57 -05:00
Derrick Hammer ba0832588d
*Refactor start 2023-02-17 08:08:43 -05:00
Derrick Hammer 3ede7224aa
*Update dist 2023-02-16 21:48:11 -05:00
Derrick Hammer db894376eb
*Add connection retry with backoff support 2023-02-16 21:47:49 -05:00
Derrick Hammer 524d647f21
*Update dist 2023-02-06 05:25:32 -05:00
Derrick Hammer 1786e56380
*Change createSocket to call setup which will fetch socket info from socketGetInfo and setup as mock objects 2023-02-06 05:25:00 -05:00
Derrick Hammer e69e7a67b6
*Update dist 2023-02-06 03:50:00 -05:00
Derrick Hammer 1f76aef53a
*Change socket close module method name to be consistent with the rest 2023-02-06 03:49:48 -05:00
Derrick Hammer e84b009244
*Change socket listen module method name to be consistent with the rest 2023-02-06 03:35:04 -05:00
Derrick Hammer e211fa3b48
*Fix write module call name 2023-02-06 03:33:44 -05:00
Derrick Hammer d4df7d45c3
*Update dist 2023-02-06 03:26:19 -05:00
Derrick Hammer 875ba862f0
*Use createSocket not createClient 2023-02-06 03:26:06 -05:00
Derrick Hammer fe04cbe10d
*On the ready method, setup a connection to the swarm module to listen for new connections 2023-02-06 03:13:32 -05:00
Derrick Hammer 2bcd37e271
*Properly overload eventemitter3 methods 2023-02-06 03:11:42 -05:00