Type alias IncludeSettings

IncludeSettings: {
    disableIndex?: boolean;
    skipKnownLatest?: boolean;
}

As described in the documentation for [[Network.includeBlocks | Network.includeBlocks()]], these settings may help mitigate unforeseen problems with large data sets.

Type declaration

  • Optional disableIndex?: boolean

    Force the underlying persistence adapter to disable use of certain database indexes. This option exists for purposes of testing fallback behavior for persistence query generation failure. You probably don't need to use this, but it may help diagnose problems when using the IndexedDb adapter if you see errors about excessive SQL query parameters.

    Default

    false
    
  • Optional skipKnownLatest?: boolean

    Skip final query at end of this operation that determines canonical known latest after the operation completes.

    If set to true, this operation will update [[Network.knownLatest]] using only information already present in the abstraction instance as well as information passed as input.

    Default

    false
    

Generated using TypeDoc