public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] Minimizing the redundancy in Golomb Coded Sets
@ 2018-05-25 17:54 Pieter Wuille
  2018-05-25 18:42 ` Gregory Maxwell
  0 siblings, 1 reply; 5+ messages in thread
From: Pieter Wuille @ 2018-05-25 17:54 UTC (permalink / raw)
  To: Bitcoin Dev

Hi all,

I spent some time working out the optimal parameter selection for the
Golomb Coded Sets that are proposed in BIP158:
https://gist.github.com/sipa/576d5f09c3b86c3b1b75598d799fc845

TL;DR: if we really want an FP rate of exactly 1 in 2^20, the Rice
parameter should be 19, not 20. If we don't, we should pick an FP rate
of 1 in a 1.4971*2^B. So for example M=784931 B=19 or M=1569861 B=20.

Cheers,

-- 
Pieter


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-30  3:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-25 17:54 [bitcoin-dev] Minimizing the redundancy in Golomb Coded Sets Pieter Wuille
2018-05-25 18:42 ` Gregory Maxwell
2018-05-25 21:13   ` Gregory Maxwell
2018-05-29 22:38     ` Jim Posen
2018-05-30  3:10       ` Lucas Ontivero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox