Derrick Hammer pcfreak30
pcfreak30 pushed to master at LumeWeb/relay 2022-11-28 06:38:20 +00:00
0387316e4f *Refactor broadcast handling to call RPCServer.handleRequest if it is a loopback request
9b15c738e9 *Allow handleRequest to be publicly called
cb2299f9e8 *Buffer conversion bugfix
77d72a6666 *Update lock
029aab6901 *Fix type handling
Compare 11 commits »
pcfreak30 pushed to master at LumeWeb/interface-relay 2022-11-28 05:21:01 +00:00
33b87a1075 *Update dist
e8d4c0c756 *Remove getNodeQuery
90beb40785 *Update dist
b6ea4e687c *RPC Clear Cache types not needed
75bb30db99 *Update dist
Compare 6 commits »
pcfreak30 pushed to master at LumeWeb/rpc 2022-11-28 04:59:57 +00:00
252be50f2e *Update dist
49fc39ab08 *protomux will automatically encode data to JSON, so just set value default to empty string
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/rpc 2022-11-27 23:23:12 +00:00
da4bda03ee *Update dist
cafa333041 *Prettier
ff6babc53c *Add prettier
e54e7e536d *Override request method with defaults for value, and convert value to a buffer if needed
Compare 4 commits »
pcfreak30 pushed to master at LumeWeb/dht-flood 2022-11-27 21:32:51 +00:00
340cd46734 *Add sleep-promise for testing
a83c66c630 *refactor test to add delays on creating the peers
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/dht-flood 2022-11-27 08:37:32 +00:00
4f8918f8e9 *Update dist
bebdc7d0d4 *Reformat
fcfdd51908 *Remove peer1 connection listener after broadcast
ce1854de83 *Track peer closed handlers outside of protomux with a map
Compare 4 commits »
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-27 07:12:42 +00:00
c67bc2bba7 *Update dist
9350daee68 *Prune graph on node disconnect
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-27 00:39:24 +00:00
1404c2b073 *Update dist
b47502ac9d *Set flag before event emit
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-27 00:33:39 +00:00
8959c644e3 *Update dist
67bdf54e71 *bootstrapped flag needs to be set
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-26 23:48:24 +00:00
1158bd72c6 *Update dist
c4321d3026 *Pass id property, not variable
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-26 23:44:02 +00:00
dccdbbd13d *Update dist
3d77943112 *Ensure id is a buffer
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/relay 2022-11-26 23:28:41 +00:00
86ce21a4b4 *If we have a cached request, release the lock
9ce66b15a3 *Add query hash to dht cache
83b62bfdcb *Refactor mutex lock logic
5c02356595 *start swarm in boot first, before even plugins since they kickstart the rpc singleton
ec33e40c74 *Export swarm start
Compare 7 commits »
pcfreak30 pushed to master at LumeWeb/dht-flood 2022-11-26 23:09:44 +00:00
81191ed7ce *Update dist
f82a689e0f *Bug fix channel opening
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-26 22:28:48 +00:00
5eb86d6acd *Update dist
e53b4eadda *Check if we are bootstrapped and queue broadcast in removeItem like with addItem
Compare 2 commits »
pcfreak30 pushed to master at LumeWeb/relay 2022-11-26 07:59:24 +00:00
00fc999169 *Major refactor to swarm based DHT design, switch to protomux-rpc, merging core plugin into main daemon, and creating a new internal rpc plugin for cache and broadcast requests
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-24 06:50:36 +00:00
323530c4bc *Update dist
1910398d44 *Refactor test to use events/promises and not a timer
734a3640e3 *switch to b4a
587739334a *filter for peers in neighbors in _getBootstrapInfo
48ceded78f *Add item-added and item-removed events
Compare 7 commits »
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-24 02:23:50 +00:00
74773f12cd *Update dist
627736ea1a *Change all_cache to allCache
4f93d23b68 *Fix return type
Compare 3 commits »
pcfreak30 created branch master in LumeWeb/dht-cache 2022-11-24 02:15:02 +00:00
pcfreak30 pushed to master at LumeWeb/dht-cache 2022-11-24 02:15:02 +00:00
9bc97fa195 *Update dist
bae0efa3b0 *Major refactor to pivot cache design based on items, but store all items and peers as nodes in graph with a type, and update communication structs for it
eb57f87eb4 *Update dist
a7a3ac1d03 *Update class name
a1d826e376 *Ensure we are parsing the public key in hex format
Compare 10 commits »
pcfreak30 created repository LumeWeb/dht-cache 2022-11-24 02:14:47 +00:00