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

Don't use all pool ledger data in NODE transactions ordering

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Complete
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.83
    • Component/s: None
    • Labels:
      None

      Description

      Method processPoolTxn() is called in each ordering of transactions for pool ledger. The method calls ledger.getAllTxn() which returns all transactions in the ledger. This takes a very long time in proportion to the size of the ledger.

      Acceptance Criteria:

      • Change call getNodeInfoFromLedger() in processPoolTxn() to faster way.
      • Change call getNodeInfoFromLedger() in nodeServiceChange() to faster way.
      • Add tests

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: