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

nil exchange is okay #29

Merged
merged 1 commit into from Jul 15, 2019
Merged

nil exchange is okay #29

merged 1 commit into from Jul 15, 2019

Conversation

whyrusleeping
Copy link
Member

No description provided.

@Stebalien
Copy link
Member

Stebalien commented Jul 15, 2019

Why not just use the offline exchange? https://github.com/ipfs/go-ipfs-exchange-offline

@whyrusleeping
Copy link
Member Author

this is about usability, someone wanting to use the blockservice (mostly because its a different interface than the blockstore) currently need to pull in some unknown extra package to fill out this field, just to tell the blockservice not to use it. Thats bad UX.

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

Fine.

@Stebalien
Copy link
Member

We could also just pull the offline exchange into this package but you're right, this is bad UX and a nil exchange isn't exactly surprising.

@whyrusleeping whyrusleeping merged commit ccbef01 into master Jul 15, 2019
@whyrusleeping whyrusleeping deleted the feat/nil-exchange-is-okay branch July 15, 2019 22:18
Jorropo pushed a commit to ipfs/go-libipfs-rapide that referenced this pull request Mar 23, 2023
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