Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulty adjustments doesn't work as expected. #186

Closed
longfin opened this issue Apr 10, 2019 · 2 comments
Closed

Difficulty adjustments doesn't work as expected. #186

longfin opened this issue Apr 10, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@longfin
Copy link
Member

longfin commented Apr 10, 2019

Version: 0.3.0-nightly.20190408

The block creation policy(BlockPolicy<T>) is set as below and the difficulty isn't adjusted when it is mined.

var policy = new BlockPolicy<PolymorphicAction<ActionBase>>(TimeSpan.FromSeconds(10));
var blockChain = new BlockChain<PolymorphicAction<ActionBase>>(policy, new FileStore(path), chainId);

while (true) 
{
    blockChain.MineBlock(UserAddress);
}
@longfin longfin added the bug Something isn't working label Apr 10, 2019
@longfin longfin self-assigned this Apr 10, 2019
@dahlia
Copy link
Contributor

dahlia commented May 20, 2019

@longfin Do you think this is still valid?

@longfin
Copy link
Member Author

longfin commented May 21, 2019

@longfin Do you think this is still valid?

Nope, I think this has been resolved.

@longfin longfin closed this as completed May 21, 2019
OnedgeLee pushed a commit to OnedgeLee/libplanet that referenced this issue Jan 31, 2023
…ct-types

fix: Rollback artifact os types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants