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

bdk v1.0.0-alpha.0 #793

Merged
merged 56 commits into from
Mar 14, 2023
Merged

bdk v1.0.0-alpha.0 #793

merged 56 commits into from
Mar 14, 2023

Commits on Mar 2, 2023

  1. Modified build, clippy and test steps

    Co-authored-by: Daniela Brozzoni <danielabrozzoni@protonmail.com>
    evanlinjin and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    544c397 View commit details
    Browse the repository at this point in the history
  2. bdk_core integration initial commit 🔥

    We prepare the BDK repo for a major restructuring.
    
    - database modules removed
    - blockchain module removed
    - minimal API changes.
    - Many macros removed.
    - no longer applicable examples removed.
    - Much conditional compilation removed. Can compile with --all-features.
    - delete verify module
    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    aab2b12 View commit details
    Browse the repository at this point in the history
  3. Make bdk no_std

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    a40da9b View commit details
    Browse the repository at this point in the history
  4. Move tests to /tests

    To stop my rust-anlayzer from killing me
    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    57538e5 View commit details
    Browse the repository at this point in the history
  5. Add wallet persistence

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    5985706 View commit details
    Browse the repository at this point in the history
  6. Add Wallet::cancel_tx

    To allow you to re-use change addresses from transactions that get cancelled.
    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    b310a7a View commit details
    Browse the repository at this point in the history
  7. Use bdk_chain Balance

    instead of bdk's one
    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    3baf972 View commit details
    Browse the repository at this point in the history
  8. Make doctests work

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    e1eb025 View commit details
    Browse the repository at this point in the history
  9. Delete unused things

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    fdfc9b9 View commit details
    Browse the repository at this point in the history
  10. Convert to workspace

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    8a6de3a View commit details
    Browse the repository at this point in the history
  11. Delete unused errors

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    22bec6d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b60820a View commit details
    Browse the repository at this point in the history
  13. Remove test-readme-examples

    we shouldn't have a feature flag for this it should always be done.
    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    6d05598 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    20e45b7 View commit details
    Browse the repository at this point in the history
  15. [ci] Fix feature flags

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    9edbdf5 View commit details
    Browse the repository at this point in the history
  16. Fix doc links

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    94a084a View commit details
    Browse the repository at this point in the history
  17. Fix code coverage CI

    If you want to have tests on the hardware-signer you need to install
    the python libraries and start the emulator
    danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    1c970a9 View commit details
    Browse the repository at this point in the history
  18. Make lib.rs's docs be the README.md

    Also flesh out README a bit
    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    f2188f9 View commit details
    Browse the repository at this point in the history
  19. Move bdk_chain into the bdk repo 🎉

    Original repository: https://github.com/LLFourn/bdk_core_staging/tree/250b4f1dcce10805adfb2f201901675eb6076554/bdk_chain
    
    Co-authored-by: Steve Myers <steve@notmandatory.org>
    Co-authored-by: 志宇 <hello@evanlinjin.me>
    Co-authored-by: LLFourn <lloyd.fourn@gmail.com>
    Co-authored-by: rajarshimaitra <rajarshi149@gmail.com>
    Co-authored-by: LagginTimes <wzc110@gmail.com>
    Co-authored-by: Steve Myers <steve@notmandatory.org>
    Co-authored-by: Vladimir Fomene <vladimirfomene@gmail.com>
    7 people committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    37dfa77 View commit details
    Browse the repository at this point in the history
  20. Move bdk_file_store into the bdk repo 🎉

    Original repository: https://github.com/LLFourn/bdk_core_staging/tree/250b4f1dcce10805adfb2f201901675eb6076554/bdk_file_store
    
    Co-authored-by: 志宇 <hello@evanlinjin.me>
    Co-authored-by: LLFourn <lloyd.fourn@gmail.com>
    Co-authored-by: Vladimir Fomene <vladimirfomene@gmail.com>
    4 people committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    03deafb View commit details
    Browse the repository at this point in the history
  21. Move bdk_electrum into the bdk repo 🎉

    Original repository: https://github.com/LLFourn/bdk_core_staging/tree/250b4f1dcce10805adfb2f201901675eb6076554/bdk_electrum
    
    Co-authored-by: 志宇 <hello@evanlinjin.me>
    Co-authored-by: LLFourn <lloyd.fourn@gmail.com>
    3 people committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    949608a View commit details
    Browse the repository at this point in the history
  22. Move everything else over 🎉

    This completes the move of things from https://github.com/LLFourn/bdk_core_staging
    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    c069b0f View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2e82cd8 View commit details
    Browse the repository at this point in the history
  24. Rename the stub wallet examples

    LLFourn authored and danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    b555976 View commit details
    Browse the repository at this point in the history
  25. Rust fmt

    danielabrozzoni committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    303a170 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Disable test-hardware-signer

    I suspect the latest version of HWI just broke everything
    danielabrozzoni committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    3f5a78a View commit details
    Browse the repository at this point in the history
  2. Fix clippy

    danielabrozzoni committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    1805bd3 View commit details
    Browse the repository at this point in the history
  3. Fix cargo clippy warnings

    Disabled warnings for nursery/tmp_plan as it's going to be replaced
    anyways
    danielabrozzoni committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    c61b360 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c9bceb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5acee82 View commit details
    Browse the repository at this point in the history
  6. Fix docs

    danielabrozzoni committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    5708bf0 View commit details
    Browse the repository at this point in the history
  7. Add clippy.toml

    Explicitly sets the project MSRV so that clippy won't give warnings
    for feature added after our MSRV
    danielabrozzoni committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    96d932c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3a5d727 View commit details
    Browse the repository at this point in the history
  9. Make bdk and bdk_chain work under 1.57.0

    - rewrite some parts of the code to deal with older borrow checker
    - downgraded hashbrown
    notmandatory authored and danielabrozzoni committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    38ef170 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a38f633 View commit details
    Browse the repository at this point in the history
  11. Make bdk_esplora wasm compatible again

    There's a huge todo!() for the AsyncClient
    danielabrozzoni committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    0ba41c5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    dfcbafd View commit details
    Browse the repository at this point in the history
  13. Disable code coverage

    To be enabled again soon ™️
    danielabrozzoni committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    0c7a0ab View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d267517 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b082932 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Configuration menu
    Copy the full SHA
    b3836cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69cf6d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Changed inflate_update logic to not depend on Cow

    As mentioned by @LLFourn:
    
    1. We have a "sparse chain" from which there is a subset of txids M that are missing from graph.
    2. There is also another subset C that are in the graph but their positions have changed.
    3. We used the Cow to avoid copying/duplicating in memory transactions in subset C and M
    
    Instead in inflate_update we could remove transactions in subset M and just clone data in subset C (which is usually tiny).
    evanlinjin committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    de9457f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0505cd7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eddd748 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    9d26121 View commit details
    Browse the repository at this point in the history
  2. Fix cargo clippy

    danielabrozzoni committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    47faa88 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0aaf420 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab9242d View commit details
    Browse the repository at this point in the history
  5. Implement EsploraExt for Async client

    Creates a separate async EsploraAsyncExt trait for the
    async client using async-trait crate. It has thesame
    methods as the EsploraExt trait for the blocking client.
    This trait is implemented on the AsyncClient of the
    rust-esplora-client crate.
    vladimirfomene authored and evanlinjin committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    26ab2e2 View commit details
    Browse the repository at this point in the history
  6. Add wallet_esplora_async example and various fixes

    Fixes include:
    * Allow `bdk_esplora` to use async with tls
    * Reorganize `bdk_esplora` crate to have separate files for
      async vs blocking
    * Use optional dependencies for `bdk_esplora` async
    evanlinjin committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    def0c9e View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. bdk README improvements

    evanlinjin committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    ae9b19d View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Configuration menu
    Copy the full SHA
    5dd4ce7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2fcf9c4 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. [ci] misc fixes

    LLFourn is squashing these to get them all signed:
    
    Remove useless clippy allow
    
    ci: use clippy action
    
    [ci] remove check for features=default
    danielabrozzoni authored and LLFourn committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    352f95f View commit details
    Browse the repository at this point in the history
  2. Doc fixes

    danielabrozzoni committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    bc3e05c View commit details
    Browse the repository at this point in the history