nodes issueshttps://git.duniter.org/groups/nodes/-/issues2020-04-24T18:39:12+02:00https://git.duniter.org/nodes/typescript/modules/duniter-currency-monit/-/issues/69erreur sur page GaussianWotQuality2020-04-24T18:39:12+02:00ty kaynerreur sur page GaussianWotQualitysur la page http://localhost:10500/gaussianWotQuality?lg=fr
on trouve cette erreur sur la branche master:
TypeError: Cannot read property 'detailedDistance' of null
at membersQuality (/var/www/html/duniter-currency-monit/routes/tool...sur la page http://localhost:10500/gaussianWotQuality?lg=fr
on trouve cette erreur sur la branche master:
TypeError: Cannot read property 'detailedDistance' of null
at membersQuality (/var/www/html/duniter-currency-monit/routes/tools/membersQuality.js:36:31)
at module.exports (/var/www/html/duniter-currency-monit/routes/gaussianWotQuality2.js:69:51)
at
at process._tickCallback (internal/process/next_tick.js:182:7)https://git.duniter.org/nodes/typescript/duniter/-/issues/1397Some Transactions with complex lock conditions not appear in sources list2020-04-03T15:28:55+02:00Vincent TexierSome Transactions with complex lock conditions not appear in sources list- currency: g1-test
- version: Duniter 1.7.21
Some transaction with complex conditions do not appear in sources.
**It seems to be linked to the amount !
It's like the BR_G106 was setting a minimum of 100 base 2 amount for a transactio...- currency: g1-test
- version: Duniter 1.7.21
Some transaction with complex conditions do not appear in sources.
**It seems to be linked to the amount !
It's like the BR_G106 was setting a minimum of 100 base 2 amount for a transaction to appear in sources...**
I have sent a transaction with this condition:
```
4AC3D784EFA9A004CE9D4CE759CE320A0AE30EF5DAE7921DB7CB0658A45F5423
"100:2:SIG(AhRMHUxMPXSeG7qXZrE6qCdjwK9p2bu5Eqei7xAWVEDK) || (SIG(HAy1hLpHfqrG3xsZRoBVkNigGQZnDfJK2az5MeRYtyNb) && CSV(604800))"
```
It appeared in the sources list, and I spent it back to me after one week. Great!
Now I have sent 3 transactions.
**These two do not appear in the sources list!**
```
CC60CABF8991B7C5B742ED983D542C26E33D34EE725900BC591A846D2321ACA9
"1:2:SIG(AhRMHUxMPXSeG7qXZrE6qCdjwK9p2bu5Eqei7xAWVEDK) || (SIG(HAy1hLpHfqrG3xsZRoBVkNigGQZnDfJK2az5MeRYtyNb) && CSV(604800))"
8C6E1FCC46A9681CA589873B97B39BF1262F0E22398F58770B0EBE21B4253C6C
"2:2:SIG(AhRMHUxMPXSeG7qXZrE6qCdjwK9p2bu5Eqei7xAWVEDK) || (SIG(HAy1hLpHfqrG3xsZRoBVkNigGQZnDfJK2az5MeRYtyNb) && CSV(604800))"
```
This last one, with 100 gt again appear in sources as expected:
```
7599978B998E44790913BC67743022122E58282991923B93491FC297F3CD92B5
"100:2:SIG(AhRMHUxMPXSeG7qXZrE6qCdjwK9p2bu5Eqei7xAWVEDK) || (SIG(HAy1hLpHfqrG3xsZRoBVkNigGQZnDfJK2az5MeRYtyNb) && CSV(604800))"
```https://git.duniter.org/nodes/typescript/duniter/-/issues/1120Message « Peer with zero endpoints that is not already known »2020-03-31T23:01:25+02:00Cédric MoreauMessage « Peer with zero endpoints that is not already known »It is displayed at error level. It can be info or even debug.It is displayed at error level. It can be info or even debug.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1395CINDEX triming does not trim entries with a replacing CREATE2020-01-18T17:23:18+01:00Cédric MoreauCINDEX triming does not trim entries with a replacing CREATEExample, here is a CINDEX with `--notrim` option:
```
┌─────┬────────┬──────────────────┬────────────┬─────────────────┬────────────┬────────────┬──────────────┬───────────────┐
│ row │ op │ issuer │ created_on │ written_o...Example, here is a CINDEX with `--notrim` option:
```
┌─────┬────────┬──────────────────┬────────────┬─────────────────┬────────────┬────────────┬──────────────┬───────────────┐
│ row │ op │ issuer │ created_on │ written_on │ expires_on │ expired_on │ chainable_on │ replayable_on │
│ 0 │ CREATE │ Aude49 │ 67926 │ 74673-0000027DF │ 1573354954 │ 0 │ 1512748787 │ 1517576387 │
│ 1 │ CREATE │ auroremengual │ 70468 │ 74673-0000027DF │ 1574133693 │ 0 │ 1512748787 │ 1517576387 │
│ 2 │ CREATE │ AlainLebrun │ 67109 │ 74673-0000027DF │ 1573080362 │ 0 │ 1512748787 │ 1517576387 │
│ 3 │ CREATE │ NadineBlanchard │ 67933 │ 74673-0000027DF │ 1573359742 │ 0 │ 1512748787 │ 1517576387 │
│ 4 │ CREATE │ AnneAmbles │ 67090 │ 74673-0000027DF │ 1573074728 │ 0 │ 1512748787 │ 1517576387 │
│ 5 │ CREATE │ RoselyneBinesse │ 66656 │ 74673-0000027DF │ 1572940298 │ 0 │ 1512748787 │ 1517576387 │
│ 6 │ CREATE │ CharlesAbecassis │ 96364 │ 96857-000000408 │ 1582171975 │ 0 │ 1519634701 │ 1524462301 │
│ 7 │ CREATE │ loanblanchard │ 103654 │ 106456-000001A4 │ 1584427318 │ 0 │ 1522609561 │ 1527437161 │
│ 8 │ UPDATE │ RoselyneBinesse │ 66656 │ 269139-00000541 │ NULL │ 1572940368 │ NULL │ NULL │
│ 9 │ UPDATE │ AnneAmbles │ 67090 │ 269601-000004A9 │ NULL │ 1573074966 │ NULL │ NULL │
│ 10 │ UPDATE │ AlainLebrun │ 67109 │ 269620-0000005A │ NULL │ 1573080449 │ NULL │ NULL │
│ 11 │ UPDATE │ Aude49 │ 67926 │ 270490-0000007D │ NULL │ 1573355095 │ NULL │ NULL │
│ 12 │ UPDATE │ NadineBlanchard │ 67933 │ 270502-000001F5 │ NULL │ 1573359987 │ NULL │ NULL │
│ 13 │ UPDATE │ auroremengual │ 70468 │ 272976-0000047B │ NULL │ 1574133953 │ NULL │ NULL │
│ 14 │ CREATE │ AlainLebrun │ 284266 │ 284605-000001A7 │ 1640737001 │ 0 │ 1578165360 │ 1582992960 │
│ 15 │ CREATE │ CharlesAbecassis │ 278986 │ 284605-000001A7 │ 1639117359 │ 0 │ 1578165360 │ 1582992960 │
│ 16 │ CREATE │ AnneAmbles │ 282287 │ 284605-000001A7 │ 1640145167 │ 0 │ 1578165360 │ 1582992960 │
│ 17 │ CREATE │ RoselyneBinesse │ 282575 │ 285418-00000155 │ 1640232666 │ 0 │ 1578430327 │ 1583257927 │
│ 18 │ CREATE │ Aude49 │ 286632 │ 286634-0000087C │ 1641505163 │ 0 │ 1578822615 │ 1583650215 │
└─────┴────────┴──────────────────┴────────────┴─────────────────┴────────────┴────────────┴──────────────┴───────────────┘
```
Here it is after triming:
```
┌─────┬────────┬──────────────────┬────────────┬─────────────────┬────────────┬────────────┬──────────────┬───────────────┐
│ row │ op │ issuer │ created_on │ written_on │ expires_on │ expired_on │ chainable_on │ replayable_on │
│ 0 │ CREATE │ Aude49 │ 67926 │ 74673-0000027DF │ 1573354954 │ 0 │ 1512748787 │ 1517576387 │
│ 1 │ CREATE │ AlainLebrun │ 67109 │ 74673-0000027DF │ 1573080362 │ 0 │ 1512748787 │ 1517576387 │
│ 2 │ CREATE │ AnneAmbles │ 67090 │ 74673-0000027DF │ 1573074728 │ 0 │ 1512748787 │ 1517576387 │
│ 3 │ CREATE │ RoselyneBinesse │ 66656 │ 74673-0000027DF │ 1572940298 │ 0 │ 1512748787 │ 1517576387 │
│ 4 │ CREATE │ CharlesAbecassis │ 96364 │ 96857-000000408 │ 1582171975 │ 0 │ 1519634701 │ 1524462301 │
│ 5 │ CREATE │ loanblanchard │ 103654 │ 106456-000001A4 │ 1584427318 │ 0 │ 1522609561 │ 1527437161 │
│ 6 │ UPDATE │ RoselyneBinesse │ 66656 │ 269139-00000541 │ NULL │ 1572940368 │ NULL │ NULL │
│ 7 │ UPDATE │ AnneAmbles │ 67090 │ 269601-000004A9 │ NULL │ 1573074966 │ NULL │ NULL │
│ 8 │ UPDATE │ AlainLebrun │ 67109 │ 269620-0000005A │ NULL │ 1573080449 │ NULL │ NULL │
│ 9 │ UPDATE │ Aude49 │ 67926 │ 270490-0000007D │ NULL │ 1573355095 │ NULL │ NULL │
│ 10 │ CREATE │ AlainLebrun │ 284266 │ 284605-000001A7 │ 1640737001 │ 0 │ 1578165360 │ 1582992960 │
│ 11 │ CREATE │ CharlesAbecassis │ 278986 │ 284605-000001A7 │ 1639117359 │ 0 │ 1578165360 │ 1582992960 │
│ 12 │ CREATE │ AnneAmbles │ 282287 │ 284605-000001A7 │ 1640145167 │ 0 │ 1578165360 │ 1582992960 │
│ 13 │ CREATE │ RoselyneBinesse │ 282575 │ 285418-00000155 │ 1640232666 │ 0 │ 1578430327 │ 1583257927 │
│ 14 │ CREATE │ Aude49 │ 286632 │ 286634-0000087C │ 1641505163 │ 0 │ 1578822615 │ 1583650215 │
└─────┴────────┴──────────────────┴────────────┴─────────────────┴────────────┴────────────┴──────────────┴───────────────┘
```
Only 4 entries have been removed, however IMO the result should be this:
```
┌─────┬────────┬──────────────────┬────────────┬─────────────────┬────────────┬────────────┬──────────────┬───────────────┐
│ row │ op │ issuer │ created_on │ written_on │ expires_on │ expired_on │ chainable_on │ replayable_on │
│ 0 │ CREATE │ loanblanchard │ 103654 │ 106456-000001A4 │ 1584427318 │ 0 │ 1522609561 │ 1527437161 │
│ 1 │ CREATE │ AlainLebrun │ 284266 │ 284605-000001A7 │ 1640737001 │ 0 │ 1578165360 │ 1582992960 │
│ 2 │ CREATE │ CharlesAbecassis │ 278986 │ 284605-000001A7 │ 1639117359 │ 0 │ 1578165360 │ 1582992960 │
│ 3 │ CREATE │ AnneAmbles │ 282287 │ 284605-000001A7 │ 1640145167 │ 0 │ 1578165360 │ 1582992960 │
│ 4 │ CREATE │ RoselyneBinesse │ 282575 │ 285418-00000155 │ 1640232666 │ 0 │ 1578430327 │ 1583257927 │
│ 5 │ CREATE │ Aude49 │ 286632 │ 286634-0000087C │ 1641505163 │ 0 │ 1578822615 │ 1583650215 │
└─────┴────────┴──────────────────┴────────────┴─────────────────┴────────────┴────────────┴──────────────┴───────────────┘
```https://git.duniter.org/nodes/typescript/duniter/-/issues/1393Fork resolution error on (some) blocks containing excluded members2020-01-03T10:30:03+01:00matograineFork resolution error on (some) blocks containing excluded membersSome fork resolutions fail with an error : ruleToBeKickedArePresent on valid blocks containing excluded members.
see https://forum.duniter.org/t/probleme-de-fork-non-resolu-sur-un-noeud-bug-dexclusion-2-le-retour/6679Some fork resolutions fail with an error : ruleToBeKickedArePresent on valid blocks containing excluded members.
see https://forum.duniter.org/t/probleme-de-fork-non-resolu-sur-un-noeud-bug-dexclusion-2-le-retour/6679https://git.duniter.org/nodes/typescript/duniter/-/issues/1002Pay to pubkey hash2019-09-25T00:10:10+02:00insoPay to pubkey hashI think it could be interesting to send money to pubkey hash instead of directly the pubkey. This is what bitcoin calls "addresses".
This would be a first step in anonymization : we could send money to a second wallet, but this second...I think it could be interesting to send money to pubkey hash instead of directly the pubkey. This is what bitcoin calls "addresses".
This would be a first step in anonymization : we could send money to a second wallet, but this second wallet would be hidden from the public until some money is spent from it.2.0https://git.duniter.org/nodes/typescript/duniter/-/issues/1165Add function P2SH : Pay to script hash2019-09-25T00:07:28+02:00ÉloïsAdd function P2SH : Pay to script hashThey allow transactions to be sent to a script hash instead of a public key hash (addresses starting with 1. To spend coins sent via P2SH, the recipient must provide a script matching the script hash and data which makes the script evalu...They allow transactions to be sent to a script hash instead of a public key hash (addresses starting with 1. To spend coins sent via P2SH, the recipient must provide a script matching the script hash and data which makes the script evaluate to true.
Pour qu'il soit possible de verser de la monnaie a un compte défini par un ensemble complexe de règles de déblocage sans connaitre cet ensemble de règles, il suffit d'en connaitre une adresse virtuelle qui serait publiée quelque part et qui contient le hash de l'ensemble des conditions de déblocage.
le compte `P2SH(A)` ne pourra consommer ses sources que s'il fourni un ensemble de conditions de déblocage qui à pour hash `A`.
La fonction `XHX()` ne peut pas assurée ce rôle car le script des conditions de déblocage peut contenir la fonction`XHX()`. Il faut donc une fonction a part dont l'usage récursif sera interdit : PS2H
Cf. comment le bitcoin gère cela : https://en.bitcoin.it/wiki/Pay_to_script_hash2.0https://git.duniter.org/nodes/typescript/duniter/-/issues/1385CPU and memory leaks2019-09-10T12:58:03+02:00vincentrouCPU and memory leaksI observe cpu and memory leaks on my duniter node.
![memory_leak](/uploads/344dfd0c699eb7b3db5b55ab60cf0e9d/memory_leak.png)
![cpu_leak](/uploads/0ee9fdc3cf155331c5c01ea432956ee8/cpu_leak.png)
The memory leak is quite slow but the cpu...I observe cpu and memory leaks on my duniter node.
![memory_leak](/uploads/344dfd0c699eb7b3db5b55ab60cf0e9d/memory_leak.png)
![cpu_leak](/uploads/0ee9fdc3cf155331c5c01ea432956ee8/cpu_leak.png)
The memory leak is quite slow but the cpu leak made the server crash after a month and half. The command was to be at 40% of the cpu for the PoW.https://git.duniter.org/nodes/typescript/duniter/-/issues/1314Zombies PoW processes2019-09-10T12:01:34+02:00MoulZombies PoW processesThere is many zombies PoW processes which are left running by duniter main process:
![Ekrankopio_de_2018-11-17_14-15-01](/uploads/33094dda63f49c9323f5160feaa89931/Ekrankopio_de_2018-11-17_14-15-01.png)
Sometimes, theses processes are ta...There is many zombies PoW processes which are left running by duniter main process:
![Ekrankopio_de_2018-11-17_14-15-01](/uploads/33094dda63f49c9323f5160feaa89931/Ekrankopio_de_2018-11-17_14-15-01.png)
Sometimes, theses processes are taking a bit of CPU, around 5%.2.0https://git.duniter.org/nodes/typescript/duniter/-/issues/1376Update ws module from v1 to v72019-05-12T18:25:44+02:00MoulUpdate ws module from v1 to v72.0https://git.duniter.org/nodes/typescript/duniter/-/issues/1375Fork resolution is stuck2019-05-11T11:56:19+02:00Cédric MoreauFork resolution is stuckSee: https://forum.duniter.org/t/blocage-de-certains-noeuds-sur-la-g1-depuis-ce-matin/6093See: https://forum.duniter.org/t/blocage-de-certains-noeuds-sur-la-g1-depuis-ce-matin/6093https://git.duniter.org/nodes/typescript/duniter/-/issues/1374When synchronisation get stuck by a no space left, nothing happen2019-05-07T22:51:48+02:00MoulWhen synchronisation get stuck by a no space left, nothing happenNo space left error is not handle during synchronisation, it get stuck without progress on the bars:
```bash
Progress:
Milestones: [||||||||||||||||||||] 100 %
Download: [|||| ] 21 %
Apply: [|||| ...No space left error is not handle during synchronisation, it get stuck without progress on the bars:
```bash
Progress:
Milestones: [||||||||||||||||||||] 100 %
Download: [|||| ] 21 %
Apply: [|||| ] 21 %
Sandbox: [ ] 0 %
Peers: [ ] 0 %
Status: GOT chunck #188/874 from 47000 to 47249 on peer ts.g1.librelois.fr
^C
tail -f ~/.config/duniter/duniter_default/duniter.log
2019-05-07T22:28:06+02:00 - error: Error: ENOSPC: no space left on device, write
2019-05-07T22:28:06+02:00 - error: Unhandled rejection: Error: ENOSPC: no space left on device, write
2019-05-07T22:28:06+02:00 - error: Error: ENOSPC: no space left on device, write
2019-05-07T22:28:06+02:00 - error: Unhandled rejection: Error: ENOSPC: no space left on device, write
2019-05-07T22:28:06+02:00 - error: Error: ENOSPC: no space left on device, write
```Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1371Replacing naclb by node-sodium2019-05-07T22:08:29+02:00Cédric MoreauReplacing naclb by node-sodiumNaclb was a handmaid port dependency for fast, native C++ execution of Nacl (speed needed for PoW).
Today, it exists [node-sodium](https://github.com/paixaop/node-sodium) which seems to do this exact job and be maintained actively and b...Naclb was a handmaid port dependency for fast, native C++ execution of Nacl (speed needed for PoW).
Today, it exists [node-sodium](https://github.com/paixaop/node-sodium) which seems to do this exact job and be maintained actively and bases on stantard C++ libs.
Maybe we could replace naclb by node-sodium.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1365New versions are not published on NPM2019-04-17T13:39:00+02:00Cédric MoreauNew versions are not published on NPMVersions with pattern 1.x.y should be published on NPM, so that softwares relying on it can upgrade.Versions with pattern 1.x.y should be published on NPM, so that softwares relying on it can upgrade.https://git.duniter.org/nodes/typescript/duniter/-/issues/1357[AT] `OUT` membership must not be included in a block if issued by a non-member2019-04-07T13:58:06+02:00Cédric Moreau[AT] `OUT` membership must not be included in a block if issued by a non-memberSee https://forum.duniter.org/t/bug-a-l-ajout-d-une-certification-d-un-non-membre-dans-le-bloc-a-calculer-v1-7-16/5952/13See https://forum.duniter.org/t/bug-a-l-ajout-d-une-certification-d-un-non-membre-dans-le-bloc-a-calculer-v1-7-16/5952/13https://git.duniter.org/nodes/typescript/duniter/-/issues/1309/wot/certified-by/ => Error "Cannot read property 'pub' of null"2019-04-01T10:44:28+02:00Benoit Lavenier/wot/certified-by/ => Error "Cannot read property 'pub' of null"Sur G1-test, je constate une erreur lors de l'appel de `/wot/certified-by/` sur une clef non membre : (exemple [ici](http://88.174.120.187:10900/wot/certified-by/9N8tk7oz7sFXbZij3AFRM2HupDJCRcpsfN99tpXeo2wE))
```json
{
"ucode": 1002,
...Sur G1-test, je constate une erreur lors de l'appel de `/wot/certified-by/` sur une clef non membre : (exemple [ici](http://88.174.120.187:10900/wot/certified-by/9N8tk7oz7sFXbZij3AFRM2HupDJCRcpsfN99tpXeo2wE))
```json
{
"ucode": 1002,
"message": "Cannot read property 'pub' of null"
}
```
Auparavant (et sur G1 cela semble fonctionner ainsi), cela renvoyait un code 2004 : (exemple [ici](https://g1.duniter.fr/wot/certified-by/9N8tk7oz7sFXbZij3AFRM2HupDJCRcpsfN99tpXeo2wE))
```json
{
"ucode": 2004,
"message": "No member matching this pubkey or uid"
}
```
Cela fait planter Cesium, qui ne sait pas comment gérer cette erreur.
Je peux évidemment ajouter un cas pour dire que le compte n'est sans doute pas certifié, mais je voudrais etre sur que je loupe pas quelque chose de plus grave...
Merci !!https://git.duniter.org/nodes/typescript/duniter/-/issues/1347Node try to connect to previous currency peers after switch to another currency2019-03-27T10:30:56+01:00Vincent TexierNode try to connect to previous currency peers after switch to another currencyDuniter desktop 1.7.11 on Ubuntu 14.04. All actions made on the GUI.
* Running as g1-test node since installation.
* Full data reset on a g1 node to help in the forks.
* Few syncs later, and few hours later, the logs says that **the nod...Duniter desktop 1.7.11 on Ubuntu 14.04. All actions made on the GUI.
* Running as g1-test node since installation.
* Full data reset on a g1 node to help in the forks.
* Few syncs later, and few hours later, the logs says that **the node try to contact g1-test and g1 peers as well** !
```javascript
2019-03-27T10:16:06+01:00 - info: WS2P: Could not connect to peer 85W4GAHQ using `WS2P g1test.nordstrom.duniter.org 443: WS2P connection timeout`
2019-03-27T10:16:06+01:00 - debug: WS2P: init: failed connection
2019-03-27T10:16:06+01:00 - info: WS2P: Could not connect to peer 7GG6nP4T using `WS2P legacy.g1test.nordstrom.duniter.org 443: WS2P connection timeout`
2019-03-27T10:16:06+01:00 - info: WS2P: Could not connect to peer JyTqcD4Q using `WS2P gtest.jytou.fr 443: WS2P connection timeout`
2019-03-27T10:16:06+01:00 - debug: WS2P: init: failed connection
2019-03-27T10:16:06+01:00 - debug: WS2P: init: failed connection
2019-03-27T10:16:06+01:00 - info: WS2P: Could not connect to peer Do99s6wQ using `WS2P duniter-g1.p2p.legal 443: WS2P connection timeout`
2019-03-27T10:16:06+01:00 - info: WS2P: Could not connect to peer E7KeCdDS using `WS2P 93.20.61.189 20900: WS2P connection timeout`
```https://git.duniter.org/nodes/typescript/duniter/-/issues/1339In a quick sync on a currency with changed UnitBase, generated b_index may no...2019-02-03T12:24:04+01:00Cédric MoreauIn a quick sync on a currency with changed UnitBase, generated b_index may not be correct about UDhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1337lost peers after new release2019-02-02T02:29:37+01:00nikolost peers after new releasewith windows edition
currently the 1.7.10 does not have peers anymore
happen all the time when there is a new version availablewith windows edition
currently the 1.7.10 does not have peers anymore
happen all the time when there is a new version availablehttps://git.duniter.org/nodes/typescript/duniter/-/issues/1336Fork resolution may fail to recover a consumed source2019-01-30T19:40:11+01:00Cédric MoreauFork resolution may fail to recover a consumed sourceSee https://forum.duniter.org/t/g1-en-fork-bloc-refuse-car-la-transaction-utilise-des-sources-inexistantes/5677See https://forum.duniter.org/t/g1-en-fork-bloc-refuse-car-la-transaction-utilise-des-sources-inexistantes/5677