added a ignore file option

Signed-off-by: ranger.shi <ranger.shi@gmail.com>
fix a miner bug at 21 blocks

Signed-off-by: ranger.shi <ranger.shi@gmail.com>
Merge branch 'workspace' of github.com:rangershi/DSValue into workspace