duniter issueshttps://git.duniter.org/nodes/typescript/duniter/-/issues2018-01-27T07:27:45+01:00https://git.duniter.org/nodes/typescript/duniter/-/issues/972Many [object Object] on WoT crawling2018-01-27T07:27:45+01:00Cédric MoreauMany [object Object] on WoT crawling*Created by: M5oul*
```bash
2017-05-10T19:33:39+02:00 - info: ⬇ CERT ArcfiCb3FWBonodGtiznCdBdCH5EJTLUdAFHR4nRM4zf block#13785 -> florck
2017-05-10T19:33:39+02:00 - info: ✘ CERT ArcfiCb3FWBonodGtiznCdBdCH5EJTLUdAFHR4nRM4zf [object Obje...*Created by: M5oul*
```bash
2017-05-10T19:33:39+02:00 - info: ⬇ CERT ArcfiCb3FWBonodGtiznCdBdCH5EJTLUdAFHR4nRM4zf block#13785 -> florck
2017-05-10T19:33:39+02:00 - info: ✘ CERT ArcfiCb3FWBonodGtiznCdBdCH5EJTLUdAFHR4nRM4zf [object Object]
2017-05-10T19:33:39+02:00 - info: ⬇ CERT 4DVWFcDQFm6XEkz56HPFYX7QA8QW2z4pxsJhmUpWw94W block#13908 -> florck
2017-05-10T19:33:39+02:00 - info: ✘ CERT 4DVWFcDQFm6XEkz56HPFYX7QA8QW2z4pxsJhmUpWw94W [object Object]
2017-05-10T19:33:40+02:00 - info: ⬇ IDTY 3BTGo9e1KtHfgHQSEXvyie8RBGDtgSMuGaB8EVAc5GeK Ekiben
2017-05-10T19:33:40+02:00 - info: ⬇ CERT 5kpscasQx9p45TXJxtGV17G1Fw9URmMeqouz3x8FNYpB block#15221 -> Ekiben
2017-05-10T19:33:40+02:00 - info: ✘ CERT 5kpscasQx9p45TXJxtGV17G1Fw9URmMeqouz3x8FNYpB [object Object]
2017-05-10T19:33:40+02:00 - info: ⬇ CERT 5kpscasQx9p45TXJxtGV17G1Fw9URmMeqouz3x8FNYpB block#15228 -> Ekiben
2017-05-10T19:33:40+02:00 - info: ✘ CERT 5kpscasQx9p45TXJxtGV17G1Fw9URmMeqouz3x8FNYpB [object Object]
2017-05-10T19:33:40+02:00 - info: ⬇ CERT 5kpscasQx9p45TXJxtGV17G1Fw9URmMeqouz3x8FNYpB block#15247 -> Ekiben
2017-05-10T19:33:40+02:00 - info: ✘ CERT 5kpscasQx9p45TXJxtGV17G1Fw9URmMeqouz3x8FNYpB [object Object]
2017-05-10T19:33:40+02:00 - info: ⬇ CERT 5kpscasQx9p45TXJxtGV17G1Fw9URmMeqouz3x8FNYpB block#15416 -> Ekiben
2017-05-10T19:33:40+02:00 - info: ✘ CERT 5kpscasQx9p45TXJxtGV17G1Fw9URmMeqouz3x8FNYpB [object Object]
2017-05-10T19:33:40+02:00 - info: ⬇ CERT EhjcQYHFyFU4wzznaaNvjibKbkpWwtjEQrLTXZuPf9wK block#15627 -> Ekiben
2017-05-10T19:33:40+02:00 - info: ✘ CERT EhjcQYHFyFU4wzznaaNvjibKbkpWwtjEQrLTXZuPf9wK [object Object]
2017-05-10T19:33:41+02:00 - info: ⬇ CERT 5WD4WSHE96ySreSwQFXPqaKaKcwboRNApiPHjPWB6V9C block#15653 -> Ekiben
2017-05-10T19:33:41+02:00 - info: ✘ CERT 5WD4WSHE96ySreSwQFXPqaKaKcwboRNApiPHjPWB6V9C [object Object]
2017-05-10T19:33:46+02:00 - info: ⬇ 3BTGo9e1KtHfgHQSEXvyie8RBGDtgSMuGaB8EVAc5GeK IN
2017-05-10T19:33:46+02:00 - info: ⬇ IDTY GwhyPg6tiESpArzQ2oXXNq7aHPFwBHxp21Eqkf2fvRQV YanickChareille
2017-05-10T19:33:46+02:00 - info: ⬇ CERT 4iwyu6St2K7K4TrsbS7JvjUqT2ndw1vXFXWE3ttki6uk block#15377 -> YanickChareille
2017-05-10T19:33:46+02:00 - info: ✘ CERT 4iwyu6St2K7K4TrsbS7JvjUqT2ndw1vXFXWE3ttki6uk [object Object]
2017-05-10T19:33:46+02:00 - info: ⬇ CERT 78jhpprYkMNF6i5kQPXfkAVBpd2aqcpieNsXTSW4c21f block#15524 -> YanickChareille
2017-05-10T19:33:46+02:00 - info: ✘ CERT 78jhpprYkMNF6i5kQPXfkAVBpd2aqcpieNsXTSW4c21f [object Object]
2017-05-10T19:33:46+02:00 - info: ⬇ CERT 38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE block#15825 -> YanickChareille
2017-05-10T19:33:46+02:00 - info: ✘ CERT 38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE [object Object]
2017-05-10T19:33:47+02:00 - info: ⬇ CERT 79XB4UPxMJsURb2PbiKQDAEUH6fV557ZuS6Nin2pp7ji block#17097 -> YanickChareille
2017-05-10T19:33:47+02:00 - info: ✘ CERT 79XB4UPxMJsURb2PbiKQDAEUH6fV557ZuS6Nin2pp7ji [object Object]
```1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/986Modules: duniter should be a peerDependency2018-01-27T07:27:44+01:00Cédric MoreauModules: duniter should be a peerDependencyAccording to [this article on Node.js blog](https://nodejs.org/en/blog/npm/peer-dependencies/), I understand that any Duniter module should have:
```json
{
"name": "duniter-module",
"peerDependencies": {
"duniter": "^1.3.0...According to [this article on Node.js blog](https://nodejs.org/en/blog/npm/peer-dependencies/), I understand that any Duniter module should have:
```json
{
"name": "duniter-module",
"peerDependencies": {
"duniter": "^1.3.0"
}
}
```
But also, we should have certain modules as peerDependencies of Duniter:
```json
{
"name": "duniter",
"peerDependencies": {
"duniter-common": "^1.3.0",
"duniter-keypair": "^1.3.0",
"duniter-bma": "^1.3.0",
"duniter-crawler": "^1.3.0",
"duniter-prover": "^1.3.0",
"duniter-ui": "^1.3.0"
}
}
```1.3.0Cédric MoreauCédric Moreauhttps://git.duniter.org/nodes/typescript/duniter/-/issues/977Move fast block appliance to duniter core2018-01-27T07:27:44+01:00Cédric MoreauMove fast block appliance to duniter coreCurrently the fast appliance logic is in duniter-crawler, but that's a flaw: if this module implements incorrectly the duniter core rules, all the network might have inconsistencies.
It is better to give this work to duniter core.Currently the fast appliance logic is in duniter-crawler, but that's a flaw: if this module implements incorrectly the duniter core rules, all the network might have inconsistencies.
It is better to give this work to duniter core.1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/982Publish the announce of 1.3.0 on the blog2018-01-27T07:27:44+01:00Cédric MoreauPublish the announce of 1.3.0 on the blogFrom now on, the new versions will be displayed on the blog:
* https://duniter.org/fr
* https://duniter.org/en (when the site is ready)From now on, the new versions will be displayed on the blog:
* https://duniter.org/fr
* https://duniter.org/en (when the site is ready)1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/987Remove "dl starts" logs2018-01-27T07:27:44+01:00Cédric MoreauRemove "dl starts" logs1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/942Remove server.lib references2018-01-27T07:27:44+01:00Cédric MoreauRemove server.lib referencesThis syntax in modules was a migration facility at the time we exploded duniter specific stuff into modules.
But the injection should not be done via `server.lib`, but by adding other modules or enriching thoses existing.This syntax in modules was a migration facility at the time we exploded duniter specific stuff into modules.
But the injection should not be done via `server.lib`, but by adding other modules or enriching thoses existing.1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/984Restart ĞTest with 1.3.02018-01-27T07:27:44+01:00Cédric MoreauRestart ĞTest with 1.3.01.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/994Sandbox pulling is too much frequent2018-01-27T07:27:44+01:00Cédric MoreauSandbox pulling is too much frequentAs said in #968. We could have only 1 sync / day, because the push mechanism should be enough. Also each time a node successfully pulls a new document, it shares it again through the push mechanism.
So 1 per day should really be enough.As said in #968. We could have only 1 sync / day, because the push mechanism should be enough. Also each time a node successfully pulls a new document, it shares it again through the push mechanism.
So 1 per day should really be enough.1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/1001Signature does not match2018-01-27T07:27:44+01:00Cédric MoreauSignature does not matchThis error seems to be raised by several nodes these days. However, if we copy the DB to another computer, then the issue cannot be reproduced. We can eventually reproduce the issue even when restarting the node, but the priviledged meth...This error seems to be raised by several nodes these days. However, if we copy the DB to another computer, then the issue cannot be reproduced. We can eventually reproduce the issue even when restarting the node, but the priviledged method to debug this issue is to debug with node-inspector + signal SIGUSR1.1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/995Simulate next inclusion of newcomers2018-01-27T07:27:44+01:00Cédric MoreauSimulate next inclusion of newcomersWhen we look at https://g1-monit.elois.org/willMembers?lg=fr, we always wonder which combinations will be used by Duniter to include new members.
It would be useful to be able to simulate this, by fixing the medianTime value of curren...When we look at https://g1-monit.elois.org/willMembers?lg=fr, we always wonder which combinations will be used by Duniter to include new members.
It would be useful to be able to simulate this, by fixing the medianTime value of current block temporarily, not in the DB.
For example, with this command:
```bash
duniter gen-next --show --check --at 1495731720
```
This would simulate the next block with a simulation that our current `medianTime = 1495731720`, which is 2017/5/25 19:02:00.1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/988Sync: also sync the sandboxes2018-01-27T07:27:44+01:00Cédric MoreauSync: also sync the sandboxesWe can trigger a sandbox pulling at the end of the sync, just after the peers for example.We can trigger a sandbox pulling at the end of the sync, just after the peers for example.1.3.0https://git.duniter.org/nodes/typescript/duniter/-/issues/985Transaction history: wrong match with the pubkey2018-01-27T07:27:44+01:00Cédric MoreauTransaction history: wrong match with the pubkeySee https://github.com/duniter/sakia/issues/696.
The `SindexDAL` should make a perfect match with `=` sign.See https://github.com/duniter/sakia/issues/696.
The `SindexDAL` should make a perfect match with `=` sign.1.3.0Cédric MoreauCédric Moreauhttps://git.duniter.org/nodes/typescript/duniter/-/issues/991Wrong loading with autoStack in a module2018-01-27T07:27:44+01:00Cédric MoreauWrong loading with autoStack in a moduleWhen we make a new module, depending on `duniter` and calling `duniter.statics.autoStack()`, the stack tries to find the modules in `node_modules/duniter/package.json` instead of local `package.json`.
This behavior could be fixed by a...When we make a new module, depending on `duniter` and calling `duniter.statics.autoStack()`, the stack tries to find the modules in `node_modules/duniter/package.json` instead of local `package.json`.
This behavior could be fixed by adding a 2nd parameter to autoStack(), giving the directory where to look at:
```js
autoStack: (priorityModules, dir) => {
const pjson = require(path.join(dir || __dirname, './package.json'));
// [...]
}
```
And on the call side:
```js
const stack = require('duniter').statics.autoStack([{
name: 'duniter-hello',
required: require('./index')
}], __dirname)
```
Or with #989:
```js
require('duniter').statics.quickRun(__dirname, './index.js')
```1.3.0