Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chain: request pruned blocks from backend peers #737

Merged
merged 4 commits into from
Apr 5, 2021
Merged

chain: request pruned blocks from backend peers #737

merged 4 commits into from
Apr 5, 2021

Commits on Apr 3, 2021

  1. build: update btcd dependency

    This exposes the new AllowSelfConns config option allowing external
    testing of peer.Peer.
    wpaulino committed Apr 3, 2021
    Configuration menu
    Copy the full SHA
    e3523ab View commit details
    Browse the repository at this point in the history
  2. chain: add PrunedBlockDispatcher implementation

    To minimally support wallets connected to pruned nodes, we add a new
    subsystem that can be integrated with chain clients to request blocks
    that the server has already pruned. This is done by connecting to the
    server's full node peers and querying them directly. Ideally, this is a
    capability supported by the server, though this is not yet possible with
    bitcoind.
    wpaulino committed Apr 3, 2021
    Configuration menu
    Copy the full SHA
    178d124 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3fed468 View commit details
    Browse the repository at this point in the history
  4. chain: request pruned blocks from backend peers

    At the moment, this is only done for the BitcoindClient, as the other
    backends don't support block pruning.
    wpaulino committed Apr 3, 2021
    Configuration menu
    Copy the full SHA
    20c02df View commit details
    Browse the repository at this point in the history