From 2cc7d93404f859a11a017d5e75453477f4a8dc6b Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Fri, 14 Jun 2024 14:55:25 +0700 Subject: [PATCH] chore: update to Core 21 --- .pnp.cjs | 10 +++++----- ...dashd-rpc-https-add9a74649-877060fe5b.zip} | Bin 11424 -> 11426 bytes packages/dapi/package.json | 2 +- .../configs/defaults/getLocalConfigFactory.js | 2 +- packages/dashmate/package.json | 2 +- .../setup/local/configureCoreTaskFactory.js | 2 ++ .../dashmate/templates/core/dash.conf.dot | 12 ++++++------ yarn.lock | 10 +++++----- 8 files changed, 21 insertions(+), 19 deletions(-) rename .yarn/cache/{@dashevo-dashd-rpc-npm-18.3.0-4f165136e8-b83fbdb149.zip => @dashevo-dashd-rpc-https-add9a74649-877060fe5b.zip} (75%) diff --git a/.pnp.cjs b/.pnp.cjs index c9529f485b2..1ce10cbb9c1 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -2588,7 +2588,7 @@ const RAW_RUNTIME_STATE = ["@dashevo/dapi-client", "workspace:packages/js-dapi-client"],\ ["@dashevo/dapi-grpc", "workspace:packages/dapi-grpc"],\ ["@dashevo/dashcore-lib", "npm:0.21.1"],\ - ["@dashevo/dashd-rpc", "npm:18.3.0"],\ + ["@dashevo/dashd-rpc", "https://github.com/dashpay/dashd-rpc.git#commit=8aaa899d6f7bffb01b1deef2ef6981302e4b4034"],\ ["@dashevo/dp-services-ctl", "https://github.com/dashevo/js-dp-services-ctl.git#commit=3976076b0018c5b4632ceda4c752fc597f27a640"],\ ["@dashevo/grpc-common", "workspace:packages/js-grpc-common"],\ ["@dashevo/wasm-dpp", "workspace:packages/wasm-dpp"],\ @@ -2772,10 +2772,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@dashevo/dashd-rpc", [\ - ["npm:18.3.0", {\ - "packageLocation": "./.yarn/cache/@dashevo-dashd-rpc-npm-18.3.0-4f165136e8-b83fbdb149.zip/node_modules/@dashevo/dashd-rpc/",\ + ["https://github.com/dashpay/dashd-rpc.git#commit=8aaa899d6f7bffb01b1deef2ef6981302e4b4034", {\ + "packageLocation": "./.yarn/cache/@dashevo-dashd-rpc-https-add9a74649-877060fe5b.zip/node_modules/@dashevo/dashd-rpc/",\ "packageDependencies": [\ - ["@dashevo/dashd-rpc", "npm:18.3.0"],\ + ["@dashevo/dashd-rpc", "https://github.com/dashpay/dashd-rpc.git#commit=8aaa899d6f7bffb01b1deef2ef6981302e4b4034"],\ ["async", "npm:3.2.4"],\ ["bluebird", "npm:3.7.2"]\ ],\ @@ -8455,7 +8455,7 @@ const RAW_RUNTIME_STATE = ["@dashevo/bls", "npm:1.2.9"],\ ["@dashevo/dapi-client", "workspace:packages/js-dapi-client"],\ ["@dashevo/dashcore-lib", "npm:0.21.1"],\ - ["@dashevo/dashd-rpc", "npm:18.3.0"],\ + ["@dashevo/dashd-rpc", "https://github.com/dashpay/dashd-rpc.git#commit=8aaa899d6f7bffb01b1deef2ef6981302e4b4034"],\ ["@dashevo/dashpay-contract", "workspace:packages/dashpay-contract"],\ ["@dashevo/docker-compose", "npm:0.24.4"],\ ["@dashevo/dpns-contract", "workspace:packages/dpns-contract"],\ diff --git a/.yarn/cache/@dashevo-dashd-rpc-npm-18.3.0-4f165136e8-b83fbdb149.zip b/.yarn/cache/@dashevo-dashd-rpc-https-add9a74649-877060fe5b.zip similarity index 75% rename from .yarn/cache/@dashevo-dashd-rpc-npm-18.3.0-4f165136e8-b83fbdb149.zip rename to .yarn/cache/@dashevo-dashd-rpc-https-add9a74649-877060fe5b.zip index 4f4b7a146a3c15996909e84d28d0bb058532e783..27d088c21fbc3dafa140938016d9f9a29e8dc7ae 100644 GIT binary patch delta 1811 zcmV+u2kiKuS)y66zyk{OeA~~t3;+OcDwClaCbRGZQU-t0H~eoD?Fxfx1;Y$HG*pDX z&Lyv7gP?WJZ8>k9U=huxzLfmqKiIYd?Ky>2x!l&e4_6Q=VAl)AtXmQ&2#3X~w*#o_ z4V8MB%b*5WA##gBHw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8f@XSe%o4Z0xV1)M}U zLd<8~W!TO)5)bA{D?6dVwUSKhXZAr976|Csk!REcG3oA9A6o186mD{OzLJcu{oA-oJi#izBEH*r8eLR)V zaQ*HP$~qk0_mm(h-gFS15*lG%CnI(!Ua1bcPtvU(7A4I7rQ@TaEnvw8mw!q) z_kqF%7Z9+Eac3^};E0?`Nw@JH8M*CdyvsIAugCnh0ye-G=ITS)8v)tm8V{Oi&Hd)R z&h40i*X3=5>TpCJeTIbS&F}k-O-wAo}XVd7X!1a8eYPFZ{r?Re5cGbW-iYnOcPZ{81z5rD z#Wv(@jHh;HUD5?udrjnz-zV;i0zJrLZWmr)yJFB?o?m-InHaPA1b^T*Z&b}@0bgD9 zFGsuLy8%0>cdWuPu>L!WV`Uy>%Dl>WFM!_x*?0K-Y!tsC)&nBN;PJJ%WAYqoJYHOQ z%5-o@qJQo&`%T1<$D+Hk)~kb2cJW%*932vPJ16?gCAKyn;1-0l97}4GmCyO^%Q7 z&)y9UG<@N%VnX`Y7Pj$&SlWo9fe+Q#Jsv!$_}jYK!M^}dOOXN?lMpEcv(pgQ7YUjz zgy6Rf003%}vnXo0#zfE(GVh& ruq!eGn options.lowPriority).map(([username, options]) => username).join(',') }} {{~ Object.keys(it.core.rpc.users) :user}} {{ salt = it.crypto.randomBytes(16).toString('hex'); }} {{ hmac = it.crypto.createHmac('sha256', salt).update(it.core.rpc.users[user].password); }} rpcauth={{=user}}:{{=salt}}${{=hmac.digest('hex') }} {{? it.core.rpc.users[user].whitelist !== null }} -rpcwhitelist={{=user}}:{{=it.core.rpc.users[user].whitelist.join(',')}} +#rpcwhitelist={{=user}}:{{=it.core.rpc.users[user].whitelist.join(',')}} {{?}} {{~}} @@ -103,4 +101,6 @@ addnode={{=seed.host}}:{{=seed.port}}{{~}} # network port={{=it.core.p2p.port}} bind=0.0.0.0 +rpcbind=0.0.0.0 +rpcport={{=it.core.rpc.port}} diff --git a/yarn.lock b/yarn.lock index 4d6964c3908..c04ba71deb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1550,7 +1550,7 @@ __metadata: "@dashevo/dapi-client": "workspace:*" "@dashevo/dapi-grpc": "workspace:*" "@dashevo/dashcore-lib": "npm:~0.21.1" - "@dashevo/dashd-rpc": "npm:^18.3.0" + "@dashevo/dashd-rpc": "github:dashpay/dashd-rpc#feat/add-descriptors" "@dashevo/dp-services-ctl": "github:dashevo/js-dp-services-ctl#v0.19-dev" "@dashevo/grpc-common": "workspace:*" "@dashevo/wasm-dpp": "workspace:*" @@ -1642,13 +1642,13 @@ __metadata: languageName: node linkType: hard -"@dashevo/dashd-rpc@npm:^18.3.0": +"@dashevo/dashd-rpc@github:dashpay/dashd-rpc#feat/add-descriptors": version: 18.3.0 - resolution: "@dashevo/dashd-rpc@npm:18.3.0" + resolution: "@dashevo/dashd-rpc@https://github.com/dashpay/dashd-rpc.git#commit=8aaa899d6f7bffb01b1deef2ef6981302e4b4034" dependencies: async: "npm:^3.2.4" bluebird: "npm:^3.7.2" - checksum: b83fbdb14940e18a6759dfb10313f8b6eaa1d11f584a6fd378c5d6bd1ae2f9519e59f6114b692e24b77d81c0b8b275f2c408fe3500144f1aadf5e6b270a76ff7 + checksum: 877060fe5b769d5cb04fb9bc686a38b61c40c54c7736f0facf920fcd5f7c7e609a57439d6eba0471c978e1aa06e1e8fc5f67df2019317ce3c4c8dc5706e94596 languageName: node linkType: hard @@ -6316,7 +6316,7 @@ __metadata: "@dashevo/bls": "npm:~1.2.9" "@dashevo/dapi-client": "workspace:*" "@dashevo/dashcore-lib": "npm:~0.21.1" - "@dashevo/dashd-rpc": "npm:^18.3.0" + "@dashevo/dashd-rpc": "github:dashpay/dashd-rpc#feat/add-descriptors" "@dashevo/dashpay-contract": "workspace:*" "@dashevo/docker-compose": "npm:^0.24.4" "@dashevo/dpns-contract": "workspace:*"