March 24, 2022

By Mike Berry

This week in Tari Development

The following notable pull requests were merged into development this week:

Monitor and display warning for min ratio for TCPv4 nodes (#3953)

Every base node has it’s own public key and address, which is either an IPv4 address or Tor hidden service onion address. Onion addresses are essentially costless to create and advertise, so a malicious user can create many different nodes very quickly, quicker than an honest base node could ban them. IP addresses are not as easy to acquire and there’s a limited number of them.

For now, this is only a warning. In future, Tari may add minimum restrictions on how many IP4 peers it keeps.

Add UTXO set size to base node metrics (#3932)

The Tari base node exposes a number of metrics which can be used to create dashboards in Grafana with Prometheus.

To enable the metric, run the base node with the following:

tari_base_node --metrics-bind-addr

Where is your Prometheus instance.

Other notable changes merged:


  • Add MMR check to reconstructed block and mempool validation for unique excess signature (#3930) (b8f9db5)
  • DHT: monitor and display warning for min ratio for TCPv4 nodes (#3953) (c4070ff)
  • Listen to terminal events in watch mode (#3931) (869abd3)
  • Metrics: add UTXO set size to base node metrics (#3932) (08ecabc)
  • Script to produce coverage report for wallet (#3938) (48eb86e)

Bug Fixes

  • Bug in block timing gRPC method (#3926) (1c7adc0)
  • Correct main path for wallet RPC client (#3934) (b36295c)
  • Fix Tor ID deserialization issue (#3950) (c290ab9)
  • Launch the watch command on start (#3924) (7145201)
  • Sync: ban peer if sending an invalid prev_header (#3955) (384ab0c)
  • Wallet: ensure that identity sig is stored on startup (#3951) (b8d08ed)
  • Wallet: tor identity private key needs to be serialized (#3946) (a68614e)