Merge pull request #69 from codex-storage/rename-library
Finish renaming library
This commit is contained in:
commit
18dbe4cc04
|
@ -1,5 +1,5 @@
|
|||
import
|
||||
./libp2pdht/dht,
|
||||
./libp2pdht/discv5
|
||||
./codexdht/dht,
|
||||
./codexdht/discv5
|
||||
|
||||
export dht, discv5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Package
|
||||
|
||||
version = "0.2.1"
|
||||
version = "0.3.0"
|
||||
author = "Status Research & Development GmbH"
|
||||
description = "DHT based on the libp2p Kademlia spec"
|
||||
license = "MIT"
|
||||
|
@ -56,8 +56,8 @@ task testAll, "Run DHT tests":
|
|||
# exec("cd nimcache; rm *.c; cd ..")
|
||||
# mkDir("coverage")
|
||||
# exec("lcov --capture --directory nimcache --output-file coverage/coverage.info")
|
||||
# exec("$(which bash) -c 'shopt -s globstar; ls $(pwd)/libp2pdht/{*,**/*}.nim'")
|
||||
# exec("$(which bash) -c 'shopt -s globstar; lcov --extract coverage/coverage.info $(pwd)/libp2pdht/{*,**/*}.nim --output-file coverage/coverage.f.info'")
|
||||
# exec("$(which bash) -c 'shopt -s globstar; ls $(pwd)/codexdht/{*,**/*}.nim'")
|
||||
# exec("$(which bash) -c 'shopt -s globstar; lcov --extract coverage/coverage.info $(pwd)/codexdht/{*,**/*}.nim --output-file coverage/coverage.f.info'")
|
||||
# echo "Generating HTML coverage report"
|
||||
# exec("genhtml coverage/coverage.f.info --output-directory coverage/report")
|
||||
# echo "Opening HTML coverage report in browser..."
|
||||
|
|
|
@ -3,9 +3,9 @@ import
|
|||
chronos,
|
||||
libp2p/crypto/[crypto, secp],
|
||||
libp2p/multiaddress,
|
||||
libp2pdht/discv5/[node, routing_table, spr],
|
||||
libp2pdht/discv5/crypto as dhtcrypto,
|
||||
libp2pdht/discv5/protocol as discv5_protocol,
|
||||
codexdht/discv5/[node, routing_table, spr],
|
||||
codexdht/discv5/crypto as dhtcrypto,
|
||||
codexdht/discv5/protocol as discv5_protocol,
|
||||
stew/shims/net
|
||||
|
||||
export net
|
||||
|
|
|
@ -6,11 +6,11 @@ import pkg/asynctest
|
|||
import pkg/datastore
|
||||
import pkg/libp2p
|
||||
|
||||
import libp2pdht/dht
|
||||
import libp2pdht/private/eth/p2p/discoveryv5/spr
|
||||
import libp2pdht/private/eth/p2p/discoveryv5/providers
|
||||
import libp2pdht/discv5/node
|
||||
import libp2pdht/private/eth/p2p/discoveryv5/lru
|
||||
import codexdht/dht
|
||||
import codexdht/private/eth/p2p/discoveryv5/spr
|
||||
import codexdht/private/eth/p2p/discoveryv5/providers
|
||||
import codexdht/discv5/node
|
||||
import codexdht/private/eth/p2p/discoveryv5/lru
|
||||
import ./test_helper
|
||||
|
||||
suite "Test Providers Manager simple":
|
||||
|
|
|
@ -18,9 +18,9 @@ import
|
|||
nimcrypto,
|
||||
libp2p/crypto/[crypto, secp],
|
||||
libp2p/[multiaddress, multicodec, multihash, routing_record, signed_envelope],
|
||||
libp2pdht/dht,
|
||||
libp2pdht/discv5/crypto as dhtcrypto,
|
||||
libp2pdht/discv5/protocol as discv5_protocol,
|
||||
codexdht/dht,
|
||||
codexdht/discv5/crypto as dhtcrypto,
|
||||
codexdht/discv5/protocol as discv5_protocol,
|
||||
stew/byteutils,
|
||||
test_helper
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ import
|
|||
chronos, chronicles, stint, asynctest, stew/shims/net,
|
||||
stew/byteutils, bearssl/rand,
|
||||
libp2p/crypto/crypto,
|
||||
libp2pdht/discv5/[transport, spr, node, routing_table, encoding, sessions, nodes_verification],
|
||||
libp2pdht/discv5/crypto as dhtcrypto,
|
||||
libp2pdht/discv5/protocol as discv5_protocol,
|
||||
codexdht/discv5/[transport, spr, node, routing_table, encoding, sessions, nodes_verification],
|
||||
codexdht/discv5/crypto as dhtcrypto,
|
||||
codexdht/discv5/protocol as discv5_protocol,
|
||||
../dht/test_helper
|
||||
|
||||
suite "Discovery v5 Tests":
|
||||
|
|
|
@ -6,8 +6,8 @@ import
|
|||
bearssl/rand,
|
||||
chronos,
|
||||
libp2p/crypto/secp,
|
||||
libp2pdht/discv5/[messages, messages_encoding, encoding, spr, node, sessions],
|
||||
libp2pdht/discv5/crypto,
|
||||
codexdht/discv5/[messages, messages_encoding, encoding, spr, node, sessions],
|
||||
codexdht/discv5/crypto,
|
||||
stew/byteutils,
|
||||
stew/shims/net,
|
||||
stint,
|
||||
|
|
Loading…
Reference in New Issue