public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: German Luna <german@diviproject.org>
To: Bitcoin Protocol Discussion
	<bitcoin-dev@lists.linuxfoundation.org>,
	salvatore.ingala@gmail.com
Subject: Re: [bitcoin-dev] Hash-based accumulators with quick insertion
Date: Mon, 8 Jun 2020 16:01:09 -0600	[thread overview]
Message-ID: <CALmj_sU5pw5agXONUOcenBc0GJZP6_2Cc0OnSg-J86XEkq=eKQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

Interesting work! I should be fortunate to make time to read it.

I will point out, in case you'd not considered it, that you can support
addition and removal indirectly by formulating it as a difference of sets.
Similar to the collision-resistant replicated data types (CRDTs) concept.
Checking for membership would simply become CheckMembershipInAdditionSet &&
!CheckMembershipInRemovalSet, assuming an item could only be added/removed
once. You could also perhaps support multiple addition/removal by attaching
a count of how many times it's been added though that might break some of
the building blocks in the paper.

-- 
Germán
Mathematician

[-- Attachment #2: Type: text/html, Size: 834 bytes --]

             reply	other threads:[~2020-06-08 22:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-08 22:01 German Luna [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-08  9:28 [bitcoin-dev] Hash-based accumulators with quick insertion Salvatore Ingala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALmj_sU5pw5agXONUOcenBc0GJZP6_2Cc0OnSg-J86XEkq=eKQ@mail.gmail.com' \
    --to=german@diviproject.org \
    --cc=bitcoin-dev@lists.linuxfoundation.org \
    --cc=salvatore.ingala@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox