@chromia/ft4 - v2.1.0
    Preparing search index...

    Function createConnectionToBlockchainRid

    • Uses the provided connection to create a new connection to the specified blockchain rid. The new brid must be available in the cluster that the old connection is configured to use.

      Parameters

      • oldConnection: Connection

        a connection that can be used to fetch the new blockchain info

      • newBlockchainRid: BufferId

        the rid of the blockchain to create connection for

      Returns Promise<Connection>

      Connection instance configured to use the specified blockchain