This website requires JavaScript.
a785031255
refactor: add getter/setter for isConnected
Derrick Hammer
2024-01-08 08:42:53 -0500
3c1a9cc526
refactor: add getter for nodeId
Derrick Hammer
2024-01-08 08:40:18 -0500
61faaf5694
test: add tests for DecodeMessage
Derrick Hammer
2024-01-08 08:28:10 -0500
b3a6d6ddcc
fix: DecodeMessage needs to be by ref
Derrick Hammer
2024-01-08 08:21:18 -0500
a5ac5af154
test: add tests for EncodeMsgpack
Derrick Hammer
2024-01-08 07:55:23 -0500
1020293b35
test: add tests for HandleMessage
Derrick Hammer
2024-01-08 07:15:30 -0500
a488cb806f
test: use TestMain approach on protocol
Derrick Hammer
2024-01-08 07:14:52 -0500
29cff7f368
refactor: add setter for handshake
Derrick Hammer
2024-01-08 07:14:25 -0500
33e2ef0d61
test: need to generate mock for peer
Derrick Hammer
2024-01-08 05:32:06 -0500
6a474c92dc
test: fix mock generation
Derrick Hammer
2024-01-08 01:16:20 -0500
adef9b1eb4
test: add test for DecodeMessage
Derrick Hammer
2024-01-08 01:02:04 -0500
2cce0cd46d
dep: add testify assert
Derrick Hammer
2024-01-08 01:01:49 -0500
a23f72ce12
test: add test for EncodeMsgpack
Derrick Hammer
2024-01-08 00:44:26 -0500
86da64fa41
feat: add gomock testing
Derrick Hammer
2024-01-08 00:16:32 -0500
e39ea9e48f
refactor: update DecodeMessage and HandleMessage
Derrick Hammer
2024-01-07 23:40:13 -0500
24e2b3a79f
fix: need to set self on message handler
Derrick Hammer
2024-01-07 23:01:09 -0500
ed48f60b12
fix: use ReadAll on msgpack.Buffered
Derrick Hammer
2024-01-07 22:57:03 -0500
2f5a853ff8
refactor: store incoming message as a child property vs overriding itself via pointer magic
Derrick Hammer
2024-01-07 22:55:57 -0500
0d083e8567
fix: need to use DecodeMsgpackArray
Derrick Hammer
2024-01-07 22:54:43 -0500
d6c7bd37dd
fix: we need to strip off the key prefix
Derrick Hammer
2024-01-07 22:38:19 -0500
291a87aefc
fix: we need to use EncodeMsgpackArray
Derrick Hammer
2024-01-07 22:35:41 -0500
819219cdcf
fix: we need to define custom array encoding and decoding api due to non-standard message packing in the dart implementation
Derrick Hammer
2024-01-07 22:33:04 -0500
fec2adb72f
fix: we need to use the msgpack reader and get the rest of the bytes, not use DecodeRaw
Derrick Hammer
2024-01-07 22:21:59 -0500
12d8d1371a
fix: we dont need to send the network id
Derrick Hammer
2024-01-07 21:41:17 -0500
102f147ec4
fix: encode the challenge, mot the original message
Derrick Hammer
2024-01-07 21:38:26 -0500
3f469a3a15
fix: dont strip off anything
Derrick Hammer
2024-01-07 11:24:47 -0500
1b8ba683c0
fix: need to handle no network id
Derrick Hammer
2024-01-07 10:54:26 -0500
a9fb6aedb9
fix: need to store a reference to the handler to itself so we can access it by the proper type in a parent method
Derrick Hammer
2024-01-07 10:37:42 -0500
a6389eb738
feat: add EncodeMsgpack, HandleMessage, and NewHandshakeDoneRequest toHandshakeDone
Derrick Hammer
2024-01-07 09:09:17 -0500
cc2885f2b4
feat: add DecodeMessage and HandleMessage to HandshakeOpen
Derrick Hammer
2024-01-07 09:08:23 -0500
00c8a081f6
feat: add secure message signing and encoding
Derrick Hammer
2024-01-07 09:07:37 -0500
3ce371986b
refactor: add NetworkId() to node
Derrick Hammer
2024-01-07 09:02:39 -0500
ebd95f59d4
fix: need to set known
Derrick Hammer
2024-01-07 08:07:32 -0500
a59b7d44d6
fix: bad type conversion, and add a panic
Derrick Hammer
2024-01-07 08:03:25 -0500
be082fda60
refactor: add interface check
Derrick Hammer
2024-01-07 07:59:14 -0500
a497592bad
refactor: add dummy DecodeMessage to panic, and add getter/setter for known
Derrick Hammer
2024-01-07 07:58:43 -0500
b53eb16767
refactor: add interface check
Derrick Hammer
2024-01-07 07:57:24 -0500
b8a38fde66
fix: dont return by ref
Derrick Hammer
2024-01-07 06:51:40 -0500
8b2756caad
fix: need to pass by ref
Derrick Hammer
2024-01-07 06:49:27 -0500
0028483817
refactor: use lowercase socket
Derrick Hammer
2024-01-07 06:47:19 -0500
2e9b07c6bd
refactor: dont use pointers with interfaces
Derrick Hammer
2024-01-07 06:35:41 -0500
52b7426a7a
refactor: change how we manage peers, create getter/setters on Peer/BasePeer, and refactor WebSocketPeer to use new ws package and add Connect/NewPeer
Derrick Hammer
2024-01-07 06:33:32 -0500
8435ce33de
dep: switch to nhooyr websocket
Derrick Hammer
2024-01-07 06:31:26 -0500
8f6ebbd3e2
fix: nil pointer reference
Derrick Hammer
2024-01-07 05:31:24 -0500
581ff5120d
fix: scheme doesnt use colons
Derrick Hammer
2024-01-07 05:28:05 -0500
52f08335a2
fix: set started
Derrick Hammer
2024-01-07 05:25:45 -0500
f7a86fd2a5
fix: don't try to init
Derrick Hammer
2024-01-07 05:23:45 -0500
29f7563d75
fix: set inited
Derrick Hammer
2024-01-07 05:23:11 -0500
3218167b83
fix: bad return on PublicKeyRaw
Derrick Hammer
2024-01-07 05:22:00 -0500
6597a78e51
refactor: can't inherit from HandshakeOpen without a import cycle
Derrick Hammer
2024-01-07 05:13:09 -0500
54f0a53f77
refactor: need to crease a base protocol package to solve import cycle
Derrick Hammer
2024-01-07 05:12:43 -0500
ef86db2bd0
refactor: need to export storage structs
Derrick Hammer
2024-01-07 04:33:40 -0500
1950edf181
refactor: move StorageLocation to a new pkg to prevent import cycle
Derrick Hammer
2024-01-07 04:30:03 -0500
57657bd6ed
fix: need to use interface, not impl
Derrick Hammer
2024-01-07 04:27:54 -0500
602ece249a
chore: delete unneeded package
Derrick Hammer
2024-01-07 04:17:36 -0500
4b406bcf57
fix: need to init and setup P2P service
Derrick Hammer
2024-01-07 04:17:19 -0500
311b03737c
fix: need to fix construction od node and stick to using interfaces
Derrick Hammer
2024-01-07 04:16:18 -0500
99167b4cec
fix: add missing services impl
Derrick Hammer
2024-01-07 04:15:28 -0500
ea872fedc4
refactor: move nodeVotes to a dedicated file
Derrick Hammer
2024-01-07 04:03:36 -0500
51d76a2d95
refactor: use interfaces
Derrick Hammer
2024-01-07 03:58:22 -0500
4678d406fc
refactor: use interfaces, rename struct to be an impl
Derrick Hammer
2024-01-07 03:57:46 -0500
b340cda442
refactor: add interface to map
Derrick Hammer
2024-01-07 03:57:12 -0500
ca1e2dcf72
refactor: use interfaces, rename struct to be an impl
Derrick Hammer
2024-01-07 03:56:50 -0500
26a51a25d5
fix: dont use pointers with interfaces
Derrick Hammer
2024-01-07 03:56:05 -0500
0a6738be5d
refactor: need access data via methods
Derrick Hammer
2024-01-07 03:55:33 -0500
cb23f21ecc
fix: need to export methods for now
Derrick Hammer
2024-01-07 03:54:50 -0500
b8cb37f99e
refactor: interfaces should not be pointers
Derrick Hammer
2024-01-07 03:54:32 -0500
bd8c14e53e
fix: use interface not implementation
Derrick Hammer
2024-01-07 03:19:04 -0500
713bcf98c3
refactor: major refactor to split major components into interfaces due to import cycles
Derrick Hammer
2024-01-07 03:13:35 -0500
19b0785c48
fix: wrong imports and references to Config
Derrick Hammer
2024-01-06 13:26:03 -0500
0b6ef02572
refactor: move config to its own package
Derrick Hammer
2024-01-06 13:23:54 -0500
2a21ca4d60
refactor: move node and storage to its own package
Derrick Hammer
2024-01-06 13:21:09 -0500
348b20ba4a
fix: need to remove by ref
Derrick Hammer
2024-01-06 13:15:45 -0500
fdbc4cf7fc
fix: need to store pointer references
Derrick Hammer
2024-01-06 13:15:29 -0500
8742a4139b
feat: implement AnnouncePeers
Derrick Hammer
2024-01-06 12:51:38 -0500
16ce7338bd
feat: implement HashQuery HandleMessage
Derrick Hammer
2024-01-06 10:54:38 -0500
eefbfa06d0
feat: initial node scoring support
Derrick Hammer
2024-01-06 10:54:03 -0500
67be38e6c9
refactor: switch to storing by the base58 id, not the hashcode
Derrick Hammer
2024-01-06 10:53:20 -0500
9654fadfee
refactor: abstract button creation to a generic utility method
Derrick Hammer
2024-01-06 09:46:01 -0500
4959270f51
feat: wip initial storage location support
Derrick Hammer
2024-01-06 09:45:00 -0500
f45e297791
refactor: make fullBytes private and create a getter
Derrick Hammer
2024-01-06 07:11:51 -0500
8c29a284ce
feat: wip networking
Derrick Hammer
2024-01-06 06:33:46 -0500
8d1bdd87ac
refactor: move Data to be accessed via Bytes and Raw
Derrick Hammer
2024-01-06 06:33:23 -0500
785d4029e9
feat: add protocol types
Derrick Hammer
2024-01-05 13:47:56 -0500
a5cc5b3d9e
refactor: rename NodeIdDecode for readability
Derrick Hammer
2024-01-05 10:50:22 -0500
d708297651
fix: ContentType shouldnt be a pointer
Derrick Hammer
2024-01-05 09:02:58 -0500
1cf7fe283a
feat: initial web_app structs
Derrick Hammer
2024-01-05 09:02:26 -0500
a499dcf544
feat: initial media structs
Derrick Hammer
2024-01-05 08:58:13 -0500
22e72da15c
feat: initial user identity structs
Derrick Hammer
2024-01-05 08:46:08 -0500
93782c9db7
feat: add meta MetadataParentLink
Derrick Hammer
2024-01-05 08:41:17 -0500
36c4212305
chore: remove commented code
Derrick Hammer
2024-01-05 07:41:33 -0500
f1f5ad4c02
chore: unneeded struct
Derrick Hammer
2024-01-05 07:40:50 -0500
338fbf3d0a
refactor: add more value types to marshallMapMsgpack
Derrick Hammer
2024-01-05 07:32:34 -0500
b1c7c8a9fd
refactor: add a map wrapper for FileReference serialization
Derrick Hammer
2024-01-05 07:31:54 -0500
7ad63aea3a
refactor: add a map wrapper for FileVersionThumbnail and FileVersion serialization
Derrick Hammer
2024-01-05 07:19:31 -0500
40d7c90595
refactor: add uint64 and Base64UrlBinary value support to marshallMapMsgpack
Derrick Hammer
2024-01-05 07:01:27 -0500
de909db84e
fix: need to use directoryReferenceSerializationMap
Derrick Hammer
2024-01-05 07:00:42 -0500
012c90ddae
refactor: add multitype support for keys to marshallMapMsgpack
Derrick Hammer
2024-01-05 06:59:55 -0500
00157e463c
refactor: add directoryReferenceSerializationMap map wrapper to handle DirectoryReference serialization
Derrick Hammer
2024-01-05 06:36:18 -0500
453e8590c7
dep: move go-cmp back to upstream version, add gods
Derrick Hammer
2024-01-05 06:23:32 -0500