libnexakotlin
Toggle table of contents
0.4.7
common
Platform filter
common
Switch theme
Search in API
libnexakotlin
libnexakotlin
/
org.nexa.libnexakotlin
/
CnxnMgr
/
addBlockHandler
add
Block
Handler
abstract
fun
addBlockHandler
(
cb
:
(
List
<
out
iBlockHeader
>
)
->
Unit
)
Add a callback to handle incoming blocks -- downcast the parameter to either BCHBlock or MerkleBlock