Rebrand asyncdispatch2 to chronos (#2)

* Rebrand asyncdispatch2 to chronos

* fix nimble path to chronos
This commit is contained in:
Mamy Ratsimbazafy 2019-02-06 17:01:04 +01:00 committed by GitHub
parent 0bc80d73cd
commit 07cf801b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 19 additions and 19 deletions

View File

@ -12,7 +12,7 @@ requires "nim >= 0.19.0",
"secp256k1",
"rocksdb",
"package_visible_types",
"asyncdispatch2",
"https://github.com/status-im/nim-chronos",
"chronicles"
proc test(filename: string) =

View File

@ -10,7 +10,7 @@
import
tables, algorithm, random,
asyncdispatch2, asyncdispatch2/timer, chronicles,
chronos, chronos/timer, chronicles,
eth/keys, eth/common/eth_types,
eth/p2p/[kademlia, discovery, enode, peer_pool, rlpx],
eth/p2p/private/p2p_types

View File

@ -1,6 +1,6 @@
import
sets, options, random, hashes,
asyncdispatch2, chronicles, eth/common/eth_types,
chronos, chronicles, eth/common/eth_types,
private/p2p_types, rlpx, peer_pool, rlpx_protocols/eth_protocol,
../p2p

View File

@ -10,7 +10,7 @@
import
times,
asyncdispatch2, eth/[keys, rlp], stint, nimcrypto, chronicles,
chronos, eth/[keys, rlp], stint, nimcrypto, chronicles,
kademlia, enode
export

View File

@ -10,7 +10,7 @@
import
tables, hashes, times, algorithm, sets, sequtils, random,
asyncdispatch2, chronicles, eth/keys, stint, nimcrypto,
chronos, chronicles, eth/keys, stint, nimcrypto,
enode
export sets # TODO: This should not be needed, but compilation fails otherwise

View File

@ -1,6 +1,6 @@
import
macros, deques, algorithm,
asyncdispatch2, eth/[keys, rlp], eth/common/eth_types,
chronos, eth/[keys, rlp], eth/common/eth_types,
private/p2p_types, rlpx, ../p2p
type

View File

@ -3,7 +3,7 @@
import
os, tables, times, random, sequtils,
asyncdispatch2, chronicles, eth/[rlp, keys],
chronos, chronicles, eth/[rlp, keys],
private/p2p_types, discovery, kademlia, rlpx
const

View File

@ -1,7 +1,7 @@
import
deques, tables,
package_visible_types,
eth/[rlp, keys], asyncdispatch2, eth/common/eth_types,
eth/[rlp, keys], chronos, eth/common/eth_types,
../enode, ../kademlia, ../discovery, ../options, ../rlpxcrypt
const

View File

@ -1,6 +1,6 @@
import
macros, tables, algorithm, deques, hashes, options, typetraits,
chronicles, nimcrypto, asyncdispatch2, eth/[rlp, common, keys],
chronicles, nimcrypto, chronos, eth/[rlp, common, keys],
private/p2p_types, kademlia, auth, rlpxcrypt, enode, p2p_tracing
when useSnappy:

View File

@ -12,7 +12,7 @@
## https://github.com/ethereum/wiki/wiki/Ethereum-Wire-Protocol
import
asyncdispatch2, stint, chronicles, eth/rlp, eth/common/eth_types,
chronos, stint, chronicles, eth/rlp, eth/common/eth_types,
../rlpx, ../private/p2p_types, ../blockchain_utils, ../../p2p
type

View File

@ -1,6 +1,6 @@
import
tables, sets,
chronicles, asyncdispatch2, eth/rlp, eth/common/eth_types,
chronicles, chronos, eth/rlp, eth/common/eth_types,
../../rlpx, ../../private/p2p_types, private/les_types
const

View File

@ -10,7 +10,7 @@
import
times, tables, options, sets, hashes, strutils, macros,
chronicles, asyncdispatch2, nimcrypto/[keccak, hash],
chronicles, chronos, nimcrypto/[keccak, hash],
eth/[rlp, keys], eth/common/eth_types,
../rlpx, ../kademlia, ../private/p2p_types, ../blockchain_utils,
les/private/les_types, les/flow_control

View File

@ -8,7 +8,7 @@
import
algorithm, bitops, endians, math, options, sequtils, strutils, tables, times,
secp256k1, chronicles, asyncdispatch2, eth/common/eth_types, eth/[keys, rlp],
secp256k1, chronicles, chronos, eth/common/eth_types, eth/[keys, rlp],
hashes, byteutils, nimcrypto/[bcmode, hash, keccak, rijndael, sysrand],
eth/p2p, ../ecies

View File

@ -1,4 +1,4 @@
import times, asyncdispatch2
import times, chronos
type
FullNodeSyncer* = ref object

View File

@ -8,7 +8,7 @@
# MIT license (LICENSE-MIT)
import
options, unittest, asyncdispatch2, eth/[rlp, keys, p2p],
options, unittest, chronos, eth/[rlp, keys, p2p],
eth/p2p/mock_peers, eth/p2p/rlpx_protocols/[whisper_protocol]
proc localAddress(port: int): Address =

View File

@ -8,7 +8,7 @@
# MIT license (LICENSE-MIT)
import
sequtils, options, strutils, parseopt, asyncdispatch2,
sequtils, options, strutils, parseopt, chronos,
eth/[keys, rlp, p2p], eth/p2p/rlpx_protocols/[whisper_protocol],
eth/p2p/[discovery, enode, peer_pool]

View File

@ -8,7 +8,7 @@
#
import sequtils, logging
import eth/keys, asyncdispatch2, byteutils
import eth/keys, chronos, byteutils
import eth/p2p/[discovery, kademlia, enode]
const clientId = "nim-eth-p2p/0.0.1"

View File

@ -8,7 +8,7 @@
# MIT license (LICENSE-MIT)
import
sequtils, options, unittest, tables, asyncdispatch2, eth/[rlp, keys, p2p],
sequtils, options, unittest, tables, chronos, eth/[rlp, keys, p2p],
eth/p2p/rlpx_protocols/[whisper_protocol], eth/p2p/[discovery, enode]
const

View File

@ -9,7 +9,7 @@
import
sequtils, strformat, options, unittest,
chronicles, asyncdispatch2, eth/[rlp, keys, p2p],
chronicles, chronos, eth/[rlp, keys, p2p],
eth/p2p/mock_peers
const