This website requires JavaScript.
Explore
Help
Sign In
codex-storage
/
nim-codex-dht
Watch
1
Star
0
Fork
0
You've already forked nim-codex-dht
mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced
2025-01-30 13:45:28 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
nim-codex-dht
/
libp2pdht
/
dht.nim
4 lines
102 B
Nim
Raw
Normal View
History
Unescape
Escape
feat: reorg project to add nimble build system Project has been updated to use nimble as a build system. All required dependencies have been added. All nim-eth mirrored files were added to a private folder in the libp2pdht module. A libp2pdht/discv5 module was added to alias the nim-eth modules (which will change over time). Test have been updated to use status-im/asynctest. This PR uses a branch of asynctest that supports async suite before/after. This seemed like the only the tests would work without throwing gcsafe errors. All tests working.
2022-02-24 22:56:11 +11:00
import
feat: merge add/get providers with discv5 Merge the add/get providers messages with the discovery v5 messages inside of the discovery v5 code. Discovery v5 uses RLP encoding, while the add/get providers uses protobufs, as per the libp2p spec. The merge of these two uses RLP on the outer wrapper of the message, and a protobuf-encoded blob on the “inside” for the add/get providers messages only. Eventually this needs to change so that we use protobufs only. There is still some code in the libp2pdht/dht directory, which is being read from the discovery v5 directory. Eventually these two should merge as well.
2022-03-10 17:02:24 +11:00
.
/
dht
/
[
providers_encoding
,
providers_messages
]
feat: reorg project to add nimble build system Project has been updated to use nimble as a build system. All required dependencies have been added. All nim-eth mirrored files were added to a private folder in the libp2pdht module. A libp2pdht/discv5 module was added to alias the nim-eth modules (which will change over time). Test have been updated to use status-im/asynctest. This PR uses a branch of asynctest that supports async suite before/after. This seemed like the only the tests would work without throwing gcsafe errors. All tests working.
2022-02-24 22:56:11 +11:00
feat: merge add/get providers with discv5 Merge the add/get providers messages with the discovery v5 messages inside of the discovery v5 code. Discovery v5 uses RLP encoding, while the add/get providers uses protobufs, as per the libp2p spec. The merge of these two uses RLP on the outer wrapper of the message, and a protobuf-encoded blob on the “inside” for the add/get providers messages only. Eventually this needs to change so that we use protobufs only. There is still some code in the libp2pdht/dht directory, which is being read from the discovery v5 directory. Eventually these two should merge as well.
2022-03-10 17:02:24 +11:00
export
providers_encoding
,
providers_messages
Reference in New Issue
Copy Permalink