Transaction structure adapt for 0.7.8 and several bug fix
 * it's possible now to have full block chain sync with 0.7.8 peer