getBlock

fun getBlock(blkhash: Hash256, timeout: Long = 10000, cb: (iBlock) -> Unit? = null): iBlock?

Synchronous get block function


fun getBlock(blkhash: Hash256, cb: (iBlock?) -> Unit)

callback get block function