User Tools

Site Tools


Running a Bluebox Timelord

What is a Bluebox Timelord?

The Chia consensus protocol is based on Proof of Space and Time (PoST). Farmers provide Proofs of Space with plots on their drives, and Proofs of Time are provided by Timelords that infuse the chain. The (normal) Timelord focusses on creating the Proof of Time that moves the chain forward as fast as possible, but does not optimize for the smallest possible Proof of Time. Bluebox Timelords fulfill this duty; they ex post scan the blockchain to see if there are any uncompressed proofs out there, which it then compactifies and gossips around the whole network. This helps reduce the size of the db.

How to run a Bluebox Timelord

  1. Setup a completely fresh Chia installation via ''git clone''
  2. Run sh in that installation
  3. chia init (there's no need to generate any keys)
  4. chia configure --set-log-level INFO
  5. (optional) Bootstrap with a blockchain db from another full node. Otherwise, let it sync.
  6. Edit config.yaml:
    1. Set timelord.bluebox_mode to true
    2. Set timelord_launcher.process_count to half the number of threads you want to dedicate to the bluebox.
    3. Set full_node.send_uncompact_interval to 300
    4. Set full_node.target_uncompact_proofs to 100 (if not already)
  7. chia start timelord. This should start daemon, timelord-launcher, timelord and node.

Is it actually working?

You can check if it is actually working by running the following code:

awk '/Replaced compact/ {split($1, ts, /:/); s[ts[1]]++} END {for (h in s) {print h, s[h]}}' ~/.chia/mainnet/log/debug.log | sort

This will output compacted blocks per hour.

Watch your impact at

guides/timelord/bluebox.txt · Last modified: 2023/02/13 17:53 by earl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki