Skip to content

test(drive): fix more tests after versioning - #1250

Merged
QuantumExplorer merged 4 commits into
feat/versioningV3from
test/drive/fix_more_tests
Jul 25, 2023
Merged

QuantumExplorer merged 4 commits into
feat/versioningV3from
test/drive/fix_more_tests

Conversation

@shumkov

@shumkov shumkov commented Jul 24, 2023

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@shumkov
shumkov changed the base branch from v0.25-dev to feat/versioningV3 July 24, 2023 19:25
@shumkov shumkov changed the title test(drive): fix more tests are versioning test(drive): fix more tests after versioning Jul 24, 2023
@QuantumExplorer
QuantumExplorer marked this pull request as ready for review July 25, 2023 13:32
@QuantumExplorer
QuantumExplorer merged commit 263d0f6 into feat/versioningV3 Jul 25, 2023
@QuantumExplorer
QuantumExplorer deleted the test/drive/fix_more_tests branch July 25, 2023 13:33
xdustinface added a commit to xdustinface/platform that referenced this pull request Nov 2, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- dashpay#1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- dashpay#1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- dashpay#902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- dashpay#902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- dashpay#1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- dashpay#1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because dashpay#1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. dashpay#1273 (payload written only from version 3) and dashpay#1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit to xdustinface/platform that referenced this pull request Nov 2, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- dashpay#1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- dashpay#1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- dashpay#902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- dashpay#902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- dashpay#1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- dashpay#1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because dashpay#1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. dashpay#1273 (payload written only from version 3) and dashpay#1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit to xdustinface/platform that referenced this pull request Nov 2, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- dashpay#1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- dashpay#1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- dashpay#902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- dashpay#902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- dashpay#1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- dashpay#1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because dashpay#1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. dashpay#1273 (payload written only from version 3) and dashpay#1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit to xdustinface/platform that referenced this pull request Nov 2, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- dashpay#1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- dashpay#1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- dashpay#902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- dashpay#902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- dashpay#1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- dashpay#1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because dashpay#1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. dashpay#1273 (payload written only from version 3) and dashpay#1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit to xdustinface/platform that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- dashpay#1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- dashpay#1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- dashpay#902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- dashpay#902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- dashpay#1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- dashpay#1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because dashpay#1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. dashpay#1273 (payload written only from version 3) and dashpay#1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit to xdustinface/platform that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- dashpay#1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- dashpay#1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- dashpay#902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- dashpay#902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- dashpay#1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- dashpay#1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because dashpay#1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. dashpay#1273 (payload written only from version 3) and dashpay#1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports
- #1223: the Base SDK's `LlmqParams` keeps the DKG fields flat as `u16`, so the verified context provider reads `dkg_interval` and widens both counts to `u32`, giving the same fetch window

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports
- #1223: the Base SDK's `LlmqParams` keeps the DKG fields flat as `u16`, so the verified context provider reads `dkg_interval` and widens both counts to `u32`, giving the same fetch window

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports
- #1223: the Base SDK's `LlmqParams` keeps the DKG fields flat as `u16`, so the verified context provider reads `dkg_interval` and widens both counts to `u32`, giving the same fetch window

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports
- #1223: the Base SDK's `LlmqParams` keeps the DKG fields flat as `u16`, so the verified context provider reads `dkg_interval` and widens both counts to `u32`, giving the same fetch window

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 3, 2026
Moves every rust-dashcore pin from `7329126e` to `3efb5522` on xdustinface/rust-dashcore: current `dev`, plus dashpay/rust-dashcore#776 (FFI crates removed), plus `TxIn::claimed_p2pkh_address`. The fork URL is temporary until both land upstream. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #902: dash-spv sends the user agent as given, so `platform_wallet_manager_spv_start` applies the `/name:version/` form and the 256-byte bound itself
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports
- #1223: the Base SDK's `LlmqParams` keeps the DKG fields flat as `u16`, so the verified context provider reads `dkg_interval` and widens both counts to `u32`, giving the same fetch window

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies.
xdustinface added a commit that referenced this pull request Nov 5, 2026
Moves every rust-dashcore pin from `7329126e` to `a319c0a3`, the current `dev` of dashpay/rust-dashcore. It includes dashpay/rust-dashcore#776 (FFI crates removed) and `TxIn::claimed_p2pkh_address`. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports
- #1223: the Base SDK's `LlmqParams` keeps the DKG fields flat as `u16`, so the verified context provider and the `refresh_checkpoints` example read `dkg_interval` and widen both counts to `u32`, giving the same fetch window and depth
- #1320: hash newtypes no longer have `engine` or `from_engine`, so the ChainLock request id in `drive-abci` and the ProUpServTx payload hash in `platform-wallet` hash through `sha256d::Hash` and wrap the result, which gives the same bytes
- #1320: upstream hash types no longer index into bytes or have `from_slice`, so callers read `as_byte_array` and use the newtypes' own `from_slice` and `all_zeros`
- #1320: the newtypes' conversions are inherent functions, so the `Hash` trait imports that only served them go, and `rs-dapi` drops `dash-spv`, whose only use was that import

dash-spv applies the `/name:version/` form and the 256-byte bound to the user agent again (#1311), so `platform_wallet_manager_spv_start` passes the configured user agent through.

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies. #400 (SegWit and Taproot removed), #1288 (`bitcoin_units` re-exports), #1289 (dependency maintenance), #1318 (`bitcoinconsensus` removed), #1307 (partial merkle trees bounded by Dash's block size) and #1258 (masternode sync kept live on bad or missing diffs) need no change in Platform.
xdustinface added a commit that referenced this pull request Nov 5, 2026
Moves every rust-dashcore pin from `7329126e` to `a319c0a3`, the current `dev` of dashpay/rust-dashcore. It includes dashpay/rust-dashcore#776 (FFI crates removed) and `TxIn::claimed_p2pkh_address`. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports
- #1223: the Base SDK's `LlmqParams` keeps the DKG fields flat as `u16`, so the verified context provider and the `refresh_checkpoints` example read `dkg_interval` and widen both counts to `u32`, giving the same fetch window and depth
- #1320: hash newtypes no longer have `engine` or `from_engine`, so the ChainLock request id in `drive-abci` and the ProUpServTx payload hash in `platform-wallet` hash through `sha256d::Hash` and wrap the result, which gives the same bytes
- #1320: upstream hash types no longer index into bytes or have `from_slice`, so callers read `as_byte_array` and use the newtypes' own `from_slice` and `all_zeros`
- #1320: the newtypes' conversions are inherent functions, so the `Hash` trait imports that only served them go, and `rs-dapi` drops `dash-spv`, whose only use was that import

dash-spv applies the `/name:version/` form and the 256-byte bound to the user agent again (#1311), so `platform_wallet_manager_spv_start` passes the configured user agent through.

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies. #400 (SegWit and Taproot removed), #1288 (`bitcoin_units` re-exports), #1289 (dependency maintenance), #1318 (`bitcoinconsensus` removed), #1307 (partial merkle trees bounded by Dash's block size) and #1258 (masternode sync kept live on bad or missing diffs) need no change in Platform.
xdustinface added a commit that referenced this pull request Nov 5, 2026
Moves every rust-dashcore pin from `7329126e` to `a319c0a3`, the current `dev` of dashpay/rust-dashcore. It includes dashpay/rust-dashcore#776 (FFI crates removed) and `TxIn::claimed_p2pkh_address`. Base SDK moves to 89828032.

Adapted:
- #1266: seeds and phrases come back as `Zeroizing` buffers and are borrowed, not copied
- #1250: `AppEncryption` uses `application_encryption_path`, `AppEncryptionLegacy` the `_without_rotation` variant, so derived keys and paths are byte-identical
- #902: `PeersUpdated` no longer lists addresses, so `PeerTracker` builds the connected set from `PeerConnected` / `PeerDisconnected`
- #1223: devnet LLMQ size and threshold are `u16`, and larger values are now refused
- #1189: `dash-spv`'s `sync` module is private, so imports use the public re-exports
- #1223: the Base SDK's `LlmqParams` keeps the DKG fields flat as `u16`, so the verified context provider and the `refresh_checkpoints` example read `dkg_interval` and widen both counts to `u32`, giving the same fetch window and depth
- #1320: hash newtypes no longer have `engine` or `from_engine`, so the ChainLock request id in `drive-abci` and the ProUpServTx payload hash in `platform-wallet` hash through `sha256d::Hash` and wrap the result, which gives the same bytes
- #1320: upstream hash types no longer index into bytes or have `from_slice`, so callers read `as_byte_array` and use the newtypes' own `from_slice` and `all_zeros`
- #1320: the newtypes' conversions are inherent functions, so the `Hash` trait imports that only served them go, and `rs-dapi` drops `dash-spv`, whose only use was that import

dash-spv applies the `/name:version/` form and the 256-byte bound to the user agent again (#1311), so `platform_wallet_manager_spv_start` passes the configured user agent through.

Behaviour that changes upstream: an existing SPV store resyncs its masternode lists once, because #1227 changed the snapshot format. The default user agent becomes `/dash-spv:<version>/`. #1273 (payload written only from version 3) and #1269 (`OP_CODESEPARATOR` in the legacy sighash) do not affect transactions Platform builds or verifies. #400 (SegWit and Taproot removed), #1288 (`bitcoin_units` re-exports), #1289 (dependency maintenance), #1318 (`bitcoinconsensus` removed), #1307 (partial merkle trees bounded by Dash's block size) and #1258 (masternode sync kept live on bad or missing diffs) need no change in Platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants