Bloc résolution: Zéro bloc potentiel après bloc zéro

guilder-test

#21

comme ça?

admin@Gildurklaus:/var/lib/duniter/.config/duniter/duniter_default$ sudo sqlite3 duniter.db
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
sqlite> 
sqlite> INSERT INTO membership VALUES ( "IN", "4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR", 0, 0, "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "folatt", "0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "5DA0B40CCABE81DC559CA0A73B025FD047510CF19302028E435EE425D35007B1", 0, NULL, 2000000000, "NWRhMGI0MGNjYWJlODFkYzU1OWNhMGE3M2IwMjVmZDA0NzUxMGNmMTkzMDIwMjhlNDM1ZWU0MjVkMzUwMDdiMQ==", NULL );
sqlite> INSERT INTO membership VALUES ( "IN", "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx", 0, 0, "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "folatt2", "0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "9D821EB140FE97D1C792D519EBDAD1824A80CC72A075F67D8C7144D893046372", 0, NULL, 2000000000, "OWQ4MjFlYjE0MGZlOTdkMWM3OTJkNTE5ZWJkYWQxODI0YTgwY2M3MmEwNzVmNjdkOGM3MTQ0ZDg5MzA0NjM3Mg==", NULL );
sqlite> INSERT INTO block VALUES ( 0, "", "a92e9eea09031d15f5b207757a364a2d2e0b54e2a0d8e2eb728ef1581314f3f8", "", "guilder-test", "4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR", "0.000054218:86400:100:100:300000:604800:31536000:3:604800:604800:0.9:35136000:320:960:10:0.6666666666666666:1489675722:1489675722:2629800", NULL, NULL, 10, 1, 0, NULL, 1523173253, NULL, 0, 1523173253, 0, 0, 0, '[]', '["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0: OWQ4MjFlYjE0MGZlOTdkMWM3OTJkNTE5ZWJkYWQxODI0YTgwY2M3MmEwNzVmNjdkOGM3MTQ0ZDg5MzA0NjM3Mg==", "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0: NWRhMGI0MGNjYWJlODFkYzU1OWNhMGE3M2IwMjVmZDA0NzUxMGNmMTkzMDIwMjhlNDM1ZWU0MjVkMzUwMDdiMQ=="]', '["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx: 0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt", "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR: 0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt2"]', '["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx: 0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855: 0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt", "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR: 0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855: 0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt2"]', '[]', '[]', '[]', '[]', NULL, NULL, 0, 0, 0, 0 );

J’obtiens la même erreur

duniter.log

2018-04-26T16:18:36+02:00 - ^[[36mdebug^[[39m: Plugging file system...
2018-04-26T16:18:37+02:00 - ^[[36mdebug^[[39m: Loading conf...
2018-04-26T16:18:37+02:00 - ^[[36mdebug^[[39m: Configuration saved.
2018-04-26T16:18:37+02:00 - ^[[36mdebug^[[39m: Opening SQLite database "/var/lib/duniter/.config/duniter/duniter_default/duniter.db"...
2018-04-26T16:18:37+02:00 - ^[[36mdebug^[[39m: Upgrade database...
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: Block resolution: 0 potential blocks for root block...
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: >> Server starting...
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: NodeJS version: v9.4.0
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: Node version: 1.6.22
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: Node pubkey: 4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: Duniter server listening on http://[2001:983:8610:1:8a:4ff:fec2:a55a]:10901
2018-04-26T16:18:39+02:00 - ^[[33mwarn^[[39m: Local node is not a member. Waiting to be a member before computing a block.
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: Sibling endpoints:
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: BMA access: 2001:983:8610:1:8a:4ff:fec2:a55a:10901
2018-04-26T16:18:39+02:00 - ^[[36mdebug^[[39m: Generating server's peering entry based on block#0...
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m:  ^ ^  PEER 4FE3bGwD
2018-04-26T16:18:39+02:00 - ^[[32minfo^[[39m: Next peering signal in 31 min
2018-04-26T16:18:41+02:00 - ^[[32minfo^[[39m: >> Server ready!
2018-04-26T16:18:41+02:00 - ^[[32minfo^[[39m: Block resolution: 0 potential blocks for root block...
2018-04-26T16:28:39+02:00 - ^[[33mwarn^[[39m: Security trigger: proof-of-work process seems stuck
2018-04-26T16:28:39+02:00 - ^[[33mwarn^[[39m: Local node is not a member. Waiting to be a member before computing a block.
2018-04-26T16:28:41+02:00 - ^[[32minfo^[[39m: Block resolution: 0 potential blocks for root block...
2018-04-26T16:38:39+02:00 - ^[[33mwarn^[[39m: Security trigger: proof-of-work process seems stuck
2018-04-26T16:38:39+02:00 - ^[[33mwarn^[[39m: Local node is not a member. Waiting to be a member before computing a block.
2018-04-26T16:38:41+02:00 - ^[[32minfo^[[39m: Block resolution: 0 potential blocks for root block...
2018-04-26T16:48:39+02:00 - ^[[33mwarn^[[39m: Security trigger: proof-of-work process seems stuck
2018-04-26T16:48:39+02:00 - ^[[33mwarn^[[39m: Local node is not a member. Waiting to be a member before computing a block.
2018-04-26T16:48:41+02:00 - ^[[32minfo^[[39m: Block resolution: 0 potential blocks for root block...
2018-04-26T16:50:39+02:00 - ^[[32minfo^[[39m: Sibling endpoints:
2018-04-26T16:50:39+02:00 - ^[[32minfo^[[39m: BMA access: 2001:983:8610:1:8a:4ff:fec2:a55a:10901
2018-04-26T16:50:39+02:00 - ^[[36mdebug^[[39m: Generating server's peering entry based on block#0...
2018-04-26T16:50:39+02:00 - ^[[31merror^[[39m:  httpCode=400, ucode=2023, message=Peer document already known
2018-04-26T16:50:39+02:00 - ^[[32minfo^[[39m: Next peering signal in 32 min

conf.json

{
 "currency": "guilder-test",
 "endpoints": [
  "BASIC_MERKLE_API guilder-test.eu.org 10901"
 ],
 "rmEndpoints": [],
 "upInterval": 3600000,
 "c": 0.000054218,
 "dt": 86400,
 "dtReeval": 2629800,
 "udTime0": 1489675722,
 "udReevalTime0": 1489675722,
 "ud0": 100,
 "stepMax": 3,
 "sigPeriod": 100,
 "sigValidity": 31536000,
 "msValidity": 31536000,
 "sigQty": 2,
 "xpercent": 0.9,
 "percentRot": 0.6666666666666666,
 "powDelay": 1200,
 "avgGenTime": 960,
 "dtDiffEval": 10,
 "medianTimeBlocks": 320,
 "httplogs": false,
 "udid2": false,
 "timeout": 3000,
 "isolate": false,
 "forksize": 100,
 "switchOnHeadAdvance": 3,
 "sync": {},
 "host": "guilder-test.eu.org",
 "port": 10901,
 "ipv6": "2001:983:8610:1:8a:4ff:fec2:a55a",
 "msPeriod": 604800,
 "loglevel": "debug",
 "cpu": 0.6,
 "upnp": false,
 "dos": {
  "whitelist": [
   "127.0.0.1"
  ],
  "maxcount": 50,
  "burst": 20,
  "limit": 40,
  "maxexpiry": 10,
  "checkinterval": 1,
  "trustProxy": true,
  "includeUserAgent": true,
  "errormessage": "Error",
  "testmode": false,
  "silent": false,
  "silentStart": false,
  "responseStatus": 429
 },
 "sigStock": 300000,
 "sigWindow": 604800,
 "idtyWindow": 604800,
 "msWindow": 604800,
 "rootoffset": 0,
 "nbCores": 2,
 "prefix": 1,
 "nobma": false,
 "bmaWithCrawler": false,
 "proxiesConf": {
  "reachingClearEp": "clear",
  "forceTor": false
 },
 "ws2p": {
  "uuid": "76174009",
  "privateAccess": true,
  "publicAccess": true,
  "preferedOnly": false,
  "privilegedOnly": false,
  "upnp": true
 },
 "remoteipv6": "2001:983:8610:1:8a:4ff:fec2:a55a",
 "remoteport": 10901
}

#22

Tout est dis il me semble. Est-ce que tu as configuré ton noeud avec la privée d’un compte qui est dans le bloc zéro ?


#23

J’ai rempli le Bloc Zéro avec deux “certifications, identités et rejoiners”.

# ["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0:
OWQ4MjFlYjE0MGZlOTdkMWM3OTJkNTE5ZWJkYWQxODI0YTgwY2M3MmEwNzVmNjdkOGM3MTQ0ZDg5MzA0NjM3Mg==",
"4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0:
NWRhMGI0MGNjYWJlODFkYzU1OWNhMGE3M2IwMjVmZDA0NzUxMGNmMTkzMDIwMjhlNDM1ZWU0MjVkMzUwMDdiMQ=="] # issuer#1:issuer#2:id of block#0: Some kind of Base64 encoding.
21|certifications|TEXT|0||0

# ["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:
   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt",
   "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:
   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt2"] - issuer#1:issuer#2:hashlib.sha256('').hexdigest():username.
22|identities|TEXT|0||0

# ["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:
   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:
   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt",
   "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:
   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:
   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt2"] - issuer#1:issuer#2:hashlib.sha256('').hexdigest():username.
23|joiners|TEXT|0||0

Les documents des membres

member1 = {
	"Version: 2\n", 
	"Type: Membership\n",
	"Currency: guilder-test\n",
	"Issuer: 4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR\n",
	"Membership: IN\n",
	"UserID: folatt\n",
	"CertTS: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855\n"
}

member2 = {
	"Version: 2\n", 
	"Type: Membership\n",
	"Currency: guilder-test\n",
	"Issuer: 4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx\n",
	"Membership: IN\n",
	"UserID: folatt2\n",
	"CertTS: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855\n"
}

#24

Est-ce que tu as défini les clés utilisés par ton noeud ? Sinon, as-tu changé les paramètres de la toile de confiance ? Pour être membre il faut avoir 5 certifications, donc si ta toile n’a que 2 membres ça va être difficile :wink:


#25

Sans compter que, autant coder un entier en hexa ça coûte rien en temps de calcul si c’est bien programmé (des simples manipulations de bits - masque et rotation), autant coder un très gros entier en base 58 ça peut être assez coûteux (divisions, modulos)…


#26

Je ne suis pas sûr de ce que vous voulez dire par là, mais mes clés en public proviennent de keyring.yml.

admin@Gildurklaus:/var/lib/duniter/.config/duniter/duniter_default$ cat keyring.yml 
pub: "4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR"
0.000054218:86400:100:100:300000
  
"c": "0.000054218",
"dt": "86400",
"ud0": "100",
"sigPeriod": "100",
"sigStock": "300000",

604800:31536000:1:604800:604800

"sigWindow": 604800,
"sigValidity": 31536000,
"sigQty": 1, 
"idtyWindow": 604800,
"msWindow": 604800,

0.9:35136000:3:320:960

"xpercent": 0.9,
"msValidity": 31536000
"stepMax": 3
"medianTimeBlocks": 20,
"avgGenTime": 960,

10:0.6666666666666666:1489675722:1489675722:2629800

"dtDiffEval": 10,
"percentRot": 0.6666666666666666,
"udTime0": 1489675722,
"udReevalTime0": 1489675722,
"dtReeval": 2629800,

“udTime0” et “udReevalTime0” me manquent.
J’ai édité conf.json.
J’ai toujours la même erreur.

J’ajusterai la quantité de la signature à la baisse sigQty à un.


#27

conf.json

{
 "currency": "guilder-test",
 "endpoints": [
  "BASIC_MERKLE_API guilder-test.eu.org 10901"
 ],
 "rmEndpoints": [],
 "upInterval": 3600000,
 "c": 0.000054218,
 "dt": 86400,
 "dtReeval": 2629800,
 "ud0": 100,
 "stepMax": 3,
 "sigPeriod": 100,
 "sigValidity": 31536000,
 "msValidity": 31536000,
 "sigQty": 1,
 "xpercent": 0.9,
 "percentRot": 0.6666666666666666,
 "powDelay": 1200,
 "avgGenTime": 960,
 "dtDiffEval": 10,
 "medianTimeBlocks": 320,
 "httplogs": false,
 "udid2": false,
 "timeout": 3000,
 "isolate": false,
 "forksize": 100,
 "switchOnHeadAdvance": 3,
 "udTime0": 1489675722,
 "udReevalTime0": 1489675722,
 "sync": {},
 "host": "guilder-test.eu.org",
 "port": 10901,
 "ipv6": "2001:983:8610:1:8a:4ff:fec2:a55a",
 "msPeriod": 604800,
 "loglevel": "debug",
 "cpu": 0.6,
 "upnp": false,
 "dos": {
  "whitelist": [
   "127.0.0.1"
  ],
  "maxcount": 50,
  "burst": 20,
  "limit": 40,
  "maxexpiry": 10,
  "checkinterval": 1,
  "trustProxy": true,
  "includeUserAgent": true,
  "errormessage": "Error",
  "testmode": false,
  "silent": false,
  "silentStart": false,
  "responseStatus": 429
 },
 "sigStock": 300000,
 "sigWindow": 604800,
 "idtyWindow": 604800,
 "msWindow": 604800,
 "rootoffset": 0,
 "nbCores": 2,
 "prefix": 1,
 "nobma": false,
 "bmaWithCrawler": false,
 "proxiesConf": {
  "reachingClearEp": "clear",
  "forceTor": false
 },
 "ws2p": {
  "uuid": "76174009",
  "privateAccess": true,
  "publicAccess": true,
  "preferedOnly": false,
  "privilegedOnly": false,
  "upnp": true
 },
 "remoteipv6": "2001:983:8610:1:8a:4ff:fec2:a55a",
 "remoteport": 10901
}

duniter.db

sqlite> select * from membership;
IN|4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR|0|0|E3B0C44298FC1C149AFBF4C8996F
B92427AE41E4649B934CA495991B7852B855|folatt|0-E3B0C44298FC1C149AFBF4C8996FB92427
AE41E4649B934CA495991B7852B855|0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934
CA495991B7852B855|E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B8
55|5DA0B40CCABE81DC559CA0A73B025FD047510CF19302028E435EE425D35007B1|0||200000000
0|NWRhMGI0MGNjYWJlODFkYzU1OWNhMGE3M2IwMjVmZDA0NzUxMGNmMTkzMDIwMjhlNDM1ZWU0MjVkMz
UwMDdiMQ==|

IN|4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx|0|0|E3B0C44298FC1C149AFBF4C8996F
B92427AE41E4649B934CA495991B7852B855|folatt2|0-E3B0C44298FC1C149AFBF4C8996FB9242
7AE41E4649B934CA495991B7852B855|0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B93
4CA495991B7852B855|E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B
855|9D821EB140FE97D1C792D519EBDAD1824A80CC72A075F67D8C7144D893046372|0||20000000
00|OWQ4MjFlYjE0MGZlOTdkMWM3OTJkNTE5ZWJkYWQxODI0YTgwY2M3MmEwNzVmNjdkOGM3MTQ0ZDg5M
zA0NjM3Mg==|


sqlite> select * from cert;
4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx|4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4t
gK8HuXEwR|5DA0B40CCABE81DC559CA0A73B025FD047510CF19302028E435EE425D35007B1|NWRhM
GI0MGNjYWJlODFkYzU1OWNhMGE3M2IwMjVmZDA0NzUxMGNmMTkzMDIwMjhlNDM1ZWU0MjVkMzUwMDdiM
Q==|0|E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855|0|0|0|||1
550000000|0

4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR|4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2y
i9TR1ZMjx|9D821EB140FE97D1C792D519EBDAD1824A80CC72A075F67D8C7144D893046372|OWQ4M
jFlYjE0MGZlOTdkMWM3OTJkNTE5ZWJkYWQxODI0YTgwY2M3MmEwNzVmNjdkOGM3MTQ0ZDg5MzA0NjM3M
g==|0|E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855|0|0|0|||1
550000000|0


sqlite> select * from block;
0||a92e9eea09031d15f5b207757a364a2d2e0b54e2a0d8e2eb728ef1581314f3f8||guilder-tes
t|4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR|0.000054218:86400:100:100:300000:
604800:31536000:3:604800:604800:0.9:35136000:320:960:10:0.6666666666666666:14896
75722:1489675722:2629800|||10|1|0||1523173253||0|1523173253|0|0|0|[]|["4FE3bGwDN
wsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx
:0:OWQ4MjFlYjE0MGZlOTdkMWM3OTJkNTE5ZWJkYWQxODI0YTgwY2M3MmEwNzVmNjdkOGM3MTQ0ZDg5M
zA0NjM3Mg==","4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87
NCEnwgKqTipH4tgK8HuXEwR:0:NWRhMGI0MGNjYWJlODFkYzU1OWNhMGE3M2IwMjVmZDA0NzUxMGNmMT
kzMDIwMjhlNDM1ZWU0MjVkMzUwMDdiMQ=="]|["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuX
EwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0-e3b0c44298fc1c149afbf4c8996fb
92427ae41e4649b934ca495991b7852b855:folatt","4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2y
i9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0-e3b0c44298fc1c149afbf4c
8996fb92427ae41e4649b934ca495991b7852b855:folatt2"]|["4FE3bGwDNwsjLzAKF7f87NCEnw
gKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0-e3b0c44298fc1c
149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:0-e3b0c44298fc1c149afbf4c8996
fb92427ae41e4649b934ca495991b7852b855:folatt","4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp
2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0-e3b0c44298fc1c149afbf
4c8996fb92427ae41e4649b934ca495991b7852b855:0-e3b0c44298fc1c149afbf4c8996fb92427
ae41e4649b934ca495991b7852b855:folatt2"]|[]|[]|[]|[]|||0|0|0|0

Il devrait l’être, ne devrait-il pas l’être ?

  • 2 adhésions
  • 2 certification
  • 1 bloc zeró

Qu’est-ce que je fais de mal?

Je reçois encore:

warn: Local node is not a member. Waiting to be a member before computing a block.

#28

Je pense que ta certification, venant d’une identité non certifiée (donc non membre) n’est pas valable.

Au démarrage d’une nouvelle monnaie Duniter, je pense qu’au moins deux identités doivent se certifier entre elles, pour être déclarées membre toute les deux au premier bloc.


#29

C’est exact le bloc zéro doit écrire une toile de confiance initiale qui satisfait la règle sigQty : donc tout les membres du bloc zéro doivent avoir reçu au moins sigQty certifications.


#30

La certification a été ajoutée, mais le problème reste le même.

Dois-je également remplir le table des identités ?


#31

@Folatt Il faut aussi ajouter une clé membre à ton noeud, seuls les noeuds membres peuvent calculer (je ne parle pas de blockchain mais bien de la conf du serveur Duniter). C’est ce que @nanocryk a suggéré mais je voulais être certain que c’était bon sur ce point.


#32

Je ne sais pas comment ajouter une clé membre à mon noeud. :confused:

Où sont mes clês?

dans le table de txs? dans keyring.yml?


#33

RTFM

duniter wizard key

devrait remplir le fichier keyring.yml.


#34

duniter wizard key ne change que la clé de nœud.
Selon @gpsqueeek, je dois pouvoir ajouter une clé à un nœud.

@gpsqueeek
Je pense que @nanocryk faisait référence au fait que j’avais laissé les membres, les identités et les certifications de mon bloc vide, quelle que soit la clé publique de l’autre noeud.

J’ai rempli celui-ci bien que je sois très incertain de la façon dont la signature devrait être faite.

root_block = {
    "Version: 10\n" +
    "Type: Block\n" +
    "Currency: guilder-test\n" +
    "Number: 0\n" +
    "PoWMin: 60\n" +
    "Time: 1523173253\n" +
    "MedianTime: 1523173253\n" +
    "UnitBase: 0\n" +
    "Issuer: 3dnbnYY9i2bHMQUGyFp5GVvJ2wBkVpus31cDJA5cfRpj\n" +
    "IssuersFrame: 1\n" +
    "IssuersFrameVar: 0\n" +
    "DifferentIssuersCount: 0\n" +
    "Parameters: 0.000054218:86400:100:0:300000:604800:604800:0.9:35136000:3:20:960:10:0.6666666666666666:1489675722:1489675722:2629800\n"  +
    "MembersCount: 2\n" +
    "Identities:\n" +
    "4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt\n" +
    "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt2\n" +
    "Joiners:\n" +
    "4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt\n" + 
    "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt2\n" + 
    "Actives:\n" +
    "Leavers:\n" +
    "Revoked:\n" +
    "Excluded:\n" +
    "Certifications:\n" +
    "4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0:OWQ4MjFlYjE0MGZlOTdkMWM3OTJkNTE5ZWJkYWQxODI0YTgwY2M3MmEwNzVmNjdkOGM3MTQ0ZDg5MzA0NjM3Mg==\n" +
    "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0:NWRhMGI0MGNjYWJlODFkYzU1OWNhMGE3M2IwMjVmZDA0NzUxMGNmMTkzMDIwMjhlNDM1ZWU0MjVkMzUwMDdiMQ==\n" +
    "Transactions:\n" +
    "InnerHash: 5E3957BAEFE2C8734FCBC37D90211FFD09024DE54A659C4388925E1CA810B277\n" +
    "Nonce: 0\n"
}

[mise-à-jour]

Je commence à mieux comprendre comment faire une signature.

[mise-à-jour]

Je ne peux toujours pas lire le français, alors c’est seulement maintenant que j’ai vu combien d’informations errent.

J’en ai besoin

  • 2 identités
  • 2 certification
  • 2 adhésions
  • 1 bloc zeró

Je voudrais maintenant ajouter la signature.
Je vois que @nanocryk a réussi et aussi à Rust.


#35

No indeed you need to change the keypair used by your node, potentialy in its own profile (--mdb profilename) to avoid tampering with your main Duniter profile. Your node needs to have a keypair associated with one of the members, otherwise you can’t forge a valid block (since your not a member).

To generate signatures you can indeed try to use our Rust implementation which is unit tested to give valid results with the main implementation. Without this code, all you have to do is sign the complete document (in text format while respecting line breaks) with your private key with any ed25519 cryptographic library.


#36

J’ai finalement créé un document bloc zéro.

folatt
  pub: 4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR
  sec: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  
folatt2
  pub: 4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx
  sec: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Version: 10
Type: Identity
Currency: guilder-test
Issuer: 4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR
UniqueID: folatt
Timestamp: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
8gDfd9xgbPUtI8Fr5lvHdafccIpdroOjSP/WPiJA0KLZFxAXDu5eWekLCSIf+wHymKbiyaWpjkBo9iA9V9D/CA==

Version: 10
Type: Identity
Currency: guilder-test
Issuer: 4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx
UniqueID: folatt2
Timestamp: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
qD3EMEytPkFv+PWtN2lz2u8aTTkBgVkLcvEYJXO7zP7urJyCRyu9xUBO+B7IXqFa/7U5/r5hX+DG88hmHKudCA==

Version: 10
Type: Certification
Currency: guilder-test
Issuer: 4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR
IdtyIssuer: 4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx
IdtyUniqueID: folatt2
IdtyTimestamp: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
IdtySignature: qD3EMEytPkFv+PWtN2lz2u8aTTkBgVkLcvEYJXO7zP7urJyCRyu9xUBO+B7IXqFa/7U5/r5hX+DG88hmHKudCA==
CertTimestamp: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
Go1Fc3/UHpJLM+nQ6IVBugqozvSmy9E7xu+SXtZf1z5zpHBdsCDHR7mX2XM5h5ttQ3YzHMuBvvh9bCRKcwCRAA==

Version: 10
Type: Certification
Currency: guilder-test
Issuer: 4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx
IdtyIssuer: 4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR
IdtyUniqueID: folatt
IdtyTimestamp: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
IdtySignature: 8gDfd9xgbPUtI8Fr5lvHdafccIpdroOjSP/WPiJA0KLZFxAXDu5eWekLCSIf+wHymKbiyaWpjkBo9iA9V9D/CA==
CertTimestamp: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
NUfStyqUChoKmLaNHk1GO8ZRxUKYYRBoSGP03EdDDmCvmbYwAhvb4cWIqORvrwdMS7cNzHxsS90SecXVQ93ICw==

Version: 10
Type: Membership
Currency: guilder-test
Issuer: 4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR
Block: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
Membership: IN
UserID: folatt
CertTS: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
XIxI1iFTEjGT1plVAoDU6g1sUb2to8Em794xvbo/XiWRwbWGEGGsxqZzw50lMqBKgu6UTXejDprtUrv6WRDPBg==

Version: 10
Type: Membership
Currency: guilder-test
Issuer: 4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx
Block: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
Membership: IN
UserID: folatt
CertTS: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
yF+nhzcTjuJTCHIWKCoXCdFklowADymShZmvz2CySxHJlOhvc9Ik4JqMDEwJjum3UFCDE/e0qhG44BlgQ7m9AQ==

Version: 10
Type: Block
Currency: guilder-test
Number: 0
PoWMin: 60
Time: 1523173253
MedianTime: 1523173253
UnitBase: 0
Issuer: 3dnbnYY9i2bHMQUGyFp5GVvJ2wBkVpus31cDJA5cfRpj
IssuersFrame: 1
IssuersFrameVar: 0
DifferentIssuersCount: 0
Parameters: 0.000054218:86400:100:0:300000:604800:604800:0.9:35136000:3:20:960:10:0.6666666666666666:1489675722:1489675722:2629800\n"  +
MembersCount: 2
Identities:
4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:8gDfd9xgbPUtI8Fr5lvHdafccIpdroOjSP/WPiJA0KLZFxAXDu5eWekLCSIf+wHymKbiyaWpjkBo9iA9V9D/CA==:0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855:folatt
4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:qD3EMEytPkFv+PWtN2lz2u8aTTkBgVkLcvEYJXO7zP7urJyCRyu9xUBO+B7IXqFa/7U5/r5hX+DG88hmHKudCA==:0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855:folatt
Joiners:
4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:XIxI1iFTEjGT1plVAoDU6g1sUb2to8Em794xvbo/XiWRwbWGEGGsxqZzw50lMqBKgu6UTXejDprtUrv6WRDPBg==:0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855:0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855:toc
4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:yF+nhzcTjuJTCHIWKCoXCdFklowADymShZmvz2CySxHJlOhvc9Ik4JqMDEwJjum3UFCDE/e0qhG44BlgQ7m9AQ==:0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855:0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855:tic
Actives:
Leavers:
Revoked:
Excluded:
Certifications:
4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0:Go1Fc3/UHpJLM+nQ6IVBugqozvSmy9E7xu+SXtZf1z5zpHBdsCDHR7mX2XM5h5ttQ3YzHMuBvvh9bCRKcwCRAA==
4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0:NUfStyqUChoKmLaNHk1GO8ZRxUKYYRBoSGP03EdDDmCvmbYwAhvb4cWIqORvrwdMS7cNzHxsS90SecXVQ93ICw==
Transactions:
InnerHash: 35726291B40505C1E417567694D724328B39191262919016DB504D8CA34889D0
Nonce: 1
QGOPL8/gL+6ACOmjnl6Wy2QqCjeEEPfEaonZ5Bs7Z1nDlSbZV2T1O4nHMdNMKHMN4XdqEdDWFGeSn7nes19UDA==

Et j’ai créé des entrées SQL:

INSERT INTO idty VALUES (
0, NULL, NULL, "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
0, 0, 0, 0, "4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR", "folatt",
"8gDfd9xgbPUtI8Fr5lvHdafccIpdroOjSP/WPiJA0KLZFxAXDu5eWekLCSIf+wHymKbiyaWpjkBo9iA9V9D/CA==",
NULL, "5DA0B40CCABE81DC559CA0A73B025FD047510CF19302028E435EE425D35007B1",
0, 0, 0, 0, 0, 0
);

INSERT INTO idty VALUES (
0, NULL, NULL, "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
0, 0, 0, 0, "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx", "folatt2",
"qD3EMEytPkFv+PWtN2lz2u8aTTkBgVkLcvEYJXO7zP7urJyCRyu9xUBO+B7IXqFa/7U5/r5hX+DG88hmHKudCA==",
NULL, "6D84D4BD9C96B42BDE26D8DEF55C26AE014C7C371F82E8BC67E3208877D6A188",
0, 0, 0, 0, 0, 0
);

INSERT INTO cert VALUES (
"4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx","4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR",
"5DA0B40CCABE81DC559CA0A73B025FD047510CF19302028E435EE425D35007B1", "qD3EMEytPkFv+PWtN2lz2u8aTTkBgVkLcvEYJXO7zP7urJyCRyu9xUBO+B7IXqFa/7U5/r5hX+DG88hmHKudCA==",
0, "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
0, 0, 0, NULL, NULL, 1550000000, 0
);

INSERT INTO cert VALUES (
"4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR","4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx",
"6D84D4BD9C96B42BDE26D8DEF55C26AE014C7C371F82E8BC67E3208877D6A188", "8gDfd9xgbPUtI8Fr5lvHdafccIpdroOjSP/WPiJA0KLZFxAXDu5eWekLCSIf+wHymKbiyaWpjkBo9iA9V9D/CA==",
0, "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
0, 0, 0, NULL, NULL, 1550000000, 0
);

INSERT INTO membership VALUES (
"IN", "4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR", 0, 0, "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", 
"folatt", "0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", 
"E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "5DA0B40CCABE81DC559CA0A73B025FD047510CF19302028E435EE425D35007B1", 
0, NULL, 2000000000, "XIxI1iFTEjGT1plVAoDU6g1sUb2to8Em794xvbo/XiWRwbWGEGGsxqZzw50lMqBKgu6UTXejDprtUrv6WRDPBg==", NULL
);

INSERT INTO membership VALUES (
"IN", "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx", 0, 0, "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", 
"folatt2", "0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", 
"E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", "9D821EB140FE97D1C792D519EBDAD1824A80CC72A075F67D8C7144D893046372", 
0, NULL, 2000000000, "yF+nhzcTjuJTCHIWKCoXCdFklowADymShZmvz2CySxHJlOhvc9Ik4JqMDEwJjum3UFCDE/e0qhG44BlgQ7m9AQ==", NULL
);

INSERT INTO block VALUES (
	0, "", "35726291b40505c1e417567694d724328b39191262919016db504d8ca34889d0", "", "guilder-test",
	"4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR",
	"0.000054218:86400:100:100:300000:604800:31536000:3:604800:604800:0.9:35136000:320:960:10:0.6666666666666666:1489675722:1489675722:2629800",
	NULL, NULL, 10,
	1, 0, NULL, 1523173253, NULL,
	0, 1523173253, 0, 0, 0,
	'[]',
	'["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:0:
	   8gDfd9xgbPUtI8Fr5lvHdafccIpdroOjSP/WPiJA0KLZFxAXDu5eWekLCSIf+wHymKbiyaWpjkBo9iA9V9D/CA==",
	  "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:0:
	   qD3EMEytPkFv+PWtN2lz2u8aTTkBgVkLcvEYJXO7zP7urJyCRyu9xUBO+B7IXqFa/7U5/r5hX+DG88hmHKudCA=="]', 
	'["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:
	   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt",
	  "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:
	   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt2"]', 
	'["4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:
	   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:
	   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt",
	  "4afuUAUANLEY11LZHj7mxtZQxedJ5SMCp2yi9TR1ZMjx:4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR:
	   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:
	   0-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855:folatt2"]',
    '[]', 
    '[]', '[]', '[]', NULL, NULL, 0,  
    0, 0, 0
);

Je reçois une erreur différente maintenant:

2018-05-12T23:32:53+02:00 - debug: Plugging file system...
2018-05-12T23:32:54+02:00 - debug: Loading conf...
2018-05-12T23:32:54+02:00 - debug: Configuration saved.
2018-05-12T23:32:54+02:00 - debug: Opening SQLite database "/var/lib/duniter/.config/duniter/duniter_default/duniter.db"...
2018-05-12T23:32:54+02:00 - debug: Upgrade database...
2018-05-12T23:32:54+02:00 - error: ERROR >> SELECT * FROM block WHERE NOT fork ORDER BY number DESC LIMIT 1 [] SyntaxError: Unexpected token 
 in JSON at position 92
    at JSON.parse (<anonymous>)
    at BlockDAL.toEntity (/opt/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:261:40)
    at res.map (/opt/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:40:50)
    at Array.map (<anonymous>)
    at BlockDAL.query (/opt/duniter/app/lib/dal/sqliteDAL/AbstractSQLite.js:40:34)
    at <anonymous>

Je ne sais pas si j’ai progressé ou si j’ai fait une nouvelle erreur.

[misâȥxr]

C’était une nouvelle erreur. Je n’ai pas remplacé les sauts de ligne.
J’ai encore la même erreur.

2018-05-13T00:43:17+02:00 - info: Node version: 1.6.22
2018-05-13T00:43:17+02:00 - info: Node pubkey: 4FE3bGwDNwsjLzAKF7f87NCEnwgKqTipH4tgK8HuXEwR
2018-05-13T00:43:17+02:00 - info: Duniter server listening on http://[2001:983:8610:1:8a:4ff:fec2:a55a]:10901
2018-05-13T00:43:17+02:00 - warn: Local node is not a member. Waiting to be a member before computing a block.
2018-05-13T00:43:17+02:00 - info: Sibling endpoints:
2018-05-13T00:43:17+02:00 - info: BMA access: 2001:983:8610:1:8a:4ff:fec2:a55a:10901
2018-05-13T00:43:17+02:00 - debug: Generating server's peering entry based on block#0...
2018-05-13T00:43:17+02:00 - error:  httpCode=400, ucode=2023, message=Peer document already known

[misâȥxr]

J’ai fait cela et cela a créé un deuxième “nœud”.

admin@Gildurklaus:/var/lib/duniter/.config/duniter$ ls -lha
total 16K
drwxr-xr-x 4 duniter duniter 4,0K mai   13 00:56 .
drwxr-xr-x 3 duniter duniter 4,0K mars  31 10:10 ..
drwxr-xr-x 2 duniter duniter 4,0K mai   13 00:48 duniter_default
drwxr-xr-x 2 duniter duniter 4,0K mai   13 00:56 folatt2
admin@Gildurklaus:/var/lib/duniter/.config/duniter$ cd folatt2/
admin@Gildurklaus:/var/lib/duniter/.config/duniter/folatt2$ ls -alh
total 24K
drwxr-xr-x 2 duniter duniter 4,0K mai   13 00:56 .
drwxr-xr-x 4 duniter duniter 4,0K mai   13 00:56 ..
-rw-r--r-- 1 duniter duniter 1,6K mai   13 02:25 conf.json
-rw-r--r-- 1 duniter duniter   68 mai   13 00:56 duniter.log
-rw-r--r-- 1 duniter duniter  148 mai   13 02:24 keyring.yml
-rw-r--r-- 1 duniter duniter    8 mai   13 00:56 wotb.bin

Dois-je lancer le deuxième nœud?


#37

On dirait que l’attitude ici est passée de la liberté-des-tous à nous-seuls au cours des deux dernières années.

Je vais essayer de recommencer à zéro.


#38

We can still answer to your questions, but the development team is way too busy on maintaining the ğ1 currency, it could not handle another currency right now :slight_smile:

Its probably a good idea to fork the software source code.

For your DB, you should check what is in a typical ğ1 database. See here for a schema of the database : https://duniter.org/fr/wiki/duniter/tutoriel-dev/chapitre-7-bdd/