You are reading content from Scuttlebutt
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
@Dominic %8Fpa3xkDLV3ScLJZJ6CLsL0ZsA00ogaoRfDt1AQ2SCM=.sha256

can you link to the repo?

User has not chosen to be hosted publicly
@Dominic %kiXVTQ50OVqvZjCT1IXvq2X5dEw2tFpYMeGTUQUTpOw=.sha256

btw, if you are looking for a tangle to test this on, may I suggest one of my sailing story threads, such as Auckland->Wellington

I wrote many posts while completely offline, meanwhile others were speculating as to where I was, then I regained connectivity, and responded to some of their questions, as well as my messages becoming available - but then I lost connectivity again! Also, I'd argue that the way manyverse currently sorts it is wrong. For example, it shows all my offline posts first, then the chronologically earlier concurrent posts.

@Matt Lorentz (phone) %tm3jX2AWU/6fxSN1QqiWBqQdiXrsI9chxS0e9V56cvY=.sha256
Voted # Introducing ScuttleSort: incremental untangling These past days (weeks..
@Dominic %hS5M4qZ7i1Eils+mrR4P+6MZOoIsQ18eBTBPo6WyWPM=.sha256

I havn't had a chance to read everything yet but I noticed this:

Sorting elements that obey partial order can be done with a topological sort algorithm that assigns to each element a rank. We will make use of the rank, which is an integer value, to reflect logical time: elements that are concurrent are ranked identically while a happened-immediately-before relationship
results in a rank difference of exactly one. In Figure 3, arrows show this “happened-immediately-before” relationship. The result can be represented as a sequence of sets {D,E}{B,C}{A}{F} where each set contains concurrent events

image

Technically speaking, this is a perfectly valid topo sort, but I'm not sure it's really the best answer. Strictly speaking, any rank 0,1,2 is a valid topo sort for C.

A hash pointer isn't "happened immediately before" it means "happened sometime before"

But if this method is scalable and still eventually consistent then maybe that's more important.

@andrestaltz %9+m5ZsRVX2KnYD3/FLi3n8ZbCmtSM/1xqWs+++m254g=.sha256

@cft Topological sort is for sure desired, but to disambiguate situations like the one Dominic pointed out, when the topological sort doesn't see a rank difference between two nodes, you can use the message's timestamp. Of course timestamps aren't authoritative because each peer can choose whatever they want for the timestamp, but when the topo sort isn't enough, they provide valuable information for the sort. It's not interesting for the paper, but it's surely important in the library to improve user experience.

User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
Join Scuttlebutt now