Update testing script

This commit is contained in:
rairyx 2019-08-31 11:59:33 -07:00
parent af9a07738a
commit a7ba47141a
2 changed files with 6 additions and 8 deletions

View File

@ -15,7 +15,7 @@ import (
peerstore "github.com/libp2p/go-libp2p-peerstore"
libp2pdht "github.com/libp2p/go-libp2p-kad-dht"
"github.com/libp2p/go-libp2p-crypto"
logging "github.com/whyrusleeping/go-logging"
//logging "github.com/whyrusleeping/go-logging"
gossipsub "github.com/libp2p/go-libp2p-pubsub"
ma "github.com/multiformats/go-multiaddr"
)
@ -52,8 +52,6 @@ func parseArgs() (bool, string, int) {
func main() {
log.SetAllLoggers(logging.DEBUG)
log.SetLogLevel("raven", "debug")
ctx := context.Background()
bBootstrap, privKeyFilePath, port := parseArgs()

View File

@ -20,7 +20,7 @@
parent = ""
position = 71:55
size = 734, 451
title = PubSub Demo (Go, JS, Rust)
title = Raven Demo (Go)
type = Window
[[[child1]]]
order = 0
@ -42,28 +42,28 @@
type = HPaned
[[[terminal3]]]
profile = default
command = 'pushd .. ; ./pubsub-interop -b ../util/private_key.bin.bootstrapper.Wa; popd ; bash'
command = 'pushd .. ; IPFS_LOGGING=debug ./raven ../util/private_key.bin.bootstrapper.Wa --bootstrapper; popd ; bash'
order = 0
parent = child2
type = Terminal
uuid = e05bb5f2-7bce-41c4-a19b-26be884919df
[[[terminal4]]]
profile = default
command = 'sleep 1 ; pushd .. ; ./pubsub-interop ../util/private_key.bin.peer.Sk; popd ; bash'
command = 'sleep 1 ; pushd .. ; ./raven ../util/private_key.bin.peer.Sk; popd ; bash'
order = 1
parent = child2
type = Terminal
uuid = a551b167-2da7-4994-ac12-5063852055da
[[[terminal6]]]
profile = default
command = 'sleep 1 ; pushd ../js ; node index.js /ip4/127.0.0.1/tcp/5555/ipfs/QmehVYruznbyDZuHBV4vEHESpDevMoAovET6aJ9oRuEzWa; popd ; bash'
command = 'sleep 1 ; pushd .. ; ./raven ../util/private_key.bin.peer.w6 6001; popd ; bash'
order = 0
parent = child5
type = Terminal
uuid = 8358280f-49da-4a74-bb27-7a3c7e472fe9
[[[terminal7]]]
profile = default
command = 'sleep 1 ; pushd ../rust ; cargo run; popd ; bash'
command = 'sleep 1 ; pushd .. ; ./raven ../util/private_key.bin.peer.d9 6002; popd ; bash'
order = 1
parent = child5
type = Terminal