Interface BlockchainProcessor

All Superinterfaces:
Observable<Block,BlockchainProcessor.Event>
All Known Implementing Classes:
BlockchainProcessorImpl

public interface BlockchainProcessor extends Observable<Block,BlockchainProcessor.Event>
  • Method Details

    • getLastBlockchainFeeder

      Peer getLastBlockchainFeeder()
    • getLastBlockchainFeederHeight

      int getLastBlockchainFeederHeight()
    • isScanning

      boolean isScanning()
    • isDownloading

      boolean isDownloading()
    • isProcessingBlock

      boolean isProcessingBlock()
    • suspendDownload

      void suspendDownload(boolean suspend)
    • isDownloadSuspended

      boolean isDownloadSuspended()
    • getMinRollbackHeight

      int getMinRollbackHeight()
    • getInitialScanHeight

      int getInitialScanHeight()
    • processPeerBlock

      void processPeerBlock(Block inputBlock) throws NxtException
      Throws:
      NxtException
    • processPeerBlocks

      void processPeerBlocks(List<Block> inputBlocks) throws NxtException
      Throws:
      NxtException
    • fullReset

      void fullReset()
    • scan

      void scan(int height, boolean validate)
    • fullScanWithShutdown

      void fullScanWithShutdown()
    • setGetMoreBlocks

      void setGetMoreBlocks(boolean getMoreBlocks)
    • popOffTo

      List<? extends Block> popOffTo(int height)
    • registerDerivedTable

      void registerDerivedTable(DerivedDbTable table)
    • trimDerivedTables

      void trimDerivedTables()
    • restorePrunedData

      int restorePrunedData(Chain chain)
    • restorePrunedTransaction

      Transaction restorePrunedTransaction(Chain chain, byte[] transactionFullHash)
    • getGenesisBlockId

      long getGenesisBlockId()