comments.
improve packet polling.
stop polling for events.
packet events.
remove packet polling code.
fix example.
test fromHex.
test fromHex more.
better fromHex testing.
refactor example.
TODO: fix hex check.
prevblock work.
cleanup prevBlock code.
free CBlockIndex if it is allocated.
better solution to previousblockhash.
clean up previousblockhash.
comment. misc.
cleanup comments. old code.
clean up example.
comment. issue.