This pr needs more discussion?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Sep 10 2018
Sep 10 2018
Aug 9 2018
Aug 9 2018
Jun 29 2018
Jun 29 2018
Jun 22 2018
Jun 22 2018
May 25 2018
May 25 2018
In D1447#29304, @deadalnix wrote:Please explain what was confusing in the existing example.
Also please fill out a test plan that someone can follow.
May 24 2018
May 24 2018
Apr 25 2018
Apr 25 2018
qshuai updated subscribers of D1305: Calculated nBits by UpdateTime() will be replaced by following code.
@deadalnix @jasonb The following picture shows UpdateTime() function calling.
I think my diff do not break testnet. As to testnet, if CreateNewBlock() function not be called, the block's nBits item will not be updated, and it's nBits item using the previous pblocktemplate's. I mean the pblocktemplate's nBits item should not be updated until receiving a new block from network.The following code is the condition of calling CreateNewBlock() function :
Apr 24 2018
Apr 24 2018
qshuai added a comment to D1305: Calculated nBits by UpdateTime() will be replaced by following code.
There are two reasons to remove the code(as you see):
The calculated nBits will be replaced by the following GetNextWorkRequired(.) function. So calculating difficulty(nBits) in UpdateTime() function is meaningless. The main chain does not matter. But testnet will exec twice.
UpdateTime() function should remain single role for updating timestamp item of block.
Herald added a reviewer for D1305: Calculated nBits by UpdateTime() will be replaced by following code: Restricted Project.