yangl1996 / prism-rust

Rust implementation of the Prism consensus protocol
MIT License
100 stars 19 forks source link

Miner smart update context #78

Closed wgr523 closed 5 years ago

wgr523 commented 5 years ago

only change one content of the vector of contents. needs to change the struct Context

wgr523 commented 5 years ago

we extract tx from mempool and update content of transaction blocks each time we have a tx block