FuelLabs / fuel-core

Rust full node implementation of the Fuel v2 protocol.
Other
58.3k stars 2.73k forks source link

Fuel block producer #388

Closed rakita closed 1 year ago

rakita commented 2 years ago

It calls fuel-block-executor to create next block and fuel-txpool to get a list of transactions. It is called by fuel-core-bft to create the new pending block.

Database trait for producer needs to be made similar to Relayer and VM.

It needs to have this functionality: https://github.com/FuelLabs/fuel-core/wiki/Interfaces-between-fuel-client-modules#blockproducer-channels

Voxelot commented 2 years ago

closes: #50

Linking the issue for reference since block producer is the component we actually intend to build which will enable multi-tx blocks.

Voxelot commented 1 year ago

related: https://github.com/FuelLabs/fuel-core/pull/409