public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: Jochen Hoenicke <hoenicke@gmail•com>
To: Jonas Schnelli <dev@jonasschnelli•ch>,
	Bitcoin Protocol Discussion
	<bitcoin-dev@lists•linuxfoundation.org>
Subject: Re: [bitcoin-dev] BIP Status updates (including to Active/Final Status) - BIP 39, BIP 43, BIP 44, BIP 67, BIP 111, BIP 125, BIP 130
Date: Wed, 24 Aug 2016 16:42:25 +0200	[thread overview]
Message-ID: <278c940d-4b3b-2b8a-1aa5-f0991f1e6c8e@gmail.com> (raw)
In-Reply-To: <57BDACB2.9040307@jonasschnelli.ch>

On 24.08.2016 16:18, Jonas Schnelli via bitcoin-dev wrote:
> 
> Another thing that I think could be a BIP misdesign:
> 
> BIP44 Gap Limits
> From the BIP:
> 
> ----------
>   "Address gap limit is currently set to 20. If the software hits 20
> unused addresses in a row, it expects there are no used addresses beyond
> this point and stops searching the address chain."
> ----------
> 
> * Does that mean, we do a transaction rescan back to the genesis block
> for every 20 addresses?

As I understand it, you can scan sequentially starting with the genesis
block (or with a block at around the time when BIP44 was written).  Then
if you find a new transaction, which requires to generate new addresses,
you generate them and scan further from that point on.  This way you can
scan in a single pass if the scanning process calls you back when it
finds a transaction and allows you to change the set of addresses on the
fly.

  Jochen



  reply	other threads:[~2016-08-24 14:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23 20:12 Luke Dashjr
2016-08-23 20:54 ` Kenneth Heutmaker
2016-08-24  6:59   ` Jonas Schnelli
2016-08-24  8:34   ` Gregory Maxwell
2016-08-24 12:51 ` Thomas Voegtlin
2016-08-24 13:47   ` Andreas Schildbach
2016-08-24 18:22     ` Luke Dashjr
2016-08-24 14:18   ` Jonas Schnelli
2016-08-24 14:42     ` Jochen Hoenicke [this message]
2016-08-25  7:39       ` Jonas Schnelli
2016-08-25  7:56         ` Thomas Voegtlin
2016-08-25  8:08           ` Jonas Schnelli
2016-08-25  8:12             ` Jonas Schnelli
2016-08-25  8:50               ` Marek Palatinus
2016-08-25  9:02                 ` Pieter Wuille

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=278c940d-4b3b-2b8a-1aa5-f0991f1e6c8e@gmail.com \
    --to=hoenicke@gmail$(echo .)com \
    --cc=bitcoin-dev@lists$(echo .)linuxfoundation.org \
    --cc=dev@jonasschnelli$(echo .)ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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