Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Allow mobile to natively trigger seeding an updated root #1447

Open
@placer14

Description

@placer14

When ob-go attempts to publish the new merkle root as a file has been updated, this update will retry for approximately 60 seconds before failing. We'd like to find a way that the root could continue to be retried after this failure without restarting the node (as the current root is always published on startup).

(This problem is not limited to the mobile case, however mobile users frequently experience intermittent network availability. These changes should consider the desktop experience as well.)

Some ideas:

  • in the mobile case, the native client can detect the network availability and could trigger a republish attempt naïvely, letting the server check whether the root has changed and publish accordingly
  • the server could also automatically retry on a continual basis (also ensuring the shutdown of the server does not get blocked if a change is waiting to be published)

This is a placeholder for future discussion and scoping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionfeatureFeature or enhancement to openbazaar-go

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions