- Preparing search index...
- The search index is not available
Lumos
Constructors
constructor
- new Cache(indexer, publicKey, chainCode, infos, __namedParameters): Cache
-
Parameters
-
-
publicKey: string
-
chainCode: string
-
-
__namedParameters: {
TransactionCollector: typeof indexer.TransactionCollector;
masterPublicKey?: string;
rpc?: RPC;
}
-
-
Optional
masterPublicKey?: string
-
Optional
rpc?: RPC
Properties
Private
TransactionCollector
Private
lastTipBlockNumber
lastTipBlockNumber: BI = ...
Methods
getLastTipBlockNumber
- getLastTipBlockNumber(): string
-
Returns string
Private
innerLoopTransactions
- innerLoopTransactions(fromBlock, toBlock): Promise<void>
-
Parameters
-
fromBlock: BI
-
toBlock: BI
Returns Promise<void>
loop
- loop(): Promise<void>
-
Returns Promise<void>
Private
loopTransactions
- loopTransactions(tipBlockNumber): Promise<void>
-
Returns Promise<void>
tip
- tip(): Promise<string>
-
Returns Promise<string>