thenewboston-blockchain/Bank

Update get_(clean|crawl)_info()

Closed this issue · 0 comments

Update get_clean_info() and get_crawl_info() on both the Bank and Validator repos to include address information for each node. This is because on the client app, they can be cleaning or crawling multiple nodes at a time and when the notifications comes back they need to know which node the notification is for.

Old

{
  "crawl_last_completed": "2020-09-04 23:17:48.877648+00:00",
  "crawl_status": "not_crawling"
}

New

{
  "crawl_last_completed": "2020-09-04 23:17:48.877648+00:00",
  "crawl_status": "not_crawling",
  "ip_address": "143.110.137.54",
  "port": "8000",
  "protocol": "http"
}