Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

node.add and node.name.publish are inconsistent. #3032

@spasimir21

Description

@spasimir21
  • Version:

{ version: '0.43.2', repo: 7, commit: '' }

  • Platform:

Linux <COMPUTER_NAME> 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  • Subsystem:

name, files (regular)

Severity:

Question

Description:

I used js-ipfs in electron.
I can launch a node, but when I try to add a file it gives me an address every time,
but ipfs.io/ipfs/<BASE32_HASH> only resolves some of the time.
node.name.publish gives me an address every time, but
ipfs.io/ipns/<PEER_ID> doesn't resolve at all.
My question is:
Is there a time limit that blocks you from adding files
one after the other using different node.add calls,
or is it just a bug.
And about the name.publish:
Why does even a single publish not work.
Everything resolves if I try to cat or name.resolve in the same process.
Also I stop the node after the name.publish and add calls, but things don't work even before stopping the node.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions