Skip to content
Snippets Groups Projects

Feature/info peers

Closed ty kayn requested to merge tykayn/duniter:feature/info-peers into dev
All threads resolved!
  • gives an info log instead of throwing an error about no already known peers
  • add pubkey info when running the wizard to generate a new keypair
  • fix doc for Scrypt vars

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • yarn test gives something very different than what gitlab CI test pipeline outputs:

    ...
    729 passing (8m) 7 pending 5 failing

    1. WS2P client limitations should be able to connect to s3 if the we increase size limit:

      AssertionError [ERR_ASSERTION]: 1 == 2

      • expected - actual

      -1 +2

      at s3.expect (/var/www/html/duniter/test/integration/ws2p/ws2p_client_limitations.ts:230:14) at Object.expectAnswer (/var/www/html/duniter/test/integration/tools/http-expect.ts:75:12)

    2. WS2P docpool pulling should be able to pull the docpool: Error: the string "WS2P connection timeout" was thrown, throw an Error :) at Runner.fail (/var/www/html/duniter/node_modules/mocha/lib/runner.js:233:11) at /var/www/html/duniter/node_modules/mocha/lib/runner.js:565:18 at done (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:295:5) at /var/www/html/duniter/node_modules/mocha/lib/runnable.js:359:11

    3. WS2P docpool pulling "after all" hook: TypeError: Cannot read property 'close' of undefined at Context.after (/var/www/html/duniter/test/integration/ws2p/ws2p_docpool.ts:64:19) at callFn (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:348:21) at Hook.Runnable.run (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:340:7) at next (/var/www/html/duniter/node_modules/mocha/lib/runner.js:309:10) at Immediate._onImmediate (/var/www/html/duniter/node_modules/mocha/lib/runner.js:339:5) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)

    4. WS2P block pulling "before all" hook: Error: the string "WS2P connection timeout" was thrown, throw an Error :) at Runner.fail (/var/www/html/duniter/node_modules/mocha/lib/runner.js:233:11) at Runner.failHook (/var/www/html/duniter/node_modules/mocha/lib/runner.js:273:8) at /var/www/html/duniter/node_modules/mocha/lib/runner.js:326:16 at done (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:295:5) at /var/www/html/duniter/node_modules/mocha/lib/runnable.js:359:11

    5. WS2P block pulling "after all" hook: TypeError: Cannot read property 'close' of undefined at Context.after (/var/www/html/duniter/test/integration/ws2p/ws2p_pulling.ts:77:19) at callFn (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:348:21) at Hook.Runnable.run (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:340:7) at next (/var/www/html/duniter/node_modules/mocha/lib/runner.js:309:10) at Immediate._onImmediate (/var/www/html/duniter/node_modules/mocha/lib/runner.js:339:5) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)

    error Command failed with exit code 5.

    Edited by ty kayn
  • sur la branche dev j'ai deux erreurs au lieu de 5 en comparaison

    733 passing (3m) 7 pending 2 failing

    1. WS2P docpool pulling should be able to pull the docpool: Error: the string "WS2P connection timeout" was thrown, throw an Error :) at Runner.fail (/var/www/html/duniter/node_modules/mocha/lib/runner.js:233:11) at /var/www/html/duniter/node_modules/mocha/lib/runner.js:565:18 at done (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:295:5) at /var/www/html/duniter/node_modules/mocha/lib/runnable.js:359:11

    2. WS2P docpool pulling "after all" hook: TypeError: Cannot read property 'close' of undefined at Context.after (/var/www/html/duniter/test/integration/ws2p/ws2p_docpool.ts:64:19) at callFn (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:348:21) at Hook.Runnable.run (/var/www/html/duniter/node_modules/mocha/lib/runnable.js:340:7) at next (/var/www/html/duniter/node_modules/mocha/lib/runner.js:309:10) at Immediate._onImmediate (/var/www/html/duniter/node_modules/mocha/lib/runner.js:339:5) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)

    error Command failed with exit code 2.

  • ty kayn added 17 commits

    added 17 commits

    • b0ec6a7a...c90cee1b - 13 commits from branch nodes/typescript:dev
    • d92772dd - :zap: show public key when asking to change keypair
    • 9a34b988 - :zap: log message instead of throwing an error when 'Peer with zero endpoints...
    • a73d5812 - :book: doc to setup rust cargo, and rearrange yarn install
    • 7ad9c4e7 - :book: fix documentation on Scrypt parameters

    Compare with previous version

  • ty kayn added 25 commits

    added 25 commits

    • de89dc30 - [build] add rust & force node version to 10.19.0
    • 16ffb102 - [ref] migrate wotb -> dubp-wot-rs
    • 1807a5fd - [fix] do not save wotb file in memory mode
    • 8daab743 - [fix] wotb: default file path must be new path
    • 511746d2 - Bump handlebars from 4.0.11 to 4.7.4
    • 808e6e26 - [docs] update README (+ apply markdown linter)
    • 56d91f59 - [ci] remove build stage (test stage already execute same build)
    • 97cb1fb0 - [ci] build docker image in CI
    • 017ac34f - [docs] add docker documentation
    • 9876a97b - [ci] restoring stages order
    • 76737ed0 - [docs] update quick-start
    • e66d7571 - [ref] migrate dubp-wot-rs -> duniteroxyde
    • ffbb9424 - [build] remove unused duniteroxyde intermediate binaries
    • 75a2ec16 - [ref] sha256: use duniteroxyde to compute sha256 hash
    • db39a980 - [enh] keyring: use duniteroxyde to sign and verify
    • f79b807a - [enh] scrypt: keypair generation use duniteroxyde instead of tweetnacl
    • 6cb4553d - [ref] remove useless modules base58 & nacl-utils
    • 35721dce - [docs] add git conventions
    • 9cd83009 - [style] add Husky to automatically lint and format things with Prettier
    • 2ad2c781 - [style] prettify all .ts files
    • ca9f18d9 - Bump mixin-deep from 1.3.1 to 1.3.2
    • 596376d3 - [ehn] show public key when asking to change keypair :zap:
    • b45a425d - [ehn] :zap: log message instead of throwing an error when 'Peer with zero...
    • 30ecc250 - [ehn] :book: doc to setup rust cargo, and rearrange yarn install
    • 64e3d2ad - [docs] :book: fix documentation on Scrypt parameters

    Compare with previous version

  • ty kayn added 32 commits

    added 32 commits

    • 64e3d2ad...c90cee1b - 28 commits from branch nodes/typescript:dev
    • 5f4e0e70 - [ehn] show public key when asking to change keypair :zap:
    • 9c7074f7 - [ehn] :zap: log message instead of throwing an error when 'Peer with zero...
    • 6c500fbb - [ehn] :book: doc to setup rust cargo, and rearrange yarn install
    • 54e69024 - [docs] :book: fix documentation on Scrypt parameters

    Compare with previous version

  • ty kayn added 26 commits

    added 26 commits

    • de89dc30 - [build] add rust & force node version to 10.19.0
    • 16ffb102 - [ref] migrate wotb -> dubp-wot-rs
    • 1807a5fd - [fix] do not save wotb file in memory mode
    • 8daab743 - [fix] wotb: default file path must be new path
    • 511746d2 - Bump handlebars from 4.0.11 to 4.7.4
    • 808e6e26 - [docs] update README (+ apply markdown linter)
    • 56d91f59 - [ci] remove build stage (test stage already execute same build)
    • 97cb1fb0 - [ci] build docker image in CI
    • 017ac34f - [docs] add docker documentation
    • 9876a97b - [ci] restoring stages order
    • 76737ed0 - [docs] update quick-start
    • e66d7571 - [ref] migrate dubp-wot-rs -> duniteroxyde
    • ffbb9424 - [build] remove unused duniteroxyde intermediate binaries
    • 75a2ec16 - [ref] sha256: use duniteroxyde to compute sha256 hash
    • db39a980 - [enh] keyring: use duniteroxyde to sign and verify
    • f79b807a - [enh] scrypt: keypair generation use duniteroxyde instead of tweetnacl
    • 6cb4553d - [ref] remove useless modules base58 & nacl-utils
    • 35721dce - [docs] add git conventions
    • 9cd83009 - [style] add Husky to automatically lint and format things with Prettier
    • 2ad2c781 - [style] prettify all .ts files
    • ca9f18d9 - Bump mixin-deep from 1.3.1 to 1.3.2
    • 596376d3 - [ehn] show public key when asking to change keypair :zap:
    • b45a425d - [ehn] :zap: log message instead of throwing an error when 'Peer with zero...
    • 30ecc250 - [ehn] :book: doc to setup rust cargo, and rearrange yarn install
    • 64e3d2ad - [docs] :book: fix documentation on Scrypt parameters
    • 83745a23 - Merge branch 'feature/info-peers' into dev

    Compare with previous version

  • ty kayn added 4 commits

    added 4 commits

    • d8822dbc - [ehn] show public key when asking to change keypair :zap:
    • 9133185c - [ehn] :zap: log message instead of throwing an error when 'Peer with zero...
    • b3a732e9 - [ehn] :book: doc to setup rust cargo, and rearrange yarn install
    • 302a3b22 - [docs] :book: fix documentation on Scrypt parameters

    Compare with previous version

  • Éloïs
  • ty kayn added 4 commits

    added 4 commits

    • a94f0c5f - [feat] show public key when asking to change keypair :zap:
    • af65b993 - [fix] :bug: log message instead of throwing an error when 'Peer with zero...
    • 15886a5c - [feat] :book: doc to setup rust cargo, and rearrange yarn install
    • db0c3540 - [docs] :book: fix documentation on Scrypt parameters

    Compare with previous version

  • ty kayn added 1 commit

    added 1 commit

    • c6b5d8ca - [docs] :book: fix documentation on Scrypt parameters

    Compare with previous version

  • ty kayn added 5 commits

    added 5 commits

    • 7f780c07 - Bump mixin-deep from 1.3.1 to 1.3.2
    • cfb82298 - [feat] show public key when asking to change keypair :zap:
    • fdb47239 - [fix] :bug: log message instead of throwing an error when 'Peer with zero...
    • b7b85f6f - [feat] :book: doc to setup rust cargo, and rearrange yarn install
    • a333b54a - [docs] :book: fix documentation on Scrypt parameters

    Compare with previous version

  • ty kayn added 10 commits

    added 10 commits

    • a333b54a...d9310e29 - 6 commits from branch nodes/typescript:dev
    • c38b07ad - [feat] show public key when asking to change keypair :zap:
    • 67f7f878 - [fix] :bug: log message instead of throwing an error when 'Peer with zero...
    • 6058a493 - [feat] :book: doc to setup rust cargo, and rearrange yarn install
    • fe0fc5e8 - [docs] :book: fix documentation on Scrypt parameters

    Compare with previous version

  • ty kayn added 4 commits

    added 4 commits

    • 23f35f2e - [feat] show public key when asking to change keypair :zap:
    • 1e69d267 - [fix] :bug: log message instead of throwing an error when 'Peer with zero...
    • 02ad8bbf - [feat] :book: doc to setup rust cargo, and rearrange yarn install
    • c60333d1 - [docs] :book: fix documentation on Scrypt parameters

    Compare with previous version

  • closed

  • ty kayn resolved all threads

    resolved all threads

  • Please register or sign in to reply
    Loading