Skip to content
Snippets Groups Projects
Commit 26816c77 authored by Éloïs's avatar Éloïs
Browse files

Merge branch 'dev2'

parents 6c5b665c 22a803ac
No related branches found
No related tags found
No related merge requests found
Showing with 182 additions and 47 deletions
node_modules node_modules
yarn.lock
\ No newline at end of file
...@@ -20,27 +20,11 @@ push_to_github: ...@@ -20,27 +20,11 @@ push_to_github:
- mv packed-refs-new packed-refs - mv packed-refs-new packed-refs
- bash -c "git push --force --mirror github 2>&1 | grep -v duniter-gitlab; echo $?" - bash -c "git push --force --mirror github 2>&1 | grep -v duniter-gitlab; echo $?"
enforce_readme:
stage: github-sync
variables:
GIT_STRATEGY: none
tags:
- github
script:
- rm -rf ./*
- rm -rf .git
- git clone $GITHUB_URL_AND_KEY .
- git config --global user.email "contact@duniter.org"
- git config --global user.name "Duniter"
- git checkout master
- cat .github/github_disclaimer.md > README.md.new
- cat README.md >> README.md.new
- mv README.md.new README.md
- git commit -am "Enforce github readme"
- git push origin master
publish: publish:
stage: deploy stage: deploy
image: node:6.12-alpine
tags:
- nodejs
only: only:
- tags - tags
- triggers - triggers
......
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Currency-Monit",
"program": "${workspaceRoot}/run.js",
"args": ["currency-monit"]
}
]
}
\ No newline at end of file
LG en
VERSION Version
AUTHOR Author
CONTRIBUTORS Others Contributors
LICENSE license
GIT_REPOSITORY git repository
IF_YOU_WANT If you want you can
DISABLE_HELP disable help
DONATE You can support the development of this module by a gift in Ğ1
\ No newline at end of file
LG fr
VERSION Version
AUTHOR Auteur
CONTRIBUTORS Autres contributeurs
LICENSE licence
GIT_REPOSITORY dépôt git
IF_YOU_WANT Si vous le souhaitez vous pouvez
DISABLE_HELP désactiver l'aide
DONATE Vous pouvez soutenir le développement de ce module par un don en Ğ1
\ No newline at end of file
SUBMIT_BUTTON submit SUBMIT_BUTTON submit
WRITTEN_BLOCKS Written blocks
BLOCKCHAIN blockchain
SINCE_BECOME_MEMBER since become member
MEAN_NONCE Mean nonce
RANGE members have written blocks in the range
BEGIN Begin
END End
NB_BLOCKS Number of written Blocks
PERCENT_OF_WRITTEN_BLOCKS Percent of written Blocks
DETAIL_BY_NODE detail by node
SIGNIFICANT_LIMIT significant limit
PERCENT_OF_BLOCKS % of blocks
\ No newline at end of file
SUBMIT_BUTTON recharger SUBMIT_BUTTON recharger
WRITTEN_BLOCKS blocs écrits
BLOCKCHAIN blockchain
SINCE_BECOME_MEMBER par chaque membre depuis qu'il est devenu membre
MEAN_NONCE Nonce moyen
RANGE membres ayant écrit des blocs sur la période
BEGIN Début
END Fin
NB_BLOCKS Nombre de blocs écrits
PERCENT_OF_WRITTEN_BLOCKS % de blocs écrits
DETAIL_BY_NODE detail par noeud
SIGNIFICANT_LIMIT noeud significatif à partir de
PERCENT_OF_BLOCKS % de blocs
\ No newline at end of file
SUBMIT_BUTTON submit
DISTRIBUTION_QUALITY gaussian distribution of quality members
IF_NO_SENTRIES If the concept of referring members didn't exist
NEXT_YN Feign the following Y[n] landing
QUALITY quality
PERCENT_REACHED % of referring members reached
NB_REACHED number of referring members reached
\ No newline at end of file
SUBMIT_BUTTON recharger
DISTRIBUTION_QUALITY distribution gaussienne de la qualité des membres
IF_NO_SENTRIES si le concept de membre référent n'existait pas
NEXT_YN Simuler le palier Y[n] suivant
QUALITY qualité
PERCENT_REACHED % de nombres référents atteints
NB_REACHED nombre de membres référents atteints
\ No newline at end of file
...@@ -18,3 +18,6 @@ MEMBERS_COUNT members ...@@ -18,3 +18,6 @@ MEMBERS_COUNT members
SENTRIES_COUNT referring* members SENTRIES_COUNT referring* members
ISSUERS_COUNT Members co-writers blockchain ISSUERS_COUNT Members co-writers blockchain
POW_MIN Common difficulty network (proof of work) POW_MIN Common difficulty network (proof of work)
MAX max
POINTS points
REGULATE_BY_ADAPTING regulate by adapting
\ No newline at end of file
...@@ -17,3 +17,6 @@ MEMBERS_COUNT Membres ...@@ -17,3 +17,6 @@ MEMBERS_COUNT Membres
SENTRIES_COUNT Membres référents* SENTRIES_COUNT Membres référents*
ISSUERS_COUNT Membres co-écrivains de la blockchain Ğ1 ISSUERS_COUNT Membres co-écrivains de la blockchain Ğ1
POW_MIN Difficulté commune du réseau (preuve de travail) POW_MIN Difficulté commune du réseau (preuve de travail)
MAX max
POINTS points
REGULATE_BY_ADAPTING réguler en adaptant
\ No newline at end of file
...@@ -30,7 +30,7 @@ PROPORTION_OF_EXIST_PATH Percent of pairs directed for which there is a path of ...@@ -30,7 +30,7 @@ PROPORTION_OF_EXIST_PATH Percent of pairs directed for which there is a path of
MEAN_LENGTH_PATH mean length shortest path MEAN_LENGTH_PATH mean length shortest path
WOT_TENSION_FACTOR Wot tension factor* WOT_TENSION_FACTOR Wot tension factor*
DATA_AT Data at DATA_AT Data at
meanMembersReachedByMembersInSingleExtCert Mean members/sentries reached in single member/sentry certification meanMembersReachedByMembers Mean members/sentries reached in single member/sentry certification
SENTRIES_REACHED sentries reached SENTRIES_REACHED sentries reached
MEMBERS_REACHED members reached MEMBERS_REACHED members reached
SENTRY_CERT sentry certification SENTRY_CERT sentry certification
...@@ -40,6 +40,8 @@ PROPORTION_MEMBERS_WITH_QUALITY_UPPER_1 Proportion of members with an upper qual ...@@ -40,6 +40,8 @@ PROPORTION_MEMBERS_WITH_QUALITY_UPPER_1 Proportion of members with an upper qual
CURRENT_BLOCKCHAIN_TIME Current blockchain time CURRENT_BLOCKCHAIN_TIME Current blockchain time
TABLE_TITLE Members that will expire in less than TABLE_TITLE Members that will expire in less than
DAYS days DAYS days
OF_WHICH of which
ARE_REFERRING_MEMBERS are referrings
COL_UID uid COL_UID uid
COL_IDTY_WRITTEN_TIME identity written time COL_IDTY_WRITTEN_TIME identity written time
COL_LAST_RENEWAL last renewal COL_LAST_RENEWAL last renewal
...@@ -60,5 +62,9 @@ EMITTED emitted ...@@ -60,5 +62,9 @@ EMITTED emitted
WRITTEN written WRITTEN written
INVALID_BLOCKSTAMP invalid blockstamp INVALID_BLOCKSTAMP invalid blockstamp
CERT_AVAILABLE available CERT_AVAILABLE available
OVERALL Overall MEMBERS members
NEXT_YN Feign the following Y[n] landing
MEMBER_FILTER search a member
EXPIRE_TIME expiration datetime
RANDOM_LIST Draw lots
MEMBERS members MEMBERS members
\ No newline at end of file
...@@ -30,7 +30,7 @@ PROPORTION_OF_EXIST_PATH Proportion de couples orientés pour lesquels il existe ...@@ -30,7 +30,7 @@ PROPORTION_OF_EXIST_PATH Proportion de couples orientés pour lesquels il existe
MEAN_LENGTH_PATH Longueur moyenne d'un plus court chemin MEAN_LENGTH_PATH Longueur moyenne d'un plus court chemin
WOT_TENSION_FACTOR Facteur de tension de la toile* WOT_TENSION_FACTOR Facteur de tension de la toile*
DATA_AT Données au DATA_AT Données au
meanMembersReachedByMembersInSingleExtCert Taux moyen de membres joiniables via une seule certification meanMembersReachedByMembers Taux moyen de membres joiniables via une seule certification
MEMBER_CERT certification d'un membre MEMBER_CERT certification d'un membre
MEMBERS_REACHED membres joiniables MEMBERS_REACHED membres joiniables
SENTRY_CERT certification d'un membre référent SENTRY_CERT certification d'un membre référent
...@@ -40,6 +40,8 @@ PROPORTION_MEMBERS_WITH_QUALITY_UPPER_1 Proportion de membre avec une qualité > ...@@ -40,6 +40,8 @@ PROPORTION_MEMBERS_WITH_QUALITY_UPPER_1 Proportion de membre avec une qualité >
CURRENT_BLOCKCHAIN_TIME Temps Blockchain actuel CURRENT_BLOCKCHAIN_TIME Temps Blockchain actuel
TABLE_TITLE Membres dont le statut de membre va expirer dans moins de TABLE_TITLE Membres dont le statut de membre va expirer dans moins de
DAYS jours DAYS jours
OF_WHICH dont
ARE_REFERRING_MEMBERS sont référents
COL_UID uid COL_UID uid
COL_IDTY_WRITTEN_TIME obtention statut membre COL_IDTY_WRITTEN_TIME obtention statut membre
COL_LAST_RENEWAL dernier renouvellement COL_LAST_RENEWAL dernier renouvellement
...@@ -60,5 +62,9 @@ EMITTED émise ...@@ -60,5 +62,9 @@ EMITTED émise
WRITTEN écrite WRITTEN écrite
INVALID_BLOCKSTAMP blockstamp incorrect INVALID_BLOCKSTAMP blockstamp incorrect
CERT_AVAILABLE disponible CERT_AVAILABLE disponible
OVERALL Total MEMBERS membres
NEXT_YN Simuler le palier Y[n] suivant
MEMBER_FILTER rechercher un membre
EXPIRE_TIME date et heure d'expiration
RANDOM_LIST Tirer au sort
MEMBERS membres MEMBERS membres
\ No newline at end of file
...@@ -2,7 +2,8 @@ LG en ...@@ -2,7 +2,8 @@ LG en
WILL_MEMBERS willMembers WILL_MEMBERS willMembers
MEMBERS members MEMBERS members
MEMBERS_COUNT membersCount MEMBERS_COUNT membersCount
WOTEX wotex
GAUSSIAN_WOT_QUALITY gaussianWotQuality
BLOCK_COUNT blockCount BLOCK_COUNT blockCount
MONETARY_MASS monetaryMass MONETARY_MASS monetaryMass
WOTEX wotex
ABOUT about ABOUT about
\ No newline at end of file
...@@ -2,6 +2,8 @@ LG fr ...@@ -2,6 +2,8 @@ LG fr
WILL_MEMBERS futurs membres WILL_MEMBERS futurs membres
MEMBERS listes des membres MEMBERS listes des membres
MEMBERS_COUNT nombre de membres MEMBERS_COUNT nombre de membres
WOTEX wotex
GAUSSIAN_WOT_QUALITY qualité toile
BLOCK_COUNT nombre de blocs BLOCK_COUNT nombre de blocs
MONETARY_MASS masse monétaire MONETARY_MASS masse monétaire
WOTEX wotex WOTEX wotex
......
SUBMIT_BUTTON submit SUBMIT_BUTTON submit
DESC1 The currency will be full when the money supply by member will be worth
UD UD
FULL_CURRENCY_FORMULA because 1/c * dtReeval/dt =
CURRENTLY Currently
AND_WE_HAVE and we have
DESC2 members. Thus in full currency we would have a total money supply of
MEMBER member
BEGIN Begin
END End
QUANTITATIVE quantitative
RELATIVE relative
PERCENT_OF_FULL_CURRENCY percent of full currency
MASS_BY_MEMBERS mass by members
TOTAL_MASS total mass
LOGARITHMIC logarithmic
LINEAR linear
MONETARY_MASS monetaryMass
IN_PERCENT_OF_FULL_CURRENCY in % of full currency
PERCENT_VARIATION_MONETARY_MASS % of variation of the monetary mass
BY_MEMBERS by members
IN_THE_RANGE in the range
\ No newline at end of file
SUBMIT_BUTTON recharger SUBMIT_BUTTON recharger
DESC1 La monnaie sera pleine lorsque la masse monétaire par membre atteindra
The currency will be full when the money supply by member will be worth
UD DU
FULL_CURRENCY_FORMULA car 1/c * dtReeval/dt
CURRENTLY Actuellement
AND_WE_HAVE et nous sommes
DESC2 membres. Donc si la monnaie était pleine nous aurions une masse totale de
MEMBER membre
BEGIN Début
END Fin
QUANTITATIVE quantitatif
RELATIVE relatif
PERCENT_OF_FULL_CURRENCY pourcentage de monnaie pleine
MASS_BY_MEMBERS masse par membre
TOTAL_MASS masse totale
LOGARITHMIC logarithmique
LINEAR linéaire
MONETARY_MASS masse monetaire
IN_PERCENT_OF_FULL_CURRENCY en % de monnaie pleine
PERCENT_VARIATION_MONETARY_MASS % de variation de la masse monétaire
BY_MEMBER par membre
IN_THE_RANGE dans la période
\ No newline at end of file
...@@ -30,25 +30,28 @@ MEAN_SENTRIES_REACHED mean sentries reached ...@@ -30,25 +30,28 @@ MEAN_SENTRIES_REACHED mean sentries reached
MEAN_QUALITY_CERTS Quality averages of the set of certifications MEAN_QUALITY_CERTS Quality averages of the set of certifications
MEAN_MEMBERS_REACHED mean members reached MEAN_MEMBERS_REACHED mean members reached
IDENTITY Identity IDENTITY Identity
MEMBERSHIP_CASE membership case MEMBERSHIP_CASE_FULL complete case ?
DISTANCE_RULE distance
COL_4 List of received certifications (recent -> old) COL_4 List of received certifications (recent -> old)
COL_4_WITH_AVAIlABILITY_SORT List of received certifications (by availability time) COL_4_WITH_AVAIlABILITY_SORT List of received certifications (by availability time)
PUBKEY_PART pubkey (first 16 characters)
EMITTE emitted
EMITTED_ON emitted on EMITTED_ON emitted on
AT_BLOCK at block EXPIRE_TIME expiration datetime
EXPIRE_ON expire on
KO KO KO KO
OK OK OK OK
MEMBERSHIP_ASKED Membership asked MEMBERSHIP_NOT_ASKED Membership not asked
YES yes YES yes
NO no NO no
QUALITY_CERTIFIERS quality certifiers QUALITY_CERTIFIERS package quality
DISTANCE Distance DISTANCE Distance
CERTIFIERS_COUNT certifiers count CERTS certifications
QUALITY quality QUALITY quality
SIG_PERIOD_OK available SIG_PERIOD_OK available
IDTY_REVOKED [identity revoked] IDTY_REVOKED [identity revoked]
INVALID_BLOCKSTAMP invalid blockstamp INVALID_BLOCKSTAMP invalid blockstamp
LAST_TR1 total LAST_TR1 total
LAST_TR2 identities LAST_TR2 identities
LICENSE licence GPL-3.0 ON_WOTEX on wotex
SRC source code IDTY_FILTER filter identities
MISS it's missing
...@@ -30,25 +30,28 @@ MEAN_SENTRIES_REACHED Taux moyen de membres référents joiniables ...@@ -30,25 +30,28 @@ MEAN_SENTRIES_REACHED Taux moyen de membres référents joiniables
MEAN_QUALITY_CERTS Qualité moyenne par groupe de certifications reçues MEAN_QUALITY_CERTS Qualité moyenne par groupe de certifications reçues
MEAN_MEMBERS_REACHED Taux moyen de membres joiniables MEAN_MEMBERS_REACHED Taux moyen de membres joiniables
IDENTITY Identité IDENTITY Identité
MEMBERSHIP_CASE dossier d'adhésion MEMBERSHIP_CASE_FULL dossier complet ?
DISTANCE_RULE distance
COL_4 liste des certifications reçues (récentes -> anciennes) COL_4 liste des certifications reçues (récentes -> anciennes)
COL_4_WITH_AVAIlABILITY_SORT liste des certifications reçues (par date de disponibilité) COL_4_WITH_AVAIlABILITY_SORT liste des certifications reçues (par date de disponibilité)
PUBKEY_PART clé publique (16 premiers caractères)
EMITTED émise
EMITTED_ON émise le EMITTED_ON émise le
AT_BLOCK au bloc EXPIRE_TIME date et heure d'expiration
EXPIRE_ON expire le
KO KO KO KO
OK OK OK OK
MEMBERSHIP_ASKED Adhésion demandée MEMBERSHIP_NOT_ASKED Adhésion non demandée
YES oui YES oui
NO non NO non
QUALITY_CERTIFIERS qualité certificateurs QUALITY_CERTIFIERS qualité dossier
DISTANCE Distance DISTANCE Distance
CERTIFIERS_COUNT Nombre de certificateurs CERTS certifications
QUALITY qualité QUALITY qualité
SIG_PERIOD_OK disponible SIG_PERIOD_OK disponible
IDTY_REVOKED [identité revoquée] IDTY_REVOKED [identité revoquée]
INVALID_BLOCKSTAMP blockstamp incorrect INVALID_BLOCKSTAMP blockstamp incorrect
LAST_TR1 total LAST_TR1 total
LAST_TR2 identités LAST_TR2 identités
LICENSE licence GPL-3.0 ON_WOTEX sur wotex
SRC code source IDTY_FILTER filtrer les identités
MISS il manque
...@@ -2,9 +2,18 @@ ...@@ -2,9 +2,18 @@
module.exports = { module.exports = {
USE_WOTB6: false, USE_WOTB6: false,
DEFAULT_LANGUAGE: "fr",
MIN_WILLMEMBERS_UPDATE_FREQ: 180, MIN_WILLMEMBERS_UPDATE_FREQ: 180,
MIN_MEMBERS_UPDATE_FREQ: 180, MIN_MEMBERS_UPDATE_FREQ: 180,
STEP_COUNT_MIN: 4, STEP_COUNT_MIN: 4,
STEP_COUNT_MAX: 150, STEP_COUNT_MAX: 150,
MIN_CACHE_UPDATE_FREQ: 150 // 2 min 30 (150 sec) MIN_CACHE_UPDATE_FREQ: 150, // 2 min 30 (150 sec)
MIN_WOT_QUALITY_CACHE_UPDATE_FREQ: 300,
QUALITY_CACHE_ACTION : {
GET_QUALITY: 0,
GET_MEANS: 1,
INIT: 2,
GET_SENTRIES_COUNT: 3,
GET_D_SEN: 3
}
}; };
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment