started fixing duplicate stake
fixed reorg
handle other situation
add proof of stake