Skip to content

doc: Are XPubs generated at Depth 3 or Depth 4? #30

@coolaj86

Description

@coolaj86

Many Wallets generate XPubs at Depth 3. This is kinda correct. They are intended for the audit use case (https://en.bitcoin.it/wiki/BIP_0032#Audits:_N.28m.2F.2A.29), not the sharing use case (https://en.bitcoin.it/wiki/BIP_0032#Per-office_balances:_m.2FiH).

  • Depth 3 is for internal Account Auditing (captures received money and returned change)
  • Depth 4 is for Sharing with Contacts (captures received money only)

This library refers to XPubs as level-4 because it is intended to be used with Contacts, not for internal auditing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions