Update js and test config file

master
rairyx 5 years ago
parent dcad16fe67
commit d68ca029ec

@ -60,10 +60,8 @@ waterfall([
},
(cb) => {
fsub.on(topicName, (data) => {
const peerIdStr = data.from
const peerIdTruncdStr = peerIdStr.substr(0,2) + "*" + peerIdStr.substr(peerIdStr.length-6,6)
const messageStr = data.data
console.log("<peer " + peerIdTruncdStr + ">: " + messageStr)
console.log("received:" + messageStr)
})
fsub.subscribe(topicName)
@ -87,4 +85,4 @@ waterfall([
process.exit(0);
})
})
})

@ -42,7 +42,7 @@
type = HPaned
[[[terminal3]]]
profile = default
command = 'pushd .. ; ./pubsub-interop -b ../util/private_key.bin.bootstrapper.Wa; popd ; bash'
command = 'pushd .. ; ./pubsub-interop ../util/private_key.bin.bootstrapper.Wa --bootstrapper; popd ; bash'
order = 0
parent = child2
type = Terminal
@ -63,7 +63,7 @@
uuid = 8358280f-49da-4a74-bb27-7a3c7e472fe9
[[[terminal7]]]
profile = default
command = 'sleep 1 ; pushd ../rust ; cargo run; popd ; bash'
command = 'sleep 1 ; pushd .. ; ./pubsub-interop ../util/private_key.bin.peer.vy; popd ; bash'
order = 1
parent = child5
type = Terminal
@ -71,4 +71,5 @@
[plugins]
[profiles]
[[default]]
font = Monospace 19
cursor_color = "#aaaaaa"

Loading…
Cancel
Save