public interface BlockchainProcessor extends Observable<Block,BlockchainProcessor.Event>
Modifier and Type | Interface and Description |
---|---|
static class |
BlockchainProcessor.BlockNotAcceptedException |
static class |
BlockchainProcessor.BlockOutOfOrderException |
static class |
BlockchainProcessor.Event |
static class |
BlockchainProcessor.TransactionNotAcceptedException |
Modifier and Type | Method and Description |
---|---|
void |
forceScanAtStart() |
void |
fullReset() |
Peer |
getLastBlockchainFeeder() |
int |
getLastBlockchainFeederHeight() |
int |
getMinRollbackHeight() |
boolean |
isScanning() |
java.util.List<? extends Block> |
popOffTo(int height) |
void |
processPeerBlock(org.json.simple.JSONObject request) |
void |
registerDerivedTable(DerivedDbTable table) |
void |
scan(int height) |
void |
setGetMoreBlocks(boolean getMoreBlocks) |
void |
validateAtNextScan() |
addListener, removeListener
Peer getLastBlockchainFeeder()
int getLastBlockchainFeederHeight()
boolean isScanning()
int getMinRollbackHeight()
void processPeerBlock(org.json.simple.JSONObject request) throws NxtException
NxtException
void fullReset()
void scan(int height)
void forceScanAtStart()
void validateAtNextScan()
void setGetMoreBlocks(boolean getMoreBlocks)
java.util.List<? extends Block> popOffTo(int height)
void registerDerivedTable(DerivedDbTable table)