-
Notifications
You must be signed in to change notification settings - Fork 93
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
Use custom Lotus image, HotStore renaming, and misc #232
Conversation
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
image: textile/lotus:latest | ||
image: textile/lotus:custom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tag now is custom
since I'll have to wait our merged-PR makes its way to interopnet
branch. This happens regularly when interopnet
catchup changes of testnet/3
.
When that happens, I can use an automatic image that gets generated by us in this repo.
That custom
tag is basically a image generated by me under that automatic-build setup with the necessary changes. So will eventually target the one generated automatically.
volumes: | ||
- textile-fc-lotus:/data | ||
ports: | ||
- 1234:1234 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See textileio/lotus-build
repo Readme, but it's basically using a reverse proxy to connect to Lotus since the API is hardcoded to listen on localhost, so can't be accessed from outside.
"/dns4/t01000.miner.interopnet.kittyhawk.wtf/tcp/1347/p2p/12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", | ||
"/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interop bootstrap miners to connect to DHT.
// Store stores a Cid in the HotStorage. At the IPFS level, it also mark the Cid as pinned. | ||
func (ci *CoreIpfs) Store(ctx context.Context, c cid.Cid) (int, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR: