Difficulties not updated with HEAD
Created by: M5oul
I noticed that the ID of the HEAD block issued by this ID is not displayed on /blockchain/difficulties
when this ID was not on the current window.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
- Show closed items
Link issues together to show that they're related.
Learn more.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Owner
Created by: M5oul
For instance my id just came to enter on current window:
### Issuers for last 10 blocks from block n°54038 to block n°54047 | block | gentime | mediantime | hash | uid | |---------+-----------+--------------+----------+------------------| | 54047 | 13:32:49 | 11:35:11 | 000003FA | moul | | 54046 | 13:26:16 | 11:25:11 | 00000269 | nay4 | | 54045 | 13:25:00 | 11:15:06 | 000005D2 | Darcidride | | 54044 | 13:24:33 | 11:04:53 | 0000022B | MAximeGhesquiere | | 54043 | 13:17:40 | 10:54:52 | 000000DB | BenoitLavenier | | 54042 | 12:54:26 | 10:45:36 | 000000F7 | cgeek | | 54041 | 12:49:20 | 10:36:30 | 0000069A | florck | | 54040 | 12:25:02 | 10:27:54 | 000002AC | pafzedog | | 54039 | 12:17:48 | 10:19:16 | 000004B5 | sjouin | | 54038 | 12:15:59 | 10:10:37 | 000003DA | nay4 |
moul
id is not present inblockchain/difficulties
:Minimal Proof-of-Work: 89 to match `00000[0-6]*` ### Difficulty to generate next block n°54048 for 10/12 nodes: | uid | match | Π diffi | Σ diffi | |------------------+----------------------+-------------+-----------| | gerard94 | 00000[0-7]* | 8.4 × 10^6 | 88 | | florck | 00000[0-7]* | 8.4 × 10^6 | 88 | | gege53 | 00000[0-7]* | 8.4 × 10^6 | 88 | | vincentux | 00000[0-7]* | 8.4 × 10^6 | 88 | | elois | 00000[0-6]* | 9.4 × 10^6 | 89 | | cgeek | 00000[0-6]* | 9.4 × 10^6 | 89 | | BenoitLavenier | 00000[0-5]* | 1.0 × 10^7 | 90 | | sjouin | 00000[0-4]* | 1.2 × 10^7 | 91 | | pafzedog | 00000[0-4]* | 1.2 × 10^7 | 91 | | Darcidride | 00000000000[0-E]* | 1.8 × 10^13 | 177 | | MAximeGhesquiere | 00000000000[0-D]* | 3.5 × 10^13 | 178 | | nay4 | 00000000000000000000 | 6.2 × 10^26 | 354 |
- Author Owner
Yes that is true. It is a bug.
- Author Owner
Note: a "display" bug, the analysis returned by
/blockchain/difficulties
does not take the HEAD if I remember well. - Contributor
There is a minus one on the current block number. https://github.com/duniter/duniter/blob/f0e8dcb97b13064bcec6f5f8295d859bcd73ddc5/app/modules/bma/lib/controllers/blockchain.ts#L143
This should be the problem. Any reason for this -1 ?
- Author Owner
I don't see any reason for this
-1
, it can be the problem indeed.
Please register or sign in to reply