-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next ChluIPFS Iteration #79
Conversation
@kulpreet I updated this PR so that we can merge it now: I left there the support for circuit relay, IPFS API, the Chlu Bootstrap Nodes etc that I added but disabled or hidden it all for now (since it does not work) I also disabled the usage of unreleased IPFS and OrbitDB versions. This means that we can merge this without worries and can re enable the nice stuff once it's ready, let me know how you feel about that.
|
PR Content:
Circuit Relay (all this stuff is disabled by default for now)
use a release of IPFS that supports circuit relay (blocked until js-ipfs is released, using master now)we'll leave this for later since circuit relay is not ready for our use casetest circuit relay to make sure network is stablenot yetIPFS API (all this stuff is disabled by default for now)
use a version of orbit-db that supports IPFS-API (blocked ultil orbit-db is released, using master now)leave this for lateradd configuration option and CLI option to start a go-ipfs node in the background instead of a js one when running in node.js. Maybe even enable this by default.not yet, the js and go networks are still kind of separatedupdate multinode tests to use js-ipfsd-ctl for stability, and have the test service node run on go-ipfs (leave this for last)not yet, but I managed to optimize the tests anyway by reusing ONLY the IPFS instance between tests (orbit-db and everything else still gets wiped)Offline Mode
--offline
flag that starts a rendezvous server and uses itoffline
service node can detect it and turn on offline mode as well, allowing for full Chlu connectivity locally without an internet connectionVerify BTC transactions: The First Pass
Events
Pubsub
Issues remaining:
due to missing persistence of tx<->rr mapping, if a customer makes a review record without a tx it will fail because the service node will recognize it's not an update and will require a tx ID to approve it. However, if the customer then updates this invalid RR, the update and the old version will now be valid because there is no way to check a transaction unless the RR is being created right nowfixedRefs: