You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the magic happens in ./offchain/logic.js/. logic.js is designed to be called by the http servers in ./offchain/servers/ when they receive http calls from the CLI and the counterparty.
Currently, logic.js is being tested by consuming a fake server created in ./offchain/test/setup.js by the function fakePostFactory. This simulates the http servers and the internet and lets two instances of logic.js talk to each other.
We need to make sure that the actual http servers work as well. This may have some interplay with #3, as we may want to create a shell script or something else that spawns two whole instances of the entire app and has them talk to each other over localhost.
The text was updated successfully, but these errors were encountered:
All of the magic happens in
./offchain/logic.js/
.logic.js
is designed to be called by the http servers in./offchain/servers/
when they receive http calls from the CLI and the counterparty.Currently,
logic.js
is being tested by consuming a fake server created in./offchain/test/setup.js
by the functionfakePostFactory
. This simulates the http servers and the internet and lets two instances oflogic.js
talk to each other.We need to make sure that the actual http servers work as well. This may have some interplay with #3, as we may want to create a shell script or something else that spawns two whole instances of the entire app and has them talk to each other over localhost.
The text was updated successfully, but these errors were encountered: