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
33b87a1075
*Update dist
e8d4c0c756
*Remove getNodeQuery
90beb40785
*Update dist
b6ea4e687c
*RPC Clear Cache types not needed
75bb30db99
*Update dist
252be50f2e
*Update dist
49fc39ab08
*protomux will automatically encode data to JSON, so just set value default to empty string
da4bda03ee
*Update dist
cafa333041
*Prettier
ff6babc53c
*Add prettier
e54e7e536d
*Override request method with defaults for value, and convert value to a buffer if needed
340cd46734
*Add sleep-promise for testing
a83c66c630
*refactor test to add delays on creating the peers
4f8918f8e9
*Update dist
bebdc7d0d4
*Reformat
fcfdd51908
*Remove peer1 connection listener after broadcast
ce1854de83
*Track peer closed handlers outside of protomux with a map
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
5eb86d6acd
*Update dist
e53b4eadda
*Check if we are bootstrapped and queue broadcast in removeItem like with addItem
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
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
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