Skip to content

Commit 4274dc7

Browse files
refactor: removed watch only unused
1 parent 17e9647 commit 4274dc7

File tree

23 files changed

+210
-3855
lines changed

23 files changed

+210
-3855
lines changed

dash-spv-ffi/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ log = "0.4"
2323
hex = "0.4"
2424
env_logger = "0.10"
2525
tracing = "0.1"
26-
key-wallet-manager = { path = "../key-wallet-manager" }
26+
# Use key-wallet-ffi for all wallet-related FFI types
27+
key-wallet-ffi = { path = "../key-wallet-ffi" }
28+
# Still need these for SPV client internals (not for FFI types)
2729
key-wallet = { path = "../key-wallet" }
30+
key-wallet-manager = { path = "../key-wallet-manager" }
2831
rand = "0.8"
2932

3033
[dev-dependencies]

dash-spv-ffi/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,10 @@ dash_spv_ffi_config_destroy(config);
9797
9898
### Wallet Operations
9999
100-
- `dash_spv_ffi_client_add_watch_item(client, item)` - Add address/script to watch
101-
- `dash_spv_ffi_client_remove_watch_item(client, item)` - Remove watch item
102100
- `dash_spv_ffi_client_get_address_balance(client, address)` - Get address balance
103101
- `dash_spv_ffi_client_get_utxos(client)` - Get all UTXOs
104102
- `dash_spv_ffi_client_get_utxos_for_address(client, address)` - Get UTXOs for address
105103
106-
### Watch Items
107-
108-
- `dash_spv_ffi_watch_item_address(address)` - Create address watch item
109-
- `dash_spv_ffi_watch_item_script(script_hex)` - Create script watch item
110-
- `dash_spv_ffi_watch_item_outpoint(txid, vout)` - Create outpoint watch item
111-
- `dash_spv_ffi_watch_item_destroy(item)` - Free watch item memory
112-
113104
### Error Handling
114105
115106
- `dash_spv_ffi_get_last_error()` - Get last error message

0 commit comments

Comments
 (0)