duniter issueshttps://git.duniter.org/nodes/typescript/duniter/-/issues2018-01-22T23:52:19+01:00https://git.duniter.org/nodes/typescript/duniter/-/issues/104Start a new currency from an existing one2018-01-22T23:52:19+01:00Cédric MoreauStart a new currency from an existing oneGive the ability to start a new currency based on a existing one.
Such a feature is required in case of a severe compromission of the currency either by cryptography obsolescence or protocol weaknesses.
Give the ability to start a new currency based on a existing one.
Such a feature is required in case of a severe compromission of the currency either by cryptography obsolescence or protocol weaknesses.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/354Have an automatically generated doc2017-11-28T16:49:19+01:00Cédric MoreauHave an automatically generated docWe could use http://apidocjs.com as a documentation generator.
Also, examples could be generated by Unit Tests.
We could use http://apidocjs.com as a documentation generator.
Also, examples could be generated by Unit Tests.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/412NaClb build fail with root user2017-11-28T16:49:19+01:00vincentuxNaClb build fail with root userL'installation se passe sur un vps chez OVH
OS : Debian 8 (Jessie) (64 bits)
```
npm WARN ucoin@0.20.0-a57 license should be a valid SPDX license expression
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/root/.duniter/node/bin/node" "/ro...L'installation se passe sur un vps chez OVH
OS : Debian 8 (Jessie) (64 bits)
```
npm WARN ucoin@0.20.0-a57 license should be a valid SPDX license expression
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/root/.duniter/node/bin/node" "/root/.duniter/node/bin/npm" "install"
npm ERR! node v5.9.1
npm ERR! npm v3.7.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! naclb@1.3.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the naclb@1.3.1 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the naclb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs naclb
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls naclb
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/.duniter/npm-debug.log
```
La copie complète :
https://framabin.org/?d1b74f61aad0a578#Kr2KjfiqWPrYFqe0BKhEk7BvUYsKtTe9TmXJ2wDYgzw=
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/440Change account password2018-03-09T10:02:49+01:00Cédric MoreauChange account password*Created by: M5oul*
Could it be possible to change the account password?
Or, it is hard coded in the public key?
*Created by: M5oul*
Could it be possible to change the account password?
Or, it is hard coded in the public key?
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/462XDP: eXtensible Duniter Protocol?2017-11-28T16:49:19+01:00Cédric MoreauXDP: eXtensible Duniter Protocol?*Created by: M5oul*
#### XMPP
You may know that XMPP stand for eXtensible Messaging and Presence Protocol.
XMPP could be extended with XEP, XMPP Extension Protocol.
For instance, there is XEP for file transfert, [VoIP, visioconference...*Created by: M5oul*
#### XMPP
You may know that XMPP stand for eXtensible Messaging and Presence Protocol.
XMPP could be extended with XEP, XMPP Extension Protocol.
For instance, there is XEP for file transfert, [VoIP, visioconference](https://en.wikipedia.org/wiki/Jingle_%28protocol%29), [MAM](https://xmpp.org/extensions/xep-0313.html)…etc
There is also [Extensible Authentication Protocol](https://en.wikipedia.org/wiki/Extensible_Authentication_Protocol).
#### XDP
What could be the advantage for Duniter protocol to be extensible?
This could strengthen Duniter protocol be give the possibility to make evolve the protocol by changing of extension.
I don't know if it could be a great to have this feature.
We could have a base protocol.
Then, have extensions for WoT, transactions or whatever, I am giving ideas.
##### Extensible blockchain protocol
Just an idea, which is bigger than Duniter project would be to have an extensible blockchain protocol to allow extensions to store transactions, membership, properties, DNS records, any kind of documents…
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/469Add install tests2017-11-28T16:49:19+01:00Cédric MoreauAdd install tests*Created by: cchaudier*
Test the installation script.
*Created by: cchaudier*
Test the installation script.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/550Monetary Mass field will overflow2020-05-01T13:08:54+02:00Cédric MoreauMonetary Mass field will overflowCurrently it is displayed as base zero, which has a limited integer size.
Currently it is displayed as base zero, which has a limited integer size.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/557Debian repository2020-04-30T22:10:38+02:00Cédric MoreauDebian repository*Created by: M5oul*
- [Debian tutorial](https://wiki.debian.org/HowToSetupADebianRepository)
It would be great to move releases from GitHub to this repositories.
We could have two repositories:
- a `dektop` one.
- a `server` one.
On t...*Created by: M5oul*
- [Debian tutorial](https://wiki.debian.org/HowToSetupADebianRepository)
It would be great to move releases from GitHub to this repositories.
We could have two repositories:
- a `dektop` one.
- a `server` one.
On this two repositories we need to handle CPU arch: `x64` and `armv7l`.
We could have `stable` and `unstable` repositories. `unstable` one is for alphas and betas.
``` bash
deb http://debian.duniter.org/debian stable main
deb http://debian.duniter.org/debian unstable main
```
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/578Add higher logo resolution for desktop version2017-11-28T16:49:19+01:00Cédric MoreauAdd higher logo resolution for desktop version*Created by: M5oul*
![duniter_logo](https://cloud.githubusercontent.com/assets/4758871/18136673/dd1f60b4-6fa5-11e6-953f-3fbd38208540.png)
*Created by: M5oul*
![duniter_logo](https://cloud.githubusercontent.com/assets/4758871/18136673/dd1f60b4-6fa5-11e6-953f-3fbd38208540.png)
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/596Send success or fail status at the end of command2017-11-28T16:49:17+01:00Cédric MoreauSend success or fail status at the end of command*Created by: M5oul*
I launched this commands:
``` bash
npm i && duniter stop && duniter reset data && duniter sync duniter.org 8999 && duniter start
```
last command was launched while sync command fail.
Duniter command line tool must...*Created by: M5oul*
I launched this commands:
``` bash
npm i && duniter stop && duniter reset data && duniter sync duniter.org 8999 && duniter start
```
last command was launched while sync command fail.
Duniter command line tool must send success or fail status at the end of command execution.
I think it would be great to have it for every duniter commands.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/605Add a developer guide2017-11-28T16:49:17+01:00Cédric MoreauAdd a developer guideToday we have a [French developer guide](https://github.com/duniter/duniter/blob/master/doc/contribute-french.md) for both Linux and Windows. It would be great to have a similar tutorial in English, but also including MacOS (see [this is...Today we have a [French developer guide](https://github.com/duniter/duniter/blob/master/doc/contribute-french.md) for both Linux and Windows. It would be great to have a similar tutorial in English, but also including MacOS (see [this issue encountered by a MacOS user](https://github.com/duniter/duniter/issues/602#issuecomment-248347978)).
Also, this tutorial too much focuses on WebStorm, which is not mandatory to use. We better write a purely editor agnostic tutorial.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/614Add a Dekstop User Guide2017-11-28T16:49:17+01:00Cédric MoreauAdd a Dekstop User GuideA guide for the UI users.
https://forum.duniter.org/t/duniter-desktop-guide/902
A guide for the UI users.
https://forum.duniter.org/t/duniter-desktop-guide/902
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/626Desktop > Create a new currency2017-11-28T16:49:17+01:00Benoit LavenierDesktop > Create a new currencyWhen creating a new currency :
- UserId is not check against regex
- secret key and password should be repeat (confirmation fields)
- Block count :
- default value to 20 - should be 10 or 12 ?
- should be rename in block count for m...When creating a new currency :
- UserId is not check against regex
- secret key and password should be repeat (confirmation fields)
- Block count :
- default value to 20 - should be 10 or 12 ?
- should be rename in block count for median time
- Block count for diff :
- default value to 10 - should be 20 or 25 ?
- msWindow : could not be set ?
- idtyWindow : could not be set ?
In created conf.json file:
- is the property `powDelay` used ?
- is the property `rootoffset` used ?
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/673Document BMA API with swagger2018-03-07T21:33:15+01:00Cédric MoreauDocument BMA API with swagger*Created by: M5oul*
- [Website](http://swagger.io)
- [Example](http://petstore.swagger.io/#/pet)
*Created by: M5oul*
- [Website](http://swagger.io)
- [Example](http://petstore.swagger.io/#/pet)
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/700Function don't seems to exist2017-11-28T16:49:17+01:00Cédric MoreauFunction don't seems to exist*Created by: M5oul*
```bash
2016-11-09T16:18:11+01:00 - info: Stop proof-of-work worker #1
2016-11-09T16:18:11+01:00 - info: Stop proof-of-work worker #2
2016-11-09T16:18:11+01:00 - error: TypeError: written.json is not a function
...*Created by: M5oul*
```bash
2016-11-09T16:18:11+01:00 - info: Stop proof-of-work worker #1
2016-11-09T16:18:11+01:00 - info: Stop proof-of-work worker #2
2016-11-09T16:18:11+01:00 - error: TypeError: written.json is not a function
at /opt/duniter/sources/app/controllers/abstract.js:12:20
at next (native)
at onFulfilled (/opt/duniter/sources/node_modules/co/index.js:65:19)
at process._tickCallback (node.js:412:9)
2016-11-09T16:18:11+01:00 - warn: written.json is not a function
2016-11-09T16:18:12+01:00 - info: GIVEN proof-of-work for block#53671 with 4 leading zeros followed by [0-2]! stop PoW for J78bPU
2016-11-09T16:18:12+01:00 - warn: Proof-of-work computation canceled because block received
```Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/717PB Installation de duniter-desktop sous debian 64 virtualisé virtualbox sous ...2017-11-28T16:49:16+01:00Cédric MoreauPB Installation de duniter-desktop sous debian 64 virtualisé virtualbox sous windows*Created by: bou2fil*
Problème instal sur noeud duniter-desktop sur vm virtualbox debian jessie 64bit, machine hote : windows 10 64 bit
Après avoir installé le paquet Duniter 0.50.2 avec gdebi sous root, j'ai lancé en tapant : dunite...*Created by: bou2fil*
Problème instal sur noeud duniter-desktop sur vm virtualbox debian jessie 64bit, machine hote : windows 10 64 bit
Après avoir installé le paquet Duniter 0.50.2 avec gdebi sous root, j'ai lancé en tapant : duniter-desktop
, il y a la fenetre graphique qui bloque sur du noir et le terminal affiche des trucs ci-dessous :
[1739:1739:1117/171004:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
2016-11-17T17:10:04+01:00 - debug: Opening SQLite database "/home/fil/.config/duniter/duniter_default/duniter.db"...
[1739:1739:1117/171004:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171004:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171004:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171004:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[1739:1739:1117/171005:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x7fa67753a4f0]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
2016-11-17T17:10:05+01:00 - debug: Upgrade database...
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/719autoconfiguer le host sur le reverse dns quand c'est possible.2018-03-14T00:43:20+01:00Cédric Moreauautoconfiguer le host sur le reverse dns quand c'est possible.*Created by: GammaNu*
De même que l'on a `network.getBestLocalIPv4();` il pourrais être intéressant de renseigner un host dans le fichier de config en se basant sur les info reversedns disponnible.
Fonction minimaliste pour récupérer...*Created by: GammaNu*
De même que l'on a `network.getBestLocalIPv4();` il pourrais être intéressant de renseigner un host dans le fichier de config en se basant sur les info reversedns disponnible.
Fonction minimaliste pour récupérer le reverse-dns d'une ip :
```
var dns = require('dns');
function reverseLookup(ip,callback) {
dns.reverse(ip,function(err,domains){
callback(domains[0]);
});
}
```
Un gist sur le reverse ip lookup :
https://gist.github.com/eugenehp/3071295
PS : je ne maitrise pas suffisement l'architecture de duniter pour ajouter directement la fonctionnalité.https://git.duniter.org/nodes/typescript/duniter/-/issues/730Logs are not complete2018-03-07T21:28:51+01:00insoLogs are not completeWhen I start duniter using `duniter start` then `duniter logs`, I only find the following logs :
```
2016-11-25T18:37:05+01:00 - info: External access: testnet.duniter.inso.ovh:80
2016-11-25T18:37:05+01:00 - debug: Generating serve...When I start duniter using `duniter start` then `duniter logs`, I only find the following logs :
```
2016-11-25T18:37:05+01:00 - info: External access: testnet.duniter.inso.ovh:80
2016-11-25T18:37:05+01:00 - debug: Generating server's peering entry based on block#57995...
2016-11-25T18:37:05+01:00 - info: Changing conf to: {"prefix":10} on engine#1
2016-11-25T18:37:05+01:00 - debug: --> new Peer to be sent to 0 peer(s)
2016-11-25T18:37:05+01:00 - info: POST Peer 26emBEjX2Q#57995
2016-11-25T18:37:05+01:00 - info: Next peering signal in 10 min
2016-11-25T18:37:05+01:00 - debug: --> new Peer to be sent to 0 peer(s)
2016-11-25T18:37:05+01:00 - info: POST Peer 26emBEjX2Q#57995
2016-11-25T18:37:05+01:00 - info: Pulling blocks from the network...
2016-11-25T18:37:05+01:00 - info: Will pull blocks from the network in 4 min 0 sec
```
But if I use the command `duniter direct_start`, I can see the cause of the crash :
```
2016-11-25T18:37:05+01:00 - info: Changing conf to: {"prefix":10} on engine#1
2016-11-25T18:37:05+01:00 - debug: --> new Peer to be sent to 0 peer(s)
2016-11-25T18:37:05+01:00 - info: POST Peer 26emBEjX2Q#57995
2016-11-25T18:37:05+01:00 - info: Next peering signal in 10 min
2016-11-25T18:37:05+01:00 - debug: --> new Peer to be sent to 0 peer(s)
2016-11-25T18:37:05+01:00 - info: POST Peer 26emBEjX2Q#57995
2016-11-25T18:37:05+01:00 - info: Pulling blocks from the network...
2016-11-25T18:37:05+01:00 - info: Will pull blocks from the network in 4 min 0 sec
2016-11-25T18:37:06+01:00 - error: Error on WS Server
2016-11-25T18:37:06+01:00 - error: Error: listen EACCES 127.0.0.1:80
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at Server._listen2 (net.js:1221:19)
at listen (net.js:1270:10)
at net.js:1379:9
at _combinedTickCallback (node.js:386:13)
at process._tickCallback (node.js:407:11)
2016-11-25T18:37:06+01:00 - error: Error: listen EACCES 127.0.0.1:80
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at Server._listen2 (net.js:1221:19)
at listen (net.js:1270:10)
at net.js:1379:9
at _combinedTickCallback (node.js:386:13)
at process._tickCallback (node.js:407:11)
/opt/testnet/.duniter$ Killing engine 26emBEjX2QChhsnpfym4E33DwSJJk66dXYoZbg8vAZwB #1
```Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/744Allow to change the Nrp parameters2017-11-28T16:49:16+01:00Cédric MoreauAllow to change the Nrp parametershttps://forum.duniter.org/t/version-0-60-0-protocole-final/1486/2?u=cgeekhttps://forum.duniter.org/t/version-0-60-0-protocole-final/1486/2?u=cgeekHorizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/764Create issues for covering the protocol global rules2018-03-07T22:18:30+01:00Cédric MoreauCreate issues for covering the protocol global rulesWe should aim at covering every single rule of the protocol, at least for the global scope rules.
The idea is to reproduce what has been done in 50886de5c5577f1470fd4e6d8a2931eeabe27ce6.
We should create an issue per rule, so anyon...We should aim at covering every single rule of the protocol, at least for the global scope rules.
The idea is to reproduce what has been done in 50886de5c5577f1470fd4e6d8a2931eeabe27ce6.
We should create an issue per rule, so anyone could take the issue and focus on it.
Eventually, we could go further and do the same (create an issue) for the computation rules (BR_G01 to BR_G48).Horizon