Move Waku node into v0 folder; hacky vendor dir; fix Makefile path

This commit is contained in:
Oskar Thoren 2020-04-28 14:44:38 +08:00
parent ab111f485b
commit 0255e8def7
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
13 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,10 @@
all: wakunode start_network quicksim all: wakunode start_network quicksim
start_network: waku/start_network.nim start_network: node/v0/start_network.nim
nim c --threads:on -o:build/start_network waku/start_network.nim nim c --threads:on -o:build/start_network node/v0/start_network.nim
quicksim: waku/quicksim.nim quicksim: node/v0/quicksim.nim
nim c --threads:on -o:build/quicksim waku/quicksim.nim nim c --threads:on -o:build/quicksim node/v0/quicksim.nim
wakunode: waku/wakunode.nim wakunode: node/v0/wakunode.nim
nim c --threads:on -o:build/wakunode waku/wakunode.nim nim c --threads:on -o:build/wakunode node/v0/wakunode.nim

View File

@ -1,7 +1,7 @@
import import
os, strformat, chronicles, json_rpc/[rpcclient, rpcserver], nimcrypto/sysrand, os, strformat, chronicles, json_rpc/[rpcclient, rpcserver], nimcrypto/sysrand,
eth/common as eth_common, eth/keys, eth/p2p/rlpx_protocols/waku_protocol, eth/common as eth_common, eth/keys, eth/p2p/rlpx_protocols/waku_protocol,
../vendor/nimbus/nimbus/rpc/[hexstrings, rpc_types, waku], ../../vendor/nimbus/nimbus/rpc/[hexstrings, rpc_types, waku],
options as what # TODO: Huh? Redefinition? options as what # TODO: Huh? Redefinition?
from os import DirSep from os import DirSep

View File

@ -4,7 +4,7 @@ import
eth/[keys, p2p, async_utils], eth/common/utils, eth/net/nat, eth/[keys, p2p, async_utils], eth/common/utils, eth/net/nat,
eth/p2p/[discovery, enode, peer_pool, bootnodes, whispernodes], eth/p2p/[discovery, enode, peer_pool, bootnodes, whispernodes],
eth/p2p/rlpx_protocols/[whisper_protocol, waku_protocol, waku_bridge], eth/p2p/rlpx_protocols/[whisper_protocol, waku_protocol, waku_bridge],
../vendor/nimbus/nimbus/rpc/[waku, wakusim, key_storage] ../../vendor/nimbus/nimbus/rpc/[waku, wakusim, key_storage]
const clientId = "Nimbus waku node" const clientId = "Nimbus waku node"