Adding coinbase callback
Merged conflict from github repo