duniter issueshttps://git.duniter.org/nodes/typescript/duniter/-/issues2023-06-16T11:43:45+02:00https://git.duniter.org/nodes/typescript/duniter/-/issues/1450Sync: too many call to dal.trimIndexes()2023-06-16T11:43:45+02:00Benoit LavenierSync: too many call to dal.trimIndexes()During synchronization, the function dal.trimIndexes() is called for each block after the first ~100 blocks. This function is resource-intensive as it attempts to trim each LevelDB or SQLite DAL.
A more efficient approach would be to tr...During synchronization, the function dal.trimIndexes() is called for each block after the first ~100 blocks. This function is resource-intensive as it attempts to trim each LevelDB or SQLite DAL.
A more efficient approach would be to trim only occasionally, specifically when a buffer is full. For instance, if the buffer size equals twice the required Bindex size, it should reduce the number of calls by a factor of ~100.https://git.duniter.org/nodes/typescript/duniter/-/issues/1448TXs not stored anymore (v1.8.7-rc1)2023-06-15T15:40:10+02:00Benoit LavenierTXs not stored anymore (v1.8.7-rc1)https://git.duniter.org/nodes/typescript/duniter/-/issues/1443Could not find `protoc`2023-05-23T22:01:16+02:00Cédric MoreauCould not find `protoc`When running `cargo build` on Ubuntu (on Raspberry PI 4), I get an "Could not find `protoc`" error.
I did read the "Setup your environment" paragraph.When running `cargo build` on Ubuntu (on Raspberry PI 4), I get an "Could not find `protoc`" error.
I did read the "Setup your environment" paragraph.Cédric MoreauCédric Moreauhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1440Optimize BMA `/wot/certifiers-of/:search` and `/wot/certified-by/:search`2023-06-16T12:40:33+02:00Benoit LavenierOptimize BMA `/wot/certifiers-of/:search` and `/wot/certified-by/:search`I need to optimize BMA call to:
- `/wot/certifiers-of/:search`
- and `/wot/certified-by/:search`
To keep compatibility with existing clients, we can add a query param `?pubkey` to enable search on pubkey only. This should avoid uid sear...I need to optimize BMA call to:
- `/wot/certifiers-of/:search`
- and `/wot/certified-by/:search`
To keep compatibility with existing clients, we can add a query param `?pubkey` to enable search on pubkey only. This should avoid uid search, full scan, etc.
See this post : https://forum.duniter.org/t/bma-ameliorer-les-temps-de-reponse-de-wot-requirements-search/11138Optimize1.8.7Benoit LavenierBenoit Lavenierhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1439Long response time of `/tx/requirements/:search`2023-06-16T12:40:17+02:00Benoit LavenierLong response time of `/tx/requirements/:search`BMA call to `/tx/requirements/:search` is quite long in the g1 network.
Ex : [`/wot/requirements/38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE`](`https://duniter.pini.fr/wot/requirements/38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE`) took...BMA call to `/tx/requirements/:search` is quite long in the g1 network.
Ex : [`/wot/requirements/38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE`](`https://duniter.pini.fr/wot/requirements/38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE`) took from 2s to 30s
See this post : https://forum.duniter.org/t/bma-ameliorer-les-temps-de-reponse-de-wot-requirements-search/111381.8.7Benoit LavenierBenoit Lavenierhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1438Long response time of `/tx/sources/:pubkey`2023-06-16T12:39:32+02:00Benoit LavenierLong response time of `/tx/sources/:pubkey`BMA call to `/tx/sources/:pubkey` is quite long.BMA call to `/tx/sources/:pubkey` is quite long.1.8.7Benoit LavenierBenoit Lavenierhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1433Distance rule is not consistent between Duniter 1.7 and 1.82022-08-19T14:51:49+02:00Cédric MoreauDistance rule is not consistent between Duniter 1.7 and 1.8See: https://forum.duniter.org/t/quand-la-regle-de-distance-est-elle-re-evaluee/9624/30?u=cgeek
[A bug has been found in dubp-wot](https://git.duniter.org/nodes/rust/duniter-core/-/issues/1).See: https://forum.duniter.org/t/quand-la-regle-de-distance-est-elle-re-evaluee/9624/30?u=cgeek
[A bug has been found in dubp-wot](https://git.duniter.org/nodes/rust/duniter-core/-/issues/1).Cédric MoreauCédric Moreauhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1432fake issue to test gitbot2021-06-11T01:31:45+02:00Éloïsfake issue to test gitbotfake issuefake issuehttps://git.duniter.org/nodes/typescript/duniter/-/issues/1431Duniter listens to [::]:8888 even if not asked by BMA/GVA/WS2P2021-06-05T17:31:43+02:00Cédric MoreauDuniter listens to [::]:8888 even if not asked by BMA/GVA/WS2POn commit 3fbf29f71ad7885f13c5e95ec4f856fd2c0f1d92.
Start Duniter, then `netstat -tunelp` shows:
tcp6 0 0 :::8888 :::* LISTEN 1001 1141843 12995/node
However, I never con...On commit 3fbf29f71ad7885f13c5e95ec4f856fd2c0f1d92.
Start Duniter, then `netstat -tunelp` shows:
tcp6 0 0 :::8888 :::* LISTEN 1001 1141843 12995/node
However, I never configured such listening for BMA/WS2P, and GVA is disabled.Cédric MoreauCédric Moreauhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1430`sync` uses too much RAM, even without GVA enabled2021-05-31T23:01:53+02:00Cédric Moreau`sync` uses too much RAM, even without GVA enabledI cannot sync anymore on GT with my Raspberry PI 4 with 4GB of RAM.I cannot sync anymore on GT with my Raspberry PI 4 with 4GB of RAM.Cédric MoreauCédric Moreauhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1429`dev` branch does not compile on ARM x642021-05-25T19:47:29+02:00Cédric Moreau`dev` branch does not compile on ARM x64Stacktrace in attachment.
[stacktrace.txt](/uploads/df55e1dafe51503c86daaff33f61c2fe/stacktrace.txt)Stacktrace in attachment.
[stacktrace.txt](/uploads/df55e1dafe51503c86daaff33f61c2fe/stacktrace.txt)Cédric MoreauCédric Moreauhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1428Install Duniter on Debian 10 miss `sudo apt install build-essential`2021-05-24T01:45:45+02:00pokaInstall Duniter on Debian 10 miss `sudo apt install build-essential`If you have this error on `cargo xtask build` :
```
error: linker `cc` not found
```
You have to do:
`sudo apt install build-essential`
You also have to install cmake manually: https://linuxhint.com/install-cmake-on-debian-10/
You s...If you have this error on `cargo xtask build` :
```
error: linker `cc` not found
```
You have to do:
`sudo apt install build-essential`
You also have to install cmake manually: https://linuxhint.com/install-cmake-on-debian-10/
You should add this on README.mdhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1427Introduce pre-commit to replace rusty-hook2021-05-17T22:39:28+02:00MoulIntroduce pre-commit to replace rusty-hook- [x] Introduce `pre-commit` hooks:
- [x] Rust checkers `fmt`, `cargo check`, `clippy`
- [x] GitLab CI linter
- [x] Document `pre-commit` usage
- [x] Get rid of `rusty-hook` which is less convenient- [x] Introduce `pre-commit` hooks:
- [x] Rust checkers `fmt`, `cargo check`, `clippy`
- [x] GitLab CI linter
- [x] Document `pre-commit` usage
- [x] Get rid of `rusty-hook` which is less convenient2.0MoulMoulhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1426Allow wider Node.js versions range2021-05-17T22:32:13+02:00MoulAllow wider Node.js versions range2.0MoulMoulhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1425Honor X-Real-IP and / or X-Forwarded-For when behind a reverse proxy2021-04-17T14:57:52+02:00piniHonor X-Real-IP and / or X-Forwarded-For when behind a reverse proxyHi,
When behind a reverse proxy, the log reports the proxy's IP address instead of the client's. Please provide a way to honor the 'X-Real-IP' and / or 'X-Forwarded-For' headers to retrieve the actual client's IP address.
I guess this ...Hi,
When behind a reverse proxy, the log reports the proxy's IP address instead of the client's. Please provide a way to honor the 'X-Real-IP' and / or 'X-Forwarded-For' headers to retrieve the actual client's IP address.
I guess this is needed for the `dos` whitelist to be effective as well.
I'm aware that these headers can be spoofed by the client. Several methods exist to mitigate this. See for example how it is done for the PeerTube service, using a list of trusted proxies' CIDRs.
Thanks in advance for considering.https://git.duniter.org/nodes/typescript/duniter/-/issues/1424[GVA] Add request to get network peers with enough info to make a real p2p cl...2021-04-21T22:29:34+02:00Vincent Texier[GVA] Add request to get network peers with enough info to make a real p2p clientI have made a python helper to help client keep a list of consensus blockchain nodes.
See : https://forum.duniter.org/t/fonction-daide-pour-avoir-un-vrai-client-python-p2p/7821
The BMA API needs two requests to get all info of nodes (`...I have made a python helper to help client keep a list of consensus blockchain nodes.
See : https://forum.duniter.org/t/fonction-daide-pour-avoir-un-vrai-client-python-p2p/7821
The BMA API needs two requests to get all info of nodes (`network/ws2p/heads`, `network/peers`).
GVA should be able to provide one request only.
Response should be a paginated list of nodes, a `Node` is an object with `Head` document and `Peer` document together.
```json
Node {
Head: {
version: int,
signature: str,
api: str,
pubkey: str,
blockstamp: BlockUID {
number: int,
hash: str
},
ws2pid: str,
software: str,
software_version: str,
pow_prefix: str,
free_member_room: int,
free_mirror_room: int
},
Peer: {
version: int,
currency: str,
pubkey: str,
block_uid: BlockUID {
number: int,
hash: str
},
endpoints: [str, ...],
signature: str
}
}
```
----
To not bind the `Node` object to the ws2p protocol `Head` document, we can put `Head` relevant information directly in the `Node` properties:
```json
Node {
pubkey: str,
blockstamp: BlockUID {
number: int,
hash: str
},
software: str,
software_version: str,
Peer: {
version: int,
currency: str,
pubkey: str,
block_uid: BlockUID {
number: int,
hash: str
},
endpoints: [str, ...],
signature: str
}
}
```
With the drawback that we do not have the `Head` signature anymore.1.9https://git.duniter.org/nodes/typescript/duniter/-/issues/1420dockerfile ?2020-10-24T12:56:19+02:00timothedockerfile ?est ce qu'il pourrait y avoir un dockerfile afin de permettre de lancer le projet sur n'importe quel environnementest ce qu'il pourrait y avoir un dockerfile afin de permettre de lancer le projet sur n'importe quel environnementhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1418Installation link returns 404 Not Found2020-09-27T20:28:44+02:00Raphaël PinelInstallation link returns 404 Not FoundGo to [https://duniter.org/en/wiki/duniter/install/#desktop-version](https://duniter.org/en/wiki/duniter/install/#desktop-version)
Under 'Windows'
Search for
'Go to the release page to get a link to the last stable release.'
![Screensho...Go to [https://duniter.org/en/wiki/duniter/install/#desktop-version](https://duniter.org/en/wiki/duniter/install/#desktop-version)
Under 'Windows'
Search for
'Go to the release page to get a link to the last stable release.'
![Screenshot_2020-09-14_at_13.01.28](/uploads/d5fc15ae367ed94db769434f4480cdb4/Screenshot_2020-09-14_at_13.01.28.png)
Click on the link: https://git.duniter.org/nodes/typescript/duniter/-/wikis/Releases
it returns a 404 Not found pagehttps://git.duniter.org/nodes/typescript/duniter/-/issues/1416Changer les droits de keyring.yml2020-10-04T18:26:32+02:00Stéphane VeyretChanger les droits de keyring.ymlSi j'ai bien compris, le fichier `keyring.yml` contient la clé publique **et la clé privée** de l'utilisateur. Or, d'après mes tests, ce fichiers est créé avec les droits 644, ce qui veut dire que n'importe quelle personne ayant un accès...Si j'ai bien compris, le fichier `keyring.yml` contient la clé publique **et la clé privée** de l'utilisateur. Or, d'après mes tests, ce fichiers est créé avec les droits 644, ce qui veut dire que n'importe quelle personne ayant un accès à la machine peut aller en lire le contenu.
Pour des raisons de sécurité, il faudrait créer ce fichier avec les droit 640. J'irai même plus loin, je pense qu'il serait bien de faire comme, par exemple, SSH, c'est-à-dire refuser de démarrer si le fichier est accessible en lecture par tout le monde.1.9https://git.duniter.org/nodes/typescript/duniter/-/issues/1414Desktop variant need nodejs installed on the system2020-06-16T17:51:35+02:00ÉloïsDesktop variant need nodejs installed on the systemmaybe link to https://git.duniter.org/nodes/typescript/modules/duniter-uimaybe link to https://git.duniter.org/nodes/typescript/modules/duniter-ui1.9