toggle menu
libnexakotlin
0.3.5
common
switch theme
search in API
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