Some unfinished work on Bitcoin API #14