Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Ceramic v2 compatibility #12

Merged
merged 15 commits into from
Mar 22, 2022
Merged

Ceramic v2 compatibility #12

merged 15 commits into from
Mar 22, 2022

Conversation

v-stickykeys
Copy link
Contributor

To ensure that Ceramic v1 nodes (js-ipfs) can reach and be reached by Ceramic v2 nodes (go-ipfs), we enable swarm connections over pure TCP in addition to websocket ports.

Ceramic v2 IPFS nodes can not connect to wss addresses until support for secure websockets is added to go-ipfs.

SSL Enabled

IPFS nodes will be configured with swarm addresses

/ip4/.../tcp/4010
/ip4/.../tcp/4012/ws

and they will announce addresses

/dns4/.../tcp/4010         // Ceramic v2 IPFS nodes can connect to this address
/dns4/.../tcp/4012/wss     // but not this one

SSL Disabled

IPFS nodes will be configured with swarm addresses

/ip4/.../tcp/4010
/ip4/.../tcp/4011/ws

and they will announce addresses

/dns4/.../tcp/4010        // Ceramic v2 IPFS nodes can connect to this address
/dns4/.../tcp/4011/ws     // and this one

References

@v-stickykeys v-stickykeys self-assigned this Mar 14, 2022
modules/ecs/ipfs/main.tf Outdated Show resolved Hide resolved
Copy link
Collaborator

@smrz2001 smrz2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳 🚀

@v-stickykeys v-stickykeys merged commit a0821a7 into main Mar 22, 2022
@v-stickykeys v-stickykeys deleted the feat/ceramic-v2-compatibility branch March 22, 2022 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants