added indexing/search by hash for blocks
added indexing, query and socket for tx