]> Untitled Git - bdk-cli/commit
Refactor Proxy configuration
authorcodeShark149 <rajarshi149@gmail.com>
Tue, 25 May 2021 09:24:21 +0000 (14:54 +0530)
committercodeShark149 <rajarshi149@gmail.com>
Tue, 25 May 2021 09:24:21 +0000 (14:54 +0530)
commitf2771cd3691aa39ad1878abc87bb3871572c8cf6
tree7e73bf110a9e498e6ceb8ef7564e708dd23923ed
parent79e4fe1f144c1fe2b9cc50e9365bcf83a26c3e28
Refactor Proxy configuration

This PR makes the following changes:
    - Proxy configuration is moved into a separate `ProxyOpt` structure
    inside `WalletOpts`. `ProxyOpts` are only enabled for
    `compact_filters` and `electrum` features.

    - `--node` config can now take `vec<String>` and make `conn_count`
    number of connections to each node.
src/bdk_cli.rs
src/lib.rs