public interface BlockCallbackListener
Modifier and Type | Method | Description |
---|---|---|
void |
onNewBlock(BlockData block,
String target,
InetAddress node) |
When registered to a callback server, this method will be executed with every new block arrival.
|
void onNewBlock(BlockData block, String target, InetAddress node)
block
- the block's information and contentstarget
- the HTTP target addressnode
- the IP address of the node that issued the callbackCopyright © 2020. All rights reserved.