You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the only way to correctly generate a block is to call Blockchain.MineBlock() to mine block. However, in a development environment that typically consists of a single node, mining has a large variation in resource usage, making it difficult to guarantee the block creation time. it sometimes makes development and testing difficult.
So for a development or test chain, we need a method (e.g. configuration) that allows us to create a valid block without these mining processes.
The text was updated successfully, but these errors were encountered:
I think we can now achieve this by implementing a custom IBlockPolicy<T>. Or do we need a kind of façade (which implements IBlockPolicy<T>) for single node?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Currently, the only way to correctly generate a block is to call
Blockchain.MineBlock()
to mine block. However, in a development environment that typically consists of a single node, mining has a large variation in resource usage, making it difficult to guarantee the block creation time. it sometimes makes development and testing difficult.So for a development or test chain, we need a method (e.g. configuration) that allows us to create a valid block without these mining processes.
The text was updated successfully, but these errors were encountered: