You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*The transaction's block-height, block-time, and block-confirmations.
126
+
*The transaction's block metadata (height, time, and confirmations).
127
127
*The [BTCR2SignedUpdate (data structure)] retrieved from `update_lookup_table[update_hash]`.
128
128
*If the update is not in `update_lookup_table`, retrieve it from [CAS].
129
129
*Raise a [`MISSING_UPDATE_DATA`] error if the update is not available from either source.
@@ -146,9 +146,9 @@ Return `current_document` as the resolved `didDocument` if `updates` is empty.
146
146
147
147
Otherwise:
148
148
149
-
1.Sort `updates` by [BTCR2SignedUpdate (data structure)] `targetVersionId` (ascending) with block-height as a tiebreaker.Take the first tuple.
150
-
2.Set `block_confirmations` to the tuple's block-confirmations.
151
-
3.If `resolutionOptions.versionTime` is provided and the tuple's block-time is more recent, return `current_document` as the resolved `didDocument`.
149
+
1.Sort `updates` by [BTCR2SignedUpdate (data structure)] `targetVersionId` (ascending) with the tuple's blockheight as a tiebreaker.Take the first tuple.
150
+
2.Set `block_confirmations` to the tuple's blockconfirmations.
151
+
3.If `resolutionOptions.versionTime` is provided and the tuple's blocktime is more recent, return `current_document` as the resolved `didDocument`.
152
152
4.Set `update` to the tuple's [BTCR2SignedUpdate (data structure)] and [check `update.targetVersionId`](#check-update-version).
153
153
5.Increment `current_version_id`.
154
154
6.If `current_version_id` is greater than or equal to the integer form of `resolutionOptions.versionId`, return `current_document`.
0 commit comments