Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
7e644eb
Merge branch 'feat/platform-wallet-private-contact-requests' into fea…
QuantumExplorer Nov 8, 2026
bd66fb9
feat(platform-wallet): accept a contact request replying in kind over…
QuantumExplorer Nov 8, 2026
9f01069
feat(swift-sdk): accept a contact request replying in kind
QuantumExplorer Nov 8, 2026
1c07538
refactor(swift-example-app): let the wallet choose how an accepted re…
QuantumExplorer Nov 8, 2026
d4efa2e
fix(sdk): validate private requests with dpp and check proved identit…
QuantumExplorer Nov 8, 2026
009747a
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
7bd302a
fix(platform-wallet): keep paid private replies and pay a reply lazily
QuantumExplorer Nov 8, 2026
f00c508
Merge branch 'feat/platform-wallet-private-contact-requests' into fea…
QuantumExplorer Nov 8, 2026
5358ce1
fix(rs-sdk-ffi): build the resolver signer's scan keys with the SDK's…
QuantumExplorer Nov 8, 2026
0510a5b
fix(platform-wallet): pay an in-kind accept's private reply only when…
QuantumExplorer Nov 8, 2026
0e210ed
fix(swift-sdk): count private contact calls as native operations and …
QuantumExplorer Nov 8, 2026
28ddeb8
fix(swift-example-app): keep unconfirmed private submissions pending …
QuantumExplorer Nov 8, 2026
473a440
fix(sdk): refuse expired signing keys and refresh a DashPay without t…
QuantumExplorer Nov 8, 2026
f518421
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
d0db59f
fix(platform-wallet): record a private request only once read back, o…
QuantumExplorer Nov 8, 2026
5db1224
Merge branch 'feat/platform-wallet-private-contact-requests' into fea…
QuantumExplorer Nov 8, 2026
9191009
fix(platform-wallet): give a pending private contact request its own …
QuantumExplorer Nov 8, 2026
00487b0
feat(swift-sdk): type a pending private contact request and read it p…
QuantumExplorer Nov 8, 2026
a69a153
fix(swift-example-app): read a pending private reply from the wallet
QuantumExplorer Nov 8, 2026
4a4826a
fix(sdk): keep encryption keys inside their contract bounds and check…
QuantumExplorer Nov 8, 2026
ff59d59
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
745eb92
Merge branch 'feat/platform-wallet-private-contact-requests' into fea…
QuantumExplorer Nov 8, 2026
9a4ca7f
fix(platform-wallet): refuse a public request while a private one is …
QuantumExplorer Nov 8, 2026
f83284e
fix(platform-wallet): tie each pending private request to its attempt…
QuantumExplorer Nov 8, 2026
f8e20bb
fix(platform-wallet): refuse a contact request once every rotation ve…
QuantumExplorer Nov 8, 2026
785e493
fix(sdk): give an empty context provider the DashPay it fetches, and …
QuantumExplorer Nov 8, 2026
b95c212
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
083e9b7
Merge branch 'feat/platform-wallet-private-contact-requests' into fea…
QuantumExplorer Nov 8, 2026
8c5968c
fix(platform-wallet): fence a private contact request payment against…
QuantumExplorer Nov 8, 2026
9f5db04
fix(platform-wallet): read the private store before an identity's fir…
QuantumExplorer Nov 8, 2026
b3a0ad3
fix(wasm-dpp2): key the constructor's tokens by position as text, and…
QuantumExplorer Nov 8, 2026
875326b
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
d53ca90
Merge branch 'feat/platform-wallet-private-contact-requests' into fea…
QuantumExplorer Nov 8, 2026
e024423
docs(platform-wallet): name the unread private store as a pending cas…
QuantumExplorer Nov 8, 2026
8a098b2
fix(swift-example-app): keep "Send privately" through Add Contact's c…
QuantumExplorer Nov 8, 2026
f5dde30
fix(wasm-dpp2): refuse tokens for a contract that cannot hold them
QuantumExplorer Nov 8, 2026
77e943e
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
f2d2885
Merge branch 'feat/platform-wallet-private-contact-requests' into fea…
QuantumExplorer Nov 8, 2026
410b38c
fix(sdk): refuse a scan of another store as DashPay private contact r…
QuantumExplorer Nov 8, 2026
6b54d0d
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
bec9a22
Merge branch 'feat/platform-wallet-private-contact-requests' into fea…
QuantumExplorer Nov 8, 2026
9ea2325
fix(platform-wallet): restore an unconfirmed rotation over the reques…
QuantumExplorer Nov 8, 2026
9b24f50
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 8, 2026
ab68754
refactor(dpp): give the document signing levels of a security require…
QuantumExplorer Nov 8, 2026
1bd3788
fix(sdk): read a private contact request only through a key it could …
QuantumExplorer Nov 8, 2026
609f529
fix(sdk): wipe the outgoing viewing key a private contact request is …
QuantumExplorer Nov 8, 2026
5839100
fix(sdk): give a private page reader's context provider the contract …
QuantumExplorer Nov 8, 2026
be7fba8
feat(sdk): stream a private document store's pages, many fetched at once
QuantumExplorer Nov 8, 2026
b5e2eb2
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
f479c94
perf(platform-wallet): read the private contact request store many pa…
QuantumExplorer Nov 8, 2026
76c5418
feat(platform-wallet): keep the private contact request read position…
QuantumExplorer Nov 8, 2026
d5db080
fix(platform-wallet): claim a contact pair for a public request as a …
QuantumExplorer Nov 8, 2026
3698f6a
fix(platform-wallet): read the private store again when an identity's…
QuantumExplorer Nov 8, 2026
f7761d0
fix(platform-wallet): release a private reservation until its payment…
QuantumExplorer Nov 8, 2026
1ebd255
fix(platform-wallet): release a private reservation once its payment …
QuantumExplorer Nov 8, 2026
3012b4e
fix(platform-wallet): save a private payment's signed transition befo…
QuantumExplorer Nov 8, 2026
0a3b859
fix(platform-wallet): adopt a reply another accept recorded once the …
QuantumExplorer Nov 8, 2026
b8e41ab
fix(sdk): refuse a private document read below protocol version 15 as…
QuantumExplorer Nov 8, 2026
8950232
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
afc6b7e
fix(platform-wallet): hold a contact pair across a restart before any…
QuantumExplorer Nov 8, 2026
d91c1c6
fix(sdk): name the SDK's protocol version when building a private doc…
QuantumExplorer Nov 8, 2026
0e3f521
fix(wasm-dpp2): refuse tokens set on a data contract that holds none
QuantumExplorer Nov 8, 2026
3f546c0
docs(dpp): say at the batch signing levels why the in-place change ke…
QuantumExplorer Nov 8, 2026
e710dd7
docs(sdk): say what the private contact request parser and signing le…
QuantumExplorer Nov 8, 2026
454f25c
test(sdk): check a recipient key holding another point is refused by …
QuantumExplorer Nov 8, 2026
3b68903
test(sdk): pin a private page stream's order and its cursor under a g…
QuantumExplorer Nov 8, 2026
898e8fc
fix(sdk): keep the store a private document scan was read from, and r…
QuantumExplorer Nov 8, 2026
fa18256
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 8, 2026
91d8782
fix(sdk): send a private document transition only once the network is…
QuantumExplorer Nov 9, 2026
19ab417
fix(sdk): keep each outgoing viewing key in place as scan senders are…
QuantumExplorer Nov 9, 2026
75cd978
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 9, 2026
59e047a
fix(sdk): learn a private store's chunk size only from a page that en…
QuantumExplorer Nov 9, 2026
314d957
fix(sdk): refuse a private contact request scan of a contract whose t…
QuantumExplorer Nov 9, 2026
f98c1bd
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 9, 2026
dcc0b15
fix(platform-wallet): mark a private payment started only once its re…
QuantumExplorer Nov 9, 2026
d15c5c9
fix(platform-wallet): release a dropped spend's notes until the spend…
QuantumExplorer Nov 9, 2026
0dc72a0
fix(platform-wallet): take private payment rejection notices only und…
QuantumExplorer Nov 9, 2026
757474b
fix(platform-wallet): skip the private store read only on a network v…
QuantumExplorer Nov 9, 2026
ea2a66b
feat(platform-wallet-ffi): scan the private contact request store thr…
QuantumExplorer Nov 9, 2026
df8cba5
fix(platform-wallet): release a public request's claim only by the at…
QuantumExplorer Nov 9, 2026
6c3abe0
fix(platform-wallet): drop a private contact request association with…
QuantumExplorer Nov 9, 2026
e11ef7c
fix(sdk): keep a newer contract over a registered older one
QuantumExplorer Nov 9, 2026
856fd6b
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 9, 2026
c33583a
fix(platform-wallet): read the private store again before a send once…
QuantumExplorer Nov 9, 2026
efa0fc8
fix(sdk): complete a private store chunk an older snapshot ended part…
QuantumExplorer Nov 9, 2026
baa3092
fix(sdk): gate every type 29 broadcast and refuse it with the structu…
QuantumExplorer Nov 9, 2026
40e4f57
fix(sdk): keep a newer contract in the gRPC context provider, and say…
QuantumExplorer Nov 9, 2026
f7fcc44
fix(sdk): report an identity proved before its entry as a retryable s…
QuantumExplorer Nov 9, 2026
a35fe84
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 9, 2026
7ac0059
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 9, 2026
9640e70
fix(platform-wallet-ffi): keep a wallet removed before a private paym…
QuantumExplorer Nov 9, 2026
df84f92
feat(platform-wallet-ffi,swift-sdk): persist the private contact requ…
QuantumExplorer Nov 9, 2026
62169d3
fix(swift-example-app): keep a failed pending read apart from nothing…
QuantumExplorer Nov 9, 2026
342162b
feat(swift-example-app): show the private contact request scan state …
QuantumExplorer Nov 9, 2026
b065ca3
fix(sdk): read a private contact request under an eligible alias of i…
QuantumExplorer Nov 9, 2026
4712db7
fix(sdk): fetch again a private page an older snapshot left empty, th…
QuantumExplorer Nov 9, 2026
8558e83
feat(sdk): schedule a private store's page walk from the chunk size i…
QuantumExplorer Nov 9, 2026
fdc50a2
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 9, 2026
8079cb8
feat(platform-wallet-ffi): give the private contact request outcomes …
QuantumExplorer Nov 9, 2026
e3654c2
fix(platform-wallet): wipe a private request's sealing seed when its …
QuantumExplorer Nov 9, 2026
8f7088b
docs(platform-wallet): note the ShieldedStore 'static bound in the AP…
QuantumExplorer Nov 9, 2026
e37af8e
fix(platform-wallet): keep a failed spend's notes in its guard until …
QuantumExplorer Nov 9, 2026
d768705
fix(platform-wallet): keep a private payment's rejection for the sess…
QuantumExplorer Nov 9, 2026
cc6fef5
fix(platform-wallet): hold a reloaded wallet's public contact request…
QuantumExplorer Nov 9, 2026
a3a7fc4
fix(platform-wallet): refuse a private contact request pass whose pro…
QuantumExplorer Nov 9, 2026
4386ec0
docs(sdk): say that a private request's key expiry is the identity's …
QuantumExplorer Nov 9, 2026
2b5e86f
Merge remote-tracking branch 'origin/feat/sdk-private-documents-send-…
QuantumExplorer Nov 9, 2026
41e6048
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 9, 2026
5166952
test(platform-wallet-ffi): pin the layouts of the private contact req…
QuantumExplorer Nov 9, 2026
26bdbf7
fix(platform-wallet-ffi): require contact persistence for the private…
QuantumExplorer Nov 9, 2026
17ffe98
fix(platform-wallet-ffi): keep protocol-version refusals typed throug…
QuantumExplorer Nov 9, 2026
0f884bc
fix(platform-wallet-ffi): report a seed mismatch from the private sto…
QuantumExplorer Nov 9, 2026
7e93663
fix(swift-sdk): fail a scan-state load on a stored row that cannot cr…
QuantumExplorer Nov 9, 2026
490128a
docs(swift-sdk): describe the restored private scan state and pending…
QuantumExplorer Nov 9, 2026
289829a
fix(swift-example-app): configure the shielded store right after the …
QuantumExplorer Nov 9, 2026
edc9dd1
fix(swift-example-app): keep a code 71 refusal visible until a privat…
QuantumExplorer Nov 9, 2026
f9d669f
fix(sdk-trusted-context-provider): keep a newer known contract over a…
QuantumExplorer Nov 9, 2026
311ae62
fix(sdk): keep a failed refresh as the cause of a private document se…
QuantumExplorer Nov 9, 2026
4e75e27
fix(sdk): read a private page against a newer contract with the type …
QuantumExplorer Nov 9, 2026
235a4f8
fix(sdk): take the network as proven below a version only on a curren…
QuantumExplorer Nov 9, 2026
03cea26
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 9, 2026
5a91dc7
fix(platform-wallet-ffi): keep a missing mnemonic as key-unavailable …
QuantumExplorer Nov 9, 2026
4c81017
fix(platform-wallet): hold an identity reloaded with an unresolved pr…
QuantumExplorer Nov 9, 2026
91678f5
feat(platform-wallet-ffi): report unrestored private payments by thei…
QuantumExplorer Nov 9, 2026
ecf621d
docs(wasm-sdk): say that a registration keeps a held contract of a hi…
QuantumExplorer Nov 9, 2026
0dc274c
fix(sdk): ask the protocol gate before refusing a private document send
QuantumExplorer Nov 9, 2026
9b8589a
test(drive-abci): export a protocol 15 epoch probe for the SDK's gate…
QuantumExplorer Nov 9, 2026
50658b5
fix(sdk): establish protocol 15 through the gate for DashPay's privat…
QuantumExplorer Nov 9, 2026
c7502c4
Merge branch 'feat/sdk-private-documents-send-and-scan' into feat/pla…
QuantumExplorer Nov 9, 2026
e027e23
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 9, 2026
0b28e29
feat(platform-wallet-ffi): carry the unresolved private payment marke…
QuantumExplorer Nov 9, 2026
f75b945
feat(swift-sdk): store the unresolved private payment marker with the…
QuantumExplorer Nov 9, 2026
afbe1d6
feat(swift-sdk): type code 72 and read the wallet's private contact r…
QuantumExplorer Nov 9, 2026
7405033
fix(swift-example-app): show restoring private payments from the wall…
QuantumExplorer Nov 9, 2026
27f1a69
feat(platform-wallet-ffi): compute a host's effective persistence cap…
QuantumExplorer Nov 9, 2026
3deebd5
fix(platform-wallet): fail a private payment restore closed on a save…
QuantumExplorer Nov 9, 2026
8cdeadf
fix(platform-wallet): match a recovered private request's recipient k…
QuantumExplorer Nov 9, 2026
8260a1c
fix(platform-wallet): keep a private payment's hold durable, required…
QuantumExplorer Nov 9, 2026
8738c02
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 9, 2026
5007b7b
fix(platform-wallet-ffi): keep the private scan state only under the …
QuantumExplorer Nov 9, 2026
530b5c7
test(platform-wallet-ffi): run the accept replying in kind for a mana…
QuantumExplorer Nov 9, 2026
84c2b96
feat(platform-version): double a private document store's chunk targe…
QuantumExplorer Nov 9, 2026
5af46f3
fix(swift-sdk): fail the round when a contact request cannot be stored
QuantumExplorer Nov 9, 2026
63e1ca4
feat(swift-sdk): type code 73 and show it as a storage configuration …
QuantumExplorer Nov 9, 2026
b2af518
Merge remote-tracking branch 'origin/feat/sdk-private-documents-send-…
QuantumExplorer Nov 9, 2026
27e4173
fix(platform-wallet): fail a private payment restore on a saved trans…
QuantumExplorer Nov 9, 2026
f2b9c7d
fix(platform-wallet): keep a private contact payment reserved through…
QuantumExplorer Nov 9, 2026
d6279b0
fix(platform-wallet-ffi): report an unsupported private recovery by i…
QuantumExplorer Nov 9, 2026
acb98eb
fix(platform-wallet): free a pair rejected for good on the next priva…
QuantumExplorer Nov 9, 2026
194acb9
Merge remote-tracking branch 'origin/v5.1-dev' into feat/platform-wal…
QuantumExplorer Nov 9, 2026
2aefc16
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 9, 2026
f7a1204
test(drive-abci): expect DashPay v3's private store at chunk power 10…
QuantumExplorer Nov 9, 2026
1de0d4b
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 9, 2026
47468fa
docs(platform-wallet-ffi): the readiness getter consumes rejection no…
QuantumExplorer Nov 9, 2026
b4b976f
Merge remote-tracking branch 'origin/v5.1-dev' into feat/platform-wal…
QuantumExplorer Nov 9, 2026
4f3bd84
fix(platform-wallet): hold private contact request pairs from a durab…
QuantumExplorer Nov 9, 2026
1fb46dd
fix(platform-wallet-ffi): report a broadcast that may have been deliv…
QuantumExplorer Nov 9, 2026
3ad51a3
docs(platform-wallet): describe the private payment journal and maybe…
QuantumExplorer Nov 9, 2026
e312365
fix(platform-wallet): own note reservations by attempt, and save a pr…
QuantumExplorer Nov 9, 2026
a1748d9
fix(platform-wallet): replay the last private payment marker, and flu…
QuantumExplorer Nov 9, 2026
94b4c83
fix(platform-wallet-ffi): keep code 70 for genuine protocol-version r…
QuantumExplorer Nov 9, 2026
360fb00
test(platform-wallet): restore a saved private payment in both startu…
QuantumExplorer Nov 9, 2026
c16c01b
Merge remote-tracking branch 'origin/v5.1-dev' into feat/platform-wal…
QuantumExplorer Nov 9, 2026
26de923
fix(drive): drop the argument #5798 removed from add_document_for_con…
QuantumExplorer Nov 9, 2026
8728bcd
test(platform-wallet): rebind identically while a scan holds the shie…
QuantumExplorer Nov 9, 2026
1b3a37b
Merge branch 'v5.1-dev' into feat/platform-wallet-private-contact-req…
QuantumExplorer Nov 9, 2026
5c99f46
fix(platform-wallet): count no endpoint verdict as proof a shielded s…
QuantumExplorer Nov 9, 2026
94452e6
fix(platform-wallet): keep a stale restoration from reserving a disch…
QuantumExplorer Nov 9, 2026
2197ec6
fix(platform-wallet): bind a public contact request to its wallet gen…
QuantumExplorer Nov 9, 2026
8ede791
fix(platform-wallet): discharge a private payment proven expired and …
QuantumExplorer Nov 9, 2026
ac4459a
feat(sdk): stream private document pages with their proved heights
QuantumExplorer Nov 9, 2026
d0d337b
fix(sdk): give a completed private document page the lowest height of…
QuantumExplorer Nov 9, 2026
0996db2
feat(sdk): let the mock SDK report a chosen response height
QuantumExplorer Nov 9, 2026
ad25184
fix(platform-wallet): prove a private payment expired only on evidenc…
QuantumExplorer Nov 9, 2026
c81424f
fix(platform-wallet): restore a private payment's reservation through…
QuantumExplorer Nov 9, 2026
f7510b4
fix(platform-wallet): retire a never-delivered payment's record and j…
QuantumExplorer Nov 9, 2026
0e24035
fix(platform-wallet): discharge an expired private payment whose inpu…
QuantumExplorer Nov 9, 2026
92569e7
feat(sdk): let the mock SDK prove each response type at its own height
QuantumExplorer Nov 9, 2026
e5f8ed9
fix(platform-wallet): release a stranded note only on height-pinned p…
QuantumExplorer Nov 9, 2026
6789d60
fix(platform-wallet): publish a never-delivered payment's retirement …
QuantumExplorer Nov 9, 2026
5ff0302
refactor(platform-wallet): keep an unknown journal anchor height as N…
QuantumExplorer Nov 9, 2026
17497a4
fix(platform-wallet): hold an unresolved private payment's pair at th…
QuantumExplorer Nov 9, 2026
cce059d
docs(platform-wallet): tell a pinned SDK's refusal apart and list eve…
QuantumExplorer Nov 9, 2026
98aa2f2
test(platform-wallet-ffi): cover a pinned refusal with a cause and a …
QuantumExplorer Nov 9, 2026
5cf6cab
fix(platform-wallet): keep no read-back set without shielded, and syn…
QuantumExplorer Nov 9, 2026
6d0f2e9
fix(platform-wallet): free notes an earlier process reserved before a…
QuantumExplorer Nov 9, 2026
ac533fd
perf(platform-wallet): read the private store no more for an entry an…
QuantumExplorer Nov 9, 2026
7e11255
fix(platform-wallet): keep a restored wallet available on a busy rebi…
QuantumExplorer Nov 9, 2026
0754c4e
fix(platform-wallet): leave the lifecycle gate clear while the host s…
QuantumExplorer Nov 9, 2026
ea35875
fix(platform-wallet): free the deferred restore queue however its tas…
QuantumExplorer Nov 9, 2026
5987ecb
fix(platform-wallet): read the private store before a public send's l…
QuantumExplorer Nov 9, 2026
d5448b6
test(platform-wallet): resolve a pair's wallet-level hold through the…
QuantumExplorer Nov 9, 2026
2e94b35
docs(platform-wallet): list the attempt-owned reservation methods for…
QuantumExplorer Nov 9, 2026
2191099
fix(platform-wallet): hold an absent sender's pair through the commit…
QuantumExplorer Nov 9, 2026
863cf9c
test(platform-wallet): write the absent-sender test's identity change…
QuantumExplorer Nov 9, 2026
7d053ca
fix(platform-wallet): refuse removing an identity while its contact r…
QuantumExplorer Nov 9, 2026
a2630b2
feat(platform-wallet): keep the largest commitment tree the shielded …
QuantumExplorer Nov 9, 2026
192d5d8
fix(platform-wallet): prove a heightless anchor recorded by the pool'…
QuantumExplorer Nov 9, 2026
5d2084f
docs(platform-wallet): describe how heightless anchor records are rel…
QuantumExplorer Nov 9, 2026
e0f384f
fix(platform-wallet): store the private payment marker whenever it di…
QuantumExplorer Nov 9, 2026
c4e2f3a
fix(platform-wallet): refresh the sender's keys from a proved fetch b…
QuantumExplorer Nov 9, 2026
cecf62f
fix(platform-wallet): decide a public request only with keys proved a…
QuantumExplorer Nov 9, 2026
c22910b
fix(sdk): yield the lowest and highest proved heights of a private do…
QuantumExplorer Nov 10, 2026
5466247
fix(platform-wallet): keep read-back notices whose flush failed until…
QuantumExplorer Nov 10, 2026
9d385c7
fix(platform-wallet): count a rewound private store read only once it…
QuantumExplorer Nov 10, 2026
fbb4d36
fix(platform-wallet): flush read-back notices without holding their lock
QuantumExplorer Nov 10, 2026
d4d55bd
fix(platform-wallet): raise a private store read's height only by pag…
QuantumExplorer Nov 10, 2026
94d81d1
fix(platform-wallet): hold a re-created wallet's journaled private pa…
QuantumExplorer Nov 10, 2026
98b9174
Merge branch 'v5.1-dev' into feat/platform-wallet-private-contact-req…
QuantumExplorer Nov 10, 2026
23ee059
fix(platform-wallet): read the store before every contact request and…
QuantumExplorer Nov 10, 2026
aa0e2a2
fix(platform-wallet): sync the shielded recovery records to the drive…
QuantumExplorer Nov 10, 2026
c7606fc
fix(platform-wallet): drop read-back notices a backend lost and disch…
QuantumExplorer Nov 10, 2026
9b5df14
test(platform-wallet): cover forged entries, the expiry's start posit…
QuantumExplorer Nov 10, 2026
83d86fa
test(platform-wallet): cover the restoration retry before a send, its…
QuantumExplorer Nov 10, 2026
ebb0464
test(platform-wallet): cover the re-check after publication, the firs…
QuantumExplorer Nov 10, 2026
e53aa68
docs(platform-wallet): describe the wallet hold, the tail read and co…
QuantumExplorer Nov 10, 2026
4a0707b
test(platform-wallet): import the journal record type once in the pri…
QuantumExplorer Nov 10, 2026
ddcb8bd
fix(platform-wallet): discharge no settled journal record after a flu…
QuantumExplorer Nov 10, 2026
6033d65
docs(platform-wallet): name the two scan state capability bits plainly
QuantumExplorer Nov 10, 2026
df49dbe
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 10, 2026
b3fb933
feat(platform-wallet-ffi): read a pair's hold as a send decides it, a…
QuantumExplorer Nov 10, 2026
7810485
feat(swift-sdk): type codes 74 and 75, read a pair's hold and the res…
QuantumExplorer Nov 10, 2026
9a5892b
feat(swift-example-app): open the shielded store at activation and sh…
QuantumExplorer Nov 10, 2026
f95f634
fix(platform-wallet): keep journal records a lost flush left, carry t…
QuantumExplorer Nov 10, 2026
2fd3599
fix(platform-wallet-ffi): read the private contact readiness outside …
QuantumExplorer Nov 10, 2026
f6b2a90
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 10, 2026
034b73d
fix(platform-wallet): save shielded spend records before broadcast an…
QuantumExplorer Nov 10, 2026
cfe7c1f
Merge branch 'v5.1-dev' into feat/platform-wallet-private-contact-req…
QuantumExplorer Nov 10, 2026
8eb1e3e
feat(platform-wallet-ffi): hand marked scan state records back as ret…
QuantumExplorer Nov 10, 2026
41fbbef
feat(swift-sdk): keep marked scan state records through a wallet's pu…
QuantumExplorer Nov 10, 2026
fb23948
fix(swift-example-app): retry a failed private payment restoration on…
QuantumExplorer Nov 10, 2026
0a2d984
fix(platform-wallet): read the SDK's unconfirmed broadcast outcome in…
QuantumExplorer Nov 10, 2026
207bd72
docs(platform-wallet-ffi): note code 20's unconfirmed state transitio…
QuantumExplorer Nov 10, 2026
6efee07
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 10, 2026
994d392
fix(swift-example-app): read code 20 as may have gone through on cont…
QuantumExplorer Nov 10, 2026
c092a62
fix(swift-example-app): keep refreshing while a deferred restoration …
QuantumExplorer Nov 10, 2026
80e945f
fix(swift-sdk): read a kept scan state record under its stored networ…
QuantumExplorer Nov 10, 2026
93b2abd
fix(platform-wallet): fence contact request cleanup to the wallet gen…
QuantumExplorer Nov 10, 2026
6d6744f
fix(platform-wallet): discharge a settled private payment record only…
QuantumExplorer Nov 10, 2026
828de98
docs(platform-wallet): say which shield keeps its own broadcast handling
QuantumExplorer Nov 10, 2026
3f8a914
feat(sdk): report the height a transition's inputs were seen consumed
QuantumExplorer Nov 10, 2026
8cd8e6d
feat(sdk): sign a contact request without broadcasting it
QuantumExplorer Nov 10, 2026
e818375
fix(platform-wallet): hold a public contact request whose outcome is …
QuantumExplorer Nov 10, 2026
54ae054
feat(platform-wallet-ffi): code 76 for an unconfirmed public contact …
QuantumExplorer Nov 10, 2026
5e03e06
Merge remote-tracking branch 'origin/feat/platform-wallet-private-con…
QuantumExplorer Nov 10, 2026
e8d18c4
feat(platform-wallet-ffi): read whether a public contact request awai…
QuantumExplorer Nov 10, 2026
39fe963
feat(swift-sdk): type code 76 and read a public contact request's hold
QuantumExplorer Nov 10, 2026
7496810
fix(swift-example-app): hold a public request that may have gone thro…
QuantumExplorer Nov 10, 2026
8a6075b
Merge branch 'v5.1-dev' into feat/ffi-swift-private-contact-requests
QuantumExplorer Nov 10, 2026
f3878ca
docs(platform-wallet-ffi): the next allocatable result code is 77
QuantumExplorer Nov 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions packages/rs-platform-wallet-ffi/ERROR_CODE_REGISTRY.md

Large diffs are not rendered by default.

78 changes: 78 additions & 0 deletions packages/rs-platform-wallet-ffi/src/contact_persistence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,51 @@ pub struct ContactIgnoredSenderFFI {
pub is_ignored: bool,
}

/// One identity's read position in DashPay's private contact request store
/// ([`ContactChangeSet::private_contact_requests_positions`]), for the
/// private contact request scan state callbacks on
/// [`PersistenceCallbacksExtension`](crate::persistence::PersistenceCallbacksExtension).
///
/// Flat POD. The host stores one row per `(wallet_id, identity_id)`,
/// replacing the previous one, and hands it back unchanged at load: a lower
/// `position` than the stored one is a rewind, not a stale write.
///
/// [`ContactChangeSet::private_contact_requests_positions`]: platform_wallet::changeset::ContactChangeSet::private_contact_requests_positions
#[repr(C)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct PrivateContactRequestsPositionFFI {
/// The wallet-owned identity reading the store.
pub identity_id: [u8; 32],
/// The store position the identity reads from next.
pub position: u64,
/// The fingerprint of the scanning keys `position` holds for. Opaque
/// to the host: store it and return it as it came.
pub key_fingerprint: [u8; 32],
Comment thread
QuantumExplorer marked this conversation as resolved.
Resolved
/// Whether a private contact request the identity paid for may still
/// be unresolved. Store it and return it as it came: loaded set, it
/// holds the identity's public contact requests until its private
/// payments are restored from the shielded store.
pub private_payments_unresolved: bool,
}

/// The shielded address `contact_id`'s tracked private request to
/// `owner_id` carries ([`ContactChangeSet::private_shielded_addresses`]).
///
/// Flat POD. The host stores one row per `(wallet_id, owner_id,
/// contact_id)`, replacing the previous one.
///
/// [`ContactChangeSet::private_shielded_addresses`]: platform_wallet::changeset::ContactChangeSet::private_shielded_addresses
#[repr(C)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct PrivateShieldedAddressFFI {
/// The wallet-owned identity the request is to.
pub owner_id: [u8; 32],
/// The contact who sent the request.
pub contact_id: [u8; 32],
/// The raw 43-byte Orchard payment address.
pub address: [u8; 43],
}

// Compile-time guards. Pin the expected layouts so any reshape on
// the Rust side fails the cargo build before it can ship a dylib
// the Swift side will mis-parse at runtime.
Expand Down Expand Up @@ -268,6 +313,39 @@ const _: [u8; 1] = [0u8; std::mem::align_of::<ContactRequestRemovalFFI>()];
const _: [u8; 65] = [0u8; std::mem::size_of::<ContactIgnoredSenderFFI>()];
const _: [u8; 1] = [0u8; std::mem::align_of::<ContactIgnoredSenderFFI>()];

// Expected `PrivateContactRequestsPositionFFI` layout on 64-bit targets:
//
// 0..=31 identity_id [u8; 32]
// 32..=39 position u64
// 40..=71 key_fingerprint [u8; 32]
// 72 private_payments_unresolved bool
// 73..=79 (tail padding to 8)
//
// Total size = 80, alignment = 8 (from the u64).
const _: [u8; 80] = [0u8; std::mem::size_of::<PrivateContactRequestsPositionFFI>()];
const _: [u8; 8] = [0u8; std::mem::align_of::<PrivateContactRequestsPositionFFI>()];
const _: () = assert!(std::mem::offset_of!(PrivateContactRequestsPositionFFI, position) == 32);
const _: () =
assert!(std::mem::offset_of!(PrivateContactRequestsPositionFFI, key_fingerprint) == 40);
const _: () = assert!(
std::mem::offset_of!(
PrivateContactRequestsPositionFFI,
private_payments_unresolved
) == 72
);

// Expected `PrivateShieldedAddressFFI` layout on all targets:
//
// 0..=31 owner_id [u8; 32]
// 32..=63 contact_id [u8; 32]
// 64..=106 address [u8; 43]
//
// Total size = 107, alignment = 1 (all-byte fields).
const _: [u8; 107] = [0u8; std::mem::size_of::<PrivateShieldedAddressFFI>()];
const _: [u8; 1] = [0u8; std::mem::align_of::<PrivateShieldedAddressFFI>()];
const _: () = assert!(std::mem::offset_of!(PrivateShieldedAddressFFI, contact_id) == 32);
const _: () = assert!(std::mem::offset_of!(PrivateShieldedAddressFFI, address) == 64);

impl ContactIgnoredSenderFFI {
/// Project an `(owner, sender)` ignore key onto its flat C mirror.
/// `is_ignored` distinguishes an ignore (persist the row) from an
Expand Down
4 changes: 2 additions & 2 deletions packages/rs-platform-wallet-ffi/src/contact_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ pub struct PrivateContactReadinessFFI {
pub unresolved_private_payment: bool,
/// Whether the last restoration of the wallet's private payments failed,
/// while `private_payments_restored` is false for it: then 72 holds until
/// a restoration succeeds, not only until one runs. The reason is in the
/// wallet's log; an export for it is left to the FFI PR.
/// a restoration succeeds, not only until one runs. The reason is
/// `platform_wallet_get_private_payments_restore_failure`.
pub private_payments_restore_failed: bool,
}

Expand Down
124 changes: 107 additions & 17 deletions packages/rs-platform-wallet-ffi/src/dashpay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ impl ContactRequestHandleArray {
}

/// Copy a slice of contact requests into the global handle storage.
fn from_requests(requests: Vec<ContactRequest>) -> Self {
pub(crate) fn from_requests(requests: Vec<ContactRequest>) -> Self {
if requests.is_empty() {
return Self::empty();
}
Expand Down Expand Up @@ -325,22 +325,9 @@ pub unsafe extern "C" fn platform_wallet_send_contact_request_with_signer(
} else {
Some(unwrap_result_or_return!(CStr::from_ptr(account_label).to_str()).to_string())
};
let proof: Option<Vec<u8>> = if auto_accept_proof.is_null() || auto_accept_proof_len == 0 {
None
} else {
// Defense-in-depth: bound the copy at the DIP-15 auto-accept proof
// ceiling (102 bytes) BEFORE allocating, so a malformed binding or a
// hostile (ptr, len) pair can't force an oversized allocation. The SDK
// re-validates the exact 38..=102 range after this.
if auto_accept_proof_len > 102 {
return crate::error::PlatformWalletFFIResult::err(
crate::error::PlatformWalletFFIResultCode::ErrorInvalidParameter,
format!(
"auto_accept_proof length {auto_accept_proof_len} exceeds the DIP-15 maximum of 102 bytes"
),
);
}
Some(std::slice::from_raw_parts(auto_accept_proof, auto_accept_proof_len).to_vec())
let proof = match read_auto_accept_proof(auto_accept_proof, auto_accept_proof_len) {
Ok(proof) => proof,
Err(result) => return result,
};

let signer_addr = signer_handle as usize;
Expand Down Expand Up @@ -380,6 +367,31 @@ pub unsafe extern "C" fn platform_wallet_send_contact_request_with_signer(
PlatformWalletFFIResult::ok()
}

/// Copy an optional auto-accept proof from `(ptr, len)`; `(null, 0)` omits it.
///
/// Defense-in-depth: the copy is bounded at the DIP-15 auto-accept proof
/// ceiling (102 bytes) BEFORE allocating, so a malformed binding or a hostile
/// (ptr, len) pair can't force an oversized allocation. The SDK re-validates
/// the exact 38..=102 range after this.
///
/// # Safety
/// A non-null `ptr` must point to `len` readable bytes.
pub(crate) unsafe fn read_auto_accept_proof(
ptr: *const u8,
len: usize,
) -> Result<Option<Vec<u8>>, PlatformWalletFFIResult> {
if ptr.is_null() || len == 0 {
return Ok(None);
}
if len > 102 {
return Err(PlatformWalletFFIResult::err(
PlatformWalletFFIResultCode::ErrorInvalidParameter,
format!("auto_accept_proof length {len} exceeds the DIP-15 maximum of 102 bytes"),
));
}
Ok(Some(std::slice::from_raw_parts(ptr, len).to_vec()))
}

/// Send a contact request from a scanned DIP-15 auto-accept QR
/// (`dash:?du=<username>&dapk=<key_blob>`). Resolves the QR's username to the
/// owner's identity, decodes the handed auto-accept key, signs the proof over
Expand Down Expand Up @@ -1755,6 +1767,84 @@ pub unsafe extern "C" fn platform_wallet_drainable_contact_crypto_count(
mod tests {
use super::*;

mod private_store_scan_errors {
use super::*;
use platform_wallet::ContactCryptoProvider;
use rs_sdk_ffi::{
dash_sdk_mnemonic_resolver_create, dash_sdk_mnemonic_resolver_destroy,
mnemonic_resolver_result,
};
use std::ffi::c_void;
use std::str::FromStr;

unsafe extern "C" fn no_mnemonic(
_ctx: *const c_void,
_wallet_id_bytes: *const u8,
_out_buf: *mut c_char,
_out_capacity: usize,
_out_len: *mut usize,
) -> i32 {
mnemonic_resolver_result::NOT_FOUND
}

unsafe extern "C" fn noop_destroy(_ctx: *mut c_void) {}

/// A scan of the private store whose resolver holds no mnemonic for the
/// wallet reaches the host as the key-unavailable outcome (code 31), as
/// a signer's missing key does, so the host routes it to key repair
/// instead of reading a generic failure.
#[test]
fn should_report_a_missing_mnemonic_while_scanning_as_key_unavailable() {
let resolver = unsafe {
dash_sdk_mnemonic_resolver_create(std::ptr::null_mut(), no_mnemonic, noop_destroy)
};
let provider = unsafe {
resolver_contact_crypto_provider(resolver, [0u8; 32], key_wallet::Network::Testnet)
};
let keys = PrivateDocumentKeyPaths {
recipients: vec![(
Identifier::from([0xB0; 32]),
vec![(
2,
key_wallet::bip32::DerivationPath::from_str("m/9'/1'/5'/0'/0'/1'/2'")
.expect("valid path"),
)],
)],
senders: Vec::new(),
};
let page = PrivateDocumentEntries {
chunk_power: None,
entries: Vec::new(),
total_count: 0,
};
let error = runtime()
.block_on(provider.scan_private_document_page(
&keys,
Identifier::from([0xD0; 32]),
"privateContactRequest",
0,
&page,
))
.expect_err("no mnemonic, no keys");
let result = PlatformWalletFFIResult::from(error);
assert_eq!(
result.code,
PlatformWalletFFIResultCode::ErrorSigningKeyUnavailable
);

// Another resolver failure keeps the code it had.
let other = PlatformWalletFFIResult::from(private_document_signer_error(
MnemonicResolverSignerError::BufferTooSmall,
));
assert_ne!(
other.code,
PlatformWalletFFIResultCode::ErrorSigningKeyUnavailable
);

unsafe { dash_sdk_mnemonic_resolver_destroy(resolver) };
}
}

/// A test wallet's mnemonic, counting how often the resolver reads it.
unsafe extern "C" fn counting_resolve(
ctx: *const std::ffi::c_void,
Expand Down
13 changes: 8 additions & 5 deletions packages/rs-platform-wallet-ffi/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,15 +663,18 @@ pub enum PlatformWalletFFIResultCode {
/// public accept refuse it, and nothing was sent: the request goes
/// privately instead, and the in-kind accept picks the private reply
/// itself. The shielded spend contract (`map_spend_result`) keeps the code,
/// as the in-kind accept can raise it. The exports that send and accept
/// contact requests are added by the FFI PR. 62 to 67 are claimed by open
/// branches, so this takes 68.
/// as the in-kind accept can raise it. Send it with
/// `platform_wallet_manager_send_private_contact_request`, or accept it
/// with `platform_wallet_manager_accept_contact_request_replying_in_kind`
/// or `platform_wallet_manager_accept_private_contact_request`. 62 to 67
/// are claimed by open branches, so this takes 68.
ErrorPrivateContactRequestNeedsPrivateReply = 68,

/// The operation needs the shielded pool, and this library was built
/// without the `shielded` feature: accepting a contact request that came
/// privately in kind, whose private reply is paid from the pool (the
/// export is added by the FFI PR; no export in this crate returns it yet).
/// privately with
/// `platform_wallet_manager_accept_contact_request_replying_in_kind`
/// (exported in every build), whose private reply is paid from the pool.
/// Nothing was sent. Not retryable on this build; a build with shielded
/// support accepts it.
ErrorShieldedBuildRequired = 69,
Expand Down
2 changes: 2 additions & 0 deletions packages/rs-platform-wallet-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ pub mod platform_address_sync;
pub mod platform_address_types;
pub mod platform_addresses;
pub mod platform_wallet_info;
pub mod private_contact_request;
pub mod provider_key_at_index;
mod runtime;
pub mod secp256k1_primitives;
Expand Down Expand Up @@ -156,6 +157,7 @@ pub use platform_address_sync::*;
pub use platform_address_types::*;
pub use platform_addresses::*;
pub use platform_wallet_info::*;
pub use private_contact_request::*;
pub use provider_key_at_index::*;
pub use secp256k1_primitives::*;
#[cfg(feature = "shielded")]
Expand Down
Loading
Loading