Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove parts of the node that will not be used in v8 #3299

Open
wants to merge 3 commits into
base: v8/prerelease/testnet
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "origintrail_node",
"version": "8.0.3+beta.16",
"version": "8.0.3+beta.17",
"description": "OTNode V8",
"main": "index.js",
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions src/commands/paranet/paranet-sync-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
PARANET_SYNC_FREQUENCY_MILLS,
OPERATION_ID_STATUS,
CONTENT_ASSET_HASH_FUNCTION_ID,
SIMPLE_ASSET_SYNC_PARAMETERS,
PARANET_SYNC_PARAMETERS,
TRIPLE_STORE_REPOSITORIES,
PARANET_SYNC_KA_COUNT,
OPERATION_STATUS,
Expand Down Expand Up @@ -411,11 +411,11 @@ class ParanetSyncCommand extends Command {
let attempt = 0;
let getResult;
do {
await setTimeout(SIMPLE_ASSET_SYNC_PARAMETERS.GET_RESULT_POLLING_INTERVAL_MILLIS);
await setTimeout(PARANET_SYNC_PARAMETERS.GET_RESULT_POLLING_INTERVAL_MILLIS);
getResult = await this.operationIdService.getOperationIdRecord(operationId);
attempt += 1;
} while (
attempt < SIMPLE_ASSET_SYNC_PARAMETERS.GET_RESULT_POLLING_MAX_ATTEMPTS &&
attempt < PARANET_SYNC_PARAMETERS.GET_RESULT_POLLING_MAX_ATTEMPTS &&
getResult?.status !== OPERATION_ID_STATUS.FAILED &&
getResult?.status !== OPERATION_ID_STATUS.COMPLETED
);
Expand Down
194 changes: 0 additions & 194 deletions src/commands/protocols/common/simple-asset-sync-command.js

This file was deleted.

Loading
Loading