How do Golomb Coded Sets work?

How do Golomb Coded Sets work?

From my understanding golomb coded sets are a probabilistic data structure that encodes the deltas of a order set of elements.

With things like txids, which are are evenly distributed, golomb coded sets are an efficient way to encode things inside of a block.

What is the ordering used to determine how txids are encoded in the set? It seems we need a base txid, and then compute deltas from that original txid? Is it just as simple as the lowest big endian numeric interpration of a txid in a block?

https://ift.tt/2yDubFw

Comments

Popular posts from this blog

What exactly is a block?

how a system based on a blockchain would deal with exponential growth of informations carried in it?

Do extra hop channels in a BOLT#11 invoice need to exist on chain?