<p>In terms of "Accounts discovery" algorithm, it is not needed to get internal addresses. We just sequentially take receiver addresses of an account and check whether one of them was used in any transaction. Literally: we get a transaction and check whether receiver address is in the set of target addresses of looking transaction.</p>

<p>This is so because if there is a change address in the transaction then there is a receiver address mandatory. It allows us to skip checking of change addresses for this task.</p>

CC BY-SA 4.0
2018-08-02T13:56:39.233Z
2018-08-02T13:56:39.233Z
Nick
<p>In Bip44 "Account Discovery" section, there is following sentence:</p>

<blockquote>
  <p>We scan just the external chains, because internal chains receive only coins that come from the associated external chains. 
  (<a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#address-gap-limit" rel="nofollow noreferrer">https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#address-gap-limit</a>)</p>
</blockquote>

<p>I do not understand it. If I do not scan internal chain, how will I find the change addresses? 
Yes, change address will exist in transaction output of public (external) addresses, but I can not find out which output address is change address as it can be real receiver address.
Thanks for help.</p>

<wallet><address><address-generation><bip44>
bip44 account discovery
Cem Karay
# bip44 account discovery

(Asked by: username_0 on 2017-12-25)

In Bip44 "Account Discovery" section, there is following sentence:

> We scan just the external chains, because internal chains receive only coins that come from the associated external chains.
> (<https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#address-gap-limit>)

I do not understand it. If I do not scan internal chain, how will I find the change addresses?
Yes, change address will exist in transaction output of public (external) addresses, but I can not find out which output address is change address as it can be real receiver address.
Thanks for help.

**Tags:** wallet, address, address-generation, bip44


---

## 1 answers

### Answer by username_1 on 2018-08-02. Score: 1

In terms of "Accounts discovery" algorithm, it is not needed to get internal addresses. We just sequentially take receiver addresses of an account and check whether one of them was used in any transaction. Literally: we get a transaction and check whether receiver address is in the set of target addresses of looking transaction.

This is so because if there is a change address in the transaction then there is a receiver address mandatory. It allows us to skip checking of change addresses for this task.


---

