AleoNet / snarkOS

A Decentralized Operating System for ZK Applications
http://snarkos.org
Apache License 2.0
4.24k stars 2.59k forks source link

[Optimize] Disable transaction loop for production environments #3245

Closed raychu86 closed 2 months ago

raychu86 commented 2 months ago

Motivation

This PR removes the transaction pool generation loop for production environments. This was necessary previously because we required transactions to advance consensus. Now that we allow empty blocks (no transactions or solutions), these "filler" transactions are no longer necessary to drive the chain.

Note: We keep the transaction pool in development environments for testing purposes.