* core: fix write coucurrency in txpool * core: add rlock for pendingState read access * core: address comments