bitcoin interface
Fixed invalidating of iterator issue
fixed invalidation of iterator issue