Commit Graph

46 Commits

Author SHA1 Message Date
Derrick Hammer 5eb86d6acd
*Update dist 2022-11-26 17:28:46 -05:00
Derrick Hammer e53b4eadda
*Check if we are bootstrapped and queue broadcast in removeItem like with addItem 2022-11-26 17:27:35 -05:00
Derrick Hammer 323530c4bc
*Update dist 2022-11-24 01:50:30 -05:00
Derrick Hammer 1910398d44
*Refactor test to use events/promises and not a timer
*Add tests for peerHasItem
2022-11-24 01:50:11 -05:00
Derrick Hammer 734a3640e3
*switch to b4a 2022-11-24 01:49:15 -05:00
Derrick Hammer 587739334a
*filter for peers in neighbors in _getBootstrapInfo 2022-11-24 01:48:00 -05:00
Derrick Hammer 48ceded78f
*Add item-added and item-removed events 2022-11-24 01:46:55 -05:00
Derrick Hammer 24b97d5288
*Add peerHasItem method 2022-11-24 01:46:34 -05:00
Derrick Hammer eab1d70df4
*Add connection to graph on addItem 2022-11-24 01:46:14 -05:00
Derrick Hammer 74773f12cd
*Update dist 2022-11-23 21:23:47 -05:00
Derrick Hammer 627736ea1a
*Change all_cache to allCache 2022-11-23 21:23:29 -05:00
Derrick Hammer 4f93d23b68
*Fix return type 2022-11-23 21:22:42 -05:00
Derrick Hammer 9bc97fa195
*Update dist 2022-11-23 20:39:45 -05:00
Derrick Hammer 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 2022-11-23 20:39:16 -05:00
Derrick Hammer eb57f87eb4
*Update dist 2022-11-19 20:36:15 -05:00
Derrick Hammer a7a3ac1d03
*Update class name 2022-11-19 20:35:55 -05:00
Derrick Hammer a1d826e376
*Ensure we are parsing the public key in hex format 2022-11-19 20:35:23 -05:00
Derrick Hammer 15b088f481
*Add timestamp checking to not store old data 2022-11-19 20:34:57 -05:00
Derrick Hammer 78f3edd71d
*Update dist 2022-11-19 19:54:04 -05:00
Derrick Hammer f529597a61
*Rename library to better reflect its purpose 2022-11-19 19:53:24 -05:00
Derrick Hammer 23e1644be9
*DEFAULT_ENCODING no longer needed 2022-11-19 19:50:53 -05:00
Derrick Hammer b43ec0b236
*Refactor and add peer methods 2022-11-19 19:50:11 -05:00
Derrick Hammer 3bad936cd4
*Refactor to use message signing and track with timestamps 2022-11-19 19:44:55 -05:00
Derrick Hammer 579bc2bf5d
*Update dist 2022-11-16 12:28:12 -05:00
Derrick Hammer 98ad784c8e
*Use dynamic type for opts 2022-11-16 12:27:53 -05:00
Derrick Hammer e643f14e90
*Update dist 2022-11-16 12:16:08 -05:00
Derrick Hammer 4f08c07489
*Define constructor bag types 2022-11-16 12:15:51 -05:00
Derrick Hammer 73846a5eda
Revert "*Explicitly define protocol as a bag option"
This reverts commit cea5ba5131.
2022-11-16 12:13:00 -05:00
Derrick Hammer b02a7f5a2c
Revert "*Update dist"
This reverts commit 129141bd8f.
2022-11-16 12:13:00 -05:00
Derrick Hammer 3b87e81c12
Revert "*Update bag structure"
This reverts commit e446466c2a.
2022-11-16 12:12:52 -05:00
Derrick Hammer e18055e606
Revert "*Update dist"
This reverts commit 898fad7002.
2022-11-16 12:12:52 -05:00
Derrick Hammer 898fad7002
*Update dist 2022-11-16 12:09:23 -05:00
Derrick Hammer e446466c2a
*Update bag structure 2022-11-16 12:08:53 -05:00
Derrick Hammer 129141bd8f
*Update dist 2022-11-16 12:05:21 -05:00
Derrick Hammer cea5ba5131
*Explicitly define protocol as a bag option 2022-11-16 12:04:56 -05:00
Derrick Hammer cf6e0a986f
*Update dist 2022-11-16 11:24:10 -05:00
Derrick Hammer 3196947071
*Return shadow clone of data 2022-11-16 11:23:50 -05:00
Derrick Hammer 47eba446b7
*Update dist 2022-11-16 11:15:00 -05:00
Derrick Hammer 0016903687
*Change setData to a setter 2022-11-16 11:14:44 -05:00
Derrick Hammer e4e18a8a55
*Add a getter for data 2022-11-16 11:11:57 -05:00
Derrick Hammer 866c91c0c6
*Update dist 2022-11-16 10:48:41 -05:00
Derrick Hammer c534be442c
*Make setData public 2022-11-16 10:48:09 -05:00
Derrick Hammer a70b3154e0
*Remove stray methods 2022-11-16 10:47:40 -05:00
Derrick Hammer 0ff1a24de2
*Add dist 2022-11-16 02:47:03 -05:00
Derrick Hammer 9b6a916f00
*Initial version 2022-11-16 02:45:10 -05:00
Derrick Hammer c2a31154e7 Initial commit 2022-11-15 17:02:32 +00:00