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

A node must send LEDGER_STATUS with correct last ordered 3PC after catch-up

    XMLWordPrintable

Details

    • Task
    • Status: Complete
    • Medium
    • Resolution: Done
    • None
    • 1.6
    • None
    • None

    Description

      There is a structure (IntervalTree) in node that can map seqNo in ledger to 3PC key.

      This is in-memory structure, so it's empty after node restart, and updated only during common ordering and execution of 3PC batches.

      We need to have an entry for the current ledger size in this map after catchup too, as this is used in LEDGER_STATUSes sent to others, and LEDGER_STATUSes are used for initial calcualtion of `last_ordered-3PC`.

      Attachments

        Activity

          People

            ozheregelya Olga Zheregelya
            ashcherbakov Alexander Shcherbakov
            Alexander Shcherbakov, Olga Zheregelya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: