Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1327

`ReqIdrToTxn` does not store information about the ledger

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Complete
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None
    • Sprint:
      EV 18.11 Stability/ViewChange

      Description

      Currently ReqIdrToTxn stores a map of sha256(identifier||req_id) -> txn seq_no. It should store which ledger the seq no belongs to, this can be done by changing the map to sha256(identifier||req_id) -> ledger_id<delimiter>txn seq_no

      It also makes sense to take into account requests' digest, not only reqId.

      We also need a migration script for seqNoDb.

        Attachments

          Activity

            People

            Assignee:
            zhigunenko.dsr NIkita Zhigunenko
            Reporter:
            lovesh Lovesh Harchandani
            Watchers:
            Lovesh Harchandani, NIkita Zhigunenko, Renata Toktar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: