duniter issueshttps://git.duniter.org/nodes/typescript/duniter/-/issues2023-06-06T12:09:59+02:00https://git.duniter.org/nodes/typescript/duniter/-/issues/1134TypeError: res.clone2023-06-06T12:09:59+02:00Cédric MoreauTypeError: res.clone*Created by: brabalan*
I got the following error a few days ago
```
2017-09-30T08:29:14+02:00 - info: Block resolution: 0 potential blocks after current#56730…
2017-09-30T08:38:03+02:00 - info: SIDE Block #56733-000007E2 added ...*Created by: brabalan*
I got the following error a few days ago
```
2017-09-30T08:29:14+02:00 - info: Block resolution: 0 potential blocks after current#56730…
2017-09-30T08:38:03+02:00 - info: SIDE Block #56733-000007E2 added to the blockchain in 99 ms
2017-09-30T08:38:03+02:00 - info: Block resolution: 0 potential blocks after current#56730…
2017-09-30T08:38:03+02:00 - info: Fork resolution: 1 potential block(s) found…
2017-09-30T08:38:04+02:00 - info: Fork resolution: 1 potential suite(s) found…
2017-09-30T08:38:04+02:00 - info: Fork resolution: HEAD = block#56730
2017-09-30T08:38:04+02:00 - info: Fork resolution: suite 1/1 (-> #56733-000007) revert to fork point block#56729
2017-09-30T08:38:06+02:00 - info: Block #56730 added to the blockchain in 465 ms
2017-09-30T08:38:06+02:00 - info: Fork resolution: suite 1/1 added block#56730-000000B1C37C6C75CC681D8784BE6C29D87BFF744DDBBBE0231EE850F700793B
2017-09-30T08:38:06+02:00 - info: Block #56731 added to the blockchain in 236 ms
2017-09-30T08:38:06+02:00 - info: Fork resolution: suite 1/1 added block#56731-0000013EB5C2380EE403BB8D66E91987BFAD77183F7591DEF6F2F4F4FC18E448
2017-09-30T08:38:07+02:00 - info: Block #56732 added to the blockchain in 230 ms
2017-09-30T08:38:07+02:00 - info: Fork resolution: suite 1/1 added block#56732-00000638578AB1F24F698B49CD4B2793DD21777F591608A173C36CE18B4904E6
2017-09-30T08:38:07+02:00 - info: Block #56733 added to the blockchain in 278 ms
2017-09-30T08:38:07+02:00 - info: Fork resolution: suite 1/1 added block#56733-000007E239A33304A6BCBC19F0E566A99FF98F92AD05EBE8673C0D210B1AB153
2017-09-30T08:38:07+02:00 - info: Fork resolution: suite 1/1 reached HEAD + 3. Now rolling back.
2017-09-30T08:38:09+02:00 - info: Block #56730 added to the blockchain in 112 ms
2017-09-30T08:38:09+02:00 - info: Block #56730 added to the blockchain in 119 ms
2017-09-30T08:38:09+02:00 - info: Block #56731 added to the blockchain in 146 ms
2017-09-30T08:38:10+02:00 - info: Block #56732 added to the blockchain in 156 ms
2017-09-30T08:38:10+02:00 - info: Block #56733 added to the blockchain in 249 ms
2017-09-30T08:38:10+02:00 - error: Unhandled rejection: TypeError: res.clone is not a function
2017-09-30T08:38:10+02:00 - error: TypeError: res.clone is not a function
at Server. (/opt/duniter/server.js:293:66)
at next (native)
at /opt/duniter/server.js:7:71
at __awaiter (/opt/duniter/server.js:3:12)
at Server.emitDocument (/opt/duniter/server.js:292:16)
at BlockchainService.pipe.es.mapSync (/opt/duniter/server.js:169:26)
at Stream.write (/opt/duniter/node_modules/event-stream/index.js:204:20)
at Stream.stream.write (/opt/duniter/node_modules/through/index.js:26:11)
at BlockchainService.ondata (_stream_readable.js:555:20)
at emitOne (events.js:96:13)
at BlockchainService.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at BlockchainService.Readable.push (_stream_readable.js:134:10)
at BlockchainService. (/opt/duniter/app/service/BlockchainService.js:218:22)
at next (native)
at fulfilled (/opt/duniter/app/service/BlockchainService.js:4:58)
at process._tickCallback (internal/process/next_tick.js:109:7)
```
After that error my node got stuck computing the same block for 12 hours, until I restarted it. It is working fine now.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1274Revert 200 failed on forked node2023-06-06T12:09:29+02:00insoRevert 200 failed on forked nodeMy node on g1-test was on a fork.
I saw that 200 blocks earlier, I was on the same branch as the other nodes. So I tried to run a revert but it failed :
```
test@vps55093:/opt/gtest/duniter$ ./bin/duniter revert 200
2018-02-08T17:55:...My node on g1-test was on a fork.
I saw that 200 blocks earlier, I was on the same branch as the other nodes. So I tried to run a revert but it failed :
```
test@vps55093:/opt/gtest/duniter$ ./bin/duniter revert 200
2018-02-08T17:55:38+01:00 - debug: Plugging file system...
2018-02-08T17:55:38+01:00 - debug: Loading conf...
2018-02-08T17:55:38+01:00 - debug: Configuration saved.
2018-02-08T17:55:38+01:00 - debug: Opening SQLite database "/opt/gtest/.config/duniter/duniter_default/duniter.db"...
2018-02-08T17:55:38+01:00 - debug: Upgrade database...
2018-02-08T17:55:38+01:00 - info: Block resolution: 0 potential blocks after current#133970...
2018-02-08T17:55:38+01:00 - debug: Reverting block #133970...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133969...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133968...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133967...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133966...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133965...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133964...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133963...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133962...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133961...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133960...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133959...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133958...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133957...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133956...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133955...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133954...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133953...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133952...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133951...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133950...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133949...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133948...
2018-02-08T17:55:39+01:00 - debug: Reverting block #133947...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133946...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133945...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133944...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133943...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133942...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133941...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133940...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133939...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133938...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133937...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133936...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133935...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133934...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133933...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133932...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133931...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133930...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133929...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133928...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133927...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133926...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133925...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133924...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133923...
2018-02-08T17:55:40+01:00 - debug: Reverting block #133922...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133921...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133920...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133919...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133918...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133917...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133916...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133915...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133914...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133913...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133912...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133911...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133910...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133909...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133908...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133907...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133906...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133905...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133904...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133903...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133902...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133901...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133900...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133899...
2018-02-08T17:55:41+01:00 - debug: Reverting block #133898...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133897...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133896...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133895...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133894...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133893...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133892...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133891...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133890...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133889...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133888...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133887...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133886...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133885...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133884...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133883...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133882...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133881...
2018-02-08T17:55:42+01:00 - debug: Reverting block #133880...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133879...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133878...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133877...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133876...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133875...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133874...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133873...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133872...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133871...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133870...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133869...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133868...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133867...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133866...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133865...
2018-02-08T17:55:43+01:00 - debug: Reverting block #133864...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133863...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133862...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133861...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133860...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133859...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133858...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133857...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133856...
2018-02-08T17:55:44+01:00 - debug: Reverting block #133855...
2018-02-08T17:55:44+01:00 - error: Error during revert: TypeError: Cannot read property 'medianTime' of undefined
at Function.prepareSpeed (/opt/gtest/duniter/app/lib/indexer.js:890:71)
at <anonymous>
2018-02-08T17:55:44+01:00 - debug: Trying to close SQLite...
2018-02-08T17:55:44+01:00 - info: Database closed.
```
[duniter_fork_revert_200.db.tar.gz](/uploads/e3e9e8a94697403da62b3d78a015a64d/duniter_fork_revert_200.db.tar.gz)
Also previous state of db is this one : https://git.duniter.org/nodes/typescript/duniter/issues/1275Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/552Add a screen to see the currently computed block2020-05-11T19:42:51+02:00Cédric MoreauAdd a screen to see the currently computed blockAlso show the eventual error thrown by `gen-next` (command or code call), so the user knows its node fails at generating blocks.
Also show the eventual error thrown by `gen-next` (command or code call), so the user knows its node fails at generating blocks.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/555Add a diagnosis feature to check if the node behaves correctly2020-05-11T19:42:08+02:00Cédric MoreauAdd a diagnosis feature to check if the node behaves correctlyThis diagnosis would produce a report that could be uploaded to framabin or something, in order to provide informations to be helped by someone, along with a screen displaying the report in a pretty way.
This diagnosis would produce a report that could be uploaded to framabin or something, in order to provide informations to be helped by someone, along with a screen displaying the report in a pretty way.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/946Add lateral logs2020-05-11T19:41:33+02:00Cédric MoreauAdd lateral logs*Created by: M5oul*
> Opened by @c-geek on https://github.com/duniter/duniter-ui/issues/10:
Instead of only having a dedicated screen, give the abiltity to have side screen for logs.*Created by: M5oul*
> Opened by @c-geek on https://github.com/duniter/duniter-ui/issues/10:
Instead of only having a dedicated screen, give the abiltity to have side screen for logs.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/947Add possibility to translate the interface2020-05-11T19:38:26+02:00Cédric MoreauAdd possibility to translate the interface*Created by: M5oul*
*Created by: M5oul*
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/948Lake of refresh in dashboard2020-05-11T19:37:41+02:00Cédric MoreauLake of refresh in dashboard*Created by: M5oul*
> Opened by @GammaNu on https://github.com/duniter/duniter-ui/issues/20:
In the dashboard, the area : "blocks made by this key" refresh on calculating try but not on calculated number.
It does on manual refresh o...*Created by: M5oul*
> Opened by @GammaNu on https://github.com/duniter/duniter-ui/issues/20:
In the dashboard, the area : "blocks made by this key" refresh on calculating try but not on calculated number.
It does on manual refresh of the page.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1211Install node.js dependency for duniter-ui fails2020-05-11T19:32:39+02:00ÉloïsInstall node.js dependency for duniter-ui failsnpm module installation don't work : "package url has wrong format"npm module installation don't work : "package url has wrong format"Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1271GitLab: Duniter pipelines never succeed2020-05-01T13:18:04+02:00Cédric MoreauGitLab: Duniter pipelines never succeedIt seems that the last step avoid the pipeline to succeed. This is annoying because we cannot see if a MR is passing or not, so we can't judge contributions just with the "green light" of a passing test.
![image](/uploads/83004f1b469190...It seems that the last step avoid the pipeline to succeed. This is annoying because we cannot see if a MR is passing or not, so we can't judge contributions just with the "green light" of a passing test.
![image](/uploads/83004f1b46919076efc860d1ae142469/image.png)Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/630contribute doc : mocha-DefinitelyTyped2020-05-01T12:30:28+02:00Benoit Laveniercontribute doc : mocha-DefinitelyTypedDans le [tuto contribute](https://github.com/duniter/duniter/blob/dev/doc/contribute-french.md#ouvrir-le-projet-duniter) :
```
Rendez-vous dans File > Settings.., puis dans la zone de recherche du coin supérieur gauche tapez "Lib" :
Ic...Dans le [tuto contribute](https://github.com/duniter/duniter/blob/dev/doc/contribute-french.md#ouvrir-le-projet-duniter) :
```
Rendez-vous dans File > Settings.., puis dans la zone de recherche du coin supérieur gauche tapez "Lib" :
Ici, cochez "mocha-DefinitelyTyped" :
```
=> plus necessaire (je n'ai pas eu besoin sous WebStorm 2016.2.2 + duniter 0.31.1)
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/760Error "TypeError: Cannot read property '$null' of null" (on AbstractSQLite.js)2018-08-14T10:24:23+02:00Benoit LavenierError "TypeError: Cannot read property '$null' of null" (on AbstractSQLite.js)J'essai denvoyer une toute petite transaction, en base 2, sur TestNet.
J'obtiens l'erreur suivante :
```
2016-12-16T09:59:22+01:00 - debug: Document write error: TypeError: Cannot read property '$null' of null
at forEach (/ho...J'essai denvoyer une toute petite transaction, en base 2, sur TestNet.
J'obtiens l'erreur suivante :
```
2016-12-16T09:59:22+01:00 - debug: Document write error: TypeError: Cannot read property '$null' of null
at forEach (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:240:17)
at Array.forEach (native)
at toParams (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:239:29)
at /home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:141:20
at next (native)
at onFulfilled (/home/blavenie/git/blavenie/duniter/node_modules/co/index.js:65:19)
at /home/blavenie/git/blavenie/duniter/node_modules/co/index.js:54:5
at co (/home/blavenie/git/blavenie/duniter/node_modules/co/index.js:50:10)
at SourcesDAL.AbstractSQLite.getEntity (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:139:32)
at SourcesDAL.AbstractSQLite.sqlExisting (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:91:39)
at SourcesDAL.getSource (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/SourcesDAL.js:76:50)
at /home/blavenie/git/blavenie/duniter/app/lib/dal/fileDAL.js:406:37
at next (native)
at onFulfilled (/home/blavenie/git/blavenie/duniter/node_modules/co/index.js:65:19)
2016-12-16T09:59:22+01:00 - error: TypeError: Cannot read property '$null' of null
at forEach (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:240:17)
at Array.forEach (native)
at toParams (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:239:29)
at /home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:141:20
at next (native)
at onFulfilled (/home/blavenie/git/blavenie/duniter/node_modules/co/index.js:65:19)
at /home/blavenie/git/blavenie/duniter/node_modules/co/index.js:54:5
at co (/home/blavenie/git/blavenie/duniter/node_modules/co/index.js:50:10)
at SourcesDAL.AbstractSQLite.getEntity (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:139:32)
at SourcesDAL.AbstractSQLite.sqlExisting (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:91:39)
at SourcesDAL.getSource (/home/blavenie/git/blavenie/duniter/app/lib/dal/sqliteDAL/SourcesDAL.js:76:50)
at /home/blavenie/git/blavenie/duniter/app/lib/dal/fileDAL.js:406:37
at next (native)
at onFulfilled (/home/blavenie/git/blavenie/duniter/node_modules/co/index.js:65:19)
```
La TX envoyée semble correcte :
```
Version: 3
Type: Transaction
Currency: test_net
Blockstamp: 63658-0000077EEDE83BD13C4F5DF4D5C5A2D80E74039A7B8C1FFE67EAE41B49802730
Locktime: 0
Issuers:
G2CBgZBPLe6FSFUgpx2Jf1Aqsgta6iib3vmDRA1yLiqU
Inputs:
8:2:T:9C240F0C47859F5DC9D06B212A4560ECEF6AC908930F673C26AC95CFA4270900:5
7:1:T:00A01D8930E8F697100DF34784279FA9B94CCC4FF3E086833450A5884817DAF1:2
Unlocks:
0:SIG(0)
1:SIG(0)
Outputs:
8:2:SIG(5ocqzyDMMWf1V8bsoNhWb1iNwax1e9M7VTUN6navs8of)
7:1:SIG(5ocqzyDMMWf1V8bsoNhWb1iNwax1e9M7VTUN6navs8of)
Comment:
```
A noter qu'il s'agit des dernières sources du compte utilisé.HorizonBenoit LavenierBenoit Lavenierhttps://git.duniter.org/nodes/typescript/duniter/-/issues/581Create a duniter-core repository2018-04-24T13:47:24+02:00Cédric MoreauCreate a duniter-core repositoryIf git subtrees works well, I plan to extract the Duniter core code into a specific repository named `duniter-core` in order to have the heart of Duniter separated from the peripheric code. The main goal of this separation is to clarifif...If git subtrees works well, I plan to extract the Duniter core code into a specific repository named `duniter-core` in order to have the heart of Duniter separated from the peripheric code. The main goal of this separation is to clarifify what is core code and what is not, and make the core code the most possibly simple.
Simplicity and clarity will be our best allies to discover and fix the eventual core bugs. And core is what makes the currency live.
Concretely, this code will gather the protocol rules implementation and Unit Tests about it. The block generation won't be part of the core.
This new relation between Duniter and duniter-core will be a good occasion to refactor some parts of the core code which today _isn't used for block generation_, whereas the core is the best tool to forge new blocks since it gathers all the rules which defines what is a good block and what isn't.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/722COAP API suggestion2018-03-08T09:16:42+01:00insoCOAP API suggestionHello,
COAP API is like REST but over UDP.
http://coap.technology/
It seems really appealing for a P2P application like Duniter. It is designed to handle millions of nodes.
- There are a lot of implementation, for Python, Ja...Hello,
COAP API is like REST but over UDP.
http://coap.technology/
It seems really appealing for a P2P application like Duniter. It is designed to handle millions of nodes.
- There are a lot of implementation, for Python, Java, NodeJS... : http://coap.technology/impls.html
- There are HTTP to COAP proxies existing : https://github.com/ibm-security-innovation/crosscoap which could be useful for testing before going on a full implementation.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/724Network auto-conf choose local IP4 as global IP42018-03-08T08:52:11+01:00Cédric MoreauNetwork auto-conf choose local IP4 as global IP4*Created by: M5oul*
Changing port with UPnP conf do not change the port on the router.*Created by: M5oul*
Changing port with UPnP conf do not change the port on the router.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/507"Server: STOPPED" persists until changing tabs.2018-03-08T08:50:41+01:00Cédric Moreau"Server: STOPPED" persists until changing tabs.*Created by: Idyllei*
If I restart the node from the web interface, the server status changes to "Server: STOPPED" until I change to a different tab and back to "Overview." Once I do that, it changes back to "Server: STARTED"
I am on W...*Created by: Idyllei*
If I restart the node from the web interface, the server status changes to "Server: STOPPED" until I change to a different tab and back to "Overview." Once I do that, it changes back to "Server: STARTED"
I am on Windows 10 Pro and am using Duniter 0.20.2.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/661Handle HTTPS/TLS on BMA API2018-03-07T21:59:30+01:00Cédric MoreauHandle HTTPS/TLS on BMA API*Created by: M5oul*
[19:56:45] <inso> pour cesium / duniter, il faudra vraiment que duniter permettre le https...
[19:57:01] <inso> parce que devoir entrer son mot de passe dans une appli téléchargée en http (donc facilement injectable)...*Created by: M5oul*
[19:56:45] <inso> pour cesium / duniter, il faudra vraiment que duniter permettre le https...
[19:57:01] <inso> parce que devoir entrer son mot de passe dans une appli téléchargée en http (donc facilement injectable), ça craint quand meme
[20:01:56] <Moul> Tout à fait. Ça pourrait être rajouter un port dans l’API BMA pour le https ?
Ça serait top également qu’on utilise les certificats de toile de confiance en tant que certificat pour l’https :)
[21:39:25] <inso> Moul : je pensais sinon à un paramètre "SSL" sur l'api BMA
[21:39:33] <inso> On / Off
[21:39:53] <inso> Et si le nœud supporte les modes On / off pour le SSL/TLS, il créé deux endpoints
[21:40:03] <inso> Sur 2 ports distincts
[21:41:13] <Moul> Oui, ça serait top !
[08:27:13] <cgeek> inso: Duniter supporte déjà l'HTTPS pour accéder à l'UI. Pour ce qui de BMA par contre, je ne vois pas l'intérêt ?
[08:28:12] <cgeek> inso: pour faire du HTTPS pour l'UI, il suffit simplement de placer du HTTPS sur nginx qui fait reverse proxy vers l'UI HTTP
[08:28:47] <cgeek> car dans tous les cas il faut un certificat et gérer un DNS, donc, c'est un travail d'administrateur
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/598Use an url path instead of a port number?2018-03-07T21:43:26+01:00Cédric MoreauUse an url path instead of a port number?*Created by: M5oul*
As mentioned by @blavenie on the chat room:
> [09:35:16] <kimamila> cgeek: ce Peut on configurer Duniter pour publier une adresse de noeud du genre : "https://duniter.fr/test_net"
I have ever think to use a solutio...*Created by: M5oul*
As mentioned by @blavenie on the chat room:
> [09:35:16] <kimamila> cgeek: ce Peut on configurer Duniter pour publier une adresse de noeud du genre : "https://duniter.fr/test_net"
I have ever think to use a solution like that for Duniter and Cesium YunoHost apps to facilitate connections.
This is to [solve https issues to join nodes with Cesium app](https://github.com/duniter/cesium/issues/122#issuecomment-247609242).
It could be done with a proxy conf.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/1225Peer always UP!2018-02-02T16:22:07+01:00stephanePeer always UP!In Duniter database the status of peer table is not updated when a peer is DOWN. I'm using the 1.6.14 version but I think that this issue comes from several anterior versions.
In this case, Duniter/WS2P try to connect to offline peers a...In Duniter database the status of peer table is not updated when a peer is DOWN. I'm using the 1.6.14 version but I think that this issue comes from several anterior versions.
In this case, Duniter/WS2P try to connect to offline peers and wait the timeout before to pass to another peer.
In the logs, this is indicated by:
WS2P: Could not connect to peer xxx using xxx: WS2P connection timeout`
error: Unhandled rejection: WS2P connection timeout
error: WS2P connection timeout
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/790Add release script for duniter modules2018-01-23T10:19:00+01:00Cédric MoreauAdd release script for duniter modules* https://github.com/duniter/duniter-bma
* https://github.com/duniter/duniter-keypair
* https://github.com/duniter/duniter-ui
* https://github.com/duniter/duniter-crawler
* https://github.com/duniter/duniter-prover
* https://github....* https://github.com/duniter/duniter-bma
* https://github.com/duniter/duniter-keypair
* https://github.com/duniter/duniter-ui
* https://github.com/duniter/duniter-crawler
* https://github.com/duniter/duniter-prover
* https://github.com/duniter/duniter-common
So anybody can modify them (in the duniter team) and make them available for next builds.Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/668System service for Duniter daemon2018-01-21T17:35:28+01:00Cédric MoreauSystem service for Duniter daemon*Created by: M5oul*
A systemd file could handle it.
[Ticket about issues encounters with YunoHost package](https://github.com/duniter/duniter_ynh/issues/21).
This systemd file could be installed with Debian package. May be as on [Movi...*Created by: M5oul*
A systemd file could handle it.
[Ticket about issues encounters with YunoHost package](https://github.com/duniter/duniter_ynh/issues/21).
This systemd file could be installed with Debian package. May be as on [Movim package](https://github.com/movim/movim/blob/master/debian/lib/systemd/system/movim.service).
Horizon