diff --git a/.cargo/config.toml b/.cargo/config.toml
index 5b529c3dccd..18bc8e4064b 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,8 +1,13 @@
+# TODO: We shouldn't go with tokio_unstable to production
+
[target.aarch64-unknown-linux-musl]
-rustflags = [ "-C", "target-feature=-crt-static" ]
+rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tokio_unstable"]
[target.x86_64-unknown-linux-musl]
-rustflags = [ "-C", "target-feature=-crt-static" ]
+rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tokio_unstable"]
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
+
+[build]
+rustflags = ["--cfg", "tokio_unstable"]
diff --git a/.dockerignore b/.dockerignore
index 2d179b88e94..d93249fec2a 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -23,6 +23,7 @@ packages/*/dist
packages/*/wasm
packages/*/lib/wasm
packages/*/node_modules
+packages/*/.env
!packages/platform-test-suite/test
diff --git a/.github/actions/docker/action.yaml b/.github/actions/docker/action.yaml
index 60417a519f1..d41ebf4dcfc 100644
--- a/.github/actions/docker/action.yaml
+++ b/.github/actions/docker/action.yaml
@@ -37,6 +37,12 @@ inputs:
region:
description: S3 bucket region
required: true
+ aws_access_key_id:
+ description: AWS access key ID
+ required: true
+ aws_secret_access_key:
+ description: AWS secret access key
+ required: true
outputs:
digest:
value: ${{ steps.docker_build.outputs.digest }}
@@ -102,6 +108,8 @@ runs:
SCCACHE_BUCKET=${{ inputs.bucket }}
SCCACHE_REGION=${{ inputs.region }}
SCCACHE_S3_KEY_PREFIX=${{ runner.os }}/sccache
+ AWS_ACCESS_KEY_ID=${{ inputs.aws_access_key_id }}
+ AWS_SECRET_ACCESS_KEY=${{ inputs.aws_secret_access_key }}
cache-from: ${{ steps.layer_cache_settings.outputs.cache_from }}
cache-to: ${{ steps.layer_cache_settings.outputs.cache_to }}
outputs: type=image,name=${{ inputs.image_org }}/${{ inputs.image_name }},push-by-digest=${{ inputs.push_tags != 'true' }},name-canonical=true,push=true
diff --git a/.github/actions/javy/action.yaml b/.github/actions/javy/action.yaml
new file mode 100644
index 00000000000..668dc24445a
--- /dev/null
+++ b/.github/actions/javy/action.yaml
@@ -0,0 +1,37 @@
+---
+name: "Setup Javy"
+description: "Setup Javy binaries"
+inputs:
+ version:
+ description: Javy version to use
+ required: false
+ default: "1.4.0"
+runs:
+ using: composite
+ steps:
+ - name: Install Javy
+ shell: bash
+ run: |
+ set -e
+
+ case "${{ runner.arch }}" in
+ "ARM64")
+ JAVY_ARCH="arm-linux"
+ ;;
+ "X64")
+ JAVY_ARCH="x86_64-linux"
+ ;;
+ *)
+ echo "Unsupported architecture: ${{ runner.arch }}"
+ exit 1
+ ;;
+ esac
+
+ curl -Ls "https://github.com/bytecodealliance/javy/releases/download/v${{ inputs.version }}/javy-${JAVY_ARCH}-v${{ inputs.version }}.gz" | gunzip > javy
+
+ chmod +x javy
+ sudo mv javy /usr/local/bin/javy
+
+ - name: Verify Javy installation
+ shell: bash
+ run: javy --version
diff --git a/.github/actions/local-network/action.yaml b/.github/actions/local-network/action.yaml
index 6292d742040..3c6c4681174 100644
--- a/.github/actions/local-network/action.yaml
+++ b/.github/actions/local-network/action.yaml
@@ -97,3 +97,5 @@ runs:
- name: Start local network
shell: bash
run: yarn start
+ env:
+ DEBUG: 1
diff --git a/.github/actions/nodejs/action.yaml b/.github/actions/nodejs/action.yaml
index 8bba2f1d714..7cb41d5955e 100644
--- a/.github/actions/nodejs/action.yaml
+++ b/.github/actions/nodejs/action.yaml
@@ -5,7 +5,7 @@ runs:
using: composite
steps:
- name: Setup Node.JS
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: "20"
diff --git a/.github/actions/rust/action.yaml b/.github/actions/rust/action.yaml
index b01cd0a5dc8..01239962fc1 100644
--- a/.github/actions/rust/action.yaml
+++ b/.github/actions/rust/action.yaml
@@ -5,7 +5,7 @@ inputs:
toolchain:
description: Rust toolchain to use, stable / nightly / beta, or exact version
# The same as in /README.md
- default: "stable"
+ default: "1.76"
target:
description: Target Rust platform
required: false
@@ -49,13 +49,26 @@ runs:
esac
# TODO: Move to AMI and build every day
+ - name: Check if protoc is installed
+ id: check-protoc
+ shell: bash
+ run: |
+ if command -v protoc >/dev/null 2>&1; then
+ echo "protoc is already installed."
+ echo "protoc_installed=true" >> $GITHUB_OUTPUT
+ else
+ echo "protoc is not installed."
+ echo "protoc_installed=false" >> $GITHUB_OUTPUT
+ fi
+
- name: Install protoc
+ if: steps.check-protoc.outputs.protoc_installed == 'false'
id: deps-protoc
shell: bash
run: |
curl -Lo /tmp/protoc.zip \
- "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-linux-${{ steps.protoc_arch.outputs.arch }}.zip"
- unzip /tmp/protoc.zip -d ${HOME}/.local
+ "https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-${{ steps.protoc_arch.outputs.arch }}.zip"
+ unzip -o /tmp/protoc.zip -d ${HOME}/.local
echo "PROTOC=${HOME}/.local/bin/protoc" >> $GITHUB_ENV
export PATH="${PATH}:${HOME}/.local/bin"
diff --git a/.github/package-filters/js-packages.yml b/.github/package-filters/js-packages.yml
index b9e3618155c..d158bb39f67 100644
--- a/.github/package-filters/js-packages.yml
+++ b/.github/package-filters/js-packages.yml
@@ -71,7 +71,12 @@ dash: &dash
dashmate:
- .github/workflows/tests*
- packages/dashmate/**
- - *dash
+ - *dashpay-contract
+ - *masternode-reward-shares-contract
+ - *dpns-contract
+ - *withdrawals-contract
+ - *wallet-lib
+ - *dapi-client
'@dashevo/platform-test-suite':
- .github/workflows/tests*
diff --git a/.github/package-filters/rs-packages.yml b/.github/package-filters/rs-packages.yml
index f23238f9afa..f50dea216d3 100644
--- a/.github/package-filters/rs-packages.yml
+++ b/.github/package-filters/rs-packages.yml
@@ -14,6 +14,10 @@ dpns-contract: &dpns-contract
- .github/workflows/tests*
- packages/dpns-contract/**
+json-schema-compatibility-validator: &json-schema-compatibility-validator
+ - .github/workflows/tests*
+ - packages/rs-json-schema-compatibility-validator/**
+
dpp: &dpp
- .github/workflows/tests*
- packages/rs-dpp/**
@@ -21,6 +25,7 @@ dpp: &dpp
- *masternode-reward-shares-contract
- *dpns-contract
- *withdrawals-contract
+ - *json-schema-compatibility-validator
- packages/rs-platform-serialization/**
- packages/rs-platform-serialization-derive/**
- packages/rs-platform-value/**
@@ -54,7 +59,7 @@ rs-dapi-client: &dapi_client
- packages/rs-dapi-client/**
- *dapi_grpc
-rs-sdk:
+dash-sdk:
- .github/workflows/tests*
- packages/rs-drive-proof-verifier/**
- packages/rs-sdk/**
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 7238fbec4ec..12f512b7208 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -2,7 +2,7 @@ name: Publish docs via GitHub Pages
on:
push:
branches:
- - master
+ - v1.0-dev
jobs:
build:
diff --git a/.github/workflows/release-docker-image.yml b/.github/workflows/release-docker-image.yml
index 9b52826c1e4..a8ed8273ca9 100644
--- a/.github/workflows/release-docker-image.yml
+++ b/.github/workflows/release-docker-image.yml
@@ -25,7 +25,7 @@ jobs:
build-image:
name: Build ${{ matrix.platform }} image
runs-on: ${{ matrix.runner }}
- timeout-minutes: 20
+ timeout-minutes: 25
strategy:
matrix:
include:
@@ -42,7 +42,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Build and push by digest
uses: ./.github/actions/docker
@@ -56,10 +58,13 @@ jobs:
cargo_profile: release
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
- region: ${{ vars.AWS_REGION }}
+ region: ${{ secrets.AWS_REGION }}
+ aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Export digest
run: |
+ rm -rf ${{ env.DIGEST_DIR_PATH }}
mkdir -p ${{ env.DIGEST_DIR_PATH }}
digest="${{ steps.docker_build.outputs.digest }}"
touch "${{ env.DIGEST_DIR_PATH }}/${digest#sha256:}"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c967db8f347..036e6ac49c4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -32,7 +32,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Retrieve JS build artifacts
uses: strophy/actions-cache@opendal-update
@@ -69,7 +71,7 @@ jobs:
CARGO_BUILD_PROFILE: release
RUSTC_WRAPPER: sccache
SCCACHE_BUCKET: multi-runner-cache-x1xibo9c
- SCCACHE_REGION: ${{ vars.AWS_REGION }}
+ SCCACHE_REGION: ${{ secrets.AWS_REGION }}
SCCACHE_S3_KEY_PREFIX: ${{ runner.os }}/sccache/wasm/wasm32
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
@@ -135,7 +137,7 @@ jobs:
image_name: drive
target: drive-abci
- release-drive-dapi:
+ release-dapi-image:
name: Release DAPI image
secrets: inherit
uses: ./.github/workflows/release-docker-image.yml
@@ -193,8 +195,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
- role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
+ aws-region: ${{ secrets.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Retrieve JS build artifacts
uses: strophy/actions-cache@opendal-update
diff --git a/.github/workflows/tests-build-image.yml b/.github/workflows/tests-build-image.yml
index 0281094014d..f8b7c830f42 100644
--- a/.github/workflows/tests-build-image.yml
+++ b/.github/workflows/tests-build-image.yml
@@ -17,7 +17,7 @@ on:
jobs:
build-image:
name: Build ${{ inputs.name }} image
- runs-on: [ "self-hosted", "linux", "arm64", "ubuntu-platform-4x" ]
+ runs-on: ["self-hosted", "linux", "arm64", "ubuntu-platform"]
steps:
- name: Check out repo
uses: actions/checkout@v4
@@ -27,20 +27,24 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Login to ECR
- run: aws ecr get-login-password --region ${{ vars.AWS_REGION }} | docker login --username AWS --password-stdin ${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com
+ run: aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
shell: bash
- name: Build and push by SHA
uses: ./.github/actions/docker
with:
image_name: ${{ inputs.image_name }}
- image_org: ${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com
+ image_org: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
target: ${{ inputs.target }}
platform: linux/arm64
push_tags: true
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
- region: ${{ vars.AWS_REGION }}
+ region: ${{ secrets.AWS_REGION }}
+ aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
diff --git a/.github/workflows/tests-build-js.yml b/.github/workflows/tests-build-js.yml
index ea2b0182d95..a367af55fc8 100644
--- a/.github/workflows/tests-build-js.yml
+++ b/.github/workflows/tests-build-js.yml
@@ -4,12 +4,14 @@ on:
jobs:
build-js:
name: Build JS
- runs-on: [ "self-hosted", "linux", "arm64", "ubuntu-platform-4x" ]
+ runs-on: ["self-hosted", "linux", "arm64", "ubuntu-platform"]
steps:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
# TODO: Use upload artifacts action instead
- name: Cache build artifacts
@@ -50,7 +52,7 @@ jobs:
env:
RUSTC_WRAPPER: sccache
SCCACHE_BUCKET: multi-runner-cache-x1xibo9c
- SCCACHE_REGION: ${{ vars.AWS_REGION }}
+ SCCACHE_REGION: ${{ secrets.AWS_REGION }}
SCCACHE_S3_KEY_PREFIX: ${{ runner.os }}/sccache/wasm/wasm32
- name: Ignore only already cached artifacts
diff --git a/.github/workflows/tests-codeql.yml b/.github/workflows/tests-codeql.yml
index db4b9cc2c5b..d00a66c8dfd 100644
--- a/.github/workflows/tests-codeql.yml
+++ b/.github/workflows/tests-codeql.yml
@@ -23,8 +23,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
- role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Setup Node.JS
uses: ./.github/actions/nodejs
diff --git a/.github/workflows/tests-dashmate.yml b/.github/workflows/tests-dashmate.yml
index 99bed1134b1..369c72e06a1 100644
--- a/.github/workflows/tests-dashmate.yml
+++ b/.github/workflows/tests-dashmate.yml
@@ -35,7 +35,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Setup Node.JS
uses: ./.github/actions/nodejs
@@ -49,13 +51,15 @@ jobs:
key: build-js-artifacts/${{ github.sha }}
- name: Unpack JS build artifacts archive
- run: tar -xf build-js-artifacts-${{ github.sha }}.tar
+ run: tar -xvf build-js-artifacts-${{ github.sha }}.tar
- name: Replace with pre-built images
run: |
+ set -x
+
# Login to ECR
- DOCKER_HUB_ORG="${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com"
- aws ecr get-login-password --region ${{ vars.AWS_REGION }} | docker login --username AWS --password-stdin $DOCKER_HUB_ORG
+ DOCKER_HUB_ORG="${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com"
+ aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin $DOCKER_HUB_ORG
SHA_TAG=sha-${{ github.sha }}
@@ -99,6 +103,7 @@ jobs:
- name: Run tests with cache
run: yarn workspace dashmate run mocha ${{ inputs.test-pattern }}
env:
+ DEBUG: 1
DASHMATE_E2E_TESTS_SKIP_IMAGE_BUILD: true
DASHMATE_E2E_TESTS_LOCAL_HOMEDIR: /home/ubuntu/.dashmate
if: steps.local-network-data.outputs.cache-hit == 'true'
@@ -106,6 +111,7 @@ jobs:
- name: Run tests without cache
run: yarn workspace dashmate run mocha ${{ inputs.test-pattern }}
env:
+ DEBUG: 1
DASHMATE_E2E_TESTS_SKIP_IMAGE_BUILD: true
if: steps.local-network-data.outputs.cache-hit != 'true'
diff --git a/.github/workflows/tests-js-package.yml b/.github/workflows/tests-js-package.yml
index 3a4969b71ea..ef508ec0738 100644
--- a/.github/workflows/tests-js-package.yml
+++ b/.github/workflows/tests-js-package.yml
@@ -28,8 +28,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
- role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Setup Node.JS
uses: ./.github/actions/nodejs
@@ -64,8 +65,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
- role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
+ aws-region: ${{ secrets.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Setup Node.JS
uses: ./.github/actions/nodejs
diff --git a/.github/workflows/tests-packges-functional.yml b/.github/workflows/tests-packges-functional.yml
index 3d06f756e92..57f735f0d5e 100644
--- a/.github/workflows/tests-packges-functional.yml
+++ b/.github/workflows/tests-packges-functional.yml
@@ -8,7 +8,7 @@ jobs:
timeout-minutes: 15
env:
CHROME_BIN: /usr/bin/brave-browser
- ECR_HOST: ${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com
+ ECR_HOST: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
steps:
- name: Check out repo
uses: actions/checkout@v4
@@ -24,10 +24,12 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Login to ECR
- run: aws ecr get-login-password --region ${{ vars.AWS_REGION }} | docker login --username AWS --password-stdin ${{ env.ECR_HOST }}
+ run: aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ env.ECR_HOST }}
- name: Start local network
uses: ./.github/actions/local-network
diff --git a/.github/workflows/tests-rs-package.yml b/.github/workflows/tests-rs-package.yml
index bd574fdffbc..e666491ebcf 100644
--- a/.github/workflows/tests-rs-package.yml
+++ b/.github/workflows/tests-rs-package.yml
@@ -33,8 +33,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
- role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Setup Rust
uses: ./.github/actions/rust
@@ -47,7 +48,7 @@ jobs:
env:
RUSTC_WRAPPER: sccache
SCCACHE_BUCKET: multi-runner-cache-x1xibo9c
- SCCACHE_REGION: ${{ vars.AWS_REGION }}
+ SCCACHE_REGION: ${{ secrets.AWS_REGION }}
SCCACHE_S3_KEY_PREFIX: ${{ runner.os }}/sccache/${{ runner.arch }}/linux-gnu
formatting:
@@ -65,7 +66,7 @@ jobs:
cache: false
- name: Check formatting
- run: exit `cargo fmt --check --package=${{ inputs.package }} | wc -l`
+ run: cargo fmt --check --package=${{ inputs.package }}
unused_deps:
name: Unused dependencies
@@ -81,8 +82,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
- role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
+ aws-region: ${{ secrets.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Setup Rust
uses: ./.github/actions/rust
@@ -98,7 +100,7 @@ jobs:
env:
RUSTC_WRAPPER: sccache
SCCACHE_BUCKET: multi-runner-cache-x1xibo9c
- SCCACHE_REGION: ${{ vars.AWS_REGION }}
+ SCCACHE_REGION: ${{ secrets.AWS_REGION }}
SCCACHE_S3_KEY_PREFIX: ${{ runner.os }}/sccache/${{ runner.arch }}/linux-gnu
with:
args: ${{ steps.crate_info.outputs.cargo_manifest_dir }}
@@ -106,6 +108,10 @@ jobs:
detect_structure_changes:
name: Detect immutable structure changes
runs-on: ubuntu-22.04
+ # FIXME: as we use `gh pr view` below, this check can only
+ # run on pull requests. We should find a way to run it
+ # when manual triggers are used.
+ if: github.event_name == 'pull_request'
steps:
- name: Checkout base commit
uses: actions/checkout@v4
@@ -163,7 +169,7 @@ jobs:
test:
name: Tests
runs-on: ${{ fromJSON(inputs.test-runner) }}
- timeout-minutes: 20
+ timeout-minutes: 25
steps:
- name: Check out repo
uses: actions/checkout@v4
@@ -171,7 +177,9 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-region: ${{ secrets.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Setup Rust
uses: ./.github/actions/rust
@@ -181,7 +189,7 @@ jobs:
env:
RUSTC_WRAPPER: sccache
SCCACHE_BUCKET: multi-runner-cache-x1xibo9c
- SCCACHE_REGION: ${{ vars.AWS_REGION }}
+ SCCACHE_REGION: ${{ secrets.AWS_REGION }}
SCCACHE_S3_KEY_PREFIX: ${{ runner.os }}/sccache/${{ runner.arch }}/linux-gnu
check_each_feature:
@@ -196,12 +204,14 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-region: ${{ secrets.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Setup Rust
uses: ./.github/actions/rust
- - name: Get crate ${{ inputs.package }} info
+ - name: Get crate ${{ runner.arch }} info
id: crate_info
uses: ./.github/actions/crate_info
with:
@@ -211,13 +221,14 @@ jobs:
env:
RUSTC_WRAPPER: sccache
SCCACHE_BUCKET: multi-runner-cache-x1xibo9c
- SCCACHE_REGION: ${{ vars.AWS_REGION }}
+ SCCACHE_REGION: ${{ secrets.AWS_REGION }}
SCCACHE_S3_KEY_PREFIX: ${{ runner.os }}/sccache/${{ runner.arch }}/linux-gnu
run: |
echo Verify all features disabled
set -ex
features="${{ steps.crate_info.outputs.features }}"
fails=""
+ RUSTFLAGS="-D warnings"
cargo check --no-default-features --package "${{ inputs.package }}" --locked
for feature in $features ; do
echo " ============== Verify feature $feature =============="
diff --git a/.github/workflows/tests-test-suite.yml b/.github/workflows/tests-test-suite.yml
index 0baab8f6f09..f1d0ac16212 100644
--- a/.github/workflows/tests-test-suite.yml
+++ b/.github/workflows/tests-test-suite.yml
@@ -26,7 +26,7 @@ jobs:
timeout-minutes: 15
env:
CHROME_BIN: /usr/bin/brave-browser
- ECR_HOST: ${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com
+ ECR_HOST: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
steps:
- name: Check out repo
uses: actions/checkout@v4
@@ -42,10 +42,12 @@ jobs:
- name: Configure AWS credentials and bucket region
uses: aws-actions/configure-aws-credentials@v4
with:
- aws-region: ${{ vars.AWS_REGION }}
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: ${{ secrets.AWS_REGION }}
- name: Login to ECR
- run: aws ecr get-login-password --region ${{ vars.AWS_REGION }} | docker login --username AWS --password-stdin ${{ env.ECR_HOST }}
+ run: aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ env.ECR_HOST }}
- name: Start local network
uses: ./.github/actions/local-network
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index dd65706849b..c823d0cd061 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -6,7 +6,7 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master
- - v[0-9]+\.[0-9]+-dev
+ - 'v[0-9]+\.[0-9]+-dev'
push:
branches:
- master
@@ -83,11 +83,13 @@ jobs:
uses: ./.github/workflows/tests-rs-package.yml
with:
package: ${{ matrix.rs-package }}
- # Run drive and drive-abci linter on self-hosted 2x
- lint-runner: ${{ contains(fromJSON('["drive-abci", "drive"]'), matrix.rs-package) && '[ "self-hosted", "linux", "arm64", "ubuntu-platform" ]' || '"ubuntu-22.04"' }}
+ # lint-runner: ${{ contains(fromJSON('["drive-abci", "drive"]'), matrix.rs-package) && '[ "self-hosted", "linux", "arm64", "ubuntu-platform" ]' || '"ubuntu-22.04"' }}
+ # FIXME: Clippy fails on github hosted runners, most likely due to RAM usage. Using self-hosted runners for now.
+ lint-runner: '[ "self-hosted", "linux", "arm64", "ubuntu-platform" ]'
# Run drive tests on self-hosted 4x
- test-runner: ${{ contains(fromJSON('["drive-abci"]'), matrix.rs-package) && '[ "self-hosted", "linux", "arm64", "ubuntu-platform-4x" ]' || '[ "self-hosted", "linux", "arm64", "ubuntu-platform" ]' }}
- check-each-feature: ${{ contains(fromJSON('["rs-sdk","rs-dapi-client","dapi-grpc","dpp","drive-abci"]'), matrix.rs-package) }}
+ test-runner: '[ "self-hosted", "linux", "arm64", "ubuntu-platform" ]'
+ check-each-feature: ${{ contains(fromJSON('["dash-sdk","rs-dapi-client","dapi-grpc","dpp","drive-abci"]'), matrix.rs-package) }}
+
rs-crates-security:
name: Rust crates security audit
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || !github.event.pull_request.draft }}
@@ -126,9 +128,9 @@ jobs:
uses: actions/checkout@v4
- name: Setup Node.JS
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
- node-version: "18"
+ node-version: "20"
- name: Enable corepack
run: corepack enable
diff --git a/.pnp.cjs b/.pnp.cjs
index 7cdca897026..be7f91a39fb 100755
--- a/.pnp.cjs
+++ b/.pnp.cjs
@@ -141,8 +141,8 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@ampproject-remapping-npm-2.2.1-3da3d624be-e15fecbf3b.zip/node_modules/@ampproject/remapping/",\
"packageDependencies": [\
["@ampproject/remapping", "npm:2.2.1"],\
- ["@jridgewell/gen-mapping", "npm:0.3.2"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"]\
+ ["@jridgewell/gen-mapping", "npm:0.3.3"],\
+ ["@jridgewell/trace-mapping", "npm:0.3.18"]\
],\
"linkType": "HARD"\
}]\
@@ -189,7 +189,7 @@ const RAW_RUNTIME_STATE =
["commander", "npm:4.1.1"],\
["convert-source-map", "npm:2.0.0"],\
["fs-readdir-recursive", "npm:1.1.0"],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["make-dir", "npm:2.1.0"],\
["slash", "npm:2.0.0"]\
],\
@@ -201,14 +201,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/code-frame", [\
- ["npm:7.16.7", {\
- "packageLocation": "./.yarn/cache/@babel-code-frame-npm-7.16.7-093eb9e124-db2f7faa31.zip/node_modules/@babel/code-frame/",\
- "packageDependencies": [\
- ["@babel/code-frame", "npm:7.16.7"],\
- ["@babel/highlight", "npm:7.16.10"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.22.13", {\
"packageLocation": "./.yarn/cache/@babel-code-frame-npm-7.22.13-2782581d20-bf6ae6ba3a.zip/node_modules/@babel/code-frame/",\
"packageDependencies": [\
@@ -260,10 +252,10 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "SOFT"\
}],\
- ["virtual:880cda903c2a2be387819a3f857d21494004437a03c92969b9853f7bdeebdfed08d417e68364ee9e158338603a6d78d690c457a55ab11e56398bc10f0ad232fc#npm:7.23.3", {\
- "packageLocation": "./.yarn/__virtual__/@babel-eslint-parser-virtual-fb9593e0e4/0/cache/@babel-eslint-parser-npm-7.23.3-4d4192b444-bc487f67aa.zip/node_modules/@babel/eslint-parser/",\
+ ["virtual:6c6296bde00603e266f7d80babe1e01aa0c19f626934f58fe08f890a291bb1a38fcee25bf30c24857d5cfba290f01209decc48384318fd6815c5a514cb48be25#npm:7.23.3", {\
+ "packageLocation": "./.yarn/__virtual__/@babel-eslint-parser-virtual-6366d88438/0/cache/@babel-eslint-parser-npm-7.23.3-4d4192b444-bc487f67aa.zip/node_modules/@babel/eslint-parser/",\
"packageDependencies": [\
- ["@babel/eslint-parser", "virtual:880cda903c2a2be387819a3f857d21494004437a03c92969b9853f7bdeebdfed08d417e68364ee9e158338603a6d78d690c457a55ab11e56398bc10f0ad232fc#npm:7.23.3"],\
+ ["@babel/eslint-parser", "virtual:6c6296bde00603e266f7d80babe1e01aa0c19f626934f58fe08f890a291bb1a38fcee25bf30c24857d5cfba290f01209decc48384318fd6815c5a514cb48be25#npm:7.23.3"],\
["@babel/core", "npm:7.23.3"],\
["@nicolo-ribaudo/eslint-scope-5-internals", "npm:5.1.1-v1"],\
["@types/babel__core", null],\
@@ -282,16 +274,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/generator", [\
- ["npm:7.17.3", {\
- "packageLocation": "./.yarn/cache/@babel-generator-npm-7.17.3-b206625c17-9a102a87b4.zip/node_modules/@babel/generator/",\
- "packageDependencies": [\
- ["@babel/generator", "npm:7.17.3"],\
- ["@babel/types", "npm:7.17.0"],\
- ["jsesc", "npm:2.5.2"],\
- ["source-map", "npm:0.5.7"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.23.3", {\
"packageLocation": "./.yarn/cache/@babel-generator-npm-7.23.3-a2ca9dda65-0f815d275c.zip/node_modules/@babel/generator/",\
"packageDependencies": [\
@@ -412,7 +394,7 @@ const RAW_RUNTIME_STATE =
["@types/babel__core", null],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
["lodash.debounce", "npm:4.0.8"],\
- ["resolve", "patch:resolve@npm%3A1.22.0#optional!builtin::version=1.22.0&hash=c3c19d"]\
+ ["resolve", "patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d"]\
],\
"packagePeers": [\
"@babel/core",\
@@ -422,14 +404,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/helper-environment-visitor", [\
- ["npm:7.16.7", {\
- "packageLocation": "./.yarn/cache/@babel-helper-environment-visitor-npm-7.16.7-3ee2ba2019-c03a10105d.zip/node_modules/@babel/helper-environment-visitor/",\
- "packageDependencies": [\
- ["@babel/helper-environment-visitor", "npm:7.16.7"],\
- ["@babel/types", "npm:7.17.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.22.20", {\
"packageLocation": "./.yarn/cache/@babel-helper-environment-visitor-npm-7.22.20-260909e014-d80ee98ff6.zip/node_modules/@babel/helper-environment-visitor/",\
"packageDependencies": [\
@@ -439,16 +413,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/helper-function-name", [\
- ["npm:7.16.7", {\
- "packageLocation": "./.yarn/cache/@babel-helper-function-name-npm-7.16.7-aa24c7b296-12e2678236.zip/node_modules/@babel/helper-function-name/",\
- "packageDependencies": [\
- ["@babel/helper-function-name", "npm:7.16.7"],\
- ["@babel/helper-get-function-arity", "npm:7.16.7"],\
- ["@babel/template", "npm:7.16.7"],\
- ["@babel/types", "npm:7.17.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.23.0", {\
"packageLocation": "./.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-7b2ae024cd.zip/node_modules/@babel/helper-function-name/",\
"packageDependencies": [\
@@ -459,25 +423,7 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
- ["@babel/helper-get-function-arity", [\
- ["npm:7.16.7", {\
- "packageLocation": "./.yarn/cache/@babel-helper-get-function-arity-npm-7.16.7-987b1b1bed-25d969fb20.zip/node_modules/@babel/helper-get-function-arity/",\
- "packageDependencies": [\
- ["@babel/helper-get-function-arity", "npm:7.16.7"],\
- ["@babel/types", "npm:7.17.0"]\
- ],\
- "linkType": "HARD"\
- }]\
- ]],\
["@babel/helper-hoist-variables", [\
- ["npm:7.16.7", {\
- "packageLocation": "./.yarn/cache/@babel-helper-hoist-variables-npm-7.16.7-25cc3abba4-6ae1641f4a.zip/node_modules/@babel/helper-hoist-variables/",\
- "packageDependencies": [\
- ["@babel/helper-hoist-variables", "npm:7.16.7"],\
- ["@babel/types", "npm:7.17.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.22.5", {\
"packageLocation": "./.yarn/cache/@babel-helper-hoist-variables-npm-7.22.5-6db3192347-394ca191b4.zip/node_modules/@babel/helper-hoist-variables/",\
"packageDependencies": [\
@@ -545,13 +491,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/helper-plugin-utils", [\
- ["npm:7.14.5", {\
- "packageLocation": "./.yarn/cache/@babel-helper-plugin-utils-npm-7.14.5-e35eef11cb-fe20e90a24.zip/node_modules/@babel/helper-plugin-utils/",\
- "packageDependencies": [\
- ["@babel/helper-plugin-utils", "npm:7.14.5"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.22.5", {\
"packageLocation": "./.yarn/cache/@babel-helper-plugin-utils-npm-7.22.5-192e38e1de-ab220db218.zip/node_modules/@babel/helper-plugin-utils/",\
"packageDependencies": [\
@@ -631,14 +570,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/helper-split-export-declaration", [\
- ["npm:7.16.7", {\
- "packageLocation": "./.yarn/cache/@babel-helper-split-export-declaration-npm-7.16.7-5b9ae90171-e10aaf1354.zip/node_modules/@babel/helper-split-export-declaration/",\
- "packageDependencies": [\
- ["@babel/helper-split-export-declaration", "npm:7.16.7"],\
- ["@babel/types", "npm:7.17.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.22.6", {\
"packageLocation": "./.yarn/cache/@babel-helper-split-export-declaration-npm-7.22.6-e723505aef-e141cace58.zip/node_modules/@babel/helper-split-export-declaration/",\
"packageDependencies": [\
@@ -658,13 +589,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/helper-validator-identifier", [\
- ["npm:7.16.7", {\
- "packageLocation": "./.yarn/cache/@babel-helper-validator-identifier-npm-7.16.7-8599fb00fc-42b9b56c35.zip/node_modules/@babel/helper-validator-identifier/",\
- "packageDependencies": [\
- ["@babel/helper-validator-identifier", "npm:7.16.7"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.22.20", {\
"packageLocation": "./.yarn/cache/@babel-helper-validator-identifier-npm-7.22.20-18305bb306-df882d2675.zip/node_modules/@babel/helper-validator-identifier/",\
"packageDependencies": [\
@@ -707,16 +631,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/highlight", [\
- ["npm:7.16.10", {\
- "packageLocation": "./.yarn/cache/@babel-highlight-npm-7.16.10-626c03326c-1f1bdd752a.zip/node_modules/@babel/highlight/",\
- "packageDependencies": [\
- ["@babel/highlight", "npm:7.16.10"],\
- ["@babel/helper-validator-identifier", "npm:7.16.7"],\
- ["chalk", "npm:2.4.2"],\
- ["js-tokens", "npm:4.0.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.22.20", {\
"packageLocation": "./.yarn/cache/@babel-highlight-npm-7.22.20-5de7aba88d-1aabc95b2c.zip/node_modules/@babel/highlight/",\
"packageDependencies": [\
@@ -729,19 +643,11 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/parser", [\
- ["npm:7.17.3", {\
- "packageLocation": "./.yarn/cache/@babel-parser-npm-7.17.3-1c3b6747e0-2d45750cdf.zip/node_modules/@babel/parser/",\
- "packageDependencies": [\
- ["@babel/parser", "npm:7.17.3"],\
- ["@babel/types", "npm:7.17.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.23.3", {\
"packageLocation": "./.yarn/cache/@babel-parser-npm-7.23.3-8d3a021e39-284c22ec1d.zip/node_modules/@babel/parser/",\
"packageDependencies": [\
["@babel/parser", "npm:7.23.3"],\
- ["@babel/types", "npm:7.17.0"]\
+ ["@babel/types", "npm:7.23.3"]\
],\
"linkType": "HARD"\
}]\
@@ -853,7 +759,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-async-generators", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.8.4"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -876,7 +782,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-class-properties", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.12.13"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -899,7 +805,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-class-static-block", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.14.5"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -922,7 +828,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-dynamic-import", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.8.3"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -945,7 +851,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-export-namespace-from", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.8.3"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1014,7 +920,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-import-meta", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.10.4"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1037,7 +943,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-json-strings", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.8.3"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1060,7 +966,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-logical-assignment-operators", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.10.4"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1083,7 +989,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-nullish-coalescing-operator", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.8.3"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1106,7 +1012,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-numeric-separator", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.10.4"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1129,7 +1035,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-object-rest-spread", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.8.3"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1152,7 +1058,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-optional-catch-binding", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.8.3"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1175,7 +1081,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-optional-chaining", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.8.3"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1198,7 +1104,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-private-property-in-object", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.14.5"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -1221,7 +1127,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/plugin-syntax-top-level-await", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:7.14.5"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
["@types/babel__core", null]\
],\
"packagePeers": [\
@@ -2526,8 +2432,8 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@babel/preset-modules", "virtual:06ad3cc0f492132e824d7a51e866fc99416784543ebe8e22dd21ed1a109e82519f799617af68c863bbb60d4e132d3b2572fd956418eb89500f47ecbe5029e03e#npm:0.1.6-no-external-plugins"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/helper-plugin-utils", "npm:7.14.5"],\
- ["@babel/types", "npm:7.17.0"],\
+ ["@babel/helper-plugin-utils", "npm:7.22.5"],\
+ ["@babel/types", "npm:7.23.3"],\
["@types/babel__core", null],\
["esutils", "npm:2.0.3"]\
],\
@@ -2558,16 +2464,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/template", [\
- ["npm:7.16.7", {\
- "packageLocation": "./.yarn/cache/@babel-template-npm-7.16.7-a18e444be8-f35836a8cd.zip/node_modules/@babel/template/",\
- "packageDependencies": [\
- ["@babel/template", "npm:7.16.7"],\
- ["@babel/code-frame", "npm:7.16.7"],\
- ["@babel/parser", "npm:7.17.3"],\
- ["@babel/types", "npm:7.17.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.22.15", {\
"packageLocation": "./.yarn/cache/@babel-template-npm-7.22.15-0b464facb4-21e768e4ee.zip/node_modules/@babel/template/",\
"packageDependencies": [\
@@ -2580,23 +2476,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/traverse", [\
- ["npm:7.17.3", {\
- "packageLocation": "./.yarn/cache/@babel-traverse-npm-7.17.3-c2bff3e671-03aed531e0.zip/node_modules/@babel/traverse/",\
- "packageDependencies": [\
- ["@babel/traverse", "npm:7.17.3"],\
- ["@babel/code-frame", "npm:7.16.7"],\
- ["@babel/generator", "npm:7.17.3"],\
- ["@babel/helper-environment-visitor", "npm:7.16.7"],\
- ["@babel/helper-function-name", "npm:7.16.7"],\
- ["@babel/helper-hoist-variables", "npm:7.16.7"],\
- ["@babel/helper-split-export-declaration", "npm:7.16.7"],\
- ["@babel/parser", "npm:7.17.3"],\
- ["@babel/types", "npm:7.17.0"],\
- ["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
- ["globals", "npm:11.12.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.23.3", {\
"packageLocation": "./.yarn/cache/@babel-traverse-npm-7.23.3-a268f4c943-522ef8eefe.zip/node_modules/@babel/traverse/",\
"packageDependencies": [\
@@ -2616,15 +2495,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@babel/types", [\
- ["npm:7.17.0", {\
- "packageLocation": "./.yarn/cache/@babel-types-npm-7.17.0-3c936b54e4-535ccef360.zip/node_modules/@babel/types/",\
- "packageDependencies": [\
- ["@babel/types", "npm:7.17.0"],\
- ["@babel/helper-validator-identifier", "npm:7.16.7"],\
- ["to-fast-properties", "npm:2.0.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.23.3", {\
"packageLocation": "./.yarn/cache/@babel-types-npm-7.23.3-77a779c6d4-05ec1527d0.zip/node_modules/@babel/types/",\
"packageDependencies": [\
@@ -2654,24 +2524,7 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
- ["@cspotcode/source-map-consumer", [\
- ["npm:0.8.0", {\
- "packageLocation": "./.yarn/cache/@cspotcode-source-map-consumer-npm-0.8.0-1f37e9e72b-dfe1399712.zip/node_modules/@cspotcode/source-map-consumer/",\
- "packageDependencies": [\
- ["@cspotcode/source-map-consumer", "npm:0.8.0"]\
- ],\
- "linkType": "HARD"\
- }]\
- ]],\
["@cspotcode/source-map-support", [\
- ["npm:0.7.0", {\
- "packageLocation": "./.yarn/cache/@cspotcode-source-map-support-npm-0.7.0-456c3ea2ce-d58b31640c.zip/node_modules/@cspotcode/source-map-support/",\
- "packageDependencies": [\
- ["@cspotcode/source-map-support", "npm:0.7.0"],\
- ["@cspotcode/source-map-consumer", "npm:0.8.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:0.8.1", {\
"packageLocation": "./.yarn/cache/@cspotcode-source-map-support-npm-0.8.1-964f2de99d-b6e38a1712.zip/node_modules/@cspotcode/source-map-support/",\
"packageDependencies": [\
@@ -2698,7 +2551,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./packages/bench-suite/",\
"packageDependencies": [\
["@dashevo/bench-suite", "workspace:packages/bench-suite"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
["@dashevo/dpns-contract", "workspace:packages/dpns-contract"],\
["@dashevo/wallet-lib", "workspace:packages/wallet-lib"],\
["@dashevo/wasm-dpp", "workspace:packages/wasm-dpp"],\
@@ -2731,17 +2584,19 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./packages/dapi/",\
"packageDependencies": [\
["@dashevo/dapi", "workspace:packages/dapi"],\
+ ["@babel/core", "npm:7.23.3"],\
+ ["@babel/eslint-parser", "virtual:6c6296bde00603e266f7d80babe1e01aa0c19f626934f58fe08f890a291bb1a38fcee25bf30c24857d5cfba290f01209decc48384318fd6815c5a514cb48be25#npm:7.23.3"],\
["@dashevo/bls", "npm:1.2.9"],\
["@dashevo/dapi-client", "workspace:packages/js-dapi-client"],\
["@dashevo/dapi-grpc", "workspace:packages/dapi-grpc"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
- ["@dashevo/dashd-rpc", "npm:18.2.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
+ ["@dashevo/dashd-rpc", "npm:19.0.0"],\
["@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"],\
["@grpc/grpc-js", "npm:1.4.4"],\
["@pshenmic/zeromq", "npm:6.0.0-beta.22"],\
- ["ajv", "npm:8.8.1"],\
+ ["ajv", "npm:8.12.0"],\
["bs58", "npm:4.0.1"],\
["cbor", "npm:8.1.0"],\
["chai", "npm:4.3.10"],\
@@ -2766,7 +2621,7 @@ const RAW_RUNTIME_STATE =
["sinon", "npm:17.0.1"],\
["sinon-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:3.7.0"],\
["swagger-jsdoc", "npm:3.7.0"],\
- ["ws", "virtual:7469c013e9c5baa67d67122340123f2260ba4f66d6748855fb7f2ab67ea3fe52b2c8821a105003266d54faf99a9564056fb1b532d9ae8b6985087ab5f8394bf0#npm:7.5.5"]\
+ ["ws", "virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.17.1"]\
],\
"linkType": "SOFT"\
}]\
@@ -2779,7 +2634,7 @@ const RAW_RUNTIME_STATE =
["@babel/core", "npm:7.23.3"],\
["@dashevo/dapi-grpc", "workspace:packages/dapi-grpc"],\
["@dashevo/dash-spv", "workspace:packages/dash-spv"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
["@dashevo/grpc-common", "workspace:packages/js-grpc-common"],\
["@dashevo/wasm-dpp", "workspace:packages/wasm-dpp"],\
["assert-browserify", "npm:2.0.0"],\
@@ -2800,7 +2655,7 @@ const RAW_RUNTIME_STATE =
["eslint-plugin-jsdoc", "virtual:8f25fc90e0fb5fd89843707863857591fa8c52f9f33eadced4bf404b1871d91959f7bb86948ae0e1b53ee94d491ef8fde9c0b58b39c9490c0d0fa6c931945f97#npm:46.9.0"],\
["events", "npm:3.3.0"],\
["google-protobuf", "npm:3.19.1"],\
- ["karma", "npm:6.4.1"],\
+ ["karma", "npm:6.4.3"],\
["karma-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:0.1.0"],\
["karma-chrome-launcher", "npm:3.1.0"],\
["karma-firefox-launcher", "npm:2.1.2"],\
@@ -2871,7 +2726,7 @@ const RAW_RUNTIME_STATE =
["@dashevo/dash-spv", "workspace:packages/dash-spv"],\
["@dashevo/dark-gravity-wave", "npm:1.1.1"],\
["@dashevo/dash-util", "npm:2.0.3"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
["chai", "npm:4.3.10"],\
["eslint", "npm:8.53.0"],\
["eslint-config-airbnb-base", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:15.0.0"],\
@@ -2898,10 +2753,10 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@dashevo/dashcore-lib", [\
- ["npm:0.21.0", {\
- "packageLocation": "./.yarn/cache/@dashevo-dashcore-lib-npm-0.21.0-1997e852e6-fb4419623f.zip/node_modules/@dashevo/dashcore-lib/",\
+ ["npm:0.21.3", {\
+ "packageLocation": "./.yarn/cache/@dashevo-dashcore-lib-npm-0.21.3-8c8abba924-28e2731ac6.zip/node_modules/@dashevo/dashcore-lib/",\
"packageDependencies": [\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
["@dashevo/bls", "npm:1.2.9"],\
["@dashevo/x11-hash-js", "npm:1.0.2"],\
["@types/node", "npm:12.20.37"],\
@@ -2919,10 +2774,10 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@dashevo/dashd-rpc", [\
- ["npm:18.2.0", {\
- "packageLocation": "./.yarn/cache/@dashevo-dashd-rpc-npm-18.2.0-194a5d4c4b-38341b8d5a.zip/node_modules/@dashevo/dashd-rpc/",\
+ ["npm:19.0.0", {\
+ "packageLocation": "./.yarn/cache/@dashevo-dashd-rpc-npm-19.0.0-54bb2a5dfc-2eab84af3e.zip/node_modules/@dashevo/dashd-rpc/",\
"packageDependencies": [\
- ["@dashevo/dashd-rpc", "npm:18.2.0"],\
+ ["@dashevo/dashd-rpc", "npm:19.0.0"],\
["async", "npm:3.2.4"],\
["bluebird", "npm:3.7.2"]\
],\
@@ -3084,13 +2939,14 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@dashevo/platform-test-suite", "workspace:packages/platform-test-suite"],\
["@dashevo/dapi-client", "workspace:packages/js-dapi-client"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
["@dashevo/dpns-contract", "workspace:packages/dpns-contract"],\
["@dashevo/feature-flags-contract", "workspace:packages/feature-flags-contract"],\
["@dashevo/grpc-common", "workspace:packages/js-grpc-common"],\
["@dashevo/masternode-reward-shares-contract", "workspace:packages/masternode-reward-shares-contract"],\
["@dashevo/wallet-lib", "workspace:packages/wallet-lib"],\
["@dashevo/wasm-dpp", "workspace:packages/wasm-dpp"],\
+ ["@dashevo/withdrawals-contract", "workspace:packages/withdrawals-contract"],\
["assert", "npm:2.0.0"],\
["assert-browserify", "npm:2.0.0"],\
["browserify-zlib", "npm:0.2.0"],\
@@ -3106,10 +2962,10 @@ const RAW_RUNTIME_STATE =
["eslint-config-airbnb-base", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:15.0.0"],\
["eslint-plugin-import", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:2.29.0"],\
["events", "npm:3.3.0"],\
- ["glob", "npm:10.3.4"],\
+ ["glob", "npm:10.4.1"],\
["https-browserify", "npm:1.0.0"],\
["js-merkle", "npm:0.1.5"],\
- ["karma", "npm:6.4.1"],\
+ ["karma", "npm:6.4.3"],\
["karma-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:0.1.0"],\
["karma-chrome-launcher", "npm:3.1.0"],\
["karma-firefox-launcher", "npm:2.1.2"],\
@@ -3125,6 +2981,7 @@ const RAW_RUNTIME_STATE =
["path-browserify", "npm:1.0.1"],\
["process", "npm:0.11.10"],\
["semver", "npm:7.5.3"],\
+ ["setimmediate", "npm:1.0.5"],\
["sinon", "npm:17.0.1"],\
["sinon-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:3.7.0"],\
["stream-browserify", "npm:3.0.0"],\
@@ -3135,7 +2992,7 @@ const RAW_RUNTIME_STATE =
["utf-8-validate", "npm:5.0.9"],\
["util", "npm:0.12.4"],\
["webpack", "virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:5.76.1"],\
- ["ws", "virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:7.5.5"]\
+ ["ws", "virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:8.17.1"]\
],\
"linkType": "SOFT"\
}]\
@@ -3159,9 +3016,9 @@ const RAW_RUNTIME_STATE =
["@types/node", "npm:13.13.52"],\
["chalk", "npm:3.0.0"],\
["escodegen", "npm:2.0.0"],\
- ["espree", "npm:9.1.0"],\
+ ["espree", "npm:9.6.1"],\
["estraverse", "npm:5.3.0"],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["long", "npm:4.0.0"],\
["minimist", "npm:1.2.6"],\
["semver", "npm:7.5.3"],\
@@ -3177,7 +3034,7 @@ const RAW_RUNTIME_STATE =
["@dashevo/wallet-lib", "workspace:packages/wallet-lib"],\
["@dashevo/dapi-client", "workspace:packages/js-dapi-client"],\
["@dashevo/dash-spv", "workspace:packages/dash-spv"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
["@dashevo/grpc-common", "workspace:packages/js-grpc-common"],\
["@dashevo/wasm-dpp", "workspace:packages/wasm-dpp"],\
["@yarnpkg/pnpify", "npm:4.0.0-rc.42"],\
@@ -3196,7 +3053,7 @@ const RAW_RUNTIME_STATE =
["eslint-plugin-import", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:2.29.0"],\
["events", "npm:3.3.0"],\
["https-browserify", "npm:1.0.0"],\
- ["karma", "npm:6.4.1"],\
+ ["karma", "npm:6.4.3"],\
["karma-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:0.1.0"],\
["karma-chrome-launcher", "npm:3.1.0"],\
["karma-firefox-launcher", "npm:2.1.2"],\
@@ -3239,12 +3096,12 @@ const RAW_RUNTIME_STATE =
["@babel/core", "npm:7.23.3"],\
["@babel/preset-env", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:7.23.3"],\
["@dashevo/bls", "npm:1.2.9"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
["@dashevo/dpns-contract", "workspace:packages/dpns-contract"],\
["@types/bs58", "npm:4.0.1"],\
["@types/node", "npm:14.17.34"],\
["@yarnpkg/pnpify", "npm:4.0.0-rc.42"],\
- ["ajv", "npm:8.8.1"],\
+ ["ajv", "npm:8.12.0"],\
["assert", "npm:2.0.0"],\
["bs58", "npm:4.0.1"],\
["buffer", "npm:6.0.3"],\
@@ -3261,7 +3118,7 @@ const RAW_RUNTIME_STATE =
["fast-json-patch", "npm:3.1.1"],\
["https-browserify", "npm:1.0.0"],\
["json-schema-diff-validator", "npm:0.4.1"],\
- ["karma", "npm:6.4.1"],\
+ ["karma", "npm:6.4.3"],\
["karma-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:0.1.0"],\
["karma-chrome-launcher", "npm:3.1.0"],\
["karma-firefox-launcher", "npm:2.1.2"],\
@@ -3339,13 +3196,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@eslint-community/eslint-utils", [\
- ["npm:4.2.0", {\
- "packageLocation": "./.yarn/cache/@eslint-community-eslint-utils-npm-4.2.0-434cf92d50-ef8b20b0c7.zip/node_modules/@eslint-community/eslint-utils/",\
- "packageDependencies": [\
- ["@eslint-community/eslint-utils", "npm:4.2.0"]\
- ],\
- "linkType": "SOFT"\
- }],\
["npm:4.4.0", {\
"packageLocation": "./.yarn/cache/@eslint-community-eslint-utils-npm-4.4.0-d1791bd5a3-8d70bcdcd8.zip/node_modules/@eslint-community/eslint-utils/",\
"packageDependencies": [\
@@ -3353,13 +3203,13 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "SOFT"\
}],\
- ["virtual:2fc5c501d26c4c2fbc6a1d931e87d32adb7d9118fbcd7303a7b7faae809112bde136383859a265761a47c2852a001b7b803bf80e734ffa8ddc2ca30c129d1d76#npm:4.2.0", {\
- "packageLocation": "./.yarn/__virtual__/@eslint-community-eslint-utils-virtual-1e8778691e/0/cache/@eslint-community-eslint-utils-npm-4.2.0-434cf92d50-ef8b20b0c7.zip/node_modules/@eslint-community/eslint-utils/",\
+ ["virtual:2fc5c501d26c4c2fbc6a1d931e87d32adb7d9118fbcd7303a7b7faae809112bde136383859a265761a47c2852a001b7b803bf80e734ffa8ddc2ca30c129d1d76#npm:4.4.0", {\
+ "packageLocation": "./.yarn/__virtual__/@eslint-community-eslint-utils-virtual-4b69618f4d/0/cache/@eslint-community-eslint-utils-npm-4.4.0-d1791bd5a3-8d70bcdcd8.zip/node_modules/@eslint-community/eslint-utils/",\
"packageDependencies": [\
- ["@eslint-community/eslint-utils", "virtual:2fc5c501d26c4c2fbc6a1d931e87d32adb7d9118fbcd7303a7b7faae809112bde136383859a265761a47c2852a001b7b803bf80e734ffa8ddc2ca30c129d1d76#npm:4.2.0"],\
+ ["@eslint-community/eslint-utils", "virtual:2fc5c501d26c4c2fbc6a1d931e87d32adb7d9118fbcd7303a7b7faae809112bde136383859a265761a47c2852a001b7b803bf80e734ffa8ddc2ca30c129d1d76#npm:4.4.0"],\
["@types/eslint", null],\
["eslint", "npm:8.53.0"],\
- ["eslint-visitor-keys", "npm:3.3.0"]\
+ ["eslint-visitor-keys", "npm:3.4.3"]\
],\
"packagePeers": [\
"@types/eslint",\
@@ -3373,7 +3223,7 @@ const RAW_RUNTIME_STATE =
["@eslint-community/eslint-utils", "virtual:b13453c6e327a35c05e8ce1283d4970e5e4619ba21a2fa8909367ea67136c23860ec34186acaf505374401498c777e7891702b73bbd3697c54d0993c3fd435cd#npm:4.4.0"],\
["@types/eslint", null],\
["eslint", null],\
- ["eslint-visitor-keys", "npm:3.3.0"]\
+ ["eslint-visitor-keys", "npm:3.4.3"]\
],\
"packagePeers": [\
"@types/eslint",\
@@ -3389,13 +3239,6 @@ const RAW_RUNTIME_STATE =
["@eslint-community/regexpp", "npm:4.10.0"]\
],\
"linkType": "HARD"\
- }],\
- ["npm:4.4.0", {\
- "packageLocation": "./.yarn/cache/@eslint-community-regexpp-npm-4.4.0-6bee7b2314-3d9b740479.zip/node_modules/@eslint-community/regexpp/",\
- "packageDependencies": [\
- ["@eslint-community/regexpp", "npm:4.4.0"]\
- ],\
- "linkType": "HARD"\
}]\
]],\
["@eslint/eslintrc", [\
@@ -3431,7 +3274,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@grpc/grpc-js", "npm:1.4.4"],\
["@grpc/proto-loader", "npm:0.6.13"],\
- ["@types/node", "npm:17.0.21"]\
+ ["@types/node", "npm:18.16.1"]\
],\
"linkType": "HARD"\
}]\
@@ -3597,35 +3440,18 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@jridgewell/gen-mapping", [\
- ["npm:0.3.2", {\
- "packageLocation": "./.yarn/cache/@jridgewell-gen-mapping-npm-0.3.2-c64eeb4a4e-7ba0070be1.zip/node_modules/@jridgewell/gen-mapping/",\
- "packageDependencies": [\
- ["@jridgewell/gen-mapping", "npm:0.3.2"],\
- ["@jridgewell/set-array", "npm:1.1.2"],\
- ["@jridgewell/sourcemap-codec", "npm:1.4.14"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:0.3.3", {\
"packageLocation": "./.yarn/cache/@jridgewell-gen-mapping-npm-0.3.3-1815eba94c-072ace159c.zip/node_modules/@jridgewell/gen-mapping/",\
"packageDependencies": [\
["@jridgewell/gen-mapping", "npm:0.3.3"],\
["@jridgewell/set-array", "npm:1.1.2"],\
["@jridgewell/sourcemap-codec", "npm:1.4.14"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"]\
+ ["@jridgewell/trace-mapping", "npm:0.3.18"]\
],\
"linkType": "HARD"\
}]\
]],\
["@jridgewell/resolve-uri", [\
- ["npm:3.0.8", {\
- "packageLocation": "./.yarn/cache/@jridgewell-resolve-uri-npm-3.0.8-94779c6a1d-ba6bb26bae.zip/node_modules/@jridgewell/resolve-uri/",\
- "packageDependencies": [\
- ["@jridgewell/resolve-uri", "npm:3.0.8"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:3.1.0", {\
"packageLocation": "./.yarn/cache/@jridgewell-resolve-uri-npm-3.1.0-6ff2351e61-320ceb37af.zip/node_modules/@jridgewell/resolve-uri/",\
"packageDependencies": [\
@@ -3648,8 +3474,8 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@jridgewell-source-map-npm-0.3.2-6fd1f37b22-1aaa42075b.zip/node_modules/@jridgewell/source-map/",\
"packageDependencies": [\
["@jridgewell/source-map", "npm:0.3.2"],\
- ["@jridgewell/gen-mapping", "npm:0.3.2"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"]\
+ ["@jridgewell/gen-mapping", "npm:0.3.3"],\
+ ["@jridgewell/trace-mapping", "npm:0.3.18"]\
],\
"linkType": "HARD"\
}]\
@@ -3664,15 +3490,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@jridgewell/trace-mapping", [\
- ["npm:0.3.15", {\
- "packageLocation": "./.yarn/cache/@jridgewell-trace-mapping-npm-0.3.15-7357dbf648-c889039e05.zip/node_modules/@jridgewell/trace-mapping/",\
- "packageDependencies": [\
- ["@jridgewell/trace-mapping", "npm:0.3.15"],\
- ["@jridgewell/resolve-uri", "npm:3.0.8"],\
- ["@jridgewell/sourcemap-codec", "npm:1.4.14"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:0.3.18", {\
"packageLocation": "./.yarn/cache/@jridgewell-trace-mapping-npm-0.3.18-cd96571385-f4fabdddf8.zip/node_modules/@jridgewell/trace-mapping/",\
"packageDependencies": [\
@@ -3686,7 +3503,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@jridgewell-trace-mapping-npm-0.3.9-91625cd7fb-83deafb8e7.zip/node_modules/@jridgewell/trace-mapping/",\
"packageDependencies": [\
["@jridgewell/trace-mapping", "npm:0.3.9"],\
- ["@jridgewell/resolve-uri", "npm:3.0.8"],\
+ ["@jridgewell/resolve-uri", "npm:3.1.0"],\
["@jridgewell/sourcemap-codec", "npm:1.4.14"]\
],\
"linkType": "HARD"\
@@ -3883,8 +3700,8 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@npmcli/map-workspaces", "npm:2.0.1"],\
["@npmcli/name-from-folder", "npm:1.0.1"],\
- ["glob", "npm:7.2.0"],\
- ["minimatch", "npm:5.0.0"],\
+ ["glob", "npm:7.2.3"],\
+ ["minimatch", "npm:5.1.6"],\
["read-package-json-fast", "npm:2.0.3"]\
],\
"linkType": "HARD"\
@@ -4005,7 +3822,7 @@ const RAW_RUNTIME_STATE =
["clean-stack", "npm:3.0.1"],\
["cli-progress", "npm:3.12.0"],\
["debug", "virtual:87db25c7c5e6b25bbc12571091cdabc648b79d427ab445d1714ccfdcdfb3265c9de6561ca760cc3de470037cbedf3af4be56ba3b684b3a1c01d4c9c2fd55a741#npm:4.3.4"],\
- ["ejs", "npm:3.1.8"],\
+ ["ejs", "npm:3.1.10"],\
["get-package-type", "npm:0.1.0"],\
["globby", "npm:11.1.0"],\
["hyperlinker", "npm:1.0.0"],\
@@ -4019,7 +3836,7 @@ const RAW_RUNTIME_STATE =
["string-width", "npm:4.2.3"],\
["strip-ansi", "npm:6.0.1"],\
["supports-color", "npm:8.1.1"],\
- ["supports-hyperlinks", "npm:2.2.0"],\
+ ["supports-hyperlinks", "npm:2.3.0"],\
["ts-node", "virtual:ea55642553292d92df3b95679ce7d915309f63e183de810f329a0681dbf96348ae483bd374f89b77a6617494a51dc04338bed5fc7e9ba4255333eb598d1d96a6#npm:10.9.1"],\
["tslib", "npm:2.6.2"],\
["widest-line", "npm:3.1.0"],\
@@ -4039,7 +3856,7 @@ const RAW_RUNTIME_STATE =
["clean-stack", "npm:3.0.1"],\
["cli-progress", "npm:3.12.0"],\
["debug", "virtual:87db25c7c5e6b25bbc12571091cdabc648b79d427ab445d1714ccfdcdfb3265c9de6561ca760cc3de470037cbedf3af4be56ba3b684b3a1c01d4c9c2fd55a741#npm:4.3.4"],\
- ["ejs", "npm:3.1.8"],\
+ ["ejs", "npm:3.1.10"],\
["get-package-type", "npm:0.1.0"],\
["globby", "npm:11.1.0"],\
["hyperlinker", "npm:1.0.0"],\
@@ -4053,13 +3870,48 @@ const RAW_RUNTIME_STATE =
["string-width", "npm:4.2.3"],\
["strip-ansi", "npm:6.0.1"],\
["supports-color", "npm:8.1.1"],\
- ["supports-hyperlinks", "npm:2.2.0"],\
+ ["supports-hyperlinks", "npm:2.3.0"],\
["tsconfck", "virtual:8f21c98bfcc042ba60b788a91928a322c2913836408eca0abbbf7e052098181701b9cf262c158a547725d8391dd3ff1a933d413944d0ea9e7f920b175a28a2e9#npm:3.0.0"],\
["widest-line", "npm:3.1.0"],\
["wordwrap", "npm:1.0.0"],\
["wrap-ansi", "npm:7.0.0"]\
],\
"linkType": "HARD"\
+ }],\
+ ["npm:3.26.5", {\
+ "packageLocation": "./.yarn/cache/@oclif-core-npm-3.26.5-02719845fd-4e2aa1a945.zip/node_modules/@oclif/core/",\
+ "packageDependencies": [\
+ ["@oclif/core", "npm:3.26.5"],\
+ ["@types/cli-progress", "npm:3.11.5"],\
+ ["ansi-escapes", "npm:4.3.2"],\
+ ["ansi-styles", "npm:4.3.0"],\
+ ["cardinal", "npm:2.1.1"],\
+ ["chalk", "npm:4.1.2"],\
+ ["clean-stack", "npm:3.0.1"],\
+ ["cli-progress", "npm:3.12.0"],\
+ ["color", "npm:4.2.3"],\
+ ["debug", "virtual:87db25c7c5e6b25bbc12571091cdabc648b79d427ab445d1714ccfdcdfb3265c9de6561ca760cc3de470037cbedf3af4be56ba3b684b3a1c01d4c9c2fd55a741#npm:4.3.4"],\
+ ["ejs", "npm:3.1.10"],\
+ ["get-package-type", "npm:0.1.0"],\
+ ["globby", "npm:11.1.0"],\
+ ["hyperlinker", "npm:1.0.0"],\
+ ["indent-string", "npm:4.0.0"],\
+ ["is-wsl", "npm:2.2.0"],\
+ ["js-yaml", "npm:3.14.1"],\
+ ["minimatch", "npm:9.0.4"],\
+ ["natural-orderby", "npm:2.0.3"],\
+ ["object-treeify", "npm:1.1.33"],\
+ ["password-prompt", "npm:1.1.3"],\
+ ["slice-ansi", "npm:4.0.0"],\
+ ["string-width", "npm:4.2.3"],\
+ ["strip-ansi", "npm:6.0.1"],\
+ ["supports-color", "npm:8.1.1"],\
+ ["supports-hyperlinks", "npm:2.3.0"],\
+ ["widest-line", "npm:3.1.0"],\
+ ["wordwrap", "npm:1.0.0"],\
+ ["wrap-ansi", "npm:7.0.0"]\
+ ],\
+ "linkType": "HARD"\
}]\
]],\
["@oclif/plugin-help", [\
@@ -4668,7 +4520,7 @@ const RAW_RUNTIME_STATE =
["@types/cacheable-request", "npm:6.0.3"],\
["@types/http-cache-semantics", "npm:4.0.4"],\
["@types/keyv", "npm:3.1.4"],\
- ["@types/node", "npm:17.0.21"],\
+ ["@types/node", "npm:18.16.1"],\
["@types/responselike", "npm:1.0.3"]\
],\
"linkType": "HARD"\
@@ -4698,7 +4550,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@types-cli-progress-npm-3.11.5-180614d1b0-cb19187637.zip/node_modules/@types/cli-progress/",\
"packageDependencies": [\
["@types/cli-progress", "npm:3.11.5"],\
- ["@types/node", "npm:17.0.21"]\
+ ["@types/node", "npm:18.16.1"]\
],\
"linkType": "HARD"\
}]\
@@ -4708,7 +4560,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@types-connect-npm-3.4.35-7337eee0a3-fe81351470.zip/node_modules/@types/connect/",\
"packageDependencies": [\
["@types/connect", "npm:3.4.35"],\
- ["@types/node", "npm:17.0.21"]\
+ ["@types/node", "npm:18.16.1"]\
],\
"linkType": "HARD"\
}]\
@@ -4757,7 +4609,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@types/eslint", "npm:7.29.0"],\
["@types/estree", "npm:0.0.51"],\
- ["@types/json-schema", "npm:7.0.11"]\
+ ["@types/json-schema", "npm:7.0.15"]\
],\
"linkType": "HARD"\
}],\
@@ -4766,7 +4618,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@types/eslint", "npm:8.2.0"],\
["@types/estree", "npm:0.0.51"],\
- ["@types/json-schema", "npm:7.0.11"]\
+ ["@types/json-schema", "npm:7.0.15"]\
],\
"linkType": "HARD"\
}]\
@@ -4810,13 +4662,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["@types/json-schema", [\
- ["npm:7.0.11", {\
- "packageLocation": "./.yarn/cache/@types-json-schema-npm-7.0.11-79462ae5ca-e50864a93f.zip/node_modules/@types/json-schema/",\
- "packageDependencies": [\
- ["@types/json-schema", "npm:7.0.11"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.0.15", {\
"packageLocation": "./.yarn/cache/@types-json-schema-npm-7.0.15-fd16381786-1a3c3e0623.zip/node_modules/@types/json-schema/",\
"packageDependencies": [\
@@ -4830,7 +4675,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@types-keyv-npm-3.1.4-a8082ea56b-e009a2bfb5.zip/node_modules/@types/keyv/",\
"packageDependencies": [\
["@types/keyv", "npm:3.1.4"],\
- ["@types/node", "npm:17.0.21"]\
+ ["@types/node", "npm:18.16.1"]\
],\
"linkType": "HARD"\
}]\
@@ -4907,13 +4752,6 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["npm:17.0.21", {\
- "packageLocation": "./.yarn/cache/@types-node-npm-17.0.21-7d68eb6a13-2beae12b02.zip/node_modules/@types/node/",\
- "packageDependencies": [\
- ["@types/node", "npm:17.0.21"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:18.16.1", {\
"packageLocation": "./.yarn/cache/@types-node-npm-18.16.1-b36b37400b-d77a82fa40.zip/node_modules/@types/node/",\
"packageDependencies": [\
@@ -4936,19 +4774,12 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@types-responselike-npm-1.0.3-de0150f03d-6ac4b35723.zip/node_modules/@types/responselike/",\
"packageDependencies": [\
["@types/responselike", "npm:1.0.3"],\
- ["@types/node", "npm:17.0.21"]\
+ ["@types/node", "npm:18.16.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@types/semver", [\
- ["npm:7.3.13", {\
- "packageLocation": "./.yarn/cache/@types-semver-npm-7.3.13-56212b60da-0064efd7a0.zip/node_modules/@types/semver/",\
- "packageDependencies": [\
- ["@types/semver", "npm:7.3.13"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.5.5", {\
"packageLocation": "./.yarn/cache/@types-semver-npm-7.5.5-a3c0668cf4-1b0be2c4d8.zip/node_modules/@types/semver/",\
"packageDependencies": [\
@@ -5010,7 +4841,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@types/vinyl", "npm:2.0.6"],\
["@types/expect", "npm:1.20.4"],\
- ["@types/node", "npm:17.0.21"]\
+ ["@types/node", "npm:18.16.1"]\
],\
"linkType": "HARD"\
}]\
@@ -5020,7 +4851,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@types-ws-npm-7.4.7-d0c95c0958-5236b6c548.zip/node_modules/@types/ws/",\
"packageDependencies": [\
["@types/ws", "npm:7.4.7"],\
- ["@types/node", "npm:17.0.21"]\
+ ["@types/node", "npm:18.16.1"]\
],\
"linkType": "HARD"\
}]\
@@ -5037,7 +4868,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/__virtual__/@typescript-eslint-eslint-plugin-virtual-0e22d802b6/0/cache/@typescript-eslint-eslint-plugin-npm-5.55.0-16386bf9af-05f921647a.zip/node_modules/@typescript-eslint/eslint-plugin/",\
"packageDependencies": [\
["@typescript-eslint/eslint-plugin", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:5.55.0"],\
- ["@eslint-community/regexpp", "npm:4.4.0"],\
+ ["@eslint-community/regexpp", "npm:4.10.0"],\
["@types/eslint", null],\
["@types/typescript", null],\
["@types/typescript-eslint__parser", null],\
@@ -5276,10 +5107,10 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/__virtual__/@typescript-eslint-utils-virtual-67e332304c/0/cache/@typescript-eslint-utils-npm-5.55.0-6a927fceb5-121c5fc48c.zip/node_modules/@typescript-eslint/utils/",\
"packageDependencies": [\
["@typescript-eslint/utils", "virtual:0e22d802b65219681b64a9f99af596d56d444fb6f03cdf776b56a06fb9ddeefe4b0a611780f0b0eea0b47a1f1fba5a366d19cd6561bbc1e55271f08c190cd76f#npm:5.55.0"],\
- ["@eslint-community/eslint-utils", "virtual:2fc5c501d26c4c2fbc6a1d931e87d32adb7d9118fbcd7303a7b7faae809112bde136383859a265761a47c2852a001b7b803bf80e734ffa8ddc2ca30c129d1d76#npm:4.2.0"],\
+ ["@eslint-community/eslint-utils", "virtual:2fc5c501d26c4c2fbc6a1d931e87d32adb7d9118fbcd7303a7b7faae809112bde136383859a265761a47c2852a001b7b803bf80e734ffa8ddc2ca30c129d1d76#npm:4.4.0"],\
["@types/eslint", null],\
- ["@types/json-schema", "npm:7.0.11"],\
- ["@types/semver", "npm:7.3.13"],\
+ ["@types/json-schema", "npm:7.0.15"],\
+ ["@types/semver", "npm:7.5.5"],\
["@typescript-eslint/scope-manager", "npm:5.55.0"],\
["@typescript-eslint/types", "npm:5.55.0"],\
["@typescript-eslint/typescript-estree", "virtual:67e332304c8830574d5d9be2a388885a47a9962cf1d2441a6ada47207b10c98d9a1a1914d73816338b986563032864745d812b3a7df145ee8f3bb51baa4027e5#npm:5.55.0"],\
@@ -5300,7 +5131,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@typescript-eslint/visitor-keys", "npm:5.55.0"],\
["@typescript-eslint/types", "npm:5.55.0"],\
- ["eslint-visitor-keys", "npm:3.3.0"]\
+ ["eslint-visitor-keys", "npm:3.4.3"]\
],\
"linkType": "HARD"\
}],\
@@ -5746,7 +5577,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@yarnpkg/core", "npm:4.0.0-rc.42"],\
["@arcanis/slice-ansi", "npm:1.1.1"],\
- ["@types/semver", "npm:7.3.13"],\
+ ["@types/semver", "npm:7.5.5"],\
["@types/treeify", "npm:1.0.0"],\
["@yarnpkg/fslib", "npm:3.0.0-rc.42"],\
["@yarnpkg/libzip", "virtual:029d9f8b24f020bba83fc356b24f5023723ab955d802aced5e68f959eb98132b3549d03ae8c2d3187401d54ad86e275e1bf34740160f82184df9a09fcbeda7b4#npm:3.0.0-rc.42"],\
@@ -5765,10 +5596,10 @@ const RAW_RUNTIME_STATE =
["p-limit", "npm:2.3.0"],\
["semver", "npm:7.5.3"],\
["strip-ansi", "npm:6.0.1"],\
- ["tar", "npm:6.1.13"],\
+ ["tar", "npm:6.2.1"],\
["tinylogic", "npm:2.0.0"],\
["treeify", "npm:1.1.0"],\
- ["tslib", "npm:2.5.0"],\
+ ["tslib", "npm:2.6.2"],\
["tunnel", "npm:0.0.6"]\
],\
"linkType": "HARD"\
@@ -5779,7 +5610,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@yarnpkg-fslib-npm-3.0.0-rc.42-de16b926e6-a4e4b8453c.zip/node_modules/@yarnpkg/fslib/",\
"packageDependencies": [\
["@yarnpkg/fslib", "npm:3.0.0-rc.42"],\
- ["tslib", "npm:2.5.0"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -5799,7 +5630,7 @@ const RAW_RUNTIME_STATE =
["@types/emscripten", "npm:1.39.6"],\
["@types/yarnpkg__fslib", null],\
["@yarnpkg/fslib", "npm:3.0.0-rc.42"],\
- ["tslib", "npm:2.5.0"]\
+ ["tslib", "npm:2.6.2"]\
],\
"packagePeers": [\
"@types/yarnpkg__fslib",\
@@ -5826,7 +5657,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["@yarnpkg/parsers", "npm:3.0.0-rc.42"],\
["js-yaml", "npm:3.14.1"],\
- ["tslib", "npm:2.5.0"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -5851,7 +5682,7 @@ const RAW_RUNTIME_STATE =
["@yarnpkg/fslib", "npm:3.0.0-rc.42"],\
["@yarnpkg/nm", "npm:4.0.0-rc.42"],\
["clipanion", "virtual:ba24742e5bfaec41d1d0434e6865c2744ffb69a716f18fa84bd7d44084043647838926c96a391f66b9946857565b9825479e97ad07079ef40683084ce389d203#npm:3.2.0"],\
- ["tslib", "npm:2.5.0"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -5868,7 +5699,7 @@ const RAW_RUNTIME_STATE =
["cross-spawn", "npm:7.0.3"],\
["fast-glob", "npm:3.2.12"],\
["micromatch", "npm:4.0.4"],\
- ["tslib", "npm:2.5.0"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -5942,13 +5773,6 @@ const RAW_RUNTIME_STATE =
["acorn", "npm:8.11.2"]\
],\
"linkType": "HARD"\
- }],\
- ["npm:8.8.2", {\
- "packageLocation": "./.yarn/cache/acorn-npm-8.8.2-9d518fd7d3-b4e77d56d2.zip/node_modules/acorn/",\
- "packageDependencies": [\
- ["acorn", "npm:8.8.2"]\
- ],\
- "linkType": "HARD"\
}]\
]],\
["acorn-import-assertions", [\
@@ -5964,7 +5788,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["acorn-import-assertions", "virtual:a1758743d243877493a02719691b2bf5513261873450aca581311be1ead841af63c0be982c400355949a0dcad332960c6e3ed3885051f0427d191c70a7fc9856#npm:1.8.0"],\
["@types/acorn", null],\
- ["acorn", "npm:8.8.2"]\
+ ["acorn", "npm:8.11.2"]\
],\
"packagePeers": [\
"@types/acorn",\
@@ -5993,19 +5817,6 @@ const RAW_RUNTIME_STATE =
"acorn"\
],\
"linkType": "HARD"\
- }],\
- ["virtual:fd2253859039a15030fecf2d1545fcad47d7bd43468b9166c71fdd4e35b538414e653775f5401c948ed8db3eb1925f84c66c161d39a27b19ee73fef5e721329e#npm:5.3.2", {\
- "packageLocation": "./.yarn/__virtual__/acorn-jsx-virtual-0c3ff7dbc9/0/cache/acorn-jsx-npm-5.3.2-d7594599ea-d4371eaef7.zip/node_modules/acorn-jsx/",\
- "packageDependencies": [\
- ["acorn-jsx", "virtual:fd2253859039a15030fecf2d1545fcad47d7bd43468b9166c71fdd4e35b538414e653775f5401c948ed8db3eb1925f84c66c161d39a27b19ee73fef5e721329e#npm:5.3.2"],\
- ["@types/acorn", null],\
- ["acorn", "npm:8.8.2"]\
- ],\
- "packagePeers": [\
- "@types/acorn",\
- "acorn"\
- ],\
- "linkType": "HARD"\
}]\
]],\
["acorn-walk", [\
@@ -6045,16 +5856,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["agentkeepalive", [\
- ["npm:4.2.0", {\
- "packageLocation": "./.yarn/cache/agentkeepalive-npm-4.2.0-e5e72b8ce4-cc6e1b4f1c.zip/node_modules/agentkeepalive/",\
- "packageDependencies": [\
- ["agentkeepalive", "npm:4.2.0"],\
- ["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
- ["depd", "npm:1.1.2"],\
- ["humanize-ms", "npm:1.2.1"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:4.3.0", {\
"packageLocation": "./.yarn/cache/agentkeepalive-npm-4.3.0-ac3d8e6807-f791317eb4.zip/node_modules/agentkeepalive/",\
"packageDependencies": [\
@@ -6108,17 +5909,6 @@ const RAW_RUNTIME_STATE =
["uri-js", "npm:4.4.1"]\
],\
"linkType": "HARD"\
- }],\
- ["npm:8.8.1", {\
- "packageLocation": "./.yarn/cache/ajv-npm-8.8.1-3d331224e3-fc52cd18c9.zip/node_modules/ajv/",\
- "packageDependencies": [\
- ["ajv", "npm:8.8.1"],\
- ["fast-deep-equal", "npm:3.1.3"],\
- ["json-schema-traverse", "npm:1.0.0"],\
- ["require-from-string", "npm:2.0.2"],\
- ["uri-js", "npm:4.4.1"]\
- ],\
- "linkType": "HARD"\
}]\
]],\
["ajv-formats", [\
@@ -6129,19 +5919,6 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "SOFT"\
}],\
- ["virtual:880cda903c2a2be387819a3f857d21494004437a03c92969b9853f7bdeebdfed08d417e68364ee9e158338603a6d78d690c457a55ab11e56398bc10f0ad232fc#npm:2.1.1", {\
- "packageLocation": "./.yarn/__virtual__/ajv-formats-virtual-26e397430a/0/cache/ajv-formats-npm-2.1.1-3cec02eae9-70c263ded2.zip/node_modules/ajv-formats/",\
- "packageDependencies": [\
- ["ajv-formats", "virtual:880cda903c2a2be387819a3f857d21494004437a03c92969b9853f7bdeebdfed08d417e68364ee9e158338603a6d78d690c457a55ab11e56398bc10f0ad232fc#npm:2.1.1"],\
- ["@types/ajv", null],\
- ["ajv", "npm:8.8.1"]\
- ],\
- "packagePeers": [\
- "@types/ajv",\
- "ajv"\
- ],\
- "linkType": "HARD"\
- }],\
["virtual:e822c5b02ef2b3c5fb9c8d88d5e0ca208365bff76f80510f4ccf9b1de44e2078264bcb00d3cdd5e193c256e9ab81e27c34fcfb1ad3a0e8c1dc8fa0066c78c468#npm:2.1.1", {\
"packageLocation": "./.yarn/__virtual__/ajv-formats-virtual-39fabfe016/0/cache/ajv-formats-npm-2.1.1-3cec02eae9-70c263ded2.zip/node_modules/ajv-formats/",\
"packageDependencies": [\
@@ -6339,7 +6116,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["are-we-there-yet", "npm:2.0.0"],\
["delegates", "npm:1.0.0"],\
- ["readable-stream", "npm:3.6.0"]\
+ ["readable-stream", "npm:3.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -6375,7 +6152,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/array-buffer-byte-length-npm-1.0.0-331671f28a-044e101ce1.zip/node_modules/array-buffer-byte-length/",\
"packageDependencies": [\
["array-buffer-byte-length", "npm:1.0.0"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["is-array-buffer", "npm:3.0.2"]\
],\
"linkType": "HARD"\
@@ -6404,7 +6181,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/array-includes-npm-3.1.7-d32a5ee179-856a8be5d1.zip/node_modules/array-includes/",\
"packageDependencies": [\
["array-includes", "npm:3.1.7"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"],\
["get-intrinsic", "npm:1.2.2"],\
@@ -6427,7 +6204,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/array.prototype.findlastindex-npm-1.2.3-2a36f4417b-063cbab8ee.zip/node_modules/array.prototype.findlastindex/",\
"packageDependencies": [\
["array.prototype.findlastindex", "npm:1.2.3"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"],\
["es-shim-unscopables", "npm:1.0.2"],\
@@ -6441,7 +6218,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/array.prototype.flat-npm-1.3.2-350729f7f4-d9d2f6f275.zip/node_modules/array.prototype.flat/",\
"packageDependencies": [\
["array.prototype.flat", "npm:1.3.2"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"],\
["es-shim-unscopables", "npm:1.0.2"]\
@@ -6454,7 +6231,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/array.prototype.flatmap-npm-1.3.2-5c6a4af226-33f2000668.zip/node_modules/array.prototype.flatmap/",\
"packageDependencies": [\
["array.prototype.flatmap", "npm:1.3.2"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"],\
["es-shim-unscopables", "npm:1.0.2"]\
@@ -6468,7 +6245,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["arraybuffer.prototype.slice", "npm:1.0.2"],\
["array-buffer-byte-length", "npm:1.0.0"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"],\
["get-intrinsic", "npm:1.2.2"],\
@@ -6620,7 +6397,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["awilix", "npm:4.3.4"],\
["camel-case", "npm:4.1.2"],\
- ["glob", "npm:7.2.0"]\
+ ["glob", "npm:7.2.3"]\
],\
"linkType": "HARD"\
}]\
@@ -6656,14 +6433,14 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/__virtual__/babel-eslint-virtual-ff1372ed3f/0/cache/babel-eslint-npm-10.1.0-6a6d2b1533-dc5dd948f8.zip/node_modules/babel-eslint/",\
"packageDependencies": [\
["babel-eslint", "virtual:27dae49067a60fa65fec6e1c3adad1497d0dda3f71eda711624109131ff3b7d1061a20f55e89b5a0a219da1f7a0a1a0a76bc414d36870315bd60acf5bdcb7f55#npm:10.1.0"],\
- ["@babel/code-frame", "npm:7.16.7"],\
- ["@babel/parser", "npm:7.17.3"],\
- ["@babel/traverse", "npm:7.17.3"],\
- ["@babel/types", "npm:7.17.0"],\
+ ["@babel/code-frame", "npm:7.22.13"],\
+ ["@babel/parser", "npm:7.23.3"],\
+ ["@babel/traverse", "npm:7.23.3"],\
+ ["@babel/types", "npm:7.23.3"],\
["@types/eslint", null],\
["eslint", "npm:8.53.0"],\
["eslint-visitor-keys", "npm:1.3.0"],\
- ["resolve", "patch:resolve@npm%3A1.22.0#optional!builtin::version=1.22.0&hash=c3c19d"]\
+ ["resolve", "patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d"]\
],\
"packagePeers": [\
"@types/eslint",\
@@ -6906,7 +6683,7 @@ const RAW_RUNTIME_STATE =
["bl", "npm:4.1.0"],\
["buffer", "npm:5.7.1"],\
["inherits", "npm:2.0.4"],\
- ["readable-stream", "npm:3.6.0"]\
+ ["readable-stream", "npm:3.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -7093,18 +6870,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["browserslist", [\
- ["npm:4.18.1", {\
- "packageLocation": "./.yarn/cache/browserslist-npm-4.18.1-38eb8a64b9-83bb8dd04c.zip/node_modules/browserslist/",\
- "packageDependencies": [\
- ["browserslist", "npm:4.18.1"],\
- ["caniuse-lite", "npm:1.0.30001282"],\
- ["electron-to-chromium", "npm:1.3.903"],\
- ["escalade", "npm:3.1.1"],\
- ["node-releases", "npm:2.0.1"],\
- ["picocolors", "npm:1.0.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:4.22.1", {\
"packageLocation": "./.yarn/cache/browserslist-npm-4.22.1-cccae6d74e-4a515168e0.zip/node_modules/browserslist/",\
"packageDependencies": [\
@@ -7255,7 +7020,7 @@ const RAW_RUNTIME_STATE =
["cacache", "npm:18.0.0"],\
["@npmcli/fs", "npm:3.1.0"],\
["fs-minipass", "npm:3.0.3"],\
- ["glob", "npm:10.3.10"],\
+ ["glob", "npm:10.4.1"],\
["lru-cache", "npm:10.0.2"],\
["minipass", "npm:7.0.4"],\
["minipass-collect", "npm:1.0.2"],\
@@ -7263,7 +7028,7 @@ const RAW_RUNTIME_STATE =
["minipass-pipeline", "npm:1.2.4"],\
["p-map", "npm:4.0.0"],\
["ssri", "npm:10.0.5"],\
- ["tar", "npm:6.1.13"],\
+ ["tar", "npm:6.2.1"],\
["unique-filename", "npm:3.0.0"]\
],\
"linkType": "HARD"\
@@ -7329,15 +7094,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["call-bind", [\
- ["npm:1.0.2", {\
- "packageLocation": "./.yarn/cache/call-bind-npm-1.0.2-c957124861-ca787179c1.zip/node_modules/call-bind/",\
- "packageDependencies": [\
- ["call-bind", "npm:1.0.2"],\
- ["function-bind", "npm:1.1.1"],\
- ["get-intrinsic", "npm:1.2.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.0.5", {\
"packageLocation": "./.yarn/cache/call-bind-npm-1.0.5-65600fae47-246d44db6e.zip/node_modules/call-bind/",\
"packageDependencies": [\
@@ -7373,7 +7129,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["camel-case", "npm:4.1.2"],\
["pascal-case", "npm:3.1.2"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -7407,13 +7163,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["caniuse-lite", [\
- ["npm:1.0.30001282", {\
- "packageLocation": "./.yarn/cache/caniuse-lite-npm-1.0.30001282-49173a42dd-7802b8e099.zip/node_modules/caniuse-lite/",\
- "packageDependencies": [\
- ["caniuse-lite", "npm:1.0.30001282"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.0.30001561", {\
"packageLocation": "./.yarn/cache/caniuse-lite-npm-1.0.30001561-b213ca8bce-94cfc8454c.zip/node_modules/caniuse-lite/",\
"packageDependencies": [\
@@ -7428,7 +7177,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["capital-case", "npm:1.0.4"],\
["no-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"],\
+ ["tslib", "npm:2.6.2"],\
["upper-case-first", "npm:2.0.2"]\
],\
"linkType": "HARD"\
@@ -7485,7 +7234,7 @@ const RAW_RUNTIME_STATE =
["chai-as-promised", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:7.1.1"],\
["@types/chai", "npm:4.2.22"],\
["chai", "npm:4.3.10"],\
- ["check-error", "npm:1.0.2"]\
+ ["check-error", "npm:1.0.3"]\
],\
"packagePeers": [\
"@types/chai",\
@@ -7499,7 +7248,7 @@ const RAW_RUNTIME_STATE =
["chai-as-promised", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:7.1.1"],\
["@types/chai", null],\
["chai", "npm:4.3.10"],\
- ["check-error", "npm:1.0.2"]\
+ ["check-error", "npm:1.0.3"]\
],\
"packagePeers": [\
"@types/chai",\
@@ -7615,7 +7364,7 @@ const RAW_RUNTIME_STATE =
["path-case", "npm:3.0.4"],\
["sentence-case", "npm:3.0.4"],\
["snake-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -7630,13 +7379,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["check-error", [\
- ["npm:1.0.2", {\
- "packageLocation": "./.yarn/cache/check-error-npm-1.0.2-00c540c6e9-011e74b2ea.zip/node_modules/check-error/",\
- "packageDependencies": [\
- ["check-error", "npm:1.0.2"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.0.3", {\
"packageLocation": "./.yarn/cache/check-error-npm-1.0.3-137994eabc-e2131025cf.zip/node_modules/check-error/",\
"packageDependencies": [\
@@ -7931,6 +7673,15 @@ const RAW_RUNTIME_STATE =
["color-string", "npm:1.6.0"]\
],\
"linkType": "HARD"\
+ }],\
+ ["npm:4.2.3", {\
+ "packageLocation": "./.yarn/cache/color-npm-4.2.3-4a23227581-b23f5e500a.zip/node_modules/color/",\
+ "packageDependencies": [\
+ ["color", "npm:4.2.3"],\
+ ["color-convert", "npm:2.0.1"],\
+ ["color-string", "npm:1.9.1"]\
+ ],\
+ "linkType": "HARD"\
}]\
]],\
["color-convert", [\
@@ -7976,6 +7727,15 @@ const RAW_RUNTIME_STATE =
["simple-swizzle", "npm:0.2.2"]\
],\
"linkType": "HARD"\
+ }],\
+ ["npm:1.9.1", {\
+ "packageLocation": "./.yarn/cache/color-string-npm-1.9.1-dc020e56be-72aa0b81ee.zip/node_modules/color-string/",\
+ "packageDependencies": [\
+ ["color-string", "npm:1.9.1"],\
+ ["color-name", "npm:1.1.4"],\
+ ["simple-swizzle", "npm:0.2.2"]\
+ ],\
+ "linkType": "HARD"\
}]\
]],\
["color-support", [\
@@ -7988,13 +7748,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["colorette", [\
- ["npm:2.0.19", {\
- "packageLocation": "./.yarn/cache/colorette-npm-2.0.19-f73dfe6a4e-6e2606435c.zip/node_modules/colorette/",\
- "packageDependencies": [\
- ["colorette", "npm:2.0.19"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:2.0.20", {\
"packageLocation": "./.yarn/cache/colorette-npm-2.0.20-692d428726-0b8de48bfa.zip/node_modules/colorette/",\
"packageDependencies": [\
@@ -8186,7 +7939,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["constant-case", "npm:3.0.4"],\
["no-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"],\
+ ["tslib", "npm:2.6.2"],\
["upper-case", "npm:2.0.2"]\
],\
"linkType": "HARD"\
@@ -8625,13 +8378,14 @@ const RAW_RUNTIME_STATE =
["@dashevo/bls", "npm:1.2.9"],\
["@dashevo/dapi-client", "workspace:packages/js-dapi-client"],\
["@dashevo/dapi-grpc", "workspace:packages/dapi-grpc"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
["@dashevo/dashpay-contract", "workspace:packages/dashpay-contract"],\
["@dashevo/dpns-contract", "workspace:packages/dpns-contract"],\
["@dashevo/grpc-common", "workspace:packages/js-grpc-common"],\
["@dashevo/masternode-reward-shares-contract", "workspace:packages/masternode-reward-shares-contract"],\
["@dashevo/wallet-lib", "workspace:packages/wallet-lib"],\
["@dashevo/wasm-dpp", "workspace:packages/wasm-dpp"],\
+ ["@dashevo/withdrawals-contract", "workspace:packages/withdrawals-contract"],\
["@types/chai", "npm:4.2.22"],\
["@types/dirty-chai", "npm:2.0.2"],\
["@types/mocha", "npm:8.2.3"],\
@@ -8657,7 +8411,7 @@ const RAW_RUNTIME_STATE =
["eslint-plugin-import", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:2.29.0"],\
["events", "npm:3.3.0"],\
["https-browserify", "npm:1.0.0"],\
- ["karma", "npm:6.4.1"],\
+ ["karma", "npm:6.4.3"],\
["karma-chai", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:0.1.0"],\
["karma-chrome-launcher", "npm:3.1.0"],\
["karma-firefox-launcher", "npm:2.1.2"],\
@@ -8682,7 +8436,7 @@ const RAW_RUNTIME_STATE =
["ts-loader", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:9.5.0"],\
["ts-mocha", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:10.0.0"],\
["ts-mock-imports", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:1.3.8"],\
- ["ts-node", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:10.4.0"],\
+ ["ts-node", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:10.9.1"],\
["tsd", "npm:0.28.1"],\
["typescript", "patch:typescript@npm%3A3.9.10#optional!builtin::version=3.9.10&hash=3bd3d3"],\
["url", "npm:0.11.3"],\
@@ -8700,28 +8454,27 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["dashmate", "workspace:packages/dashmate"],\
["@babel/core", "npm:7.23.3"],\
- ["@babel/eslint-parser", "virtual:880cda903c2a2be387819a3f857d21494004437a03c92969b9853f7bdeebdfed08d417e68364ee9e158338603a6d78d690c457a55ab11e56398bc10f0ad232fc#npm:7.23.3"],\
+ ["@babel/eslint-parser", "virtual:6c6296bde00603e266f7d80babe1e01aa0c19f626934f58fe08f890a291bb1a38fcee25bf30c24857d5cfba290f01209decc48384318fd6815c5a514cb48be25#npm:7.23.3"],\
["@dashevo/bls", "npm:1.2.9"],\
- ["@dashevo/dashcore-lib", "npm:0.21.0"],\
- ["@dashevo/dashd-rpc", "npm:18.2.0"],\
- ["@dashevo/dashpay-contract", "workspace:packages/dashpay-contract"],\
+ ["@dashevo/dapi-client", "workspace:packages/js-dapi-client"],\
+ ["@dashevo/dashcore-lib", "npm:0.21.3"],\
+ ["@dashevo/dashd-rpc", "npm:19.0.0"],\
["@dashevo/docker-compose", "npm:0.24.4"],\
- ["@dashevo/dpns-contract", "workspace:packages/dpns-contract"],\
- ["@dashevo/feature-flags-contract", "workspace:packages/feature-flags-contract"],\
- ["@dashevo/masternode-reward-shares-contract", "workspace:packages/masternode-reward-shares-contract"],\
["@dashevo/wallet-lib", "workspace:packages/wallet-lib"],\
["@dashevo/withdrawals-contract", "workspace:packages/withdrawals-contract"],\
- ["@oclif/core", "npm:3.10.8"],\
+ ["@oclif/core", "npm:3.26.5"],\
["@oclif/plugin-help", "npm:6.0.5"],\
- ["ajv", "npm:8.8.1"],\
- ["ajv-formats", "virtual:880cda903c2a2be387819a3f857d21494004437a03c92969b9853f7bdeebdfed08d417e68364ee9e158338603a6d78d690c457a55ab11e56398bc10f0ad232fc#npm:2.1.1"],\
+ ["ajv", "npm:8.12.0"],\
+ ["ajv-formats", "virtual:e822c5b02ef2b3c5fb9c8d88d5e0ca208365bff76f80510f4ccf9b1de44e2078264bcb00d3cdd5e193c256e9ab81e27c34fcfb1ad3a0e8c1dc8fa0066c78c468#npm:2.1.1"],\
["awilix", "npm:4.3.4"],\
["begoo", "npm:2.0.2"],\
+ ["bs58", "npm:4.0.1"],\
["chai", "npm:4.3.10"],\
["chai-as-promised", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:7.1.1"],\
["chalk", "npm:4.1.2"],\
["cron", "npm:2.1.0"],\
["dirty-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:2.0.1"],\
+ ["diskusage", "npm:1.2.0"],\
["dockerode", "npm:3.3.5"],\
["dot", "npm:1.1.3"],\
["dotenv", "npm:8.6.0"],\
@@ -8729,7 +8482,7 @@ const RAW_RUNTIME_STATE =
["eslint", "npm:8.53.0"],\
["eslint-config-airbnb-base", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:15.0.0"],\
["eslint-plugin-import", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:2.29.0"],\
- ["glob", "npm:10.3.4"],\
+ ["glob", "npm:10.4.1"],\
["globby", "npm:11.1.0"],\
["hasbin", "npm:1.2.3"],\
["is-wsl", "npm:2.2.0"],\
@@ -8751,6 +8504,7 @@ const RAW_RUNTIME_STATE =
["semver", "npm:7.5.3"],\
["sinon", "npm:17.0.1"],\
["sinon-chai", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:3.7.0"],\
+ ["systeminformation", "npm:5.22.11"],\
["table", "npm:6.8.1"],\
["wrap-ansi", "npm:7.0.0"]\
],\
@@ -8811,6 +8565,13 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "SOFT"\
}],\
+ ["npm:4.3.5", {\
+ "packageLocation": "./.yarn/cache/debug-npm-4.3.5-b5001f59b7-cb6eab424c.zip/node_modules/debug/",\
+ "packageDependencies": [\
+ ["debug", "npm:4.3.5"]\
+ ],\
+ "linkType": "SOFT"\
+ }],\
["virtual:2a426afc4b2eef43db12a540d29c2b5476640459bfcd5c24f86bb401cf8cce97e63bd81794d206a5643057e7f662643afd5ce3dfc4d4bfd8e706006c6309c5fa#npm:3.2.7", {\
"packageLocation": "./.yarn/__virtual__/debug-virtual-d2345003b7/0/cache/debug-npm-3.2.7-754e818c7a-d86fd7be2b.zip/node_modules/debug/",\
"packageDependencies": [\
@@ -8867,6 +8628,20 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
+ ["virtual:7a0505537f63825f62aaaf982168c2b7c1e816756656d44af98202b8d07990e163024e7dadf5587aa11d691887401ca8792ff06467da4d479c747705c9e87544#npm:4.3.5", {\
+ "packageLocation": "./.yarn/__virtual__/debug-virtual-e443f3d004/0/cache/debug-npm-4.3.5-b5001f59b7-cb6eab424c.zip/node_modules/debug/",\
+ "packageDependencies": [\
+ ["debug", "virtual:7a0505537f63825f62aaaf982168c2b7c1e816756656d44af98202b8d07990e163024e7dadf5587aa11d691887401ca8792ff06467da4d479c747705c9e87544#npm:4.3.5"],\
+ ["@types/supports-color", null],\
+ ["ms", "npm:2.1.2"],\
+ ["supports-color", null]\
+ ],\
+ "packagePeers": [\
+ "@types/supports-color",\
+ "supports-color"\
+ ],\
+ "linkType": "HARD"\
+ }],\
["virtual:87db25c7c5e6b25bbc12571091cdabc648b79d427ab445d1714ccfdcdfb3265c9de6561ca760cc3de470037cbedf3af4be56ba3b684b3a1c01d4c9c2fd55a741#npm:4.3.4", {\
"packageLocation": "./.yarn/__virtual__/debug-virtual-762d08cbe9/0/cache/debug-npm-4.3.4-4513954577-0073c3bcbd.zip/node_modules/debug/",\
"packageDependencies": [\
@@ -9032,15 +8807,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["define-properties", [\
- ["npm:1.2.0", {\
- "packageLocation": "./.yarn/cache/define-properties-npm-1.2.0-3547cd0fd2-e60aee6a19.zip/node_modules/define-properties/",\
- "packageDependencies": [\
- ["define-properties", "npm:1.2.0"],\
- ["has-property-descriptors", "npm:1.0.0"],\
- ["object-keys", "npm:1.1.1"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.2.1", {\
"packageLocation": "./.yarn/cache/define-properties-npm-1.2.1-8a4d42413b-b4ccd00597.zip/node_modules/define-properties/",\
"packageDependencies": [\
@@ -9231,6 +8997,18 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
+ ["diskusage", [\
+ ["npm:1.2.0", {\
+ "packageLocation": "./.yarn/unplugged/diskusage-npm-1.2.0-3d0577ad86/node_modules/diskusage/",\
+ "packageDependencies": [\
+ ["diskusage", "npm:1.2.0"],\
+ ["es6-promise", "npm:4.2.8"],\
+ ["nan", "npm:2.20.0"],\
+ ["node-gyp", "npm:10.0.1"]\
+ ],\
+ "linkType": "HARD"\
+ }]\
+ ]],\
["dns-packet", [\
["npm:5.4.0", {\
"packageLocation": "./.yarn/cache/dns-packet-npm-5.4.0-4d0332a163-6a3827d59a.zip/node_modules/dns-packet/",\
@@ -9257,7 +9035,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["docker-modem", "npm:3.0.8"],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
- ["readable-stream", "npm:3.6.0"],\
+ ["readable-stream", "npm:3.6.2"],\
["split-ca", "npm:1.0.1"],\
["ssh2", "npm:1.11.0"]\
],\
@@ -9322,7 +9100,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["dot-case", "npm:3.0.4"],\
["no-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -9384,23 +9162,16 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["ejs", [\
- ["npm:3.1.8", {\
- "packageLocation": "./.yarn/cache/ejs-npm-3.1.8-30583753fc-879f84c8ee.zip/node_modules/ejs/",\
+ ["npm:3.1.10", {\
+ "packageLocation": "./.yarn/cache/ejs-npm-3.1.10-4e8cf4bdc1-a9cb7d7cd1.zip/node_modules/ejs/",\
"packageDependencies": [\
- ["ejs", "npm:3.1.8"],\
+ ["ejs", "npm:3.1.10"],\
["jake", "npm:10.8.5"]\
],\
"linkType": "HARD"\
}]\
]],\
["electron-to-chromium", [\
- ["npm:1.3.903", {\
- "packageLocation": "./.yarn/cache/electron-to-chromium-npm-1.3.903-3e6dfabc20-12a0c5ba72.zip/node_modules/electron-to-chromium/",\
- "packageDependencies": [\
- ["electron-to-chromium", "npm:1.3.903"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.4.581", {\
"packageLocation": "./.yarn/cache/electron-to-chromium-npm-1.4.581-a32b5f3c64-a40ea2863c.zip/node_modules/electron-to-chromium/",\
"packageDependencies": [\
@@ -9486,14 +9257,14 @@ const RAW_RUNTIME_STATE =
["engine.io", "npm:6.4.2"],\
["@types/cookie", "npm:0.4.1"],\
["@types/cors", "npm:2.8.12"],\
- ["@types/node", "npm:17.0.21"],\
+ ["@types/node", "npm:18.16.1"],\
["accepts", "npm:1.3.7"],\
["base64id", "npm:2.0.0"],\
["cookie", "npm:0.4.1"],\
["cors", "npm:2.8.5"],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
["engine.io-parser", "npm:5.0.4"],\
- ["ws", "virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.11.0"]\
+ ["ws", "virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.17.1"]\
],\
"linkType": "HARD"\
}]\
@@ -9508,15 +9279,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["enhanced-resolve", [\
- ["npm:5.12.0", {\
- "packageLocation": "./.yarn/cache/enhanced-resolve-npm-5.12.0-c291ce4ee3-ea5b49a064.zip/node_modules/enhanced-resolve/",\
- "packageDependencies": [\
- ["enhanced-resolve", "npm:5.12.0"],\
- ["graceful-fs", "npm:4.2.10"],\
- ["tapable", "npm:2.2.1"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:5.15.0", {\
"packageLocation": "./.yarn/cache/enhanced-resolve-npm-5.15.0-16eb7ddef9-180c3f2706.zip/node_modules/enhanced-resolve/",\
"packageDependencies": [\
@@ -9603,47 +9365,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["es-abstract", [\
- ["npm:1.21.2", {\
- "packageLocation": "./.yarn/cache/es-abstract-npm-1.21.2-f4ebace1ab-2e1d6922c9.zip/node_modules/es-abstract/",\
- "packageDependencies": [\
- ["es-abstract", "npm:1.21.2"],\
- ["array-buffer-byte-length", "npm:1.0.0"],\
- ["available-typed-arrays", "npm:1.0.5"],\
- ["call-bind", "npm:1.0.2"],\
- ["es-set-tostringtag", "npm:2.0.1"],\
- ["es-to-primitive", "npm:1.2.1"],\
- ["function.prototype.name", "npm:1.1.5"],\
- ["get-intrinsic", "npm:1.2.0"],\
- ["get-symbol-description", "npm:1.0.0"],\
- ["globalthis", "npm:1.0.3"],\
- ["gopd", "npm:1.0.1"],\
- ["has", "npm:1.0.3"],\
- ["has-property-descriptors", "npm:1.0.0"],\
- ["has-proto", "npm:1.0.1"],\
- ["has-symbols", "npm:1.0.3"],\
- ["internal-slot", "npm:1.0.5"],\
- ["is-array-buffer", "npm:3.0.2"],\
- ["is-callable", "npm:1.2.7"],\
- ["is-negative-zero", "npm:2.0.2"],\
- ["is-regex", "npm:1.1.4"],\
- ["is-shared-array-buffer", "npm:1.0.2"],\
- ["is-string", "npm:1.0.7"],\
- ["is-typed-array", "npm:1.1.10"],\
- ["is-weakref", "npm:1.0.2"],\
- ["object-inspect", "npm:1.12.3"],\
- ["object-keys", "npm:1.1.1"],\
- ["object.assign", "npm:4.1.4"],\
- ["regexp.prototype.flags", "npm:1.4.3"],\
- ["safe-regex-test", "npm:1.0.0"],\
- ["string.prototype.trim", "npm:1.2.7"],\
- ["string.prototype.trimend", "npm:1.0.6"],\
- ["string.prototype.trimstart", "npm:1.0.6"],\
- ["typed-array-length", "npm:1.0.4"],\
- ["unbox-primitive", "npm:1.0.2"],\
- ["which-typed-array", "npm:1.1.9"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.22.3", {\
"packageLocation": "./.yarn/cache/es-abstract-npm-1.22.3-15a58832e5-e1ea9738ec.zip/node_modules/es-abstract/",\
"packageDependencies": [\
@@ -9705,7 +9426,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/es-set-tostringtag-npm-2.0.1-c87b5de872-ec416a1294.zip/node_modules/es-set-tostringtag/",\
"packageDependencies": [\
["es-set-tostringtag", "npm:2.0.1"],\
- ["get-intrinsic", "npm:1.2.0"],\
+ ["get-intrinsic", "npm:1.2.2"],\
["has", "npm:1.0.3"],\
["has-tostringtag", "npm:1.0.0"]\
],\
@@ -9840,7 +9561,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/eslint-npm-8.53.0-2fc5c501d2-e305a71ce2.zip/node_modules/eslint/",\
"packageDependencies": [\
["eslint", "npm:8.53.0"],\
- ["@eslint-community/eslint-utils", "virtual:2fc5c501d26c4c2fbc6a1d931e87d32adb7d9118fbcd7303a7b7faae809112bde136383859a265761a47c2852a001b7b803bf80e734ffa8ddc2ca30c129d1d76#npm:4.2.0"],\
+ ["@eslint-community/eslint-utils", "virtual:2fc5c501d26c4c2fbc6a1d931e87d32adb7d9118fbcd7303a7b7faae809112bde136383859a265761a47c2852a001b7b803bf80e734ffa8ddc2ca30c129d1d76#npm:4.4.0"],\
["@eslint-community/regexpp", "npm:4.10.0"],\
["@eslint/eslintrc", "npm:2.1.3"],\
["@eslint/js", "npm:8.53.0"],\
@@ -10259,13 +9980,6 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["npm:3.3.0", {\
- "packageLocation": "./.yarn/cache/eslint-visitor-keys-npm-3.3.0-d329af7c8c-37a1a5912a.zip/node_modules/eslint-visitor-keys/",\
- "packageDependencies": [\
- ["eslint-visitor-keys", "npm:3.3.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:3.4.3", {\
"packageLocation": "./.yarn/cache/eslint-visitor-keys-npm-3.4.3-a356ac7e46-3f357c554a.zip/node_modules/eslint-visitor-keys/",\
"packageDependencies": [\
@@ -10275,16 +9989,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["espree", [\
- ["npm:9.1.0", {\
- "packageLocation": "./.yarn/cache/espree-npm-9.1.0-fd22538590-8ade225f24.zip/node_modules/espree/",\
- "packageDependencies": [\
- ["espree", "npm:9.1.0"],\
- ["acorn", "npm:8.8.2"],\
- ["acorn-jsx", "virtual:fd2253859039a15030fecf2d1545fcad47d7bd43468b9166c71fdd4e35b538414e653775f5401c948ed8db3eb1925f84c66c161d39a27b19ee73fef5e721329e#npm:5.3.2"],\
- ["eslint-visitor-keys", "npm:3.3.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:9.6.1", {\
"packageLocation": "./.yarn/cache/espree-npm-9.6.1-a50722a5a9-255ab260f0.zip/node_modules/espree/",\
"packageDependencies": [\
@@ -10472,18 +10176,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["fast-glob", [\
- ["npm:3.2.11", {\
- "packageLocation": "./.yarn/cache/fast-glob-npm-3.2.11-bc01135fef-6b736d92a4.zip/node_modules/fast-glob/",\
- "packageDependencies": [\
- ["fast-glob", "npm:3.2.11"],\
- ["@nodelib/fs.stat", "npm:2.0.5"],\
- ["@nodelib/fs.walk", "npm:1.2.8"],\
- ["glob-parent", "npm:5.1.2"],\
- ["merge2", "npm:1.4.1"],\
- ["micromatch", "npm:4.0.4"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:3.2.12", {\
"packageLocation": "./.yarn/cache/fast-glob-npm-3.2.12-162763bbae-641e748664.zip/node_modules/fast-glob/",\
"packageDependencies": [\
@@ -10771,17 +10463,17 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["follow-redirects", [\
- ["npm:1.15.2", {\
- "packageLocation": "./.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-8be0d39919.zip/node_modules/follow-redirects/",\
+ ["npm:1.15.6", {\
+ "packageLocation": "./.yarn/cache/follow-redirects-npm-1.15.6-50635fe51d-70c7612c4c.zip/node_modules/follow-redirects/",\
"packageDependencies": [\
- ["follow-redirects", "npm:1.15.2"]\
+ ["follow-redirects", "npm:1.15.6"]\
],\
"linkType": "SOFT"\
}],\
- ["virtual:a313c479c5c7e54d9ec8fbeeea69ff640f56b8989ea2dff42351a3fa5c4061fb80a52d8ede0f0826a181a216820c2d2c3f15da881e7fdf31cef1c446e42f0c45#npm:1.15.2", {\
- "packageLocation": "./.yarn/__virtual__/follow-redirects-virtual-2696a91c1b/0/cache/follow-redirects-npm-1.15.2-1ec1dd82be-8be0d39919.zip/node_modules/follow-redirects/",\
+ ["virtual:a313c479c5c7e54d9ec8fbeeea69ff640f56b8989ea2dff42351a3fa5c4061fb80a52d8ede0f0826a181a216820c2d2c3f15da881e7fdf31cef1c446e42f0c45#npm:1.15.6", {\
+ "packageLocation": "./.yarn/__virtual__/follow-redirects-virtual-23ff1601e1/0/cache/follow-redirects-npm-1.15.6-50635fe51d-70c7612c4c.zip/node_modules/follow-redirects/",\
"packageDependencies": [\
- ["follow-redirects", "virtual:a313c479c5c7e54d9ec8fbeeea69ff640f56b8989ea2dff42351a3fa5c4061fb80a52d8ede0f0826a181a216820c2d2c3f15da881e7fdf31cef1c446e42f0c45#npm:1.15.2"],\
+ ["follow-redirects", "virtual:a313c479c5c7e54d9ec8fbeeea69ff640f56b8989ea2dff42351a3fa5c4061fb80a52d8ede0f0826a181a216820c2d2c3f15da881e7fdf31cef1c446e42f0c45#npm:1.15.6"],\
["@types/debug", null],\
["debug", null]\
],\
@@ -10926,13 +10618,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["function-bind", [\
- ["npm:1.1.1", {\
- "packageLocation": "./.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-d83f296803.zip/node_modules/function-bind/",\
- "packageDependencies": [\
- ["function-bind", "npm:1.1.1"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.1.2", {\
"packageLocation": "./.yarn/cache/function-bind-npm-1.1.2-7a55be9b03-185e20d20f.zip/node_modules/function-bind/",\
"packageDependencies": [\
@@ -10942,22 +10627,11 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["function.prototype.name", [\
- ["npm:1.1.5", {\
- "packageLocation": "./.yarn/cache/function.prototype.name-npm-1.1.5-e776a642bb-5d426e5a38.zip/node_modules/function.prototype.name/",\
- "packageDependencies": [\
- ["function.prototype.name", "npm:1.1.5"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"],\
- ["es-abstract", "npm:1.21.2"],\
- ["functions-have-names", "npm:1.2.3"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.1.6", {\
"packageLocation": "./.yarn/cache/function.prototype.name-npm-1.1.6-fd3a6a5cdd-4d40be44d4.zip/node_modules/function.prototype.name/",\
"packageDependencies": [\
["function.prototype.name", "npm:1.1.6"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"],\
["functions-have-names", "npm:1.2.3"]\
@@ -11029,16 +10703,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["get-intrinsic", [\
- ["npm:1.2.0", {\
- "packageLocation": "./.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-f57c5fe67a.zip/node_modules/get-intrinsic/",\
- "packageDependencies": [\
- ["get-intrinsic", "npm:1.2.0"],\
- ["function-bind", "npm:1.1.1"],\
- ["has", "npm:1.0.3"],\
- ["has-symbols", "npm:1.0.3"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.2.2", {\
"packageLocation": "./.yarn/cache/get-intrinsic-npm-1.2.2-3f446d8847-aa96db4f80.zip/node_modules/get-intrinsic/",\
"packageDependencies": [\
@@ -11104,8 +10768,8 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/get-symbol-description-npm-1.0.0-9c95a4bc1f-7e5f298afe.zip/node_modules/get-symbol-description/",\
"packageDependencies": [\
["get-symbol-description", "npm:1.0.0"],\
- ["call-bind", "npm:1.0.2"],\
- ["get-intrinsic", "npm:1.2.0"]\
+ ["call-bind", "npm:1.0.5"],\
+ ["get-intrinsic", "npm:1.2.2"]\
],\
"linkType": "HARD"\
}]\
@@ -11176,27 +10840,15 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["glob", [\
- ["npm:10.3.10", {\
- "packageLocation": "./.yarn/cache/glob-npm-10.3.10-da1ef8b112-38bdb2c9ce.zip/node_modules/glob/",\
- "packageDependencies": [\
- ["glob", "npm:10.3.10"],\
- ["foreground-child", "npm:3.1.1"],\
- ["jackspeak", "npm:2.3.6"],\
- ["minimatch", "npm:9.0.3"],\
- ["minipass", "npm:7.0.3"],\
- ["path-scurry", "npm:1.10.1"]\
- ],\
- "linkType": "HARD"\
- }],\
- ["npm:10.3.4", {\
- "packageLocation": "./.yarn/cache/glob-npm-10.3.4-f58cd31f55-6375721bcd.zip/node_modules/glob/",\
+ ["npm:10.4.1", {\
+ "packageLocation": "./.yarn/cache/glob-npm-10.4.1-a0d030e0a9-d7bb49d2b4.zip/node_modules/glob/",\
"packageDependencies": [\
- ["glob", "npm:10.3.4"],\
+ ["glob", "npm:10.4.1"],\
["foreground-child", "npm:3.1.1"],\
- ["jackspeak", "npm:2.3.3"],\
- ["minimatch", "npm:9.0.3"],\
- ["minipass", "npm:7.0.3"],\
- ["path-scurry", "npm:1.10.1"]\
+ ["jackspeak", "npm:3.1.2"],\
+ ["minimatch", "npm:9.0.4"],\
+ ["minipass", "npm:7.1.2"],\
+ ["path-scurry", "npm:1.11.1"]\
],\
"linkType": "HARD"\
}],\
@@ -11226,6 +10878,19 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
+ ["npm:7.2.3", {\
+ "packageLocation": "./.yarn/cache/glob-npm-7.2.3-2d866d17a5-59452a9202.zip/node_modules/glob/",\
+ "packageDependencies": [\
+ ["glob", "npm:7.2.3"],\
+ ["fs.realpath", "npm:1.0.0"],\
+ ["inflight", "npm:1.0.6"],\
+ ["inherits", "npm:2.0.4"],\
+ ["minimatch", "npm:3.1.2"],\
+ ["once", "npm:1.4.0"],\
+ ["path-is-absolute", "npm:1.0.1"]\
+ ],\
+ "linkType": "HARD"\
+ }],\
["npm:8.1.0", {\
"packageLocation": "./.yarn/cache/glob-npm-8.1.0-65f64af8b1-9aab1c75eb.zip/node_modules/glob/",\
"packageDependencies": [\
@@ -11288,7 +10953,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/globalthis-npm-1.0.3-96cd56020d-45ae2f3b40.zip/node_modules/globalthis/",\
"packageDependencies": [\
["globalthis", "npm:1.0.3"],\
- ["define-properties", "npm:1.2.0"]\
+ ["define-properties", "npm:1.2.1"]\
],\
"linkType": "HARD"\
}]\
@@ -11300,7 +10965,7 @@ const RAW_RUNTIME_STATE =
["globby", "npm:11.1.0"],\
["array-union", "npm:2.1.0"],\
["dir-glob", "npm:3.0.1"],\
- ["fast-glob", "npm:3.2.11"],\
+ ["fast-glob", "npm:3.2.12"],\
["ignore", "npm:5.2.0"],\
["merge2", "npm:1.4.1"],\
["slash", "npm:3.0.0"]\
@@ -11331,7 +10996,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/gopd-npm-1.0.1-10c1d0b534-5fbc7ad57b.zip/node_modules/gopd/",\
"packageDependencies": [\
["gopd", "npm:1.0.1"],\
- ["get-intrinsic", "npm:1.2.0"]\
+ ["get-intrinsic", "npm:1.2.2"]\
],\
"linkType": "HARD"\
}]\
@@ -11447,7 +11112,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/has-npm-1.0.3-b7f00631c1-a449f3185b.zip/node_modules/has/",\
"packageDependencies": [\
["has", "npm:1.0.3"],\
- ["function-bind", "npm:1.1.1"]\
+ ["function-bind", "npm:1.1.2"]\
],\
"linkType": "HARD"\
}]\
@@ -11482,7 +11147,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/has-property-descriptors-npm-1.0.0-56289b918d-a6d3f0a266.zip/node_modules/has-property-descriptors/",\
"packageDependencies": [\
["has-property-descriptors", "npm:1.0.0"],\
- ["get-intrinsic", "npm:1.2.0"]\
+ ["get-intrinsic", "npm:1.2.2"]\
],\
"linkType": "HARD"\
}]\
@@ -11540,7 +11205,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["hash-base", "npm:3.1.0"],\
["inherits", "npm:2.0.4"],\
- ["readable-stream", "npm:3.6.0"],\
+ ["readable-stream", "npm:3.6.2"],\
["safe-buffer", "npm:5.2.1"]\
],\
"linkType": "HARD"\
@@ -11593,7 +11258,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["header-case", "npm:2.0.4"],\
["capital-case", "npm:1.0.4"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -11604,7 +11269,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["help-me", "npm:4.2.0"],\
["glob", "npm:8.1.0"],\
- ["readable-stream", "npm:3.6.0"]\
+ ["readable-stream", "npm:3.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -11699,7 +11364,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["http-proxy", "npm:1.18.1"],\
["eventemitter3", "npm:4.0.7"],\
- ["follow-redirects", "virtual:a313c479c5c7e54d9ec8fbeeea69ff640f56b8989ea2dff42351a3fa5c4061fb80a52d8ede0f0826a181a216820c2d2c3f15da881e7fdf31cef1c446e42f0c45#npm:1.15.2"],\
+ ["follow-redirects", "virtual:a313c479c5c7e54d9ec8fbeeea69ff640f56b8989ea2dff42351a3fa5c4061fb80a52d8ede0f0826a181a216820c2d2c3f15da881e7fdf31cef1c446e42f0c45#npm:1.15.6"],\
["requires-port", "npm:1.0.0"]\
],\
"linkType": "HARD"\
@@ -12010,7 +11675,7 @@ const RAW_RUNTIME_STATE =
["mute-stream", "npm:0.0.8"],\
["ora", "npm:5.4.1"],\
["run-async", "npm:2.4.1"],\
- ["rxjs", "npm:7.8.0"],\
+ ["rxjs", "npm:7.8.1"],\
["string-width", "npm:4.2.3"],\
["strip-ansi", "npm:6.0.1"],\
["through", "npm:2.3.8"]\
@@ -12023,7 +11688,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/internal-slot-npm-1.0.5-a2241f3e66-e2eb5b348e.zip/node_modules/internal-slot/",\
"packageDependencies": [\
["internal-slot", "npm:1.0.5"],\
- ["get-intrinsic", "npm:1.2.0"],\
+ ["get-intrinsic", "npm:1.2.2"],\
["has", "npm:1.0.3"],\
["side-channel", "npm:1.0.4"]\
],\
@@ -12046,18 +11711,13 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
- ["ip", [\
- ["npm:1.1.5", {\
- "packageLocation": "./.yarn/cache/ip-npm-1.1.5-af36318aa6-40a00572cf.zip/node_modules/ip/",\
+ ["ip-address", [\
+ ["npm:9.0.5", {\
+ "packageLocation": "./.yarn/cache/ip-address-npm-9.0.5-9fa024d42a-1ed81e0672.zip/node_modules/ip-address/",\
"packageDependencies": [\
- ["ip", "npm:1.1.5"]\
- ],\
- "linkType": "HARD"\
- }],\
- ["npm:2.0.0", {\
- "packageLocation": "./.yarn/cache/ip-npm-2.0.0-204facb3cc-1270b11e53.zip/node_modules/ip/",\
- "packageDependencies": [\
- ["ip", "npm:2.0.0"]\
+ ["ip-address", "npm:9.0.5"],\
+ ["jsbn", "npm:1.1.0"],\
+ ["sprintf-js", "npm:1.1.3"]\
],\
"linkType": "HARD"\
}]\
@@ -12085,7 +11745,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/is-arguments-npm-1.1.1-eff4f6d4d7-a170c7e260.zip/node_modules/is-arguments/",\
"packageDependencies": [\
["is-arguments", "npm:1.1.1"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["has-tostringtag", "npm:1.0.0"]\
],\
"linkType": "HARD"\
@@ -12096,9 +11756,9 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/is-array-buffer-npm-3.0.2-0dec897785-dcac9dda66.zip/node_modules/is-array-buffer/",\
"packageDependencies": [\
["is-array-buffer", "npm:3.0.2"],\
- ["call-bind", "npm:1.0.2"],\
- ["get-intrinsic", "npm:1.2.0"],\
- ["is-typed-array", "npm:1.1.10"]\
+ ["call-bind", "npm:1.0.5"],\
+ ["get-intrinsic", "npm:1.2.2"],\
+ ["is-typed-array", "npm:1.1.12"]\
],\
"linkType": "HARD"\
}]\
@@ -12144,7 +11804,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/is-boolean-object-npm-1.1.2-ecbd575e6a-ba794223b5.zip/node_modules/is-boolean-object/",\
"packageDependencies": [\
["is-boolean-object", "npm:1.1.2"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["has-tostringtag", "npm:1.0.0"]\
],\
"linkType": "HARD"\
@@ -12177,14 +11837,6 @@ const RAW_RUNTIME_STATE =
["hasown", "npm:2.0.0"]\
],\
"linkType": "HARD"\
- }],\
- ["npm:2.8.1", {\
- "packageLocation": "./.yarn/cache/is-core-module-npm-2.8.1-ce21740d1b-80b33fbd45.zip/node_modules/is-core-module/",\
- "packageDependencies": [\
- ["is-core-module", "npm:2.8.1"],\
- ["has", "npm:1.0.3"]\
- ],\
- "linkType": "HARD"\
}]\
]],\
["is-date-object", [\
@@ -12277,8 +11929,8 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/is-nan-npm-1.3.2-a087d31a28-1f784d3472.zip/node_modules/is-nan/",\
"packageDependencies": [\
["is-nan", "npm:1.3.2"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"]\
+ ["call-bind", "npm:1.0.5"],\
+ ["define-properties", "npm:1.2.1"]\
],\
"linkType": "HARD"\
}]\
@@ -12367,7 +12019,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/is-regex-npm-1.1.4-cca193ef11-36d9174d16.zip/node_modules/is-regex/",\
"packageDependencies": [\
["is-regex", "npm:1.1.4"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["has-tostringtag", "npm:1.0.0"]\
],\
"linkType": "HARD"\
@@ -12397,7 +12049,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/is-shared-array-buffer-npm-1.0.2-32e4181fcd-23d82259d6.zip/node_modules/is-shared-array-buffer/",\
"packageDependencies": [\
["is-shared-array-buffer", "npm:1.0.2"],\
- ["call-bind", "npm:1.0.2"]\
+ ["call-bind", "npm:1.0.5"]\
],\
"linkType": "HARD"\
}]\
@@ -12442,18 +12094,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["is-typed-array", [\
- ["npm:1.1.10", {\
- "packageLocation": "./.yarn/cache/is-typed-array-npm-1.1.10-fe4ef83cdc-2392b2473b.zip/node_modules/is-typed-array/",\
- "packageDependencies": [\
- ["is-typed-array", "npm:1.1.10"],\
- ["available-typed-arrays", "npm:1.0.5"],\
- ["call-bind", "npm:1.0.2"],\
- ["for-each", "npm:0.3.3"],\
- ["gopd", "npm:1.0.1"],\
- ["has-tostringtag", "npm:1.0.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.1.12", {\
"packageLocation": "./.yarn/cache/is-typed-array-npm-1.1.12-6135c91b1a-d953adfd3c.zip/node_modules/is-typed-array/",\
"packageDependencies": [\
@@ -12495,7 +12135,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/is-weakref-npm-1.0.2-ff80e8c314-0023fd0e4b.zip/node_modules/is-weakref/",\
"packageDependencies": [\
["is-weakref", "npm:1.0.2"],\
- ["call-bind", "npm:1.0.2"]\
+ ["call-bind", "npm:1.0.5"]\
],\
"linkType": "HARD"\
}]\
@@ -12596,7 +12236,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["isomorphic-ws", "virtual:7469c013e9c5baa67d67122340123f2260ba4f66d6748855fb7f2ab67ea3fe52b2c8821a105003266d54faf99a9564056fb1b532d9ae8b6985087ab5f8394bf0#npm:4.0.1"],\
["@types/ws", "npm:7.4.7"],\
- ["ws", "virtual:7469c013e9c5baa67d67122340123f2260ba4f66d6748855fb7f2ab67ea3fe52b2c8821a105003266d54faf99a9564056fb1b532d9ae8b6985087ab5f8394bf0#npm:7.5.5"]\
+ ["ws", "virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.17.1"]\
],\
"packagePeers": [\
"@types/ws",\
@@ -12606,13 +12246,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["istanbul-lib-coverage", [\
- ["npm:3.2.0", {\
- "packageLocation": "./.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-31621b84ad.zip/node_modules/istanbul-lib-coverage/",\
- "packageDependencies": [\
- ["istanbul-lib-coverage", "npm:3.2.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:3.2.2", {\
"packageLocation": "./.yarn/cache/istanbul-lib-coverage-npm-3.2.2-5c0526e059-40bbdd1e93.zip/node_modules/istanbul-lib-coverage/",\
"packageDependencies": [\
@@ -12638,7 +12271,7 @@ const RAW_RUNTIME_STATE =
["istanbul-lib-instrument", "npm:4.0.3"],\
["@babel/core", "npm:7.23.3"],\
["@istanbuljs/schema", "npm:0.1.3"],\
- ["istanbul-lib-coverage", "npm:3.2.0"],\
+ ["istanbul-lib-coverage", "npm:3.2.2"],\
["semver", "npm:7.5.3"]\
],\
"linkType": "HARD"\
@@ -12664,7 +12297,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/istanbul-lib-report-npm-3.0.0-660f97340a-06b37952e9.zip/node_modules/istanbul-lib-report/",\
"packageDependencies": [\
["istanbul-lib-report", "npm:3.0.0"],\
- ["istanbul-lib-coverage", "npm:3.2.0"],\
+ ["istanbul-lib-coverage", "npm:3.2.2"],\
["make-dir", "npm:3.1.0"],\
["supports-color", "npm:7.2.0"]\
],\
@@ -12677,7 +12310,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["istanbul-lib-source-maps", "npm:4.0.1"],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
- ["istanbul-lib-coverage", "npm:3.2.0"],\
+ ["istanbul-lib-coverage", "npm:3.2.2"],\
["source-map", "npm:0.6.1"]\
],\
"linkType": "HARD"\
@@ -12695,19 +12328,10 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["jackspeak", [\
- ["npm:2.3.3", {\
- "packageLocation": "./.yarn/cache/jackspeak-npm-2.3.3-755684cc60-a4c7c1a3ff.zip/node_modules/jackspeak/",\
- "packageDependencies": [\
- ["jackspeak", "npm:2.3.3"],\
- ["@isaacs/cliui", "npm:8.0.2"],\
- ["@pkgjs/parseargs", "npm:0.11.0"]\
- ],\
- "linkType": "HARD"\
- }],\
- ["npm:2.3.6", {\
- "packageLocation": "./.yarn/cache/jackspeak-npm-2.3.6-42e1233172-6e6490d676.zip/node_modules/jackspeak/",\
+ ["npm:3.1.2", {\
+ "packageLocation": "./.yarn/cache/jackspeak-npm-3.1.2-dbb3ed8474-7e6b94103e.zip/node_modules/jackspeak/",\
"packageDependencies": [\
- ["jackspeak", "npm:2.3.6"],\
+ ["jackspeak", "npm:3.1.2"],\
["@isaacs/cliui", "npm:8.0.2"],\
["@pkgjs/parseargs", "npm:0.11.0"]\
],\
@@ -12767,7 +12391,7 @@ const RAW_RUNTIME_STATE =
["isomorphic-ws", "virtual:7469c013e9c5baa67d67122340123f2260ba4f66d6748855fb7f2ab67ea3fe52b2c8821a105003266d54faf99a9564056fb1b532d9ae8b6985087ab5f8394bf0#npm:4.0.1"],\
["json-stringify-safe", "npm:5.0.1"],\
["uuid", "npm:8.3.2"],\
- ["ws", "virtual:7469c013e9c5baa67d67122340123f2260ba4f66d6748855fb7f2ab67ea3fe52b2c8821a105003266d54faf99a9564056fb1b532d9ae8b6985087ab5f8394bf0#npm:7.5.5"]\
+ ["ws", "virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.17.1"]\
],\
"linkType": "HARD"\
}]\
@@ -12799,7 +12423,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/jest-worker-npm-27.5.1-1c110b5894-06c6e2a845.zip/node_modules/jest-worker/",\
"packageDependencies": [\
["jest-worker", "npm:27.5.1"],\
- ["@types/node", "npm:17.0.21"],\
+ ["@types/node", "npm:18.16.1"],\
["merge-stream", "npm:2.0.0"],\
["supports-color", "npm:8.1.1"]\
],\
@@ -12870,6 +12494,15 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
+ ["jsbn", [\
+ ["npm:1.1.0", {\
+ "packageLocation": "./.yarn/cache/jsbn-npm-1.1.0-1da0181838-bebe7ae829.zip/node_modules/jsbn/",\
+ "packageDependencies": [\
+ ["jsbn", "npm:1.1.0"]\
+ ],\
+ "linkType": "HARD"\
+ }]\
+ ]],\
["jsdoc-type-pratt-parser", [\
["npm:4.0.0", {\
"packageLocation": "./.yarn/cache/jsdoc-type-pratt-parser-npm-4.0.0-7b035921c4-a225ab874e.zip/node_modules/jsdoc-type-pratt-parser/",\
@@ -13006,14 +12639,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["json5", [\
- ["npm:2.2.0", {\
- "packageLocation": "./.yarn/cache/json5-npm-2.2.0-da49dc7cb5-d72ea87423.zip/node_modules/json5/",\
- "packageDependencies": [\
- ["json5", "npm:2.2.0"],\
- ["minimist", "npm:1.2.6"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:2.2.3", {\
"packageLocation": "./.yarn/cache/json5-npm-2.2.3-9962c55073-1db67b853f.zip/node_modules/json5/",\
"packageDependencies": [\
@@ -13069,10 +12694,10 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["karma", [\
- ["npm:6.4.1", {\
- "packageLocation": "./.yarn/cache/karma-npm-6.4.1-5443d36ee9-24faabfaf0.zip/node_modules/karma/",\
+ ["npm:6.4.3", {\
+ "packageLocation": "./.yarn/cache/karma-npm-6.4.3-c1db2b322c-7fc194f5d4.zip/node_modules/karma/",\
"packageDependencies": [\
- ["karma", "npm:6.4.1"],\
+ ["karma", "npm:6.4.3"],\
["@colors/colors", "npm:1.5.0"],\
["body-parser", "npm:1.19.0"],\
["braces", "npm:3.0.2"],\
@@ -13080,7 +12705,7 @@ const RAW_RUNTIME_STATE =
["connect", "npm:3.7.0"],\
["di", "npm:0.0.1"],\
["dom-serialize", "npm:2.2.1"],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["graceful-fs", "npm:4.2.10"],\
["http-proxy", "npm:1.18.1"],\
["isbinaryfile", "npm:4.0.10"],\
@@ -13092,7 +12717,7 @@ const RAW_RUNTIME_STATE =
["qjobs", "npm:1.2.0"],\
["range-parser", "npm:1.2.1"],\
["rimraf", "npm:3.0.2"],\
- ["socket.io", "npm:4.5.2"],\
+ ["socket.io", "npm:4.7.5"],\
["source-map", "npm:0.6.1"],\
["tmp", "npm:0.2.1"],\
["ua-parser-js", "npm:1.0.33"],\
@@ -13116,7 +12741,7 @@ const RAW_RUNTIME_STATE =
["@types/chai", "npm:4.2.22"],\
["@types/karma", null],\
["chai", "npm:4.3.10"],\
- ["karma", "npm:6.4.1"]\
+ ["karma", "npm:6.4.3"]\
],\
"packagePeers": [\
"@types/chai",\
@@ -13133,7 +12758,7 @@ const RAW_RUNTIME_STATE =
["@types/chai", null],\
["@types/karma", null],\
["chai", "npm:4.3.10"],\
- ["karma", "npm:6.4.1"]\
+ ["karma", "npm:6.4.3"]\
],\
"packagePeers": [\
"@types/chai",\
@@ -13190,7 +12815,7 @@ const RAW_RUNTIME_STATE =
["karma-mocha-reporter", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:2.2.5"],\
["@types/karma", null],\
["chalk", "npm:2.4.2"],\
- ["karma", "npm:6.4.1"],\
+ ["karma", "npm:6.4.3"],\
["log-symbols", "npm:2.2.0"],\
["strip-ansi", "npm:4.0.0"]\
],\
@@ -13224,7 +12849,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["karma-webpack", "virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:5.0.0"],\
["@types/webpack", null],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["minimatch", "npm:3.1.2"],\
["webpack", "virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:5.76.1"],\
["webpack-merge", "npm:4.2.2"]\
@@ -13240,7 +12865,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["karma-webpack", "virtual:45f214395bc38640da4dc5e940482d5df0572c5384e0262802601d1973e71077ec8bbd76b77eafa4c0550b706b664abd84d63fd67a5897139f0b2675530fc84f#npm:5.0.0"],\
["@types/webpack", null],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["minimatch", "npm:3.1.2"],\
["webpack", "virtual:45f214395bc38640da4dc5e940482d5df0572c5384e0262802601d1973e71077ec8bbd76b77eafa4c0550b706b664abd84d63fd67a5897139f0b2675530fc84f#npm:5.76.1"],\
["webpack-merge", "npm:4.2.2"]\
@@ -13256,7 +12881,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["karma-webpack", "virtual:8f25fc90e0fb5fd89843707863857591fa8c52f9f33eadced4bf404b1871d91959f7bb86948ae0e1b53ee94d491ef8fde9c0b58b39c9490c0d0fa6c931945f97#npm:5.0.0"],\
["@types/webpack", null],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["minimatch", "npm:3.1.2"],\
["webpack", "virtual:8f25fc90e0fb5fd89843707863857591fa8c52f9f33eadced4bf404b1871d91959f7bb86948ae0e1b53ee94d491ef8fde9c0b58b39c9490c0d0fa6c931945f97#npm:5.76.1"],\
["webpack-merge", "npm:4.2.2"]\
@@ -13272,7 +12897,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["karma-webpack", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:5.0.0"],\
["@types/webpack", null],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["minimatch", "npm:3.1.2"],\
["webpack", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:5.76.1"],\
["webpack-merge", "npm:4.2.2"]\
@@ -13288,7 +12913,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["karma-webpack", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:5.0.0"],\
["@types/webpack", null],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["minimatch", "npm:3.1.2"],\
["webpack", "virtual:e2d057e7cc143d3cb9bec864f4a2d862441b5a09f81f8e6c46e7a098cbc89e4d07017cc6e2e2142d5704bb55da853cbec2d025ebc0b30e8696c31380c00f2c7d#npm:5.76.1"],\
["webpack-merge", "npm:4.2.2"]\
@@ -13353,7 +12978,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["level-iterator-stream", "npm:4.0.2"],\
["inherits", "npm:2.0.4"],\
- ["readable-stream", "npm:3.6.0"],\
+ ["readable-stream", "npm:3.6.2"],\
["xtend", "npm:4.0.2"]\
],\
"linkType": "HARD"\
@@ -13436,7 +13061,7 @@ const RAW_RUNTIME_STATE =
["listr2", "virtual:880cda903c2a2be387819a3f857d21494004437a03c92969b9853f7bdeebdfed08d417e68364ee9e158338603a6d78d690c457a55ab11e56398bc10f0ad232fc#npm:5.0.7"],\
["@types/enquirer", null],\
["cli-truncate", "npm:2.1.0"],\
- ["colorette", "npm:2.0.19"],\
+ ["colorette", "npm:2.0.20"],\
["enquirer", "https://github.com/dashpay/enquirer.git#commit=86aaef0b1c82dfaa3436775e6b37de310eeb94f5"],\
["log-update", "npm:4.0.0"],\
["p-map", "npm:4.0.0"],\
@@ -13743,7 +13368,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/lower-case-npm-2.0.2-151055f1c2-83a0a5f159.zip/node_modules/lower-case/",\
"packageDependencies": [\
["lower-case", "npm:2.0.2"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -13765,13 +13390,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["lru-cache", [\
- ["npm:10.0.1", {\
- "packageLocation": "./.yarn/cache/lru-cache-npm-10.0.1-0e1abf4c13-5bb91a97a3.zip/node_modules/lru-cache/",\
- "packageDependencies": [\
- ["lru-cache", "npm:10.0.1"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:10.0.2", {\
"packageLocation": "./.yarn/cache/lru-cache-npm-10.0.2-fcff47e16f-a675b71a19.zip/node_modules/lru-cache/",\
"packageDependencies": [\
@@ -13780,6 +13398,13 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
+ ["npm:10.2.2", {\
+ "packageLocation": "./.yarn/cache/lru-cache-npm-10.2.2-c54b721fc3-ff1a496d30.zip/node_modules/lru-cache/",\
+ "packageDependencies": [\
+ ["lru-cache", "npm:10.2.2"]\
+ ],\
+ "linkType": "HARD"\
+ }],\
["npm:5.1.1", {\
"packageLocation": "./.yarn/cache/lru-cache-npm-5.1.1-f475882a51-951d2673dc.zip/node_modules/lru-cache/",\
"packageDependencies": [\
@@ -13802,13 +13427,6 @@ const RAW_RUNTIME_STATE =
["lru-cache", "npm:7.18.3"]\
],\
"linkType": "HARD"\
- }],\
- ["npm:7.3.1", {\
- "packageLocation": "./.yarn/cache/lru-cache-npm-7.3.1-b157dca680-83adf549d8.zip/node_modules/lru-cache/",\
- "packageDependencies": [\
- ["lru-cache", "npm:7.3.1"]\
- ],\
- "linkType": "HARD"\
}]\
]],\
["ltgt", [\
@@ -13862,13 +13480,13 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/make-fetch-happen-npm-10.0.3-e552879254-a9afbe3902.zip/node_modules/make-fetch-happen/",\
"packageDependencies": [\
["make-fetch-happen", "npm:10.0.3"],\
- ["agentkeepalive", "npm:4.2.0"],\
+ ["agentkeepalive", "npm:4.3.0"],\
["cacache", "npm:18.0.0"],\
["http-cache-semantics", "npm:4.1.1"],\
["http-proxy-agent", "npm:5.0.0"],\
["https-proxy-agent", "npm:5.0.0"],\
["is-lambda", "npm:1.0.1"],\
- ["lru-cache", "npm:7.3.1"],\
+ ["lru-cache", "npm:7.18.3"],\
["minipass", "npm:3.1.6"],\
["minipass-collect", "npm:1.0.2"],\
["minipass-fetch", "npm:1.4.1"],\
@@ -13991,13 +13609,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["mem-fs-editor", [\
- ["npm:9.4.0", {\
- "packageLocation": "./.yarn/cache/mem-fs-editor-npm-9.4.0-97c608fb01-b196c50010.zip/node_modules/mem-fs-editor/",\
- "packageDependencies": [\
- ["mem-fs-editor", "npm:9.4.0"]\
- ],\
- "linkType": "SOFT"\
- }],\
["npm:9.7.0", {\
"packageLocation": "./.yarn/cache/mem-fs-editor-npm-9.7.0-d55ddaa593-656275560f.zip/node_modules/mem-fs-editor/",\
"packageDependencies": [\
@@ -14005,19 +13616,19 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "SOFT"\
}],\
- ["virtual:2acb7f847f03bc2bd90f7df00604776d7c66477738a3b8df4954a29601a0fdca4ccd942111de77aa272590d0b875d8add6606fc244946461a413979c573cc813#npm:9.4.0", {\
- "packageLocation": "./.yarn/__virtual__/mem-fs-editor-virtual-b8ccd1d842/0/cache/mem-fs-editor-npm-9.4.0-97c608fb01-b196c50010.zip/node_modules/mem-fs-editor/",\
+ ["virtual:2acb7f847f03bc2bd90f7df00604776d7c66477738a3b8df4954a29601a0fdca4ccd942111de77aa272590d0b875d8add6606fc244946461a413979c573cc813#npm:9.7.0", {\
+ "packageLocation": "./.yarn/__virtual__/mem-fs-editor-virtual-c18f617f6d/0/cache/mem-fs-editor-npm-9.7.0-d55ddaa593-656275560f.zip/node_modules/mem-fs-editor/",\
"packageDependencies": [\
- ["mem-fs-editor", "virtual:2acb7f847f03bc2bd90f7df00604776d7c66477738a3b8df4954a29601a0fdca4ccd942111de77aa272590d0b875d8add6606fc244946461a413979c573cc813#npm:9.4.0"],\
+ ["mem-fs-editor", "virtual:2acb7f847f03bc2bd90f7df00604776d7c66477738a3b8df4954a29601a0fdca4ccd942111de77aa272590d0b875d8add6606fc244946461a413979c573cc813#npm:9.7.0"],\
["@types/mem-fs", null],\
["binaryextensions", "npm:4.18.0"],\
["commondir", "npm:1.0.1"],\
["deep-extend", "npm:0.6.0"],\
- ["ejs", "npm:3.1.8"],\
+ ["ejs", "npm:3.1.10"],\
["globby", "npm:11.1.0"],\
- ["isbinaryfile", "npm:4.0.10"],\
+ ["isbinaryfile", "npm:5.0.0"],\
["mem-fs", "npm:2.2.1"],\
- ["minimatch", "npm:3.1.2"],\
+ ["minimatch", "npm:7.4.6"],\
["multimatch", "npm:5.0.0"],\
["normalize-path", "npm:3.0.0"],\
["textextensions", "npm:5.14.0"]\
@@ -14036,7 +13647,7 @@ const RAW_RUNTIME_STATE =
["binaryextensions", "npm:4.18.0"],\
["commondir", "npm:1.0.1"],\
["deep-extend", "npm:0.6.0"],\
- ["ejs", "npm:3.1.8"],\
+ ["ejs", "npm:3.1.10"],\
["globby", "npm:11.1.0"],\
["isbinaryfile", "npm:5.0.0"],\
["mem-fs", null],\
@@ -14278,14 +13889,6 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["npm:5.0.0", {\
- "packageLocation": "./.yarn/cache/minimatch-npm-5.0.0-969101c1d1-ee05bf8c18.zip/node_modules/minimatch/",\
- "packageDependencies": [\
- ["minimatch", "npm:5.0.0"],\
- ["brace-expansion", "npm:2.0.1"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:5.0.1", {\
"packageLocation": "./.yarn/cache/minimatch-npm-5.0.1-612724f6f0-2656580f18.zip/node_modules/minimatch/",\
"packageDependencies": [\
@@ -14317,6 +13920,14 @@ const RAW_RUNTIME_STATE =
["brace-expansion", "npm:2.0.1"]\
],\
"linkType": "HARD"\
+ }],\
+ ["npm:9.0.4", {\
+ "packageLocation": "./.yarn/cache/minimatch-npm-9.0.4-7be5a33efc-4cdc18d112.zip/node_modules/minimatch/",\
+ "packageDependencies": [\
+ ["minimatch", "npm:9.0.4"],\
+ ["brace-expansion", "npm:2.0.1"]\
+ ],\
+ "linkType": "HARD"\
}]\
]],\
["minimist", [\
@@ -14349,13 +13960,6 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["npm:4.2.8", {\
- "packageLocation": "./.yarn/cache/minipass-npm-4.2.8-f05abfe254-e148eb6dcb.zip/node_modules/minipass/",\
- "packageDependencies": [\
- ["minipass", "npm:4.2.8"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:5.0.0", {\
"packageLocation": "./.yarn/cache/minipass-npm-5.0.0-c64fb63c92-61682162d2.zip/node_modules/minipass/",\
"packageDependencies": [\
@@ -14363,17 +13967,17 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["npm:7.0.3", {\
- "packageLocation": "./.yarn/cache/minipass-npm-7.0.3-3b57909ee9-04d72c8a43.zip/node_modules/minipass/",\
+ ["npm:7.0.4", {\
+ "packageLocation": "./.yarn/cache/minipass-npm-7.0.4-eacb4e042e-e864bd02ce.zip/node_modules/minipass/",\
"packageDependencies": [\
- ["minipass", "npm:7.0.3"]\
+ ["minipass", "npm:7.0.4"]\
],\
"linkType": "HARD"\
}],\
- ["npm:7.0.4", {\
- "packageLocation": "./.yarn/cache/minipass-npm-7.0.4-eacb4e042e-e864bd02ce.zip/node_modules/minipass/",\
+ ["npm:7.1.2", {\
+ "packageLocation": "./.yarn/cache/minipass-npm-7.1.2-3a5327d36d-c25f0ee819.zip/node_modules/minipass/",\
"packageDependencies": [\
- ["minipass", "npm:7.0.4"]\
+ ["minipass", "npm:7.1.2"]\
],\
"linkType": "HARD"\
}]\
@@ -14700,6 +14304,14 @@ const RAW_RUNTIME_STATE =
["node-gyp", "npm:10.0.1"]\
],\
"linkType": "HARD"\
+ }],\
+ ["npm:2.20.0", {\
+ "packageLocation": "./.yarn/unplugged/nan-npm-2.20.0-5b5be83e88/node_modules/nan/",\
+ "packageDependencies": [\
+ ["nan", "npm:2.20.0"],\
+ ["node-gyp", "npm:10.0.1"]\
+ ],\
+ "linkType": "HARD"\
}]\
]],\
["nanoid", [\
@@ -14808,7 +14420,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["no-case", "npm:3.0.4"],\
["lower-case", "npm:2.0.2"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -14871,13 +14483,13 @@ const RAW_RUNTIME_STATE =
["node-gyp", "npm:10.0.1"],\
["env-paths", "npm:2.2.1"],\
["exponential-backoff", "npm:3.1.1"],\
- ["glob", "npm:10.3.10"],\
+ ["glob", "npm:10.4.1"],\
["graceful-fs", "npm:4.2.10"],\
["make-fetch-happen", "npm:13.0.0"],\
["nopt", "npm:7.2.0"],\
["proc-log", "npm:3.0.0"],\
["semver", "npm:7.5.3"],\
- ["tar", "npm:6.1.11"],\
+ ["tar", "npm:6.2.1"],\
["which", "npm:4.0.0"]\
],\
"linkType": "HARD"\
@@ -14912,13 +14524,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["node-releases", [\
- ["npm:2.0.1", {\
- "packageLocation": "./.yarn/cache/node-releases-npm-2.0.1-77b8e327f7-b20dd8d4bc.zip/node_modules/node-releases/",\
- "packageDependencies": [\
- ["node-releases", "npm:2.0.1"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:2.0.13", {\
"packageLocation": "./.yarn/cache/node-releases-npm-2.0.13-1f2e177887-c9bb813aab.zip/node_modules/node-releases/",\
"packageDependencies": [\
@@ -14993,7 +14598,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["normalize-package-data", "npm:2.5.0"],\
["hosted-git-info", "npm:2.8.9"],\
- ["resolve", "patch:resolve@npm%3A1.22.0#optional!builtin::version=1.22.0&hash=c3c19d"],\
+ ["resolve", "patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d"],\
["semver", "npm:7.5.3"],\
["validate-npm-package-license", "npm:3.0.4"]\
],\
@@ -15004,7 +14609,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["normalize-package-data", "npm:3.0.3"],\
["hosted-git-info", "npm:4.0.2"],\
- ["is-core-module", "npm:2.8.1"],\
+ ["is-core-module", "npm:2.13.1"],\
["semver", "npm:7.5.3"],\
["validate-npm-package-license", "npm:3.0.4"]\
],\
@@ -15015,7 +14620,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["normalize-package-data", "npm:5.0.0"],\
["hosted-git-info", "npm:6.1.1"],\
- ["is-core-module", "npm:2.8.1"],\
+ ["is-core-module", "npm:2.13.1"],\
["semver", "npm:7.5.3"],\
["validate-npm-package-license", "npm:3.0.4"]\
],\
@@ -15127,7 +14732,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/npm-packlist-npm-3.0.0-9671ff7386-6fda68f084.zip/node_modules/npm-packlist/",\
"packageDependencies": [\
["npm-packlist", "npm:3.0.0"],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["ignore-walk", "npm:4.0.1"],\
["npm-bundled", "npm:1.1.2"],\
["npm-normalize-package-bin", "npm:1.0.1"]\
@@ -15233,8 +14838,8 @@ const RAW_RUNTIME_STATE =
["find-up", "npm:4.1.0"],\
["foreground-child", "npm:2.0.0"],\
["get-package-type", "npm:0.1.0"],\
- ["glob", "npm:7.2.0"],\
- ["istanbul-lib-coverage", "npm:3.2.0"],\
+ ["glob", "npm:7.2.3"],\
+ ["istanbul-lib-coverage", "npm:3.2.2"],\
["istanbul-lib-hook", "npm:3.0.0"],\
["istanbul-lib-instrument", "npm:4.0.3"],\
["istanbul-lib-processinfo", "npm:2.0.3"],\
@@ -15265,13 +14870,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["object-inspect", [\
- ["npm:1.12.3", {\
- "packageLocation": "./.yarn/cache/object-inspect-npm-1.12.3-1e7d20f5ff-532b0036f0.zip/node_modules/object-inspect/",\
- "packageDependencies": [\
- ["object-inspect", "npm:1.12.3"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.13.1", {\
"packageLocation": "./.yarn/cache/object-inspect-npm-1.13.1-fd038a2f0a-92f4989ed8.zip/node_modules/object-inspect/",\
"packageDependencies": [\
@@ -15285,8 +14883,8 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/object-is-npm-1.1.5-48a862602b-75365aff5d.zip/node_modules/object-is/",\
"packageDependencies": [\
["object-is", "npm:1.1.5"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"]\
+ ["call-bind", "npm:1.0.5"],\
+ ["define-properties", "npm:1.2.1"]\
],\
"linkType": "HARD"\
}]\
@@ -15314,8 +14912,8 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/object.assign-npm-4.1.4-fb3deb1c3a-fd82d45289.zip/node_modules/object.assign/",\
"packageDependencies": [\
["object.assign", "npm:4.1.4"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"],\
+ ["call-bind", "npm:1.0.5"],\
+ ["define-properties", "npm:1.2.1"],\
["has-symbols", "npm:1.0.3"],\
["object-keys", "npm:1.1.1"]\
],\
@@ -15327,9 +14925,9 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/object.entries-npm-1.1.6-5f9ba14b46-08a09ff839.zip/node_modules/object.entries/",\
"packageDependencies": [\
["object.entries", "npm:1.1.6"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"],\
- ["es-abstract", "npm:1.21.2"]\
+ ["call-bind", "npm:1.0.5"],\
+ ["define-properties", "npm:1.2.1"],\
+ ["es-abstract", "npm:1.22.3"]\
],\
"linkType": "HARD"\
}]\
@@ -15339,7 +14937,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/object.fromentries-npm-2.0.7-2e38392540-1bfbe42a51.zip/node_modules/object.fromentries/",\
"packageDependencies": [\
["object.fromentries", "npm:2.0.7"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"]\
],\
@@ -15351,7 +14949,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/object.groupby-npm-1.0.1-fc268391fe-b7123d9140.zip/node_modules/object.groupby/",\
"packageDependencies": [\
["object.groupby", "npm:1.0.1"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"],\
["get-intrinsic", "npm:1.2.2"]\
@@ -15364,7 +14962,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/object.values-npm-1.1.7-deae619f88-20ab42c0bb.zip/node_modules/object.values/",\
"packageDependencies": [\
["object.values", "npm:1.1.7"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"]\
],\
@@ -15743,7 +15341,7 @@ const RAW_RUNTIME_STATE =
["read-package-json-fast", "npm:2.0.3"],\
["rimraf", "npm:3.0.2"],\
["ssri", "npm:8.0.1"],\
- ["tar", "npm:6.1.11"]\
+ ["tar", "npm:6.2.1"]\
],\
"linkType": "HARD"\
}],\
@@ -15768,7 +15366,7 @@ const RAW_RUNTIME_STATE =
["read-package-json-fast", "npm:3.0.2"],\
["sigstore", "npm:1.9.0"],\
["ssri", "npm:10.0.5"],\
- ["tar", "npm:6.1.13"]\
+ ["tar", "npm:6.2.1"]\
],\
"linkType": "HARD"\
}]\
@@ -15797,7 +15395,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["param-case", "npm:3.0.4"],\
["dot-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -15852,7 +15450,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/parse-json-npm-5.2.0-00a63b1199-62085b17d6.zip/node_modules/parse-json/",\
"packageDependencies": [\
["parse-json", "npm:5.2.0"],\
- ["@babel/code-frame", "npm:7.16.7"],\
+ ["@babel/code-frame", "npm:7.22.13"],\
["error-ex", "npm:1.3.2"],\
["json-parse-even-better-errors", "npm:2.3.1"],\
["lines-and-columns", "npm:1.1.6"]\
@@ -15884,7 +15482,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["pascal-case", "npm:3.1.2"],\
["no-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -15898,6 +15496,15 @@ const RAW_RUNTIME_STATE =
["cross-spawn", "npm:6.0.5"]\
],\
"linkType": "HARD"\
+ }],\
+ ["npm:1.1.3", {\
+ "packageLocation": "./.yarn/cache/password-prompt-npm-1.1.3-0190666768-1cf7001e66.zip/node_modules/password-prompt/",\
+ "packageDependencies": [\
+ ["password-prompt", "npm:1.1.3"],\
+ ["ansi-escapes", "npm:4.3.2"],\
+ ["cross-spawn", "npm:7.0.3"]\
+ ],\
+ "linkType": "HARD"\
}]\
]],\
["path-browserify", [\
@@ -15915,7 +15522,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["path-case", "npm:3.0.4"],\
["dot-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -15978,12 +15585,12 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["path-scurry", [\
- ["npm:1.10.1", {\
- "packageLocation": "./.yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-eebfb8304f.zip/node_modules/path-scurry/",\
+ ["npm:1.11.1", {\
+ "packageLocation": "./.yarn/cache/path-scurry-npm-1.11.1-aaf8c339af-5e8845c159.zip/node_modules/path-scurry/",\
"packageDependencies": [\
- ["path-scurry", "npm:1.10.1"],\
- ["lru-cache", "npm:10.0.1"],\
- ["minipass", "npm:7.0.3"]\
+ ["path-scurry", "npm:1.11.1"],\
+ ["lru-cache", "npm:10.2.2"],\
+ ["minipass", "npm:7.1.2"]\
],\
"linkType": "HARD"\
}]\
@@ -16371,7 +15978,7 @@ const RAW_RUNTIME_STATE =
["@protobufjs/pool", "npm:1.1.0"],\
["@protobufjs/utf8", "npm:1.1.0"],\
["@types/long", "npm:4.0.1"],\
- ["@types/node", "npm:17.0.21"],\
+ ["@types/node", "npm:18.16.1"],\
["long", "npm:4.0.0"]\
],\
"linkType": "HARD"\
@@ -16603,7 +16210,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/read-package-json-npm-6.0.4-bf5c705b94-2c72fc8674.zip/node_modules/read-package-json/",\
"packageDependencies": [\
["read-package-json", "npm:6.0.4"],\
- ["glob", "npm:10.3.10"],\
+ ["glob", "npm:10.4.1"],\
["json-parse-even-better-errors", "npm:3.0.0"],\
["normalize-package-data", "npm:5.0.0"],\
["npm-normalize-package-bin", "npm:3.0.1"]\
@@ -16701,16 +16308,6 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["npm:3.6.0", {\
- "packageLocation": "./.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-b80b3e6a7f.zip/node_modules/readable-stream/",\
- "packageDependencies": [\
- ["readable-stream", "npm:3.6.0"],\
- ["inherits", "npm:2.0.4"],\
- ["string_decoder", "npm:1.3.0"],\
- ["util-deprecate", "npm:1.0.2"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:3.6.2", {\
"packageLocation": "./.yarn/cache/readable-stream-npm-3.6.2-d2a6069158-d9e3e53193.zip/node_modules/readable-stream/",\
"packageDependencies": [\
@@ -16771,7 +16368,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/rechoir-npm-0.6.2-0df5f171ec-fe76bf9c21.zip/node_modules/rechoir/",\
"packageDependencies": [\
["rechoir", "npm:0.6.2"],\
- ["resolve", "patch:resolve@npm%3A1.22.0#optional!builtin::version=1.22.0&hash=c3c19d"]\
+ ["resolve", "patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d"]\
],\
"linkType": "HARD"\
}],\
@@ -16779,7 +16376,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/rechoir-npm-0.7.1-0c7e5c1201-2a04aab4e2.zip/node_modules/rechoir/",\
"packageDependencies": [\
["rechoir", "npm:0.7.1"],\
- ["resolve", "patch:resolve@npm%3A1.22.0#optional!builtin::version=1.22.0&hash=c3c19d"]\
+ ["resolve", "patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d"]\
],\
"linkType": "HARD"\
}]\
@@ -16844,21 +16441,11 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["regexp.prototype.flags", [\
- ["npm:1.4.3", {\
- "packageLocation": "./.yarn/cache/regexp.prototype.flags-npm-1.4.3-df1c08b65d-3cde7cd22f.zip/node_modules/regexp.prototype.flags/",\
- "packageDependencies": [\
- ["regexp.prototype.flags", "npm:1.4.3"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"],\
- ["functions-have-names", "npm:1.2.3"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.5.1", {\
"packageLocation": "./.yarn/cache/regexp.prototype.flags-npm-1.5.1-b8faeee306-3fa5610b8e.zip/node_modules/regexp.prototype.flags/",\
"packageDependencies": [\
["regexp.prototype.flags", "npm:1.5.1"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["set-function-name", "npm:2.0.1"]\
],\
@@ -16973,16 +16560,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["resolve", [\
- ["patch:resolve@npm%3A1.22.0#optional!builtin::version=1.22.0&hash=c3c19d", {\
- "packageLocation": "./.yarn/cache/resolve-patch-2781af2c06-cb53ccafb0.zip/node_modules/resolve/",\
- "packageDependencies": [\
- ["resolve", "patch:resolve@npm%3A1.22.0#optional!builtin::version=1.22.0&hash=c3c19d"],\
- ["is-core-module", "npm:2.8.1"],\
- ["path-parse", "npm:1.0.7"],\
- ["supports-preserve-symlinks-flag", "npm:1.0.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d", {\
"packageLocation": "./.yarn/cache/resolve-patch-4254c24959-f345cd37f5.zip/node_modules/resolve/",\
"packageDependencies": [\
@@ -17097,7 +16674,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/rimraf-npm-2.7.1-9a71f3cc37-4586c296c7.zip/node_modules/rimraf/",\
"packageDependencies": [\
["rimraf", "npm:2.7.1"],\
- ["glob", "npm:7.2.0"]\
+ ["glob", "npm:7.2.3"]\
],\
"linkType": "HARD"\
}],\
@@ -17105,7 +16682,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-063ffaccaa.zip/node_modules/rimraf/",\
"packageDependencies": [\
["rimraf", "npm:3.0.2"],\
- ["glob", "npm:7.2.0"]\
+ ["glob", "npm:7.2.3"]\
],\
"linkType": "HARD"\
}]\
@@ -17149,19 +16726,11 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["npm:7.8.0", {\
- "packageLocation": "./.yarn/cache/rxjs-npm-7.8.0-722f1c7172-ff9359cc78.zip/node_modules/rxjs/",\
- "packageDependencies": [\
- ["rxjs", "npm:7.8.0"],\
- ["tslib", "npm:2.4.1"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:7.8.1", {\
"packageLocation": "./.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/",\
"packageDependencies": [\
["rxjs", "npm:7.8.1"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -17171,7 +16740,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/safe-array-concat-npm-1.0.1-8a42907bbf-44f073d85c.zip/node_modules/safe-array-concat/",\
"packageDependencies": [\
["safe-array-concat", "npm:1.0.1"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["get-intrinsic", "npm:1.2.2"],\
["has-symbols", "npm:1.0.3"],\
["isarray", "npm:2.0.5"]\
@@ -17200,8 +16769,8 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/safe-regex-test-npm-1.0.0-e94a09b84e-c7248dfa07.zip/node_modules/safe-regex-test/",\
"packageDependencies": [\
["safe-regex-test", "npm:1.0.0"],\
- ["call-bind", "npm:1.0.2"],\
- ["get-intrinsic", "npm:1.2.0"],\
+ ["call-bind", "npm:1.0.5"],\
+ ["get-intrinsic", "npm:1.2.2"],\
["is-regex", "npm:1.1.4"]\
],\
"linkType": "HARD"\
@@ -17263,7 +16832,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/schema-utils-npm-3.1.1-8704647575-cfcf991f10.zip/node_modules/schema-utils/",\
"packageDependencies": [\
["schema-utils", "npm:3.1.1"],\
- ["@types/json-schema", "npm:7.0.11"],\
+ ["@types/json-schema", "npm:7.0.15"],\
["ajv", "npm:6.12.6"],\
["ajv-keywords", "virtual:8704647575acf2f5b19fccfcb0acebacd9c94259ebe9afcfaf4c053812fd896f10775930ee5a5949e20833a61503d2cd22aa259cbe69729f6a192de4bf43dc00#npm:3.5.2"]\
],\
@@ -17273,7 +16842,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/schema-utils-npm-4.2.0-e822c5b02e-808784735e.zip/node_modules/schema-utils/",\
"packageDependencies": [\
["schema-utils", "npm:4.2.0"],\
- ["@types/json-schema", "npm:7.0.11"],\
+ ["@types/json-schema", "npm:7.0.15"],\
["ajv", "npm:8.12.0"],\
["ajv-formats", "virtual:e822c5b02ef2b3c5fb9c8d88d5e0ca208365bff76f80510f4ccf9b1de44e2078264bcb00d3cdd5e193c256e9ab81e27c34fcfb1ad3a0e8c1dc8fa0066c78c468#npm:2.1.1"],\
["ajv-keywords", "virtual:e822c5b02ef2b3c5fb9c8d88d5e0ca208365bff76f80510f4ccf9b1de44e2078264bcb00d3cdd5e193c256e9ab81e27c34fcfb1ad3a0e8c1dc8fa0066c78c468#npm:5.1.0"]\
@@ -17324,7 +16893,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["sentence-case", "npm:3.0.4"],\
["no-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"],\
+ ["tslib", "npm:2.6.2"],\
["upper-case-first", "npm:2.0.2"]\
],\
"linkType": "HARD"\
@@ -17452,7 +17021,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/shelljs-npm-0.8.5-44be43f84a-f2178274b9.zip/node_modules/shelljs/",\
"packageDependencies": [\
["shelljs", "npm:0.8.5"],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["interpret", "npm:1.4.0"],\
["rechoir", "npm:0.6.2"]\
],\
@@ -17548,9 +17117,9 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/side-channel-npm-1.0.4-e1f38b9e06-c4998d9fc5.zip/node_modules/side-channel/",\
"packageDependencies": [\
["side-channel", "npm:1.0.4"],\
- ["call-bind", "npm:1.0.2"],\
- ["get-intrinsic", "npm:1.2.0"],\
- ["object-inspect", "npm:1.12.3"]\
+ ["call-bind", "npm:1.0.5"],\
+ ["get-intrinsic", "npm:1.2.2"],\
+ ["object-inspect", "npm:1.13.1"]\
],\
"linkType": "HARD"\
}]\
@@ -17737,31 +17306,34 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["snake-case", "npm:3.0.4"],\
["dot-case", "npm:3.0.4"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
]],\
["socket.io", [\
- ["npm:4.5.2", {\
- "packageLocation": "./.yarn/cache/socket.io-npm-4.5.2-11f9913f37-872605db0f.zip/node_modules/socket.io/",\
+ ["npm:4.7.5", {\
+ "packageLocation": "./.yarn/cache/socket.io-npm-4.7.5-7db6120b90-911528f5bf.zip/node_modules/socket.io/",\
"packageDependencies": [\
- ["socket.io", "npm:4.5.2"],\
+ ["socket.io", "npm:4.7.5"],\
["accepts", "npm:1.3.7"],\
["base64id", "npm:2.0.0"],\
+ ["cors", "npm:2.8.5"],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
["engine.io", "npm:6.4.2"],\
- ["socket.io-adapter", "npm:2.4.0"],\
+ ["socket.io-adapter", "npm:2.5.5"],\
["socket.io-parser", "npm:4.2.3"]\
],\
"linkType": "HARD"\
}]\
]],\
["socket.io-adapter", [\
- ["npm:2.4.0", {\
- "packageLocation": "./.yarn/cache/socket.io-adapter-npm-2.4.0-36a74a6ea1-e10c8c36a1.zip/node_modules/socket.io-adapter/",\
+ ["npm:2.5.5", {\
+ "packageLocation": "./.yarn/cache/socket.io-adapter-npm-2.5.5-7a0505537f-e364733a4c.zip/node_modules/socket.io-adapter/",\
"packageDependencies": [\
- ["socket.io-adapter", "npm:2.4.0"]\
+ ["socket.io-adapter", "npm:2.5.5"],\
+ ["debug", "virtual:7a0505537f63825f62aaaf982168c2b7c1e816756656d44af98202b8d07990e163024e7dadf5587aa11d691887401ca8792ff06467da4d479c747705c9e87544#npm:4.3.5"],\
+ ["ws", "virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.17.1"]\
],\
"linkType": "HARD"\
}]\
@@ -17778,20 +17350,11 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["socks", [\
- ["npm:2.6.1", {\
- "packageLocation": "./.yarn/cache/socks-npm-2.6.1-09133d0d22-6ae166bd1a.zip/node_modules/socks/",\
- "packageDependencies": [\
- ["socks", "npm:2.6.1"],\
- ["ip", "npm:1.1.5"],\
- ["smart-buffer", "npm:4.2.0"]\
- ],\
- "linkType": "HARD"\
- }],\
- ["npm:2.7.1", {\
- "packageLocation": "./.yarn/cache/socks-npm-2.7.1-17f2b53052-5074f7d6a1.zip/node_modules/socks/",\
+ ["npm:2.8.3", {\
+ "packageLocation": "./.yarn/cache/socks-npm-2.8.3-3532b59899-ffcb622c22.zip/node_modules/socks/",\
"packageDependencies": [\
- ["socks", "npm:2.7.1"],\
- ["ip", "npm:2.0.0"],\
+ ["socks", "npm:2.8.3"],\
+ ["ip-address", "npm:9.0.5"],\
["smart-buffer", "npm:4.2.0"]\
],\
"linkType": "HARD"\
@@ -17804,7 +17367,7 @@ const RAW_RUNTIME_STATE =
["socks-proxy-agent", "npm:6.1.1"],\
["agent-base", "npm:6.0.2"],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
- ["socks", "npm:2.6.1"]\
+ ["socks", "npm:2.8.3"]\
],\
"linkType": "HARD"\
}],\
@@ -17814,7 +17377,7 @@ const RAW_RUNTIME_STATE =
["socks-proxy-agent", "npm:7.0.0"],\
["agent-base", "npm:6.0.2"],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
- ["socks", "npm:2.7.1"]\
+ ["socks", "npm:2.8.3"]\
],\
"linkType": "HARD"\
}],\
@@ -17824,7 +17387,7 @@ const RAW_RUNTIME_STATE =
["socks-proxy-agent", "npm:8.0.2"],\
["agent-base", "npm:7.1.0"],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
- ["socks", "npm:2.7.1"]\
+ ["socks", "npm:2.8.3"]\
],\
"linkType": "HARD"\
}]\
@@ -17850,13 +17413,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["source-map", [\
- ["npm:0.5.7", {\
- "packageLocation": "./.yarn/cache/source-map-npm-0.5.7-7c3f035429-9b4ac749ec.zip/node_modules/source-map/",\
- "packageDependencies": [\
- ["source-map", "npm:0.5.7"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:0.6.1", {\
"packageLocation": "./.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ef7462f1.zip/node_modules/source-map/",\
"packageDependencies": [\
@@ -17972,7 +17528,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/split2-npm-3.2.2-4ccd21b4f7-a426e1e671.zip/node_modules/split2/",\
"packageDependencies": [\
["split2", "npm:3.2.2"],\
- ["readable-stream", "npm:3.6.0"]\
+ ["readable-stream", "npm:3.6.2"]\
],\
"linkType": "HARD"\
}],\
@@ -17991,6 +17547,13 @@ const RAW_RUNTIME_STATE =
["sprintf-js", "npm:1.0.3"]\
],\
"linkType": "HARD"\
+ }],\
+ ["npm:1.1.3", {\
+ "packageLocation": "./.yarn/cache/sprintf-js-npm-1.1.3-b99efd75b2-e7587128c4.zip/node_modules/sprintf-js/",\
+ "packageDependencies": [\
+ ["sprintf-js", "npm:1.1.3"]\
+ ],\
+ "linkType": "HARD"\
}]\
]],\
["ssh2", [\
@@ -18048,7 +17611,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["stream-browserify", "npm:3.0.0"],\
["inherits", "npm:2.0.4"],\
- ["readable-stream", "npm:3.6.0"]\
+ ["readable-stream", "npm:3.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -18060,7 +17623,7 @@ const RAW_RUNTIME_STATE =
["stream-http", "npm:3.2.0"],\
["builtin-status-codes", "npm:3.0.0"],\
["inherits", "npm:2.0.4"],\
- ["readable-stream", "npm:3.6.0"],\
+ ["readable-stream", "npm:3.6.2"],\
["xtend", "npm:4.0.2"]\
],\
"linkType": "HARD"\
@@ -18101,21 +17664,11 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["string.prototype.trim", [\
- ["npm:1.2.7", {\
- "packageLocation": "./.yarn/cache/string.prototype.trim-npm-1.2.7-3fbaf3b9d2-a1b795bdb4.zip/node_modules/string.prototype.trim/",\
- "packageDependencies": [\
- ["string.prototype.trim", "npm:1.2.7"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"],\
- ["es-abstract", "npm:1.21.2"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.2.8", {\
"packageLocation": "./.yarn/cache/string.prototype.trim-npm-1.2.8-7ed4517ce8-9301f6cb2b.zip/node_modules/string.prototype.trim/",\
"packageDependencies": [\
["string.prototype.trim", "npm:1.2.8"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"]\
],\
@@ -18123,21 +17676,11 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["string.prototype.trimend", [\
- ["npm:1.0.6", {\
- "packageLocation": "./.yarn/cache/string.prototype.trimend-npm-1.0.6-304246ecc1-3893db9267.zip/node_modules/string.prototype.trimend/",\
- "packageDependencies": [\
- ["string.prototype.trimend", "npm:1.0.6"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"],\
- ["es-abstract", "npm:1.21.2"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.0.7", {\
"packageLocation": "./.yarn/cache/string.prototype.trimend-npm-1.0.7-159b9dcfbc-3f0d3397ab.zip/node_modules/string.prototype.trimend/",\
"packageDependencies": [\
["string.prototype.trimend", "npm:1.0.7"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"]\
],\
@@ -18145,21 +17688,11 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["string.prototype.trimstart", [\
- ["npm:1.0.6", {\
- "packageLocation": "./.yarn/cache/string.prototype.trimstart-npm-1.0.6-0926caea6c-05e2cd06fa.zip/node_modules/string.prototype.trimstart/",\
- "packageDependencies": [\
- ["string.prototype.trimstart", "npm:1.0.6"],\
- ["call-bind", "npm:1.0.2"],\
- ["define-properties", "npm:1.2.0"],\
- ["es-abstract", "npm:1.21.2"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:1.0.7", {\
"packageLocation": "./.yarn/cache/string.prototype.trimstart-npm-1.0.7-ae2f803b78-6e594d3a61.zip/node_modules/string.prototype.trimstart/",\
"packageDependencies": [\
["string.prototype.trimstart", "npm:1.0.7"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["define-properties", "npm:1.2.1"],\
["es-abstract", "npm:1.22.3"]\
],\
@@ -18317,15 +17850,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["supports-hyperlinks", [\
- ["npm:2.2.0", {\
- "packageLocation": "./.yarn/cache/supports-hyperlinks-npm-2.2.0-9b22a6271b-a63f2acba5.zip/node_modules/supports-hyperlinks/",\
- "packageDependencies": [\
- ["supports-hyperlinks", "npm:2.2.0"],\
- ["has-flag", "npm:4.0.0"],\
- ["supports-color", "npm:7.2.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:2.3.0", {\
"packageLocation": "./.yarn/cache/supports-hyperlinks-npm-2.3.0-d19176eba2-3e7df6e9ea.zip/node_modules/supports-hyperlinks/",\
"packageDependencies": [\
@@ -18384,12 +17908,21 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
+ ["systeminformation", [\
+ ["npm:5.22.11", {\
+ "packageLocation": "./.yarn/unplugged/systeminformation-npm-5.22.11-e704a1605b/node_modules/systeminformation/",\
+ "packageDependencies": [\
+ ["systeminformation", "npm:5.22.11"]\
+ ],\
+ "linkType": "HARD"\
+ }]\
+ ]],\
["table", [\
["npm:6.8.1", {\
"packageLocation": "./.yarn/cache/table-npm-6.8.1-83abb79e20-512c4f2bfb.zip/node_modules/table/",\
"packageDependencies": [\
["table", "npm:6.8.1"],\
- ["ajv", "npm:8.8.1"],\
+ ["ajv", "npm:8.12.0"],\
["lodash.truncate", "npm:4.4.2"],\
["slice-ansi", "npm:4.0.0"],\
["string-width", "npm:4.2.3"],\
@@ -18419,26 +17952,13 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["tar", [\
- ["npm:6.1.11", {\
- "packageLocation": "./.yarn/cache/tar-npm-6.1.11-e6ac3cba9c-0e6789e664.zip/node_modules/tar/",\
- "packageDependencies": [\
- ["tar", "npm:6.1.11"],\
- ["chownr", "npm:2.0.0"],\
- ["fs-minipass", "npm:2.1.0"],\
- ["minipass", "npm:3.1.6"],\
- ["minizlib", "npm:2.1.2"],\
- ["mkdirp", "npm:1.0.4"],\
- ["yallist", "npm:4.0.0"]\
- ],\
- "linkType": "HARD"\
- }],\
- ["npm:6.1.13", {\
- "packageLocation": "./.yarn/cache/tar-npm-6.1.13-3234e72781-add2c3c6d0.zip/node_modules/tar/",\
+ ["npm:6.2.1", {\
+ "packageLocation": "./.yarn/cache/tar-npm-6.2.1-237800bb20-bfbfbb2861.zip/node_modules/tar/",\
"packageDependencies": [\
- ["tar", "npm:6.1.13"],\
+ ["tar", "npm:6.2.1"],\
["chownr", "npm:2.0.0"],\
["fs-minipass", "npm:2.1.0"],\
- ["minipass", "npm:4.2.8"],\
+ ["minipass", "npm:5.0.0"],\
["minizlib", "npm:2.1.2"],\
["mkdirp", "npm:1.0.4"],\
["yallist", "npm:4.0.0"]\
@@ -18468,7 +17988,7 @@ const RAW_RUNTIME_STATE =
["end-of-stream", "npm:1.4.4"],\
["fs-constants", "npm:1.0.0"],\
["inherits", "npm:2.0.4"],\
- ["readable-stream", "npm:3.6.0"]\
+ ["readable-stream", "npm:3.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -18499,7 +18019,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["terser", "npm:5.14.2"],\
["@jridgewell/source-map", "npm:0.3.2"],\
- ["acorn", "npm:8.8.2"],\
+ ["acorn", "npm:8.11.2"],\
["commander", "npm:2.20.3"],\
["source-map-support", "npm:0.5.21"]\
],\
@@ -18518,7 +18038,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/__virtual__/terser-webpack-plugin-virtual-7b10d7bddb/0/cache/terser-webpack-plugin-npm-5.3.3-659a8e4514-db2bc0e570.zip/node_modules/terser-webpack-plugin/",\
"packageDependencies": [\
["terser-webpack-plugin", "virtual:2a3d558ccb76dd3ab11b6ed4ba45a56a4c8ede48a0f5bce78e9f369869629c0ab3fdd420246c54134f91e3f10302373527dda29ebc24d5a11b3ceb41128ccfad#npm:5.3.3"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"],\
+ ["@jridgewell/trace-mapping", "npm:0.3.18"],\
["@swc/core", null],\
["@types/esbuild", null],\
["@types/swc__core", null],\
@@ -18548,7 +18068,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/__virtual__/terser-webpack-plugin-virtual-520d9753e1/0/cache/terser-webpack-plugin-npm-5.3.3-659a8e4514-db2bc0e570.zip/node_modules/terser-webpack-plugin/",\
"packageDependencies": [\
["terser-webpack-plugin", "virtual:42f4a899ff66a92a935fae1e8403ae89d87f8a151c8c0f294f5e2ee8bca90964f194c289f6f47a8333ea1d64884bb4ea4c5aea65e0aa5a8603494f665e284ad3#npm:5.3.3"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"],\
+ ["@jridgewell/trace-mapping", "npm:0.3.18"],\
["@swc/core", null],\
["@types/esbuild", null],\
["@types/swc__core", null],\
@@ -18578,7 +18098,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/__virtual__/terser-webpack-plugin-virtual-00677cea6c/0/cache/terser-webpack-plugin-npm-5.3.3-659a8e4514-db2bc0e570.zip/node_modules/terser-webpack-plugin/",\
"packageDependencies": [\
["terser-webpack-plugin", "virtual:a1758743d243877493a02719691b2bf5513261873450aca581311be1ead841af63c0be982c400355949a0dcad332960c6e3ed3885051f0427d191c70a7fc9856#npm:5.3.3"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"],\
+ ["@jridgewell/trace-mapping", "npm:0.3.18"],\
["@swc/core", null],\
["@types/esbuild", null],\
["@types/swc__core", null],\
@@ -18608,7 +18128,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/__virtual__/terser-webpack-plugin-virtual-65e4fce360/0/cache/terser-webpack-plugin-npm-5.3.3-659a8e4514-db2bc0e570.zip/node_modules/terser-webpack-plugin/",\
"packageDependencies": [\
["terser-webpack-plugin", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:5.3.3"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"],\
+ ["@jridgewell/trace-mapping", "npm:0.3.18"],\
["@swc/core", null],\
["@types/esbuild", null],\
["@types/swc__core", null],\
@@ -18638,7 +18158,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/__virtual__/terser-webpack-plugin-virtual-9f9f9cad8b/0/cache/terser-webpack-plugin-npm-5.3.3-659a8e4514-db2bc0e570.zip/node_modules/terser-webpack-plugin/",\
"packageDependencies": [\
["terser-webpack-plugin", "virtual:d33ae3339557a5a7f9578102570f67e936a4c1af78c1322b63541bc89dc24f419318f0ddd4e3241021a7e0be1ce717f7ffe8cc168317f38d8d886f6915b6482d#npm:5.3.3"],\
- ["@jridgewell/trace-mapping", "npm:0.3.15"],\
+ ["@jridgewell/trace-mapping", "npm:0.3.18"],\
["@swc/core", null],\
["@types/esbuild", null],\
["@types/swc__core", null],\
@@ -18671,7 +18191,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["test-exclude", "npm:6.0.0"],\
["@istanbuljs/schema", "npm:0.1.3"],\
- ["glob", "npm:7.2.0"],\
+ ["glob", "npm:7.2.3"],\
["minimatch", "npm:3.1.2"]\
],\
"linkType": "HARD"\
@@ -18746,7 +18266,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/through2-npm-4.0.2-da7b2da443-72c246233d.zip/node_modules/through2/",\
"packageDependencies": [\
["through2", "npm:4.0.2"],\
- ["readable-stream", "npm:3.6.0"]\
+ ["readable-stream", "npm:3.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -19005,13 +18525,6 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["ts-node", [\
- ["npm:10.4.0", {\
- "packageLocation": "./.yarn/cache/ts-node-npm-10.4.0-04cb6e2279-5874ac27f6.zip/node_modules/ts-node/",\
- "packageDependencies": [\
- ["ts-node", "npm:10.4.0"]\
- ],\
- "linkType": "SOFT"\
- }],\
["npm:10.9.1", {\
"packageLocation": "./.yarn/cache/ts-node-npm-10.9.1-6c268be7f4-bee56d4dc9.zip/node_modules/ts-node/",\
"packageDependencies": [\
@@ -19035,11 +18548,11 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:10.4.0", {\
- "packageLocation": "./.yarn/__virtual__/ts-node-virtual-065e96423f/0/cache/ts-node-npm-10.4.0-04cb6e2279-5874ac27f6.zip/node_modules/ts-node/",\
+ ["virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:10.9.1", {\
+ "packageLocation": "./.yarn/__virtual__/ts-node-virtual-b591c0cf5f/0/cache/ts-node-npm-10.9.1-6c268be7f4-bee56d4dc9.zip/node_modules/ts-node/",\
"packageDependencies": [\
- ["ts-node", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:10.4.0"],\
- ["@cspotcode/source-map-support", "npm:0.7.0"],\
+ ["ts-node", "virtual:ad53cff31b1dbd4927a99e71702e3b8b10338636eaff010987c27c9ccea2d52af36900a9e36a4231cbb6e5464248ccc9c1da5d1d24d9b0f4f95660296b1060a6#npm:10.9.1"],\
+ ["@cspotcode/source-map-support", "npm:0.8.1"],\
["@swc/core", null],\
["@swc/wasm", null],\
["@tsconfig/node10", "npm:1.0.8"],\
@@ -19050,13 +18563,14 @@ const RAW_RUNTIME_STATE =
["@types/swc__core", null],\
["@types/swc__wasm", null],\
["@types/typescript", null],\
- ["acorn", "npm:8.8.2"],\
+ ["acorn", "npm:8.11.2"],\
["acorn-walk", "npm:8.2.0"],\
["arg", "npm:4.1.3"],\
["create-require", "npm:1.1.1"],\
["diff", "npm:4.0.2"],\
["make-error", "npm:1.3.6"],\
["typescript", "patch:typescript@npm%3A3.9.10#optional!builtin::version=3.9.10&hash=3bd3d3"],\
+ ["v8-compile-cache-lib", "npm:3.0.1"],\
["yn", "npm:3.1.1"]\
],\
"packagePeers": [\
@@ -19085,7 +18599,7 @@ const RAW_RUNTIME_STATE =
["@types/swc__core", null],\
["@types/swc__wasm", null],\
["@types/typescript", null],\
- ["acorn", "npm:8.8.2"],\
+ ["acorn", "npm:8.11.2"],\
["acorn-walk", "npm:8.2.0"],\
["arg", "npm:4.1.3"],\
["create-require", "npm:1.1.1"],\
@@ -19171,20 +18685,6 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["npm:2.4.1", {\
- "packageLocation": "./.yarn/cache/tslib-npm-2.4.1-36f0ed04db-e14311d539.zip/node_modules/tslib/",\
- "packageDependencies": [\
- ["tslib", "npm:2.4.1"]\
- ],\
- "linkType": "HARD"\
- }],\
- ["npm:2.5.0", {\
- "packageLocation": "./.yarn/cache/tslib-npm-2.5.0-bb364efebd-ea556fbdf3.zip/node_modules/tslib/",\
- "packageDependencies": [\
- ["tslib", "npm:2.5.0"]\
- ],\
- "linkType": "HARD"\
- }],\
["npm:2.6.2", {\
"packageLocation": "./.yarn/cache/tslib-npm-2.6.2-4fc8c068d9-bd26c22d36.zip/node_modules/tslib/",\
"packageDependencies": [\
@@ -19359,9 +18859,9 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/typed-array-buffer-npm-1.0.0-95cb610310-3e0281c79b.zip/node_modules/typed-array-buffer/",\
"packageDependencies": [\
["typed-array-buffer", "npm:1.0.0"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["get-intrinsic", "npm:1.2.2"],\
- ["is-typed-array", "npm:1.1.10"]\
+ ["is-typed-array", "npm:1.1.12"]\
],\
"linkType": "HARD"\
}]\
@@ -19371,10 +18871,10 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/typed-array-byte-length-npm-1.0.0-94d79975ca-6f376bf5d9.zip/node_modules/typed-array-byte-length/",\
"packageDependencies": [\
["typed-array-byte-length", "npm:1.0.0"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["for-each", "npm:0.3.3"],\
["has-proto", "npm:1.0.1"],\
- ["is-typed-array", "npm:1.1.10"]\
+ ["is-typed-array", "npm:1.1.12"]\
],\
"linkType": "HARD"\
}]\
@@ -19385,10 +18885,10 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["typed-array-byte-offset", "npm:1.0.0"],\
["available-typed-arrays", "npm:1.0.5"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["for-each", "npm:0.3.3"],\
["has-proto", "npm:1.0.1"],\
- ["is-typed-array", "npm:1.1.10"]\
+ ["is-typed-array", "npm:1.1.12"]\
],\
"linkType": "HARD"\
}]\
@@ -19398,9 +18898,9 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/typed-array-length-npm-1.0.4-92771b81fc-0444658acc.zip/node_modules/typed-array-length/",\
"packageDependencies": [\
["typed-array-length", "npm:1.0.4"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["for-each", "npm:0.3.3"],\
- ["is-typed-array", "npm:1.1.10"]\
+ ["is-typed-array", "npm:1.1.12"]\
],\
"linkType": "HARD"\
}]\
@@ -19459,10 +18959,10 @@ const RAW_RUNTIME_STATE =
["ansi-split", "npm:1.0.1"],\
["chalk", "npm:4.1.2"],\
["cross-spawn", "npm:7.0.3"],\
- ["fast-glob", "npm:3.2.11"],\
+ ["fast-glob", "npm:3.2.12"],\
["globrex", "npm:0.1.2"],\
["ignore", "npm:5.2.0"],\
- ["json5", "npm:2.2.0"],\
+ ["json5", "npm:2.2.3"],\
["micro-memoize", "npm:4.0.9"],\
["npm-run-path", "npm:4.0.1"],\
["pid-cwd", "npm:1.2.0"],\
@@ -19483,7 +18983,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/unbox-primitive-npm-1.0.2-cb56a05066-06e1ee41c1.zip/node_modules/unbox-primitive/",\
"packageDependencies": [\
["unbox-primitive", "npm:1.0.2"],\
- ["call-bind", "npm:1.0.2"],\
+ ["call-bind", "npm:1.0.5"],\
["has-bigints", "npm:1.0.2"],\
["has-symbols", "npm:1.0.3"],\
["which-boxed-primitive", "npm:1.0.2"]\
@@ -19632,7 +19132,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/upper-case-npm-2.0.2-6cf3bda96c-508723a2b0.zip/node_modules/upper-case/",\
"packageDependencies": [\
["upper-case", "npm:2.0.2"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -19642,7 +19142,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/upper-case-first-npm-2.0.2-8e0c5a851a-4487db4701.zip/node_modules/upper-case-first/",\
"packageDependencies": [\
["upper-case-first", "npm:2.0.2"],\
- ["tslib", "npm:2.4.1"]\
+ ["tslib", "npm:2.6.2"]\
],\
"linkType": "HARD"\
}]\
@@ -19696,9 +19196,9 @@ const RAW_RUNTIME_STATE =
["inherits", "npm:2.0.4"],\
["is-arguments", "npm:1.1.1"],\
["is-generator-function", "npm:1.0.10"],\
- ["is-typed-array", "npm:1.1.10"],\
+ ["is-typed-array", "npm:1.1.12"],\
["safe-buffer", "npm:5.2.1"],\
- ["which-typed-array", "npm:1.1.9"]\
+ ["which-typed-array", "npm:1.1.13"]\
],\
"linkType": "HARD"\
}]\
@@ -19913,11 +19413,11 @@ const RAW_RUNTIME_STATE =
["@webassemblyjs/ast", "npm:1.11.1"],\
["@webassemblyjs/wasm-edit", "npm:1.11.1"],\
["@webassemblyjs/wasm-parser", "npm:1.11.1"],\
- ["acorn", "npm:8.8.2"],\
+ ["acorn", "npm:8.11.2"],\
["acorn-import-assertions", "virtual:a1758743d243877493a02719691b2bf5513261873450aca581311be1ead841af63c0be982c400355949a0dcad332960c6e3ed3885051f0427d191c70a7fc9856#npm:1.8.0"],\
- ["browserslist", "npm:4.18.1"],\
+ ["browserslist", "npm:4.22.1"],\
["chrome-trace-event", "npm:1.0.3"],\
- ["enhanced-resolve", "npm:5.12.0"],\
+ ["enhanced-resolve", "npm:5.15.0"],\
["es-module-lexer", "npm:0.9.3"],\
["eslint-scope", "npm:5.1.1"],\
["events", "npm:3.3.0"],\
@@ -19950,11 +19450,11 @@ const RAW_RUNTIME_STATE =
["@webassemblyjs/ast", "npm:1.11.1"],\
["@webassemblyjs/wasm-edit", "npm:1.11.1"],\
["@webassemblyjs/wasm-parser", "npm:1.11.1"],\
- ["acorn", "npm:8.8.2"],\
+ ["acorn", "npm:8.11.2"],\
["acorn-import-assertions", "virtual:a1758743d243877493a02719691b2bf5513261873450aca581311be1ead841af63c0be982c400355949a0dcad332960c6e3ed3885051f0427d191c70a7fc9856#npm:1.8.0"],\
- ["browserslist", "npm:4.18.1"],\
+ ["browserslist", "npm:4.22.1"],\
["chrome-trace-event", "npm:1.0.3"],\
- ["enhanced-resolve", "npm:5.12.0"],\
+ ["enhanced-resolve", "npm:5.15.0"],\
["es-module-lexer", "npm:0.9.3"],\
["eslint-scope", "npm:5.1.1"],\
["events", "npm:3.3.0"],\
@@ -19987,11 +19487,11 @@ const RAW_RUNTIME_STATE =
["@webassemblyjs/ast", "npm:1.11.1"],\
["@webassemblyjs/wasm-edit", "npm:1.11.1"],\
["@webassemblyjs/wasm-parser", "npm:1.11.1"],\
- ["acorn", "npm:8.8.2"],\
+ ["acorn", "npm:8.11.2"],\
["acorn-import-assertions", "virtual:a1758743d243877493a02719691b2bf5513261873450aca581311be1ead841af63c0be982c400355949a0dcad332960c6e3ed3885051f0427d191c70a7fc9856#npm:1.8.0"],\
- ["browserslist", "npm:4.18.1"],\
+ ["browserslist", "npm:4.22.1"],\
["chrome-trace-event", "npm:1.0.3"],\
- ["enhanced-resolve", "npm:5.12.0"],\
+ ["enhanced-resolve", "npm:5.15.0"],\
["es-module-lexer", "npm:0.9.3"],\
["eslint-scope", "npm:5.1.1"],\
["events", "npm:3.3.0"],\
@@ -20024,11 +19524,11 @@ const RAW_RUNTIME_STATE =
["@webassemblyjs/ast", "npm:1.11.1"],\
["@webassemblyjs/wasm-edit", "npm:1.11.1"],\
["@webassemblyjs/wasm-parser", "npm:1.11.1"],\
- ["acorn", "npm:8.8.2"],\
+ ["acorn", "npm:8.11.2"],\
["acorn-import-assertions", "virtual:a1758743d243877493a02719691b2bf5513261873450aca581311be1ead841af63c0be982c400355949a0dcad332960c6e3ed3885051f0427d191c70a7fc9856#npm:1.8.0"],\
- ["browserslist", "npm:4.18.1"],\
+ ["browserslist", "npm:4.22.1"],\
["chrome-trace-event", "npm:1.0.3"],\
- ["enhanced-resolve", "npm:5.12.0"],\
+ ["enhanced-resolve", "npm:5.15.0"],\
["es-module-lexer", "npm:0.9.3"],\
["eslint-scope", "npm:5.1.1"],\
["events", "npm:3.3.0"],\
@@ -20061,11 +19561,11 @@ const RAW_RUNTIME_STATE =
["@webassemblyjs/ast", "npm:1.11.1"],\
["@webassemblyjs/wasm-edit", "npm:1.11.1"],\
["@webassemblyjs/wasm-parser", "npm:1.11.1"],\
- ["acorn", "npm:8.8.2"],\
+ ["acorn", "npm:8.11.2"],\
["acorn-import-assertions", "virtual:a1758743d243877493a02719691b2bf5513261873450aca581311be1ead841af63c0be982c400355949a0dcad332960c6e3ed3885051f0427d191c70a7fc9856#npm:1.8.0"],\
- ["browserslist", "npm:4.18.1"],\
+ ["browserslist", "npm:4.22.1"],\
["chrome-trace-event", "npm:1.0.3"],\
- ["enhanced-resolve", "npm:5.12.0"],\
+ ["enhanced-resolve", "npm:5.15.0"],\
["es-module-lexer", "npm:0.9.3"],\
["eslint-scope", "npm:5.1.1"],\
["events", "npm:3.3.0"],\
@@ -20112,7 +19612,7 @@ const RAW_RUNTIME_STATE =
["@webpack-cli/info", "virtual:0249f7ceb5542d6b732af2b44f9fcd16c60be8b8440f0f3abc6a5de67aabcff731bc3bc83f3067ab2f9037661176f001f89208fcea9e8962835fd43d0aabe88a#npm:1.4.0"],\
["@webpack-cli/migrate", null],\
["@webpack-cli/serve", "virtual:0249f7ceb5542d6b732af2b44f9fcd16c60be8b8440f0f3abc6a5de67aabcff731bc3bc83f3067ab2f9037661176f001f89208fcea9e8962835fd43d0aabe88a#npm:1.6.0"],\
- ["colorette", "npm:2.0.19"],\
+ ["colorette", "npm:2.0.20"],\
["commander", "npm:7.2.0"],\
["execa", "npm:5.1.1"],\
["fastest-levenshtein", "npm:1.0.12"],\
@@ -20153,7 +19653,7 @@ const RAW_RUNTIME_STATE =
["@webpack-cli/info", "virtual:b37ef7cf98ceabe8c7b789a7db3f0a5f3444d083afa5f0e3ab570292e74eff241f890fadbf245a134b2ebfcba326b1782124a4dd4f16ca7cdb6091dd9a987c04#npm:1.4.0"],\
["@webpack-cli/migrate", null],\
["@webpack-cli/serve", "virtual:b37ef7cf98ceabe8c7b789a7db3f0a5f3444d083afa5f0e3ab570292e74eff241f890fadbf245a134b2ebfcba326b1782124a4dd4f16ca7cdb6091dd9a987c04#npm:1.6.0"],\
- ["colorette", "npm:2.0.19"],\
+ ["colorette", "npm:2.0.20"],\
["commander", "npm:7.2.0"],\
["execa", "npm:5.1.1"],\
["fastest-levenshtein", "npm:1.0.12"],\
@@ -20194,7 +19694,7 @@ const RAW_RUNTIME_STATE =
["@webpack-cli/info", "virtual:7fc88da9d00679384dc013444a3b1ed8ef8395fcad9d046790a1851d5db985e5ee052061731f87c5475e4bf20a92d69ea1a1a287c0d76d7b1a6bf97010c63532#npm:1.4.0"],\
["@webpack-cli/migrate", null],\
["@webpack-cli/serve", "virtual:7fc88da9d00679384dc013444a3b1ed8ef8395fcad9d046790a1851d5db985e5ee052061731f87c5475e4bf20a92d69ea1a1a287c0d76d7b1a6bf97010c63532#npm:1.6.0"],\
- ["colorette", "npm:2.0.19"],\
+ ["colorette", "npm:2.0.20"],\
["commander", "npm:7.2.0"],\
["execa", "npm:5.1.1"],\
["fastest-levenshtein", "npm:1.0.12"],\
@@ -20235,7 +19735,7 @@ const RAW_RUNTIME_STATE =
["@webpack-cli/info", "virtual:16885aa8448c33477ea2cd730ac3a5bbbcb89a3f570f5364364e7dc5830b16f19367cec64b723cc62ddb3078b4ee0f0ce5d244584279bc98369c8ee9e5959a27#npm:1.4.0"],\
["@webpack-cli/migrate", null],\
["@webpack-cli/serve", "virtual:16885aa8448c33477ea2cd730ac3a5bbbcb89a3f570f5364364e7dc5830b16f19367cec64b723cc62ddb3078b4ee0f0ce5d244584279bc98369c8ee9e5959a27#npm:1.6.0"],\
- ["colorette", "npm:2.0.19"],\
+ ["colorette", "npm:2.0.20"],\
["commander", "npm:7.2.0"],\
["execa", "npm:5.1.1"],\
["fastest-levenshtein", "npm:1.0.12"],\
@@ -20381,19 +19881,6 @@ const RAW_RUNTIME_STATE =
["has-tostringtag", "npm:1.0.0"]\
],\
"linkType": "HARD"\
- }],\
- ["npm:1.1.9", {\
- "packageLocation": "./.yarn/cache/which-typed-array-npm-1.1.9-9559c95dfc-90ef760a09.zip/node_modules/which-typed-array/",\
- "packageDependencies": [\
- ["which-typed-array", "npm:1.1.9"],\
- ["available-typed-arrays", "npm:1.0.5"],\
- ["call-bind", "npm:1.0.2"],\
- ["for-each", "npm:0.3.3"],\
- ["gopd", "npm:1.0.1"],\
- ["has-tostringtag", "npm:1.0.0"],\
- ["is-typed-array", "npm:1.1.10"]\
- ],\
- "linkType": "HARD"\
}]\
]],\
["wide-align", [\
@@ -20435,7 +19922,7 @@ const RAW_RUNTIME_STATE =
["is-stream", "npm:2.0.1"],\
["logform", "npm:2.3.0"],\
["one-time", "npm:1.0.0"],\
- ["readable-stream", "npm:3.6.0"],\
+ ["readable-stream", "npm:3.6.2"],\
["stack-trace", "npm:0.0.10"],\
["triple-beam", "npm:1.3.0"],\
["winston-transport", "npm:4.4.0"]\
@@ -20553,24 +20040,17 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["ws", [\
- ["npm:7.5.5", {\
- "packageLocation": "./.yarn/cache/ws-npm-7.5.5-8f4a2a84a8-2e91fd634b.zip/node_modules/ws/",\
- "packageDependencies": [\
- ["ws", "npm:7.5.5"]\
- ],\
- "linkType": "SOFT"\
- }],\
- ["npm:8.11.0", {\
- "packageLocation": "./.yarn/cache/ws-npm-8.11.0-ab72116a01-f759ea19e4.zip/node_modules/ws/",\
+ ["npm:8.17.1", {\
+ "packageLocation": "./.yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip/node_modules/ws/",\
"packageDependencies": [\
- ["ws", "npm:8.11.0"]\
+ ["ws", "npm:8.17.1"]\
],\
"linkType": "SOFT"\
}],\
- ["virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:7.5.5", {\
- "packageLocation": "./.yarn/__virtual__/ws-virtual-49f0813c39/0/cache/ws-npm-7.5.5-8f4a2a84a8-2e91fd634b.zip/node_modules/ws/",\
+ ["virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:8.17.1", {\
+ "packageLocation": "./.yarn/__virtual__/ws-virtual-9c0ceafc6c/0/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip/node_modules/ws/",\
"packageDependencies": [\
- ["ws", "virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:7.5.5"],\
+ ["ws", "virtual:01938c2be4835443e5a304e2b117c575220e96e8b7cedeb0f48d79264590b4c4babc6d1fea6367f522b1ca0149d795b42f2ab89c34a6ffe3c20f0a8cbb8b4453#npm:8.17.1"],\
["@types/bufferutil", null],\
["@types/utf-8-validate", null],\
["bufferutil", "npm:4.0.6"],\
@@ -20584,27 +20064,10 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
- ["virtual:7469c013e9c5baa67d67122340123f2260ba4f66d6748855fb7f2ab67ea3fe52b2c8821a105003266d54faf99a9564056fb1b532d9ae8b6985087ab5f8394bf0#npm:7.5.5", {\
- "packageLocation": "./.yarn/__virtual__/ws-virtual-90d8bcd261/0/cache/ws-npm-7.5.5-8f4a2a84a8-2e91fd634b.zip/node_modules/ws/",\
+ ["virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.17.1", {\
+ "packageLocation": "./.yarn/__virtual__/ws-virtual-59f3d5fa16/0/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip/node_modules/ws/",\
"packageDependencies": [\
- ["ws", "virtual:7469c013e9c5baa67d67122340123f2260ba4f66d6748855fb7f2ab67ea3fe52b2c8821a105003266d54faf99a9564056fb1b532d9ae8b6985087ab5f8394bf0#npm:7.5.5"],\
- ["@types/bufferutil", null],\
- ["@types/utf-8-validate", null],\
- ["bufferutil", null],\
- ["utf-8-validate", null]\
- ],\
- "packagePeers": [\
- "@types/bufferutil",\
- "@types/utf-8-validate",\
- "bufferutil",\
- "utf-8-validate"\
- ],\
- "linkType": "HARD"\
- }],\
- ["virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.11.0", {\
- "packageLocation": "./.yarn/__virtual__/ws-virtual-110db35f33/0/cache/ws-npm-8.11.0-ab72116a01-f759ea19e4.zip/node_modules/ws/",\
- "packageDependencies": [\
- ["ws", "virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.11.0"],\
+ ["ws", "virtual:b375dcefccef90d9158d5f197a75395cffedb61772e66f2efcf31c6c8e30c82a6423e0d52b091b15b4fa72cda43a09256ed00b6ce89b9cfb14074f087b9c8496#npm:8.17.1"],\
["@types/bufferutil", null],\
["@types/utf-8-validate", null],\
["bufferutil", null],\
@@ -20695,7 +20158,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["yamljs", "npm:0.3.0"],\
["argparse", "npm:1.0.10"],\
- ["glob", "npm:7.2.0"]\
+ ["glob", "npm:7.2.3"]\
],\
"linkType": "HARD"\
}]\
@@ -20786,7 +20249,7 @@ const RAW_RUNTIME_STATE =
["commander", "npm:7.1.0"],\
["dateformat", "npm:4.6.3"],\
["debug", "virtual:4b12ba5111caf7e8338099bdbc7cb046a9f8e079a44e74d0c03dca469876e3071ebbe671c5e90ae6b78ae33e22c205fa5ed32169a4aabd1404b13c56d09986e1#npm:4.3.4"],\
- ["diff", "npm:5.0.0"],\
+ ["diff", "npm:5.1.0"],\
["error", "npm:10.4.0"],\
["escape-string-regexp", "npm:4.0.0"],\
["execa", "npm:5.1.1"],\
@@ -20799,7 +20262,7 @@ const RAW_RUNTIME_STATE =
["lodash", "npm:4.17.21"],\
["log-symbols", "npm:4.1.0"],\
["mem-fs", "npm:2.2.1"],\
- ["mem-fs-editor", "virtual:2acb7f847f03bc2bd90f7df00604776d7c66477738a3b8df4954a29601a0fdca4ccd942111de77aa272590d0b875d8add6606fc244946461a413979c573cc813#npm:9.4.0"],\
+ ["mem-fs-editor", "virtual:2acb7f847f03bc2bd90f7df00604776d7c66477738a3b8df4954a29601a0fdca4ccd942111de77aa272590d0b875d8add6606fc244946461a413979c573cc813#npm:9.7.0"],\
["minimatch", "npm:3.1.2"],\
["npmlog", "npm:5.0.1"],\
["p-queue", "npm:6.6.2"],\
diff --git a/.yarn/cache/@babel-code-frame-npm-7.16.7-093eb9e124-db2f7faa31.zip b/.yarn/cache/@babel-code-frame-npm-7.16.7-093eb9e124-db2f7faa31.zip
deleted file mode 100644
index 1c98cc9480c..00000000000
Binary files a/.yarn/cache/@babel-code-frame-npm-7.16.7-093eb9e124-db2f7faa31.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-generator-npm-7.17.3-b206625c17-9a102a87b4.zip b/.yarn/cache/@babel-generator-npm-7.17.3-b206625c17-9a102a87b4.zip
deleted file mode 100644
index 1f810427fa2..00000000000
Binary files a/.yarn/cache/@babel-generator-npm-7.17.3-b206625c17-9a102a87b4.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-helper-environment-visitor-npm-7.16.7-3ee2ba2019-c03a10105d.zip b/.yarn/cache/@babel-helper-environment-visitor-npm-7.16.7-3ee2ba2019-c03a10105d.zip
deleted file mode 100644
index 525f2b2fcf8..00000000000
Binary files a/.yarn/cache/@babel-helper-environment-visitor-npm-7.16.7-3ee2ba2019-c03a10105d.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-helper-function-name-npm-7.16.7-aa24c7b296-12e2678236.zip b/.yarn/cache/@babel-helper-function-name-npm-7.16.7-aa24c7b296-12e2678236.zip
deleted file mode 100644
index bd14dd9b60b..00000000000
Binary files a/.yarn/cache/@babel-helper-function-name-npm-7.16.7-aa24c7b296-12e2678236.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-helper-get-function-arity-npm-7.16.7-987b1b1bed-25d969fb20.zip b/.yarn/cache/@babel-helper-get-function-arity-npm-7.16.7-987b1b1bed-25d969fb20.zip
deleted file mode 100644
index cf5b13d58cf..00000000000
Binary files a/.yarn/cache/@babel-helper-get-function-arity-npm-7.16.7-987b1b1bed-25d969fb20.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-helper-hoist-variables-npm-7.16.7-25cc3abba4-6ae1641f4a.zip b/.yarn/cache/@babel-helper-hoist-variables-npm-7.16.7-25cc3abba4-6ae1641f4a.zip
deleted file mode 100644
index 81cfcbbfad0..00000000000
Binary files a/.yarn/cache/@babel-helper-hoist-variables-npm-7.16.7-25cc3abba4-6ae1641f4a.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-helper-plugin-utils-npm-7.14.5-e35eef11cb-fe20e90a24.zip b/.yarn/cache/@babel-helper-plugin-utils-npm-7.14.5-e35eef11cb-fe20e90a24.zip
deleted file mode 100644
index 47da224221a..00000000000
Binary files a/.yarn/cache/@babel-helper-plugin-utils-npm-7.14.5-e35eef11cb-fe20e90a24.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-helper-split-export-declaration-npm-7.16.7-5b9ae90171-e10aaf1354.zip b/.yarn/cache/@babel-helper-split-export-declaration-npm-7.16.7-5b9ae90171-e10aaf1354.zip
deleted file mode 100644
index 5249cf09fe3..00000000000
Binary files a/.yarn/cache/@babel-helper-split-export-declaration-npm-7.16.7-5b9ae90171-e10aaf1354.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-helper-validator-identifier-npm-7.16.7-8599fb00fc-42b9b56c35.zip b/.yarn/cache/@babel-helper-validator-identifier-npm-7.16.7-8599fb00fc-42b9b56c35.zip
deleted file mode 100644
index e3f61150a17..00000000000
Binary files a/.yarn/cache/@babel-helper-validator-identifier-npm-7.16.7-8599fb00fc-42b9b56c35.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-highlight-npm-7.16.10-626c03326c-1f1bdd752a.zip b/.yarn/cache/@babel-highlight-npm-7.16.10-626c03326c-1f1bdd752a.zip
deleted file mode 100644
index 18595b7127d..00000000000
Binary files a/.yarn/cache/@babel-highlight-npm-7.16.10-626c03326c-1f1bdd752a.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-parser-npm-7.17.3-1c3b6747e0-2d45750cdf.zip b/.yarn/cache/@babel-parser-npm-7.17.3-1c3b6747e0-2d45750cdf.zip
deleted file mode 100644
index 3ea658b71a8..00000000000
Binary files a/.yarn/cache/@babel-parser-npm-7.17.3-1c3b6747e0-2d45750cdf.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-template-npm-7.16.7-a18e444be8-f35836a8cd.zip b/.yarn/cache/@babel-template-npm-7.16.7-a18e444be8-f35836a8cd.zip
deleted file mode 100644
index 5a706bc905a..00000000000
Binary files a/.yarn/cache/@babel-template-npm-7.16.7-a18e444be8-f35836a8cd.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-traverse-npm-7.17.3-c2bff3e671-03aed531e0.zip b/.yarn/cache/@babel-traverse-npm-7.17.3-c2bff3e671-03aed531e0.zip
deleted file mode 100644
index f435a79f837..00000000000
Binary files a/.yarn/cache/@babel-traverse-npm-7.17.3-c2bff3e671-03aed531e0.zip and /dev/null differ
diff --git a/.yarn/cache/@babel-types-npm-7.17.0-3c936b54e4-535ccef360.zip b/.yarn/cache/@babel-types-npm-7.17.0-3c936b54e4-535ccef360.zip
deleted file mode 100644
index d6067f111a6..00000000000
Binary files a/.yarn/cache/@babel-types-npm-7.17.0-3c936b54e4-535ccef360.zip and /dev/null differ
diff --git a/.yarn/cache/@cspotcode-source-map-consumer-npm-0.8.0-1f37e9e72b-dfe1399712.zip b/.yarn/cache/@cspotcode-source-map-consumer-npm-0.8.0-1f37e9e72b-dfe1399712.zip
deleted file mode 100644
index b80c61c493f..00000000000
Binary files a/.yarn/cache/@cspotcode-source-map-consumer-npm-0.8.0-1f37e9e72b-dfe1399712.zip and /dev/null differ
diff --git a/.yarn/cache/@cspotcode-source-map-support-npm-0.7.0-456c3ea2ce-d58b31640c.zip b/.yarn/cache/@cspotcode-source-map-support-npm-0.7.0-456c3ea2ce-d58b31640c.zip
deleted file mode 100644
index ae1e68e422f..00000000000
Binary files a/.yarn/cache/@cspotcode-source-map-support-npm-0.7.0-456c3ea2ce-d58b31640c.zip and /dev/null differ
diff --git a/.yarn/cache/@dashevo-dashcore-lib-npm-0.21.0-1997e852e6-fb4419623f.zip b/.yarn/cache/@dashevo-dashcore-lib-npm-0.21.0-1997e852e6-fb4419623f.zip
deleted file mode 100644
index 81560d8bc59..00000000000
Binary files a/.yarn/cache/@dashevo-dashcore-lib-npm-0.21.0-1997e852e6-fb4419623f.zip and /dev/null differ
diff --git a/.yarn/cache/@dashevo-dashcore-lib-npm-0.21.3-8c8abba924-28e2731ac6.zip b/.yarn/cache/@dashevo-dashcore-lib-npm-0.21.3-8c8abba924-28e2731ac6.zip
new file mode 100644
index 00000000000..f9ac0cfb726
Binary files /dev/null and b/.yarn/cache/@dashevo-dashcore-lib-npm-0.21.3-8c8abba924-28e2731ac6.zip differ
diff --git a/.yarn/cache/@dashevo-dashd-rpc-npm-18.2.0-194a5d4c4b-38341b8d5a.zip b/.yarn/cache/@dashevo-dashd-rpc-npm-18.2.0-194a5d4c4b-38341b8d5a.zip
deleted file mode 100644
index 29aee764371..00000000000
Binary files a/.yarn/cache/@dashevo-dashd-rpc-npm-18.2.0-194a5d4c4b-38341b8d5a.zip and /dev/null differ
diff --git a/.yarn/cache/@dashevo-dashd-rpc-npm-19.0.0-54bb2a5dfc-2eab84af3e.zip b/.yarn/cache/@dashevo-dashd-rpc-npm-19.0.0-54bb2a5dfc-2eab84af3e.zip
new file mode 100644
index 00000000000..6ad3f917538
Binary files /dev/null and b/.yarn/cache/@dashevo-dashd-rpc-npm-19.0.0-54bb2a5dfc-2eab84af3e.zip differ
diff --git a/.yarn/cache/@eslint-community-eslint-utils-npm-4.2.0-434cf92d50-ef8b20b0c7.zip b/.yarn/cache/@eslint-community-eslint-utils-npm-4.2.0-434cf92d50-ef8b20b0c7.zip
deleted file mode 100644
index cd12dbed623..00000000000
Binary files a/.yarn/cache/@eslint-community-eslint-utils-npm-4.2.0-434cf92d50-ef8b20b0c7.zip and /dev/null differ
diff --git a/.yarn/cache/@eslint-community-regexpp-npm-4.4.0-6bee7b2314-3d9b740479.zip b/.yarn/cache/@eslint-community-regexpp-npm-4.4.0-6bee7b2314-3d9b740479.zip
deleted file mode 100644
index c8e3d8abb9b..00000000000
Binary files a/.yarn/cache/@eslint-community-regexpp-npm-4.4.0-6bee7b2314-3d9b740479.zip and /dev/null differ
diff --git a/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.2-c64eeb4a4e-7ba0070be1.zip b/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.2-c64eeb4a4e-7ba0070be1.zip
deleted file mode 100644
index e4905c2164c..00000000000
Binary files a/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.2-c64eeb4a4e-7ba0070be1.zip and /dev/null differ
diff --git a/.yarn/cache/@jridgewell-resolve-uri-npm-3.0.8-94779c6a1d-ba6bb26bae.zip b/.yarn/cache/@jridgewell-resolve-uri-npm-3.0.8-94779c6a1d-ba6bb26bae.zip
deleted file mode 100644
index 02ccaf6eac4..00000000000
Binary files a/.yarn/cache/@jridgewell-resolve-uri-npm-3.0.8-94779c6a1d-ba6bb26bae.zip and /dev/null differ
diff --git a/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.15-7357dbf648-c889039e05.zip b/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.15-7357dbf648-c889039e05.zip
deleted file mode 100644
index 6cf18d7286f..00000000000
Binary files a/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.15-7357dbf648-c889039e05.zip and /dev/null differ
diff --git a/.yarn/cache/@oclif-core-npm-3.26.5-02719845fd-4e2aa1a945.zip b/.yarn/cache/@oclif-core-npm-3.26.5-02719845fd-4e2aa1a945.zip
new file mode 100644
index 00000000000..abfc68a753a
Binary files /dev/null and b/.yarn/cache/@oclif-core-npm-3.26.5-02719845fd-4e2aa1a945.zip differ
diff --git a/.yarn/cache/@types-json-schema-npm-7.0.11-79462ae5ca-e50864a93f.zip b/.yarn/cache/@types-json-schema-npm-7.0.11-79462ae5ca-e50864a93f.zip
deleted file mode 100644
index f28a98d38cc..00000000000
Binary files a/.yarn/cache/@types-json-schema-npm-7.0.11-79462ae5ca-e50864a93f.zip and /dev/null differ
diff --git a/.yarn/cache/@types-node-npm-17.0.21-7d68eb6a13-2beae12b02.zip b/.yarn/cache/@types-node-npm-17.0.21-7d68eb6a13-2beae12b02.zip
deleted file mode 100644
index 672e0a48150..00000000000
Binary files a/.yarn/cache/@types-node-npm-17.0.21-7d68eb6a13-2beae12b02.zip and /dev/null differ
diff --git a/.yarn/cache/@types-semver-npm-7.3.13-56212b60da-0064efd7a0.zip b/.yarn/cache/@types-semver-npm-7.3.13-56212b60da-0064efd7a0.zip
deleted file mode 100644
index 6d63bba22be..00000000000
Binary files a/.yarn/cache/@types-semver-npm-7.3.13-56212b60da-0064efd7a0.zip and /dev/null differ
diff --git a/.yarn/cache/acorn-npm-8.8.2-9d518fd7d3-b4e77d56d2.zip b/.yarn/cache/acorn-npm-8.8.2-9d518fd7d3-b4e77d56d2.zip
deleted file mode 100644
index c79441c782e..00000000000
Binary files a/.yarn/cache/acorn-npm-8.8.2-9d518fd7d3-b4e77d56d2.zip and /dev/null differ
diff --git a/.yarn/cache/agentkeepalive-npm-4.2.0-e5e72b8ce4-cc6e1b4f1c.zip b/.yarn/cache/agentkeepalive-npm-4.2.0-e5e72b8ce4-cc6e1b4f1c.zip
deleted file mode 100644
index 90ae9925e30..00000000000
Binary files a/.yarn/cache/agentkeepalive-npm-4.2.0-e5e72b8ce4-cc6e1b4f1c.zip and /dev/null differ
diff --git a/.yarn/cache/ajv-npm-8.8.1-3d331224e3-fc52cd18c9.zip b/.yarn/cache/ajv-npm-8.8.1-3d331224e3-fc52cd18c9.zip
deleted file mode 100644
index 9fb342a58b2..00000000000
Binary files a/.yarn/cache/ajv-npm-8.8.1-3d331224e3-fc52cd18c9.zip and /dev/null differ
diff --git a/.yarn/cache/browserslist-npm-4.18.1-38eb8a64b9-83bb8dd04c.zip b/.yarn/cache/browserslist-npm-4.18.1-38eb8a64b9-83bb8dd04c.zip
deleted file mode 100644
index e00bb3f3422..00000000000
Binary files a/.yarn/cache/browserslist-npm-4.18.1-38eb8a64b9-83bb8dd04c.zip and /dev/null differ
diff --git a/.yarn/cache/call-bind-npm-1.0.2-c957124861-ca787179c1.zip b/.yarn/cache/call-bind-npm-1.0.2-c957124861-ca787179c1.zip
deleted file mode 100644
index 81779aadc49..00000000000
Binary files a/.yarn/cache/call-bind-npm-1.0.2-c957124861-ca787179c1.zip and /dev/null differ
diff --git a/.yarn/cache/caniuse-lite-npm-1.0.30001282-49173a42dd-7802b8e099.zip b/.yarn/cache/caniuse-lite-npm-1.0.30001282-49173a42dd-7802b8e099.zip
deleted file mode 100644
index 8b2227c6b3c..00000000000
Binary files a/.yarn/cache/caniuse-lite-npm-1.0.30001282-49173a42dd-7802b8e099.zip and /dev/null differ
diff --git a/.yarn/cache/check-error-npm-1.0.2-00c540c6e9-011e74b2ea.zip b/.yarn/cache/check-error-npm-1.0.2-00c540c6e9-011e74b2ea.zip
deleted file mode 100644
index 358cbb7a5fc..00000000000
Binary files a/.yarn/cache/check-error-npm-1.0.2-00c540c6e9-011e74b2ea.zip and /dev/null differ
diff --git a/.yarn/cache/color-npm-4.2.3-4a23227581-b23f5e500a.zip b/.yarn/cache/color-npm-4.2.3-4a23227581-b23f5e500a.zip
new file mode 100644
index 00000000000..3f65ebe0c16
Binary files /dev/null and b/.yarn/cache/color-npm-4.2.3-4a23227581-b23f5e500a.zip differ
diff --git a/.yarn/cache/color-string-npm-1.9.1-dc020e56be-72aa0b81ee.zip b/.yarn/cache/color-string-npm-1.9.1-dc020e56be-72aa0b81ee.zip
new file mode 100644
index 00000000000..7cb3fbdc1b7
Binary files /dev/null and b/.yarn/cache/color-string-npm-1.9.1-dc020e56be-72aa0b81ee.zip differ
diff --git a/.yarn/cache/colorette-npm-2.0.19-f73dfe6a4e-6e2606435c.zip b/.yarn/cache/colorette-npm-2.0.19-f73dfe6a4e-6e2606435c.zip
deleted file mode 100644
index be43f7c11a2..00000000000
Binary files a/.yarn/cache/colorette-npm-2.0.19-f73dfe6a4e-6e2606435c.zip and /dev/null differ
diff --git a/.yarn/cache/debug-npm-4.3.5-b5001f59b7-cb6eab424c.zip b/.yarn/cache/debug-npm-4.3.5-b5001f59b7-cb6eab424c.zip
new file mode 100644
index 00000000000..c621a4c78dd
Binary files /dev/null and b/.yarn/cache/debug-npm-4.3.5-b5001f59b7-cb6eab424c.zip differ
diff --git a/.yarn/cache/define-properties-npm-1.2.0-3547cd0fd2-e60aee6a19.zip b/.yarn/cache/define-properties-npm-1.2.0-3547cd0fd2-e60aee6a19.zip
deleted file mode 100644
index bcbfcf6e68f..00000000000
Binary files a/.yarn/cache/define-properties-npm-1.2.0-3547cd0fd2-e60aee6a19.zip and /dev/null differ
diff --git a/.yarn/cache/diskusage-npm-1.2.0-3d0577ad86-cf37552dd9.zip b/.yarn/cache/diskusage-npm-1.2.0-3d0577ad86-cf37552dd9.zip
new file mode 100644
index 00000000000..2c353fe061f
Binary files /dev/null and b/.yarn/cache/diskusage-npm-1.2.0-3d0577ad86-cf37552dd9.zip differ
diff --git a/.yarn/cache/ejs-npm-3.1.10-4e8cf4bdc1-a9cb7d7cd1.zip b/.yarn/cache/ejs-npm-3.1.10-4e8cf4bdc1-a9cb7d7cd1.zip
new file mode 100644
index 00000000000..da09b74bcf7
Binary files /dev/null and b/.yarn/cache/ejs-npm-3.1.10-4e8cf4bdc1-a9cb7d7cd1.zip differ
diff --git a/.yarn/cache/ejs-npm-3.1.8-30583753fc-879f84c8ee.zip b/.yarn/cache/ejs-npm-3.1.8-30583753fc-879f84c8ee.zip
deleted file mode 100644
index 368ffb9272a..00000000000
Binary files a/.yarn/cache/ejs-npm-3.1.8-30583753fc-879f84c8ee.zip and /dev/null differ
diff --git a/.yarn/cache/electron-to-chromium-npm-1.3.903-3e6dfabc20-12a0c5ba72.zip b/.yarn/cache/electron-to-chromium-npm-1.3.903-3e6dfabc20-12a0c5ba72.zip
deleted file mode 100644
index 215be7ad47c..00000000000
Binary files a/.yarn/cache/electron-to-chromium-npm-1.3.903-3e6dfabc20-12a0c5ba72.zip and /dev/null differ
diff --git a/.yarn/cache/enhanced-resolve-npm-5.12.0-c291ce4ee3-ea5b49a064.zip b/.yarn/cache/enhanced-resolve-npm-5.12.0-c291ce4ee3-ea5b49a064.zip
deleted file mode 100644
index 661b9e4ef1b..00000000000
Binary files a/.yarn/cache/enhanced-resolve-npm-5.12.0-c291ce4ee3-ea5b49a064.zip and /dev/null differ
diff --git a/.yarn/cache/es-abstract-npm-1.21.2-f4ebace1ab-2e1d6922c9.zip b/.yarn/cache/es-abstract-npm-1.21.2-f4ebace1ab-2e1d6922c9.zip
deleted file mode 100644
index 1735b16d38c..00000000000
Binary files a/.yarn/cache/es-abstract-npm-1.21.2-f4ebace1ab-2e1d6922c9.zip and /dev/null differ
diff --git a/.yarn/cache/eslint-import-resolver-node-npm-0.3.6-d9426786c6-c35c6edb7e.zip b/.yarn/cache/eslint-import-resolver-node-npm-0.3.6-d9426786c6-c35c6edb7e.zip
deleted file mode 100644
index 90681030d34..00000000000
Binary files a/.yarn/cache/eslint-import-resolver-node-npm-0.3.6-d9426786c6-c35c6edb7e.zip and /dev/null differ
diff --git a/.yarn/cache/eslint-visitor-keys-npm-3.3.0-d329af7c8c-37a1a5912a.zip b/.yarn/cache/eslint-visitor-keys-npm-3.3.0-d329af7c8c-37a1a5912a.zip
deleted file mode 100644
index 2a0d03ccb0a..00000000000
Binary files a/.yarn/cache/eslint-visitor-keys-npm-3.3.0-d329af7c8c-37a1a5912a.zip and /dev/null differ
diff --git a/.yarn/cache/espree-npm-9.1.0-fd22538590-8ade225f24.zip b/.yarn/cache/espree-npm-9.1.0-fd22538590-8ade225f24.zip
deleted file mode 100644
index cd75e37be85..00000000000
Binary files a/.yarn/cache/espree-npm-9.1.0-fd22538590-8ade225f24.zip and /dev/null differ
diff --git a/.yarn/cache/fast-glob-npm-3.2.11-bc01135fef-6b736d92a4.zip b/.yarn/cache/fast-glob-npm-3.2.11-bc01135fef-6b736d92a4.zip
deleted file mode 100644
index 105b1dfab13..00000000000
Binary files a/.yarn/cache/fast-glob-npm-3.2.11-bc01135fef-6b736d92a4.zip and /dev/null differ
diff --git a/.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-8be0d39919.zip b/.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-8be0d39919.zip
deleted file mode 100644
index 9aa62ac845d..00000000000
Binary files a/.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-8be0d39919.zip and /dev/null differ
diff --git a/.yarn/cache/follow-redirects-npm-1.15.6-50635fe51d-70c7612c4c.zip b/.yarn/cache/follow-redirects-npm-1.15.6-50635fe51d-70c7612c4c.zip
new file mode 100644
index 00000000000..d64f38e50a7
Binary files /dev/null and b/.yarn/cache/follow-redirects-npm-1.15.6-50635fe51d-70c7612c4c.zip differ
diff --git a/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-d83f296803.zip b/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-d83f296803.zip
deleted file mode 100644
index b10b9658cff..00000000000
Binary files a/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-d83f296803.zip and /dev/null differ
diff --git a/.yarn/cache/function.prototype.name-npm-1.1.5-e776a642bb-5d426e5a38.zip b/.yarn/cache/function.prototype.name-npm-1.1.5-e776a642bb-5d426e5a38.zip
deleted file mode 100644
index 46ce2d234f8..00000000000
Binary files a/.yarn/cache/function.prototype.name-npm-1.1.5-e776a642bb-5d426e5a38.zip and /dev/null differ
diff --git a/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-f57c5fe67a.zip b/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-f57c5fe67a.zip
deleted file mode 100644
index f716bea6182..00000000000
Binary files a/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-f57c5fe67a.zip and /dev/null differ
diff --git a/.yarn/cache/glob-npm-10.3.10-da1ef8b112-38bdb2c9ce.zip b/.yarn/cache/glob-npm-10.3.10-da1ef8b112-38bdb2c9ce.zip
deleted file mode 100644
index 5c0f342c115..00000000000
Binary files a/.yarn/cache/glob-npm-10.3.10-da1ef8b112-38bdb2c9ce.zip and /dev/null differ
diff --git a/.yarn/cache/glob-npm-10.3.4-f58cd31f55-6375721bcd.zip b/.yarn/cache/glob-npm-10.3.4-f58cd31f55-6375721bcd.zip
deleted file mode 100644
index 26849fc8f32..00000000000
Binary files a/.yarn/cache/glob-npm-10.3.4-f58cd31f55-6375721bcd.zip and /dev/null differ
diff --git a/.yarn/cache/glob-npm-10.4.1-a0d030e0a9-d7bb49d2b4.zip b/.yarn/cache/glob-npm-10.4.1-a0d030e0a9-d7bb49d2b4.zip
new file mode 100644
index 00000000000..8d44135f2f9
Binary files /dev/null and b/.yarn/cache/glob-npm-10.4.1-a0d030e0a9-d7bb49d2b4.zip differ
diff --git a/.yarn/cache/glob-npm-7.2.3-2d866d17a5-59452a9202.zip b/.yarn/cache/glob-npm-7.2.3-2d866d17a5-59452a9202.zip
new file mode 100644
index 00000000000..711edd7c1e0
Binary files /dev/null and b/.yarn/cache/glob-npm-7.2.3-2d866d17a5-59452a9202.zip differ
diff --git a/.yarn/cache/ip-address-npm-9.0.5-9fa024d42a-1ed81e0672.zip b/.yarn/cache/ip-address-npm-9.0.5-9fa024d42a-1ed81e0672.zip
new file mode 100644
index 00000000000..f29f3f6f189
Binary files /dev/null and b/.yarn/cache/ip-address-npm-9.0.5-9fa024d42a-1ed81e0672.zip differ
diff --git a/.yarn/cache/ip-npm-1.1.5-af36318aa6-40a00572cf.zip b/.yarn/cache/ip-npm-1.1.5-af36318aa6-40a00572cf.zip
deleted file mode 100644
index fa0bbc93c13..00000000000
Binary files a/.yarn/cache/ip-npm-1.1.5-af36318aa6-40a00572cf.zip and /dev/null differ
diff --git a/.yarn/cache/ip-npm-2.0.0-204facb3cc-1270b11e53.zip b/.yarn/cache/ip-npm-2.0.0-204facb3cc-1270b11e53.zip
deleted file mode 100644
index c751a851ab9..00000000000
Binary files a/.yarn/cache/ip-npm-2.0.0-204facb3cc-1270b11e53.zip and /dev/null differ
diff --git a/.yarn/cache/is-core-module-npm-2.8.1-ce21740d1b-80b33fbd45.zip b/.yarn/cache/is-core-module-npm-2.8.1-ce21740d1b-80b33fbd45.zip
deleted file mode 100644
index 77d6a993276..00000000000
Binary files a/.yarn/cache/is-core-module-npm-2.8.1-ce21740d1b-80b33fbd45.zip and /dev/null differ
diff --git a/.yarn/cache/is-typed-array-npm-1.1.10-fe4ef83cdc-2392b2473b.zip b/.yarn/cache/is-typed-array-npm-1.1.10-fe4ef83cdc-2392b2473b.zip
deleted file mode 100644
index 305419609d8..00000000000
Binary files a/.yarn/cache/is-typed-array-npm-1.1.10-fe4ef83cdc-2392b2473b.zip and /dev/null differ
diff --git a/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-31621b84ad.zip b/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-31621b84ad.zip
deleted file mode 100644
index 1c849581e6a..00000000000
Binary files a/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-31621b84ad.zip and /dev/null differ
diff --git a/.yarn/cache/jackspeak-npm-2.3.3-755684cc60-a4c7c1a3ff.zip b/.yarn/cache/jackspeak-npm-2.3.3-755684cc60-a4c7c1a3ff.zip
deleted file mode 100644
index eacd30ac5d4..00000000000
Binary files a/.yarn/cache/jackspeak-npm-2.3.3-755684cc60-a4c7c1a3ff.zip and /dev/null differ
diff --git a/.yarn/cache/jackspeak-npm-2.3.6-42e1233172-6e6490d676.zip b/.yarn/cache/jackspeak-npm-2.3.6-42e1233172-6e6490d676.zip
deleted file mode 100644
index 91909eb58a6..00000000000
Binary files a/.yarn/cache/jackspeak-npm-2.3.6-42e1233172-6e6490d676.zip and /dev/null differ
diff --git a/.yarn/cache/jackspeak-npm-3.1.2-dbb3ed8474-7e6b94103e.zip b/.yarn/cache/jackspeak-npm-3.1.2-dbb3ed8474-7e6b94103e.zip
new file mode 100644
index 00000000000..8b9ff400e38
Binary files /dev/null and b/.yarn/cache/jackspeak-npm-3.1.2-dbb3ed8474-7e6b94103e.zip differ
diff --git a/.yarn/cache/jsbn-npm-1.1.0-1da0181838-bebe7ae829.zip b/.yarn/cache/jsbn-npm-1.1.0-1da0181838-bebe7ae829.zip
new file mode 100644
index 00000000000..4e18b228c5f
Binary files /dev/null and b/.yarn/cache/jsbn-npm-1.1.0-1da0181838-bebe7ae829.zip differ
diff --git a/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-d72ea87423.zip b/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-d72ea87423.zip
deleted file mode 100644
index 9642fe2201b..00000000000
Binary files a/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-d72ea87423.zip and /dev/null differ
diff --git a/.yarn/cache/karma-npm-6.4.1-5443d36ee9-24faabfaf0.zip b/.yarn/cache/karma-npm-6.4.1-5443d36ee9-24faabfaf0.zip
deleted file mode 100644
index 755877b272e..00000000000
Binary files a/.yarn/cache/karma-npm-6.4.1-5443d36ee9-24faabfaf0.zip and /dev/null differ
diff --git a/.yarn/cache/karma-npm-6.4.3-c1db2b322c-7fc194f5d4.zip b/.yarn/cache/karma-npm-6.4.3-c1db2b322c-7fc194f5d4.zip
new file mode 100644
index 00000000000..601d8fc02b8
Binary files /dev/null and b/.yarn/cache/karma-npm-6.4.3-c1db2b322c-7fc194f5d4.zip differ
diff --git a/.yarn/cache/lru-cache-npm-10.0.1-0e1abf4c13-5bb91a97a3.zip b/.yarn/cache/lru-cache-npm-10.0.1-0e1abf4c13-5bb91a97a3.zip
deleted file mode 100644
index 5759347ee25..00000000000
Binary files a/.yarn/cache/lru-cache-npm-10.0.1-0e1abf4c13-5bb91a97a3.zip and /dev/null differ
diff --git a/.yarn/cache/lru-cache-npm-10.2.2-c54b721fc3-ff1a496d30.zip b/.yarn/cache/lru-cache-npm-10.2.2-c54b721fc3-ff1a496d30.zip
new file mode 100644
index 00000000000..7e71190c37e
Binary files /dev/null and b/.yarn/cache/lru-cache-npm-10.2.2-c54b721fc3-ff1a496d30.zip differ
diff --git a/.yarn/cache/lru-cache-npm-7.3.1-b157dca680-83adf549d8.zip b/.yarn/cache/lru-cache-npm-7.3.1-b157dca680-83adf549d8.zip
deleted file mode 100644
index cd127a2e1b9..00000000000
Binary files a/.yarn/cache/lru-cache-npm-7.3.1-b157dca680-83adf549d8.zip and /dev/null differ
diff --git a/.yarn/cache/mem-fs-editor-npm-9.4.0-97c608fb01-b196c50010.zip b/.yarn/cache/mem-fs-editor-npm-9.4.0-97c608fb01-b196c50010.zip
deleted file mode 100644
index da9d0e2dbc6..00000000000
Binary files a/.yarn/cache/mem-fs-editor-npm-9.4.0-97c608fb01-b196c50010.zip and /dev/null differ
diff --git a/.yarn/cache/minimatch-npm-5.0.0-969101c1d1-ee05bf8c18.zip b/.yarn/cache/minimatch-npm-5.0.0-969101c1d1-ee05bf8c18.zip
deleted file mode 100644
index db3898f3278..00000000000
Binary files a/.yarn/cache/minimatch-npm-5.0.0-969101c1d1-ee05bf8c18.zip and /dev/null differ
diff --git a/.yarn/cache/minimatch-npm-9.0.4-7be5a33efc-4cdc18d112.zip b/.yarn/cache/minimatch-npm-9.0.4-7be5a33efc-4cdc18d112.zip
new file mode 100644
index 00000000000..61a88c7c69d
Binary files /dev/null and b/.yarn/cache/minimatch-npm-9.0.4-7be5a33efc-4cdc18d112.zip differ
diff --git a/.yarn/cache/minipass-npm-4.2.8-f05abfe254-e148eb6dcb.zip b/.yarn/cache/minipass-npm-4.2.8-f05abfe254-e148eb6dcb.zip
deleted file mode 100644
index 7ce99cd2f47..00000000000
Binary files a/.yarn/cache/minipass-npm-4.2.8-f05abfe254-e148eb6dcb.zip and /dev/null differ
diff --git a/.yarn/cache/minipass-npm-7.0.3-3b57909ee9-04d72c8a43.zip b/.yarn/cache/minipass-npm-7.0.3-3b57909ee9-04d72c8a43.zip
deleted file mode 100644
index 3a742326aa5..00000000000
Binary files a/.yarn/cache/minipass-npm-7.0.3-3b57909ee9-04d72c8a43.zip and /dev/null differ
diff --git a/.yarn/cache/minipass-npm-7.1.2-3a5327d36d-c25f0ee819.zip b/.yarn/cache/minipass-npm-7.1.2-3a5327d36d-c25f0ee819.zip
new file mode 100644
index 00000000000..4c88fb60ce3
Binary files /dev/null and b/.yarn/cache/minipass-npm-7.1.2-3a5327d36d-c25f0ee819.zip differ
diff --git a/.yarn/cache/nan-npm-2.20.0-5b5be83e88-5f16e4c995.zip b/.yarn/cache/nan-npm-2.20.0-5b5be83e88-5f16e4c995.zip
new file mode 100644
index 00000000000..080a5ceb714
Binary files /dev/null and b/.yarn/cache/nan-npm-2.20.0-5b5be83e88-5f16e4c995.zip differ
diff --git a/.yarn/cache/node-releases-npm-2.0.1-77b8e327f7-b20dd8d4bc.zip b/.yarn/cache/node-releases-npm-2.0.1-77b8e327f7-b20dd8d4bc.zip
deleted file mode 100644
index f80933576c9..00000000000
Binary files a/.yarn/cache/node-releases-npm-2.0.1-77b8e327f7-b20dd8d4bc.zip and /dev/null differ
diff --git a/.yarn/cache/object-inspect-npm-1.12.3-1e7d20f5ff-532b0036f0.zip b/.yarn/cache/object-inspect-npm-1.12.3-1e7d20f5ff-532b0036f0.zip
deleted file mode 100644
index fae851e6bd2..00000000000
Binary files a/.yarn/cache/object-inspect-npm-1.12.3-1e7d20f5ff-532b0036f0.zip and /dev/null differ
diff --git a/.yarn/cache/password-prompt-npm-1.1.3-0190666768-1cf7001e66.zip b/.yarn/cache/password-prompt-npm-1.1.3-0190666768-1cf7001e66.zip
new file mode 100644
index 00000000000..11d8442b2b5
Binary files /dev/null and b/.yarn/cache/password-prompt-npm-1.1.3-0190666768-1cf7001e66.zip differ
diff --git a/.yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-eebfb8304f.zip b/.yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-eebfb8304f.zip
deleted file mode 100644
index 10a74fec69a..00000000000
Binary files a/.yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-eebfb8304f.zip and /dev/null differ
diff --git a/.yarn/cache/path-scurry-npm-1.11.1-aaf8c339af-5e8845c159.zip b/.yarn/cache/path-scurry-npm-1.11.1-aaf8c339af-5e8845c159.zip
new file mode 100644
index 00000000000..40cc3d66f37
Binary files /dev/null and b/.yarn/cache/path-scurry-npm-1.11.1-aaf8c339af-5e8845c159.zip differ
diff --git a/.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-b80b3e6a7f.zip b/.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-b80b3e6a7f.zip
deleted file mode 100644
index 57b8b2b964e..00000000000
Binary files a/.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-b80b3e6a7f.zip and /dev/null differ
diff --git a/.yarn/cache/regexp.prototype.flags-npm-1.4.3-df1c08b65d-3cde7cd22f.zip b/.yarn/cache/regexp.prototype.flags-npm-1.4.3-df1c08b65d-3cde7cd22f.zip
deleted file mode 100644
index f841d7b38ca..00000000000
Binary files a/.yarn/cache/regexp.prototype.flags-npm-1.4.3-df1c08b65d-3cde7cd22f.zip and /dev/null differ
diff --git a/.yarn/cache/resolve-npm-1.22.0-f641ddcc95-b2f7405d30.zip b/.yarn/cache/resolve-npm-1.22.0-f641ddcc95-b2f7405d30.zip
deleted file mode 100644
index 0e9cb9ba4b9..00000000000
Binary files a/.yarn/cache/resolve-npm-1.22.0-f641ddcc95-b2f7405d30.zip and /dev/null differ
diff --git a/.yarn/cache/resolve-patch-2781af2c06-cb53ccafb0.zip b/.yarn/cache/resolve-patch-2781af2c06-cb53ccafb0.zip
deleted file mode 100644
index 3883e5aa27d..00000000000
Binary files a/.yarn/cache/resolve-patch-2781af2c06-cb53ccafb0.zip and /dev/null differ
diff --git a/.yarn/cache/rxjs-npm-7.8.0-722f1c7172-ff9359cc78.zip b/.yarn/cache/rxjs-npm-7.8.0-722f1c7172-ff9359cc78.zip
deleted file mode 100644
index e62f91d938a..00000000000
Binary files a/.yarn/cache/rxjs-npm-7.8.0-722f1c7172-ff9359cc78.zip and /dev/null differ
diff --git a/.yarn/cache/socket.io-adapter-npm-2.4.0-36a74a6ea1-e10c8c36a1.zip b/.yarn/cache/socket.io-adapter-npm-2.4.0-36a74a6ea1-e10c8c36a1.zip
deleted file mode 100644
index 898ffcf179c..00000000000
Binary files a/.yarn/cache/socket.io-adapter-npm-2.4.0-36a74a6ea1-e10c8c36a1.zip and /dev/null differ
diff --git a/.yarn/cache/socket.io-adapter-npm-2.5.5-7a0505537f-e364733a4c.zip b/.yarn/cache/socket.io-adapter-npm-2.5.5-7a0505537f-e364733a4c.zip
new file mode 100644
index 00000000000..8645bbec5e0
Binary files /dev/null and b/.yarn/cache/socket.io-adapter-npm-2.5.5-7a0505537f-e364733a4c.zip differ
diff --git a/.yarn/cache/socket.io-npm-4.5.2-11f9913f37-872605db0f.zip b/.yarn/cache/socket.io-npm-4.5.2-11f9913f37-872605db0f.zip
deleted file mode 100644
index d53d3f6ddd7..00000000000
Binary files a/.yarn/cache/socket.io-npm-4.5.2-11f9913f37-872605db0f.zip and /dev/null differ
diff --git a/.yarn/cache/socket.io-npm-4.7.5-7db6120b90-911528f5bf.zip b/.yarn/cache/socket.io-npm-4.7.5-7db6120b90-911528f5bf.zip
new file mode 100644
index 00000000000..7fad0bb2ff8
Binary files /dev/null and b/.yarn/cache/socket.io-npm-4.7.5-7db6120b90-911528f5bf.zip differ
diff --git a/.yarn/cache/socks-npm-2.6.1-09133d0d22-6ae166bd1a.zip b/.yarn/cache/socks-npm-2.6.1-09133d0d22-6ae166bd1a.zip
deleted file mode 100644
index 8327fc3d21a..00000000000
Binary files a/.yarn/cache/socks-npm-2.6.1-09133d0d22-6ae166bd1a.zip and /dev/null differ
diff --git a/.yarn/cache/socks-npm-2.7.1-17f2b53052-5074f7d6a1.zip b/.yarn/cache/socks-npm-2.7.1-17f2b53052-5074f7d6a1.zip
deleted file mode 100644
index 51cba2db5b1..00000000000
Binary files a/.yarn/cache/socks-npm-2.7.1-17f2b53052-5074f7d6a1.zip and /dev/null differ
diff --git a/.yarn/cache/socks-npm-2.8.3-3532b59899-ffcb622c22.zip b/.yarn/cache/socks-npm-2.8.3-3532b59899-ffcb622c22.zip
new file mode 100644
index 00000000000..95c8964f1f7
Binary files /dev/null and b/.yarn/cache/socks-npm-2.8.3-3532b59899-ffcb622c22.zip differ
diff --git a/.yarn/cache/source-map-npm-0.5.7-7c3f035429-9b4ac749ec.zip b/.yarn/cache/source-map-npm-0.5.7-7c3f035429-9b4ac749ec.zip
deleted file mode 100644
index e3bc38bd01e..00000000000
Binary files a/.yarn/cache/source-map-npm-0.5.7-7c3f035429-9b4ac749ec.zip and /dev/null differ
diff --git a/.yarn/cache/sprintf-js-npm-1.1.3-b99efd75b2-e7587128c4.zip b/.yarn/cache/sprintf-js-npm-1.1.3-b99efd75b2-e7587128c4.zip
new file mode 100644
index 00000000000..3e6b96b97df
Binary files /dev/null and b/.yarn/cache/sprintf-js-npm-1.1.3-b99efd75b2-e7587128c4.zip differ
diff --git a/.yarn/cache/string.prototype.trim-npm-1.2.7-3fbaf3b9d2-a1b795bdb4.zip b/.yarn/cache/string.prototype.trim-npm-1.2.7-3fbaf3b9d2-a1b795bdb4.zip
deleted file mode 100644
index 843c03ebe9d..00000000000
Binary files a/.yarn/cache/string.prototype.trim-npm-1.2.7-3fbaf3b9d2-a1b795bdb4.zip and /dev/null differ
diff --git a/.yarn/cache/string.prototype.trimend-npm-1.0.6-304246ecc1-3893db9267.zip b/.yarn/cache/string.prototype.trimend-npm-1.0.6-304246ecc1-3893db9267.zip
deleted file mode 100644
index c8b07fbc771..00000000000
Binary files a/.yarn/cache/string.prototype.trimend-npm-1.0.6-304246ecc1-3893db9267.zip and /dev/null differ
diff --git a/.yarn/cache/string.prototype.trimstart-npm-1.0.6-0926caea6c-05e2cd06fa.zip b/.yarn/cache/string.prototype.trimstart-npm-1.0.6-0926caea6c-05e2cd06fa.zip
deleted file mode 100644
index 0fb7c079b82..00000000000
Binary files a/.yarn/cache/string.prototype.trimstart-npm-1.0.6-0926caea6c-05e2cd06fa.zip and /dev/null differ
diff --git a/.yarn/cache/supports-hyperlinks-npm-2.2.0-9b22a6271b-a63f2acba5.zip b/.yarn/cache/supports-hyperlinks-npm-2.2.0-9b22a6271b-a63f2acba5.zip
deleted file mode 100644
index ae491693d14..00000000000
Binary files a/.yarn/cache/supports-hyperlinks-npm-2.2.0-9b22a6271b-a63f2acba5.zip and /dev/null differ
diff --git a/.yarn/cache/systeminformation-npm-5.22.11-e704a1605b-315cd3f2cc.zip b/.yarn/cache/systeminformation-npm-5.22.11-e704a1605b-315cd3f2cc.zip
new file mode 100644
index 00000000000..0160773949a
Binary files /dev/null and b/.yarn/cache/systeminformation-npm-5.22.11-e704a1605b-315cd3f2cc.zip differ
diff --git a/.yarn/cache/tar-npm-6.1.11-e6ac3cba9c-0e6789e664.zip b/.yarn/cache/tar-npm-6.1.11-e6ac3cba9c-0e6789e664.zip
deleted file mode 100644
index d7f57a7b2f8..00000000000
Binary files a/.yarn/cache/tar-npm-6.1.11-e6ac3cba9c-0e6789e664.zip and /dev/null differ
diff --git a/.yarn/cache/tar-npm-6.1.13-3234e72781-add2c3c6d0.zip b/.yarn/cache/tar-npm-6.1.13-3234e72781-add2c3c6d0.zip
deleted file mode 100644
index 2ff4ab17413..00000000000
Binary files a/.yarn/cache/tar-npm-6.1.13-3234e72781-add2c3c6d0.zip and /dev/null differ
diff --git a/.yarn/cache/tar-npm-6.2.1-237800bb20-bfbfbb2861.zip b/.yarn/cache/tar-npm-6.2.1-237800bb20-bfbfbb2861.zip
new file mode 100644
index 00000000000..066f404767f
Binary files /dev/null and b/.yarn/cache/tar-npm-6.2.1-237800bb20-bfbfbb2861.zip differ
diff --git a/.yarn/cache/ts-node-npm-10.4.0-04cb6e2279-5874ac27f6.zip b/.yarn/cache/ts-node-npm-10.4.0-04cb6e2279-5874ac27f6.zip
deleted file mode 100644
index 097601aaa45..00000000000
Binary files a/.yarn/cache/ts-node-npm-10.4.0-04cb6e2279-5874ac27f6.zip and /dev/null differ
diff --git a/.yarn/cache/tslib-npm-2.4.1-36f0ed04db-e14311d539.zip b/.yarn/cache/tslib-npm-2.4.1-36f0ed04db-e14311d539.zip
deleted file mode 100644
index d6f40b2d786..00000000000
Binary files a/.yarn/cache/tslib-npm-2.4.1-36f0ed04db-e14311d539.zip and /dev/null differ
diff --git a/.yarn/cache/tslib-npm-2.5.0-bb364efebd-ea556fbdf3.zip b/.yarn/cache/tslib-npm-2.5.0-bb364efebd-ea556fbdf3.zip
deleted file mode 100644
index 11112dd8937..00000000000
Binary files a/.yarn/cache/tslib-npm-2.5.0-bb364efebd-ea556fbdf3.zip and /dev/null differ
diff --git a/.yarn/cache/which-typed-array-npm-1.1.9-9559c95dfc-90ef760a09.zip b/.yarn/cache/which-typed-array-npm-1.1.9-9559c95dfc-90ef760a09.zip
deleted file mode 100644
index ef1370d4989..00000000000
Binary files a/.yarn/cache/which-typed-array-npm-1.1.9-9559c95dfc-90ef760a09.zip and /dev/null differ
diff --git a/.yarn/cache/ws-npm-7.5.5-8f4a2a84a8-2e91fd634b.zip b/.yarn/cache/ws-npm-7.5.5-8f4a2a84a8-2e91fd634b.zip
deleted file mode 100644
index ce54109cc3a..00000000000
Binary files a/.yarn/cache/ws-npm-7.5.5-8f4a2a84a8-2e91fd634b.zip and /dev/null differ
diff --git a/.yarn/cache/ws-npm-8.11.0-ab72116a01-f759ea19e4.zip b/.yarn/cache/ws-npm-8.11.0-ab72116a01-f759ea19e4.zip
deleted file mode 100644
index 337545a406a..00000000000
Binary files a/.yarn/cache/ws-npm-8.11.0-ab72116a01-f759ea19e4.zip and /dev/null differ
diff --git a/.yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip b/.yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip
new file mode 100644
index 00000000000..cd6b6f229ef
Binary files /dev/null and b/.yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip differ
diff --git a/.yarnrc.yml b/.yarnrc.yml
index 4f2712be643..f352a8cdaa3 100644
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -6,6 +6,16 @@ enableGlobalCache: false
npmPublishRegistry: "https://registry.npmjs.org"
+npmAuditExcludePackages:
+ - rimraf # TODO: Update karma
+ - glob # TODO: Update karma
+ - inflight # TODO: Update karma
+ - braces # TODO: Update karma
+ - "@grpc/grpc-js" # TODO: Remove when gRPC stack is updated
+ - "@humanwhocodes/config-array" # TODO: Update eslint
+ - "@humanwhocodes/object-schema" # TODO: Update eslint
+ - elliptic # TODO: Update elliptic when fix for 1098397 is released
+
packageExtensions:
"@dashevo/protobufjs@*":
dependencies:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 70524e911c0..7a720210b67 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,808 @@
+## [1.1.0-dev.1](https://github.com/dashpay/platform/compare/v1.0.2...v1.1.0-dev.1) (2024-08-13)
+
+
+### ⚠ BREAKING CHANGES
+
+* masternode reward payouts are changed so previously created state won't be compatible (#2032)
+* previously created networks won't be supported since genesis configuration is changed (#2042)
+* added genesis core height in misc tree so previously created state won't be compatible (#2038)
+
+### Features
+
+* configure wait for ST result timeout ([#2045](https://github.com/dashpay/platform/issues/2045))
+* **dashmate:** configure tenderdash connections ([#2048](https://github.com/dashpay/platform/issues/2048))
+* **drive-abci:** skip state transition txs if time limit is reached on prepare_proposal ([#2041](https://github.com/dashpay/platform/issues/2041))
+* **platform:** store/fetch genesis core height in misc tree ([#2038](https://github.com/dashpay/platform/issues/2038))
+* **platform:** total credits on platform query and fix for reward distribution ([#2032](https://github.com/dashpay/platform/issues/2032))
+
+
+### Miscellaneous Chores
+
+* **dashmate:** update consensus params ([#2042](https://github.com/dashpay/platform/issues/2042))
+* **dashmate:** update tenderdash seed ([#2040](https://github.com/dashpay/platform/issues/2040))
+* ignore security vulnerability 1098397 ([#2044](https://github.com/dashpay/platform/issues/2044))
+
+### [1.0.2](https://github.com/dashpay/platform/compare/v1.0.1...v1.0.2) (2024-07-31)
+
+
+### Features
+
+* **dashmate:** a flag to keep data on reset ([#2026](https://github.com/dashpay/platform/issues/2026))
+
+
+### Bug Fixes
+
+* **dashmate:** status command shows tenderdash error before activation ([#2028](https://github.com/dashpay/platform/issues/2028))
+* **dashmate:** unnecessary core indexes are required ([#2025](https://github.com/dashpay/platform/issues/2025))
+
+### [1.0.1](https://github.com/dashpay/platform/compare/v1.0.0...v1.0.1) (2024-07-29)
+
+
+### Miscellaneous Chores
+
+* bump dash-spv version to 2.0.0
+
+## [1.0.0](https://github.com/dashpay/platform/compare/v1.0.0-rc.2...v1.0.0) (2024-07-29)
+
+
+### Features
+
+* sdk to return proofs if requested ([#2014](https://github.com/dashpay/platform/issues/2014))
+
+
+### Bug Fixes
+
+* **dashmate:** imported node is not starting ([#2009](https://github.com/dashpay/platform/issues/2009))
+* **dashmate:** remove `dash-cli` from protx registration instructions ([#2018](https://github.com/dashpay/platform/issues/2018))
+* epoch protocol version setting ([#2013](https://github.com/dashpay/platform/issues/2013))
+
+
+### Build System
+
+* update tenderdash to 1.1.0 ([#2017](https://github.com/dashpay/platform/issues/2017))
+
+
+### Miscellaneous Chores
+
+* **dashmate:** configure mainnet ([#2016](https://github.com/dashpay/platform/issues/2016))
+* update to GroveDB Version 1.0.0 ([#2015](https://github.com/dashpay/platform/issues/2015))
+
+## [1.0.0-rc.2](https://github.com/dashpay/platform/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2024-07-25)
+
+
+### ⚠ BREAKING CHANGES
+
+* **platform:** genesis state from core block time (#2003)
+
+### Features
+
+* specify transition names within documents batch ([#2007](https://github.com/dashpay/platform/issues/2007))
+
+
+### Bug Fixes
+
+* dpns js sdk fix for identity record rename ([#2001](https://github.com/dashpay/platform/issues/2001))
+* **platform:** core info is lost between genesis and first block ([#2004](https://github.com/dashpay/platform/issues/2004))
+* **platform:** genesis state from core block time ([#2003](https://github.com/dashpay/platform/issues/2003))
+* sdk should ignore transient fields when verifying proofs ([#2000](https://github.com/dashpay/platform/issues/2000))
+* **strategy-tests:** document delete transitions were not selecting identity correctly
+* two error messages had typos ([#2005](https://github.com/dashpay/platform/issues/2005))
+
+
+### Miscellaneous Chores
+
+* **dashmate:** update genesis config to the latest testnet ([#1998](https://github.com/dashpay/platform/issues/1998))
+
+
+### Build System
+
+* update to tenderdash 1.1.0-dev.3, rs-tenderdash-abci 1.1.0-dev.1 ([#2008](https://github.com/dashpay/platform/issues/2008))
+
+## [1.0.0-rc.1](https://github.com/dashpay/platform/compare/v1.0.0-beta.4...v1.0.0-rc.1) (2024-07-24)
+
+
+### ⚠ BREAKING CHANGES
+
+* **platform:** system data contracts should not have an owner (#1992)
+* **platform:** transient properties (#1990)
+* **platform:** document types should not have a contested unique index with a unique index (#1984)
+* **platform:** add hyphen to match for contested documents on Dashpay (#1982)
+
+### Features
+
+* **drive:** added config for grovedb verify on startup ([#1975](https://github.com/dashpay/platform/issues/1975))
+* **platform:** system data contracts should not have an owner ([#1992](https://github.com/dashpay/platform/issues/1992))
+* **platform:** transient properties ([#1990](https://github.com/dashpay/platform/issues/1990))
+* use all eligible identities and slightly more robust checking
+
+
+### Bug Fixes
+
+* **dapi:** can't parse masternode list diff ([#1988](https://github.com/dashpay/platform/issues/1988))
+* **drive:** unknown mn_rr fork height ([#1994](https://github.com/dashpay/platform/issues/1994))
+* improve efficiency of identity random sampling
+* only clone the eligible identities
+* **platform:** add hyphen to match for contested documents on Dashpay ([#1982](https://github.com/dashpay/platform/issues/1982))
+* **platform:** document types should not have a contested unique index with a unique index ([#1984](https://github.com/dashpay/platform/issues/1984))
+* select random identities for strategy documents
+* spent asset lock estimated fees, and misc ([#1993](https://github.com/dashpay/platform/issues/1993))
+* **strategy-tests:** key ids for new identities with extra keys were not calculated properly ([#1991](https://github.com/dashpay/platform/issues/1991))
+* **strategy-tests:** transfer keys were being disabled ([#1995](https://github.com/dashpay/platform/issues/1995))
+* voting test
+
+
+### Miscellaneous Chores
+
+* chose capable identities for random documents
+* **dapi:** enable logger for reconnectable stream ([#1986](https://github.com/dashpay/platform/issues/1986))
+
+
+### Build System
+
+* update tenderdash to 1.1.0-dev.1 ([#1985](https://github.com/dashpay/platform/issues/1985))
+* update tenderdash to 1.1.0-dev.2 ([#1996](https://github.com/dashpay/platform/issues/1996))
+
+## [1.0.0-beta.4](https://github.com/dashpay/platform/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2024-07-19)
+
+
+### ⚠ BREAKING CHANGES
+
+* **drive:** don't use `0.0.0.0` as default listen IP (#1976)
+
+### Bug Fixes
+
+* **dashmate:** configure devnet quorums ([#1979](https://github.com/dashpay/platform/issues/1979))
+* **drive:** drive and tenderdash are constantly restarting ([#1978](https://github.com/dashpay/platform/issues/1978))
+* expected service to be a string with ip address and port ([#1980](https://github.com/dashpay/platform/issues/1980))
+
+
+### Code Refactoring
+
+* **drive:** don't use private bound for public trait ([#1974](https://github.com/dashpay/platform/issues/1974))
+
+
+### Miscellaneous Chores
+
+* **drive:** don't use `0.0.0.0` as default listen IP ([#1976](https://github.com/dashpay/platform/issues/1976))
+
+## [1.0.0-beta.3](https://github.com/dashpay/platform/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2024-07-17)
+
+
+### ⚠ BREAKING CHANGES
+
+* **platform:** updated fees (#1971)
+* **platform:** max field size and some clean up of versioning (#1970)
+
+### Features
+
+* **dpp:** decomposed integer types for document type properties ([#1968](https://github.com/dashpay/platform/issues/1968))
+* **platform:** max field size and some clean up of versioning ([#1970](https://github.com/dashpay/platform/issues/1970))
+
+
+### Continuous Integration
+
+* fix release docker images ([#1969](https://github.com/dashpay/platform/issues/1969))
+
+
+### Miscellaneous Chores
+
+* activate platform on EHF fork ([#1972](https://github.com/dashpay/platform/issues/1972))
+* add comments to the platform.proto file ([#1641](https://github.com/dashpay/platform/issues/1641))
+* **platform:** updated fees ([#1971](https://github.com/dashpay/platform/issues/1971))
+
+## [1.0.0-beta.2](https://github.com/dashpay/platform/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2024-07-16)
+
+
+### Continuous Integration
+
+* fix docker build for release ([#1965](https://github.com/dashpay/platform/issues/1965))
+
+## [1.0.0-beta.1](https://github.com/dashpay/platform/compare/v1.0.0-dev.16...v1.0.0-beta.1) (2024-07-16)
+
+
+### ⚠ BREAKING CHANGES
+
+* **platform:** disable credit withdrawals in V1 (#1961)
+* **drive-abci:** rotate quorums when all quorums members have had a chance to propose a block (#1942)
+* allowed to make required fields optional (#1919)
+* **dpp:** data contract validation issues (#1851)
+* **platform:** proofs v1 support (#1934)
+* **dpp:** do not allow `dependentSchemas` (#1888)
+* **sdk:** impl Fetch/FetchMany for masternode voting endpoints (#1864)
+
+### Features
+
+* contender serialization ([#1882](https://github.com/dashpay/platform/issues/1882))
+* **dashmate:** import existing Core data ([#1915](https://github.com/dashpay/platform/issues/1915))
+* **dashmate:** verify system requirements ([#1914](https://github.com/dashpay/platform/issues/1914))
+* **drive-abci:** rotate quorums when all quorums members have had a chance to propose a block ([#1942](https://github.com/dashpay/platform/issues/1942))
+* **drive:** platform version patching and state migrations ([#1941](https://github.com/dashpay/platform/issues/1941))
+* integrate grovedb visualizer ([#1933](https://github.com/dashpay/platform/issues/1933))
+* **platform:** proofs v1 support ([#1934](https://github.com/dashpay/platform/issues/1934))
+* **platform:** update to versioned grove db ([#1943](https://github.com/dashpay/platform/issues/1943))
+* remove votes of removed masternodes when collateral is moved ([#1894](https://github.com/dashpay/platform/issues/1894))
+* **sdk:** impl Fetch/FetchMany for masternode voting endpoints ([#1864](https://github.com/dashpay/platform/issues/1864))
+* **sdk:** support mocking of error responses ([#1926](https://github.com/dashpay/platform/issues/1926))
+* versioning of action conversion ([#1957](https://github.com/dashpay/platform/issues/1957))
+
+
+### Bug Fixes
+
+* Abstain and Lock trees for votes are now always first and fixed some limits ([#1921](https://github.com/dashpay/platform/issues/1921))
+* added description keyword to schema for contested index
+* allowed to make required fields optional ([#1919](https://github.com/dashpay/platform/issues/1919))
+* build broken after merge of contested unique indexes validation ([#1892](https://github.com/dashpay/platform/issues/1892))
+* cleanup fix and remove identitiesIdsOnly Vote State query ([#1890](https://github.com/dashpay/platform/issues/1890))
+* contested document resolution fixes 2 and improvement to masternode vote ([#1904](https://github.com/dashpay/platform/issues/1904))
+* contested resources query fixes ([#1896](https://github.com/dashpay/platform/issues/1896))
+* contested unique indexes can only be on non mutable document types ([#1891](https://github.com/dashpay/platform/issues/1891))
+* **dashmate:** cannot read properties of null (reading '1') ([#1939](https://github.com/dashpay/platform/issues/1939))
+* **dashmate:** restart platform waits for DKG ([#1944](https://github.com/dashpay/platform/issues/1944))
+* **dpp:** data contract validation issues ([#1851](https://github.com/dashpay/platform/issues/1851))
+* **dpp:** document factory wouldn't allow delete transitions for immutable document types ([#1956](https://github.com/dashpay/platform/issues/1956))
+* **drive:** add validation that an identity can not apply to be a contender in a contest twice. ([#1923](https://github.com/dashpay/platform/issues/1923))
+* **drive:** contested document resolution with masternode voting batch empty fix ([#1880](https://github.com/dashpay/platform/issues/1880))
+* **drive:** panic if PlatformState has serialisation error ([#1945](https://github.com/dashpay/platform/issues/1945))
+* **drive:** valid instant lock signatures marked as invalid ([#1946](https://github.com/dashpay/platform/issues/1946))
+* duplicate fields defined in DPNS contract
+* final clean up and fixing of contested resource voting PR
+* fixed voting strategy tests and cleanup
+* import fix for drive refactoring ([#1959](https://github.com/dashpay/platform/issues/1959))
+* incorrect proofs are returned for various state transitions ([#1912](https://github.com/dashpay/platform/issues/1912))
+* merkle root hash verification failed on devnet ([#1929](https://github.com/dashpay/platform/issues/1929))
+* minor issues detected by github actions ([#1928](https://github.com/dashpay/platform/issues/1928))
+* **sdk:** panic GrpcContextProvider on async call inside sync code ([#1870](https://github.com/dashpay/platform/issues/1870))
+* **sdk:** state transition broadcast missing contract provider ([#1913](https://github.com/dashpay/platform/issues/1913))
+* small fix fixing compilation
+* small fix for test: test_document_creation_on_contested_unique_index
+* some document error messages didnt specify the corresponding property ([#1873](https://github.com/dashpay/platform/issues/1873))
+* sum tree verification with specialized balances ([#1899](https://github.com/dashpay/platform/issues/1899))
+* voting proofs work as intended and various fixes ([#1910](https://github.com/dashpay/platform/issues/1910))
+
+
+### Build System
+
+* update rs-tenderdash-abci to 1.0.0-dev.1 ([#1909](https://github.com/dashpay/platform/issues/1909))
+* upgrade rs-tenderdash-abci to v1.0.0 and tenderdash to v1.0.0 ([#1918](https://github.com/dashpay/platform/issues/1918))
+* use ubuntu-platform github runner hardware for all github actions ([#1920](https://github.com/dashpay/platform/issues/1920))
+
+
+### Styles
+
+* **drive:** update formatting
+
+
+### Tests
+
+* fix documentTransition.hasPrefundedBalance is not a function ([#1931](https://github.com/dashpay/platform/issues/1931))
+* **sdk:** disable failing tests for bugs scheduled for future ([#1930](https://github.com/dashpay/platform/issues/1930))
+* **sdk:** increase test coverage of masternode voting ([#1906](https://github.com/dashpay/platform/issues/1906))
+* **sdk:** masternode voting SDK tests ([#1893](https://github.com/dashpay/platform/issues/1893))
+* **sdk:** regenerate test vectors for masternode voting ([#1927](https://github.com/dashpay/platform/issues/1927))
+* temporary skip withdrawal tests
+
+
+### Code Refactoring
+
+* changed Epoch serialization to make it slightly more efficient ([#1953](https://github.com/dashpay/platform/issues/1953))
+* cleanup of warnings and fix tests
+* extract document faker to crate ([#1887](https://github.com/dashpay/platform/issues/1887))
+* fees to use version system ([#1911](https://github.com/dashpay/platform/issues/1911))
+* final drive refactoring ([#1958](https://github.com/dashpay/platform/issues/1958))
+* move rs-random-document to separate crate ([#1952](https://github.com/dashpay/platform/issues/1952))
+* multiplier to version system and tests for refunds ([#1950](https://github.com/dashpay/platform/issues/1950))
+* rename DriveQuery to DriveDocumentQuery ([#1954](https://github.com/dashpay/platform/issues/1954))
+* use library for feature version ([#1938](https://github.com/dashpay/platform/issues/1938))
+
+
+### Continuous Integration
+
+* explicitly authenticate AWS ([#1960](https://github.com/dashpay/platform/issues/1960))
+
+
+### Miscellaneous Chores
+
+* autogenerated grpc code
+* better logging for devnet upgrade protocol test ([#1925](https://github.com/dashpay/platform/issues/1925))
+* **dashmate:** core RPC platform services authentication ([#1883](https://github.com/dashpay/platform/issues/1883))
+* **dashmate:** enable Core RPC whitelists ([#1962](https://github.com/dashpay/platform/issues/1962))
+* **dashmate:** provide debug information if version check fails ([#1936](https://github.com/dashpay/platform/issues/1936))
+* **dpp:** do not allow `dependentSchemas` ([#1888](https://github.com/dashpay/platform/issues/1888))
+* **drive:** additional logging and minor refactoring ([#1947](https://github.com/dashpay/platform/issues/1947))
+* **platform:** disable credit withdrawals in V1 ([#1961](https://github.com/dashpay/platform/issues/1961))
+* removed unused dpp code on state transition actions (old duplicate) ([#1955](https://github.com/dashpay/platform/issues/1955))
+* renamed back vote_choices to votes on places where it had been incorrectly changed
+* revisit system data contracts ([#1889](https://github.com/dashpay/platform/issues/1889))
+* temp squash of masternode voting into higher branch ([#1877](https://github.com/dashpay/platform/issues/1877))
+* update Cargo lock
+* update masternode voting tests after merging in v1
+* update to latest GroveDB (Proofs v1)
+* update to latest grovedb 1.0.0-rc.2 ([#1948](https://github.com/dashpay/platform/issues/1948))
+* validate that contested index is unique ([#1881](https://github.com/dashpay/platform/issues/1881))
+
+
+### Documentation
+
+* add llvm to README.md ([#1908](https://github.com/dashpay/platform/issues/1908))
+* badge link for CI was broken in README.md ([#1932](https://github.com/dashpay/platform/issues/1932))
+* update readme to add cmake ([#1837](https://github.com/dashpay/platform/issues/1837))
+
+## [1.0.0-dev.16](https://github.com/dashpay/platform/compare/v1.0.0-dev.15...v1.0.0-dev.16) (2024-06-29)
+
+
+### ⚠ BREAKING CHANGES
+
+* **drive:** verify instant lock signatures with Drive (#1875)
+* **dapi:** replace `getMnListDiff` with a streaming endpoint (#1859)
+* **dapi:** disable unnecessary for v1 endpoints (#1857)
+* **sdk:** dapi-grpc generated files overwritten on conflicting features (#1854)
+
+### Features
+
+* **dapi:** introduce `getBestBlockHeight` endpoint ([#1863](https://github.com/dashpay/platform/issues/1863))
+* **dpp:** random documents based on JSON schema ([#1710](https://github.com/dashpay/platform/issues/1710))
+* make data contract factory and json schema validator public
+
+
+### Bug Fixes
+
+* **dashmate:** background SSL renewal stuck on error ([#1897](https://github.com/dashpay/platform/issues/1897))
+* **dashmate:** failed to read docker data on update ([#1903](https://github.com/dashpay/platform/issues/1903))
+* **sdk:** dapi-grpc generated files overwritten on conflicting features ([#1854](https://github.com/dashpay/platform/issues/1854))
+* **sdk:** invalid error returned when identity create fails ([#1856](https://github.com/dashpay/platform/issues/1856))
+* security vulnerabilities in NPM deps ([#1860](https://github.com/dashpay/platform/issues/1860))
+* validator field didn't need to be public for JsonSchemaValidator
+
+
+### Performance Improvements
+
+* **dapi:** cache `getBestBlockHash` endpoint ([#1867](https://github.com/dashpay/platform/issues/1867))
+* **dapi:** cache `getBlockchainStatus` endpoint ([#1866](https://github.com/dashpay/platform/issues/1866))
+* **dapi:** get many transactions at once ([#1858](https://github.com/dashpay/platform/issues/1858))
+* **dapi:** replace `getMnListDiff` with a streaming endpoint ([#1859](https://github.com/dashpay/platform/issues/1859))
+* **dapi:** use cached core height in streaming endpoints ([#1865](https://github.com/dashpay/platform/issues/1865))
+* **drive:** verify instant lock signatures with Drive ([#1875](https://github.com/dashpay/platform/issues/1875))
+
+
+### Miscellaneous Chores
+
+* **dapi:** disable unnecessary for v1 endpoints ([#1857](https://github.com/dashpay/platform/issues/1857))
+* mute NPM audit warnings ([#1879](https://github.com/dashpay/platform/issues/1879))
+* update Karma to recent version ([#1901](https://github.com/dashpay/platform/issues/1901))
+* update websocket client ([#1895](https://github.com/dashpay/platform/issues/1895))
+
+
+### Code Refactoring
+
+* **dpp:** change String and ByteArray DocumentPropertyType sizes to structs ([#1874](https://github.com/dashpay/platform/issues/1874))
+* **drive:** encapsulate chain lock validation quorum logic ([#1868](https://github.com/dashpay/platform/issues/1868))
+
+## [1.0.0-dev.15](https://github.com/dashpay/platform/compare/v1.0.0-dev.14...v1.0.0-dev.15) (2024-05-22)
+
+
+### Miscellaneous Chores
+
+* **drive:** state transition observability ([#1846](https://github.com/dashpay/platform/issues/1846))
+
+## [1.0.0-dev.14](https://github.com/dashpay/platform/compare/v1.0.0-dev.13...v1.0.0-dev.14) (2024-05-17)
+
+
+### ⚠ BREAKING CHANGES
+
+* Data Contract Create and Update transitions validation logic is changed so previously created block chain data might not be valid anymore (#1835)
+
+### Features
+
+* **dashmate:** check for DKG before stopping node ([#1683](https://github.com/dashpay/platform/issues/1683))
+
+
+### Bug Fixes
+
+* data contract transition validation issues ([#1835](https://github.com/dashpay/platform/issues/1835))
+
+
+### Code Refactoring
+
+* rename `DataContractConfig.validate_config_update` ([#1843](https://github.com/dashpay/platform/issues/1843))
+* rename `validate` to `full_validation` ([#1845](https://github.com/dashpay/platform/issues/1845))
+
+## [1.0.0-dev.13](https://github.com/dashpay/platform/compare/v1.0.0-dev.12...v1.0.0-dev.13) (2024-05-09)
+
+
+### ⚠ BREAKING CHANGES
+
+* **sdk:** don't return Arc in SdkBuilder (#1838)
+* **platform:** document creation/update/deletion does not refetch contract (#1840)
+
+### Features
+
+* **dashmate:** handle docker pull error on images update ([#1685](https://github.com/dashpay/platform/issues/1685))
+* make document tranfers public
+* make start identities number u16
+* make purchase document public
+* make sdk document purchases public ([#1832](https://github.com/dashpay/platform/issues/1832))
+* make sdk files public
+* put index serialization behind feature
+* serialize for indexes and change error messages to strings
+* use all current identities for strategy test state transitions ([#1820](https://github.com/dashpay/platform/issues/1820))
+
+
+### Bug Fixes
+
+* **platform:** npm audit security fix ([#1836](https://github.com/dashpay/platform/issues/1836))
+
+
+### Code Refactoring
+
+* **platform:** document creation/update/deletion does not refetch contract ([#1840](https://github.com/dashpay/platform/issues/1840))
+* **sdk:** don't return Arc in SdkBuilder ([#1838](https://github.com/dashpay/platform/issues/1838))
+
+
+### Miscellaneous Chores
+
+* observability and security for HTTP gateway ([#1825](https://github.com/dashpay/platform/issues/1825))
+
+## [1.0.0-dev.12](https://github.com/dashpay/platform/compare/v1.0.0-dev.11...v1.0.0-dev.12) (2024-04-29)
+
+
+### ⚠ BREAKING CHANGES
+
+* Removed `getIdentities` and `getIdentitiesByPublicKeyHashes` endpoints in favor of `getIdentitiesContractKeys` (#1766)
+* **platform:** basic nft support (#1829)
+* **dapi:** `getStatus` is removed in favor of `getMasternodeStatus` and `getBlockchainStatus` (#1812)
+* **platform:** documents serialization format is changed that makes previously created block chain data invalid (#1826)
+
+### Features
+
+* **dapi:** split getStatus into two endpoints ([#1812](https://github.com/dashpay/platform/issues/1812))
+* **drive-abci:** configure dir to store rejected txs ([#1823](https://github.com/dashpay/platform/issues/1823))
+* getIdentitiesContractKeys endpoint ([#1766](https://github.com/dashpay/platform/issues/1766))
+* **platform:** ability to transfer documents ([#1826](https://github.com/dashpay/platform/issues/1826))
+* **platform:** basic nft support ([#1829](https://github.com/dashpay/platform/issues/1829))
+* **sdk:** add query for data contract history ([#1787](https://github.com/dashpay/platform/issues/1787))
+* **wallet-lib:** optional sync of the account ([#1830](https://github.com/dashpay/platform/issues/1830))
+
+
+### Bug Fixes
+
+* add tls-webpki-roots to support tls on mobile (Android, iOS) ([#1828](https://github.com/dashpay/platform/issues/1828))
+
+
+### Miscellaneous Chores
+
+* **dapi:** update autogenerated clients ([#1827](https://github.com/dashpay/platform/issues/1827))
+* **dashmate:** limit concurrent state transition checks ([#1824](https://github.com/dashpay/platform/issues/1824))
+
+## [1.0.0-dev.10](https://github.com/dashpay/platform/compare/v1.0.0-dev.9...v1.0.0-dev.10) (2024-04-04)
+
+
+### ⚠ BREAKING CHANGES
+
+There are multiple breaking changes that make previously created state invalid:
+* **drive:** addition key-value in epoch trees (#1778)
+* **platform:** processing costs were updated for some state transitions (#1805, #1800)
+* **drive:** now we count and persist a version proposal vote on the epoch change (#1769)
+* **drive:** protocol version for the first block of an epoch might be different (#1769)
+* **platform:** ST validation was changed, as well as some constants (#1796, #1795)
+* **dpp:** document type name must be 1 to 64 alphanumeric chars and "_", or "-" (#1798)
+* **platform:** max state transition is 20 kB (#1792)
+
+### Features
+
+* **dpp:** validate document type name ([#1798](https://github.com/dashpay/platform/issues/1798))
+* **drive-abci:** better processing costs of state transitions (no schema processing improvements) ([#1800](https://github.com/dashpay/platform/issues/1800))
+* **drive:** provide protocol version in epoch info query ([#1778](https://github.com/dashpay/platform/issues/1778))
+* pass asset lock vector rather than callback in strategies
+* **platform:** improved state processing fees ([#1805](https://github.com/dashpay/platform/issues/1805))
+* **platform:** mitigate issues of asset lock based transitions ([#1796](https://github.com/dashpay/platform/issues/1796))
+* **platform:** various document validation improvements ([#1795](https://github.com/dashpay/platform/issues/1795))
+* **strategy-tests:** add extra_keys field for StartIdentities and use random identities for transfers ([#1794](https://github.com/dashpay/platform/issues/1794))
+
+
+### Bug Fixes
+
+* **drive:** no longer build full grovedb when using verify feature ([#1804](https://github.com/dashpay/platform/issues/1804))
+* **drive:** versioning issues on epoch change ([#1769](https://github.com/dashpay/platform/issues/1769))
+* **platform:** max state transition size ([#1792](https://github.com/dashpay/platform/issues/1792))
+* **sdk:** not bumping nonce on contract creation ([#1801](https://github.com/dashpay/platform/issues/1801))
+* state transition already in chain error on low credit transfer amount ([#1797](https://github.com/dashpay/platform/issues/1797))
+* **strategy-tests:** default identity nonce and document op contract id ([#1777](https://github.com/dashpay/platform/issues/1777))
+
+
+### Performance Improvements
+
+* **platform:** use inline on versioned functions ([#1793](https://github.com/dashpay/platform/issues/1793))
+
+
+### Tests
+
+* added a test registering many random contracts in strategy tests ([#1791](https://github.com/dashpay/platform/issues/1791))
+
+
+### Miscellaneous Chores
+
+* **sdk:** export various libraries in rs-sdk ([#1802](https://github.com/dashpay/platform/issues/1802))
+
+## [1.0.0-dev.9](https://github.com/dashpay/platform/compare/v1.0.0-dev.8...v1.0.0-dev.9) (2024-03-19)
+
+
+### ⚠ BREAKING CHANGES
+
+* **sdk:** don't allow duplicate mock expectations (#1788)
+* created_at and updated_at from block time (#1780)
+* created_at_block_height and variants (#1784)
+
+
+### Features
+
+* created_at and updated_at from block time ([#1780](https://github.com/dashpay/platform/issues/1780))
+* created_at_block_height and variants ([#1784](https://github.com/dashpay/platform/issues/1784))
+
+
+### Bug Fixes
+
+* **drive:** internal error on querying proofs ([#1747](https://github.com/dashpay/platform/issues/1747))
+* identity add keys in strategy tests ([#1727](https://github.com/dashpay/platform/issues/1727))
+* **sdk:** don't allow duplicate mock expectations ([#1788](https://github.com/dashpay/platform/issues/1788))
+* query retry on race condition ([#1776](https://github.com/dashpay/platform/issues/1776))
+* identity state transition validation fixes ([#1786](https://github.com/dashpay/platform/issues/1786))
+
+
+### Code Refactoring
+
+* make strategy start identities a new struct ([#1764](https://github.com/dashpay/platform/issues/1764))
+* updated descriptions and function names in strategy tests plus readme file ([#1785](https://github.com/dashpay/platform/issues/1785))
+
+
+### Miscellaneous Chores
+
+* **dashmate:** readme fixes ([#1624](https://github.com/dashpay/platform/issues/1624))
+* fix npm audit for follow-redirects package ([#1781](https://github.com/dashpay/platform/issues/1781))
+* **dapi:** use broadcast_tx instead of deprecated broadcast_tx_sync ([#1775](https://github.com/dashpay/platform/issues/1775))
+
+
+### Build System
+
+* rs-tenderdash-abci 0.14.0-dev.9 ([#1782](https://github.com/dashpay/platform/issues/1782))
+
+
+### Continuous Integration
+
+* enforce warnings as errors ([#1783](https://github.com/dashpay/platform/issues/1783))
+* update doc build branch in action config ([#1748](https://github.com/dashpay/platform/issues/1748))
+
+## [1.0.0-dev.8](https://github.com/dashpay/platform/compare/v1.0.0-dev.7...v1.0.0-dev.8) (2024-03-14)
+
+
+### ⚠ BREAKING CHANGES
+
+* **platform:** identity update can not disable a key it is also adding (#1772)
+* **platform:** key disabled at based on state transition block time (#1771)
+* **platform:** data contract validation improvements (#1768)
+* update tenderdash to 0.14-dev.4 (#1770)
+* **platform:** advanced data contract structure validation position (#1763)
+
+### Features
+
+* **platform:** identity update can not disable a key it is also adding ([#1772](https://github.com/dashpay/platform/issues/1772))
+* **platform:** key disabled at based on state transition block time ([#1771](https://github.com/dashpay/platform/issues/1771))
+
+
+### Bug Fixes
+
+* **platform:** advanced data contract structure validation position ([#1763](https://github.com/dashpay/platform/issues/1763))
+* **platform:** data contract validation improvements ([#1768](https://github.com/dashpay/platform/issues/1768))
+* **platform:** wrong state used to get current validator set ([#1773](https://github.com/dashpay/platform/issues/1773))
+* remove unnecessary clone
+* update strategy test document transitions with initial contract ids
+
+
+### Code Refactoring
+
+* **drive:** relax versioning of calls with fees ([#1762](https://github.com/dashpay/platform/issues/1762))
+* drop unused includes; use calculate_sign_hash ([#1767](https://github.com/dashpay/platform/issues/1767))
+* resolve various warnings during build or by clippy ([#1761](https://github.com/dashpay/platform/issues/1761))
+* strategy test start identities ([#1749](https://github.com/dashpay/platform/issues/1749))
+
+
+### Miscellaneous Chores
+
+* **dashmate:** upgrade to Core 20.1 ([#1760](https://github.com/dashpay/platform/issues/1760))
+* update tenderdash to 0.14-dev.4 ([#1770](https://github.com/dashpay/platform/issues/1770))
+
+## [1.0.0-dev.7](https://github.com/dashpay/platform/compare/v1.0.0-dev.6...v1.0.0-dev.7) (2024-03-08)
+
+
+### ⚠ BREAKING CHANGES
+
+* **platform:** addded fee increase field to state transitions (#1750)
+
+### Features
+
+* enable random contract creation in strategies ([#1729](https://github.com/dashpay/platform/issues/1729))
+* **platform:** state transition fee increase and priorities ([#1750](https://github.com/dashpay/platform/issues/1750))
+
+
+### Bug Fixes
+
+* **drive:** inconsistent platform state and version during ABCI calls ([#1733](https://github.com/dashpay/platform/issues/1733))
+* **drive:** internal error on querying specific identity keys ([#1728](https://github.com/dashpay/platform/issues/1728))
+* resolve strategy-tests test failures ([#1743](https://github.com/dashpay/platform/issues/1743))
+
+
+### Documentation
+
+* update and expand mkdocs redirects ([#1740](https://github.com/dashpay/platform/issues/1740))
+
+
+### Code Refactoring
+
+* **drive:** expose more groveDB internals ([#1739](https://github.com/dashpay/platform/issues/1739))
+* reduce cargo clippy warnings ([#1738](https://github.com/dashpay/platform/issues/1738))
+* reduce cargo clippy warnings ([#1741](https://github.com/dashpay/platform/issues/1741))
+* reduce cargo clippy warnings in rs-dpp ([#1742](https://github.com/dashpay/platform/issues/1742))
+* resolve a few clippy warnings in dapi-grpc, rs-drive-proof-verifier, rs-platform-serialization, rs-platform-serialization-derive, rs-platform-value, rs-sdk, strategy-tests ([#1756](https://github.com/dashpay/platform/issues/1756))
+* resolve a few clippy warnings in rs-platform-serializaation and rs-platform-value ([#1744](https://github.com/dashpay/platform/issues/1744))
+* resolve clippy warnings in rs-dpp ([#1754](https://github.com/dashpay/platform/issues/1754))
+* resolve clippy warnings in rs-drive ([#1752](https://github.com/dashpay/platform/issues/1752))
+* resolve clippy warnings in rs-drive-abci ([#1755](https://github.com/dashpay/platform/issues/1755))
+* resolve clippy warnings in wasm-dpp ([#1753](https://github.com/dashpay/platform/issues/1753))
+
+
+### Miscellaneous Chores
+
+* fmt ([#1751](https://github.com/dashpay/platform/issues/1751))
+* update testnet genesis and core nightly ([#1758](https://github.com/dashpay/platform/issues/1758))
+
+## [1.0.0-dev.6](https://github.com/dashpay/platform/compare/v1.0.0-dev.5...v1.0.0-dev.6) (2024-03-05)
+
+
+### ⚠ BREAKING CHANGES
+
+* **platform:** identity nonce for Data Contract Create (#1724)
+
+### Features
+
+* add ContractUpdate to used_contract_ids function
+* **platform:** identity nonce for Data Contract Create ([#1724](https://github.com/dashpay/platform/issues/1724))
+* **sdk:** add fetch_current_with_metadata to ExtendedEpochInfo ([#1708](https://github.com/dashpay/platform/issues/1708))
+* **sdk:** fetch with metadata ([#1707](https://github.com/dashpay/platform/issues/1707))
+* **sdk:** re-fetch nonce on interval ([#1706](https://github.com/dashpay/platform/issues/1706))
+
+
+### Bug Fixes
+
+* **drive-abci:** reject reward shares operations ([#1722](https://github.com/dashpay/platform/issues/1722))
+* make strategy tests compatible with all networks and platform tui ([#1705](https://github.com/dashpay/platform/issues/1705))
+* **sdk:** nonce manager caching bug ([#1711](https://github.com/dashpay/platform/issues/1711))
+* **test-suite:** masternode identities ([#1709](https://github.com/dashpay/platform/issues/1709))
+
+
+### Performance Improvements
+
+* query and check tx parallel processing ([#1694](https://github.com/dashpay/platform/issues/1694))
+
+
+### Miscellaneous Chores
+
+* fix npm audit warning ([#1723](https://github.com/dashpay/platform/issues/1723))
+
+
+### Tests
+
+* **test-suite:** restore dpns tests ([#1725](https://github.com/dashpay/platform/issues/1725))
+* **test-suite:** withdrawals identityRecent index ([#1716](https://github.com/dashpay/platform/issues/1716))
+
+## [1.0.0-dev.5](https://github.com/dashpay/platform/compare/v1.0.0-dev.4...v1.0.0-dev.5) (2024-02-20)
+
+### ⚠ BREAKING CHANGES
+
+* Identity nonce and identity contract nonces to prevent replay attacks (#1681)
+* Improved check tx verification (#1681)
+* Do not allow creating data contracts without documents (#1675)
+
+### Features
+
+* State transitions support in rust sdk (#1596)
+* Mempool uniqueness by state transition identifiers (#1681)
+* Remove ability to verify proofs from drive-abci in order to have a smaller package size and to reduce potential issues (#1699)
+* Tenderdash mempool cache size config option (#1702)
+
+### Bug Fixes
+
+* Remove min core fee per byte check (#1690)
+* Fix proof balance and revision proofs for IdentityTopUp (#1678)
+* NPM IP package vulnerable to SSRF attacks (#1703)
+* Fix for contract proofs (#1699)
+
+### Miscellaneous Chores
+* Autogenerated clippy refactoring and fixes for rust version 1.76 (#1691)
+* Bump protoc to 25.2 (#1692)
+
+## [1.0.0-dev.4](https://github.com/dashpay/platform/compare/v1.0.0-dev.3...v1.0.0-dev.4) (2024-02-07)
+
+
+### ⚠ BREAKING CHANGES
+
+* The state now contains information about chain lock quorums (#1621)
+* Minimal asset lock amount is introduced that makes previous data invalid (#1667)
+* The initial state is changed (#1601)
+
+
+### Features
+
+* chainlock optimized verification ([#1621](https://github.com/dashpay/platform/issues/1621))
+* **drive:** validate asset lock proof minimal value ([#1667](https://github.com/dashpay/platform/issues/1667))
+* **drive:** withdrawals finalization ([#1601](https://github.com/dashpay/platform/issues/1601))
+
+
+### Bug Fixes
+
+* **dashmate:** service status when tenderdash is syncing ([#1682](https://github.com/dashpay/platform/issues/1682))
+* **drive:** invalid protocol version is using to deserialize state ([#1679](https://github.com/dashpay/platform/issues/1679))
+
+
+### Miscellaneous Chores
+
+* **dashmate:** update to core v20.1.0-devpr5806.a1814ce2 ([#1665](https://github.com/dashpay/platform/issues/1665))
+* system data contracts versioning ([#1676](https://github.com/dashpay/platform/issues/1676))
+* update rs-tenderdash-abci to v0.14.0-dev.6 and tenderdash to v0.14.0-dev.2 ([#1686](https://github.com/dashpay/platform/issues/1686))
+
+## [1.0.0-dev.3](https://github.com/dashpay/platform/compare/v1.0.0-dev.2...v1.0.0-dev.3) (2024-01-16)
+
+
+### Bug Fixes
+
+* **dapi:** internal errors if broadcasting failed ([#1673](https://github.com/dashpay/platform/issues/1673))
+
+## [1.0.0-dev.2](https://github.com/dashpay/platform/compare/v1.0.0-dev.1...v1.0.0-dev.2) (2024-01-12)
+
+
+### ⚠ BREAKING CHANGES
+
+* **dashmate:** adjust consensus params and enable re-check (#1669)
+* **drive-abci:** internal error if vote extension block is already committed (#1663)
+
+### Bug Fixes
+
+* broadcasting already invalidated transitions ([#1668](https://github.com/dashpay/platform/issues/1668))
+* **dashmate:** dapi kills host machine on container stop ([#1670](https://github.com/dashpay/platform/issues/1670))
+* **drive-abci:** internal error if vote extension block is already committed ([#1663](https://github.com/dashpay/platform/issues/1663))
+
+
+### Miscellaneous Chores
+
+* **dashmate:** adjust consensus params and enable re-check ([#1669](https://github.com/dashpay/platform/issues/1669))
+* **drive-abci:** fix state transition logging ([#1664](https://github.com/dashpay/platform/issues/1664))
+* various logging improvements ([#1666](https://github.com/dashpay/platform/issues/1666))
+
+## [1.0.0-dev.1](https://github.com/dashpay/platform/compare/v0.25.21...v1.0.0-dev.1) (2024-01-11)
+
+
+### ⚠ BREAKING CHANGES
+
+* invalid state transitions now included into blocks that makes previous chain data invalid. (#1657)
+* credit transfer state transition requires revision. (#1634)
+* calculated fee amounts are changed (#1656)
+
+### Features
+
+* **drive-abci:** include invalid state transitions into block ([#1657](https://github.com/dashpay/platform/issues/1657))
+* **drive-abci:** processing fees for signature verification ([#1656](https://github.com/dashpay/platform/issues/1656))
+* **drive-abci:** remove unnecessary validation from check tx and re-check ([#1647](https://github.com/dashpay/platform/issues/1647))
+* **sdk:** rs-sdk fetch current epoch ([#1604](https://github.com/dashpay/platform/issues/1604))
+
+
+### Bug Fixes
+
+* **platform:** credit transfer replay attack ([#1634](https://github.com/dashpay/platform/issues/1634))
+* **dapi**: internal error when mempool is full ([#1661](https://github.com/dashpay/platform/issues/1661))
+
+
+### Miscellaneous Chores
+
+* automatic clippy fixes ([#1528](https://github.com/dashpay/platform/issues/1528), [#1602](https://github.com/dashpay/platform/issues/1602))
+
### [0.25.21](https://github.com/dashpay/platform/compare/v0.25.20...v0.25.21) (2023-12-28)
diff --git a/CODEOWNERS b/CODEOWNERS
index 6bf6cba8c96..0af1265884e 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -1 +1 @@
-* @shumkov @antouhou @QuantumExplorer
\ No newline at end of file
+* @shumkov @QuantumExplorer
\ No newline at end of file
diff --git a/Cargo.lock b/Cargo.lock
index f142933a6f7..c62a1878c17 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,9 +4,9 @@ version = 3
[[package]]
name = "addr2line"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
+checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678"
dependencies = [
"gimli",
]
@@ -17,39 +17,63 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+[[package]]
+name = "adler2"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
+
+[[package]]
+name = "aes"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
+dependencies = [
+ "cfg-if",
+ "cipher",
+ "cpufeatures",
+]
+
[[package]]
name = "ahash"
-version = "0.7.7"
+version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd"
+checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
dependencies = [
"getrandom",
"once_cell",
- "serde",
"version_check",
]
[[package]]
name = "ahash"
-version = "0.8.6"
+version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a"
+checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
dependencies = [
"cfg-if",
+ "getrandom",
"once_cell",
+ "serde",
"version_check",
"zerocopy",
]
[[package]]
name = "aho-corasick"
-version = "1.1.2"
+version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
+checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
dependencies = [
"memchr",
]
+[[package]]
+name = "allocator-api2"
+version = "0.2.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
+
[[package]]
name = "android-tzdata"
version = "0.1.1"
@@ -67,47 +91,48 @@ dependencies = [
[[package]]
name = "anstream"
-version = "0.6.5"
+version = "0.6.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6"
+checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526"
dependencies = [
"anstyle",
"anstyle-parse",
"anstyle-query",
"anstyle-wincon",
"colorchoice",
+ "is_terminal_polyfill",
"utf8parse",
]
[[package]]
name = "anstyle"
-version = "1.0.4"
+version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87"
+checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
[[package]]
name = "anstyle-parse"
-version = "0.2.3"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c"
+checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb"
dependencies = [
"utf8parse",
]
[[package]]
name = "anstyle-query"
-version = "1.0.2"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"
+checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a"
dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "anstyle-wincon"
-version = "3.0.2"
+version = "3.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
+checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8"
dependencies = [
"anstyle",
"windows-sys 0.52.0",
@@ -115,21 +140,42 @@ dependencies = [
[[package]]
name = "anyhow"
-version = "1.0.75"
+version = "1.0.86"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"
+
+[[package]]
+name = "arbitrary"
+version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
+checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110"
+dependencies = [
+ "derive_arbitrary",
+]
+
+[[package]]
+name = "arc-swap"
+version = "1.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
[[package]]
name = "arrayref"
-version = "0.3.7"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545"
+checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a"
[[package]]
name = "arrayvec"
-version = "0.7.4"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
+checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
+
+[[package]]
+name = "assert_matches"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9"
[[package]]
name = "async-io"
@@ -179,20 +225,26 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "async-trait"
-version = "0.1.74"
+version = "0.1.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9"
+checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
[[package]]
name = "atty"
version = "0.2.14"
@@ -206,9 +258,9 @@ dependencies = [
[[package]]
name = "autocfg"
-version = "1.1.0"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
[[package]]
name = "axum"
@@ -217,13 +269,43 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf"
dependencies = [
"async-trait",
- "axum-core",
+ "axum-core 0.3.4",
"bitflags 1.3.2",
"bytes",
"futures-util",
- "http",
- "http-body",
- "hyper",
+ "http 0.2.12",
+ "http-body 0.4.6",
+ "hyper 0.14.30",
+ "itoa",
+ "matchit",
+ "memchr",
+ "mime",
+ "percent-encoding",
+ "pin-project-lite",
+ "rustversion",
+ "serde",
+ "sync_wrapper 0.1.2",
+ "tower",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "axum"
+version = "0.7.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf"
+dependencies = [
+ "async-trait",
+ "axum-core 0.4.3",
+ "axum-macros",
+ "bytes",
+ "futures-util",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "http-body-util",
+ "hyper 1.4.1",
+ "hyper-util",
"itoa",
"matchit",
"memchr",
@@ -232,10 +314,15 @@ dependencies = [
"pin-project-lite",
"rustversion",
"serde",
- "sync_wrapper",
+ "serde_json",
+ "serde_path_to_error",
+ "serde_urlencoded",
+ "sync_wrapper 1.0.1",
+ "tokio",
"tower",
"tower-layer",
"tower-service",
+ "tracing",
]
[[package]]
@@ -247,8 +334,8 @@ dependencies = [
"async-trait",
"bytes",
"futures-util",
- "http",
- "http-body",
+ "http 0.2.12",
+ "http-body 0.4.6",
"mime",
"rustversion",
"tower-layer",
@@ -256,12 +343,45 @@ dependencies = [
]
[[package]]
-name = "backon"
+name = "axum-core"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3"
+dependencies = [
+ "async-trait",
+ "bytes",
+ "futures-util",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "http-body-util",
+ "mime",
+ "pin-project-lite",
+ "rustversion",
+ "sync_wrapper 0.1.2",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "axum-macros"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c1a6197b2120bb2185a267f6515038558b019e92b832bb0320e96d66268dcf9"
+checksum = "00c055ee2d014ae5981ce1016374e8213682aa14d9bf40e48ab48b5f3ef20eaa"
dependencies = [
- "fastrand 1.9.0",
+ "heck 0.4.1",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.75",
+]
+
+[[package]]
+name = "backon"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d67782c3f868daa71d3533538e98a8e13713231969def7536e8039606fc46bf0"
+dependencies = [
+ "fastrand 2.1.0",
"futures-core",
"pin-project",
"tokio",
@@ -269,15 +389,15 @@ dependencies = [
[[package]]
name = "backtrace"
-version = "0.3.69"
+version = "0.3.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
+checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a"
dependencies = [
"addr2line",
"cc",
"cfg-if",
"libc",
- "miniz_oxide",
+ "miniz_oxide 0.7.4",
"object",
"rustc-demangle",
]
@@ -290,15 +410,15 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
[[package]]
name = "base64"
-version = "0.20.0"
+version = "0.21.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ea22880d78093b0cbe17c89f64a7d457941e65759157ec6cb31a31d652b05e5"
+checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
[[package]]
name = "base64"
-version = "0.21.5"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9"
+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "base64ct"
@@ -312,15 +432,6 @@ version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445"
-[[package]]
-name = "bincode"
-version = "1.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
-dependencies = [
- "serde",
-]
-
[[package]]
name = "bincode"
version = "2.0.0-rc.3"
@@ -353,16 +464,46 @@ dependencies = [
"lazycell",
"log",
"peeking_take_while",
- "prettyplease 0.2.15",
+ "prettyplease 0.2.20",
"proc-macro2",
"quote",
"regex",
"rustc-hash",
"shlex",
- "syn 2.0.41",
+ "syn 2.0.75",
"which",
]
+[[package]]
+name = "bindgen"
+version = "0.69.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
+dependencies = [
+ "bitflags 2.6.0",
+ "cexpr",
+ "clang-sys",
+ "itertools 0.12.1",
+ "lazy_static",
+ "lazycell",
+ "proc-macro2",
+ "quote",
+ "regex",
+ "rustc-hash",
+ "shlex",
+ "syn 2.0.75",
+]
+
+[[package]]
+name = "bip37-bloom-filter"
+version = "0.1.0"
+source = "git+https://github.com/dashpay/rs-bip37-bloom-filter?branch=develop#352fa2312fd6e0f47bf4cba3a67bfd78c3ba763b"
+dependencies = [
+ "bitvec",
+ "murmur3",
+ "thiserror",
+]
+
[[package]]
name = "bit-set"
version = "0.5.3"
@@ -401,9 +542,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitflags"
-version = "2.4.1"
+version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
+checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
[[package]]
name = "bitvec"
@@ -419,15 +560,15 @@ dependencies = [
[[package]]
name = "blake3"
-version = "1.5.0"
+version = "1.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87"
+checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7"
dependencies = [
"arrayref",
"arrayvec",
"cc",
"cfg-if",
- "constant_time_eq",
+ "constant_time_eq 0.3.0",
]
[[package]]
@@ -442,9 +583,9 @@ dependencies = [
[[package]]
name = "bls-dash-sys"
version = "1.2.5"
-source = "git+https://github.com/dashpay/bls-signatures?branch=develop#3540b8bbed47e04ed6f02eea2141bd62dae0c411"
+source = "git+https://github.com/dashpay/bls-signatures?tag=v1.3.1#1c2fc79c19dc8041610c005e68d58bfb4bc32721"
dependencies = [
- "bindgen",
+ "bindgen 0.65.1",
"cc",
"glob",
]
@@ -452,7 +593,7 @@ dependencies = [
[[package]]
name = "bls-signatures"
version = "1.2.5"
-source = "git+https://github.com/dashpay/bls-signatures?branch=develop#3540b8bbed47e04ed6f02eea2141bd62dae0c411"
+source = "git+https://github.com/dashpay/bls-signatures?tag=v1.3.1#1c2fc79c19dc8041610c005e68d58bfb4bc32721"
dependencies = [
"bls-dash-sys",
"hex",
@@ -462,9 +603,9 @@ dependencies = [
[[package]]
name = "borsh"
-version = "1.2.1"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9897ef0f1bd2362169de6d7e436ea2237dc1085d7d1e4db75f4be34d86f309d1"
+checksum = "a6362ed55def622cddc70a4746a68554d7b687713770de539e59a739b249f8ed"
dependencies = [
"borsh-derive",
"cfg_aliases",
@@ -472,15 +613,15 @@ dependencies = [
[[package]]
name = "borsh-derive"
-version = "1.2.1"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "478b41ff04256c5c8330f3dfdaaae2a5cc976a8e75088bafa4625b0d0208de8c"
+checksum = "c3ef8005764f53cd4dca619f5bf64cafd4664dada50ece25e4d81de54c80cc0b"
dependencies = [
"once_cell",
- "proc-macro-crate 2.0.1",
+ "proc-macro-crate 3.1.0",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
"syn_derive",
]
@@ -492,24 +633,24 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3"
[[package]]
name = "bs58"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896"
+checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4"
dependencies = [
"tinyvec",
]
[[package]]
name = "bumpalo"
-version = "3.14.0"
+version = "3.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec"
+checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
[[package]]
name = "bytecheck"
-version = "0.6.11"
+version = "0.6.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627"
+checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2"
dependencies = [
"bytecheck_derive",
"ptr_meta",
@@ -518,9 +659,9 @@ dependencies = [
[[package]]
name = "bytecheck_derive"
-version = "0.6.11"
+version = "0.6.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61"
+checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659"
dependencies = [
"proc-macro2",
"quote",
@@ -529,9 +670,9 @@ dependencies = [
[[package]]
name = "bytecount"
-version = "0.6.7"
+version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1e5f035d16fc623ae5f74981db80a439803888314e3a555fd6f04acd51a3205"
+checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce"
[[package]]
name = "byteorder"
@@ -541,13 +682,23 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
-version = "1.5.0"
+version = "1.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
+checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50"
dependencies = [
"serde",
]
+[[package]]
+name = "bzip2"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
+dependencies = [
+ "bzip2-sys",
+ "libc",
+]
+
[[package]]
name = "bzip2-sys"
version = "0.1.11+1.0.8"
@@ -561,18 +712,18 @@ dependencies = [
[[package]]
name = "camino"
-version = "1.1.6"
+version = "1.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c"
+checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3"
dependencies = [
"serde",
]
[[package]]
name = "cargo-platform"
-version = "0.1.5"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e34637b3140142bdf929fb439e8aa4ebad7651ebf7b1080b3930aa16ac1459ff"
+checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc"
dependencies = [
"serde",
]
@@ -598,12 +749,13 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
[[package]]
name = "cc"
-version = "1.0.83"
+version = "1.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
+checksum = "72db2f7947ecee9b03b510377e8bb9077afa27176fdbff55c51027e976fdcc48"
dependencies = [
"jobserver",
"libc",
+ "shlex",
]
[[package]]
@@ -623,15 +775,22 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "cfg_aliases"
-version = "0.1.1"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
+checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
+
+[[package]]
+name = "check-features"
+version = "1.1.0-dev.1"
+dependencies = [
+ "toml",
+]
[[package]]
name = "chrono"
-version = "0.4.31"
+version = "0.4.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38"
+checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
dependencies = [
"android-tzdata",
"iana-time-zone",
@@ -639,7 +798,7 @@ dependencies = [
"num-traits",
"serde",
"wasm-bindgen",
- "windows-targets 0.48.5",
+ "windows-targets 0.52.6",
]
[[package]]
@@ -666,11 +825,21 @@ dependencies = [
"half",
]
+[[package]]
+name = "cipher"
+version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
+dependencies = [
+ "crypto-common",
+ "inout",
+]
+
[[package]]
name = "clang-sys"
-version = "1.6.1"
+version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
+checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
dependencies = [
"glob",
"libc",
@@ -690,9 +859,9 @@ dependencies = [
[[package]]
name = "clap"
-version = "4.4.11"
+version = "4.5.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2"
+checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019"
dependencies = [
"clap_builder",
"clap_derive",
@@ -700,9 +869,9 @@ dependencies = [
[[package]]
name = "clap_builder"
-version = "4.4.11"
+version = "4.5.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb"
+checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6"
dependencies = [
"anstream",
"anstyle",
@@ -712,46 +881,82 @@ dependencies = [
[[package]]
name = "clap_derive"
-version = "4.4.7"
+version = "4.5.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442"
+checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0"
dependencies = [
- "heck",
+ "heck 0.5.0",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "clap_lex"
-version = "0.6.0"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1"
+checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
[[package]]
name = "colorchoice"
-version = "1.0.0"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
+checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0"
[[package]]
name = "colored"
-version = "1.9.4"
+version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a5f741c91823341bebf717d4c71bda820630ce065443b58bd1b7451af008355"
+checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
dependencies = [
- "is-terminal",
"lazy_static",
- "winapi",
+ "windows-sys 0.48.0",
]
[[package]]
name = "concurrent-queue"
-version = "2.4.0"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "console-api"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd326812b3fd01da5bb1af7d340d0d555fd3d4b641e7f1dfcf5962a902952787"
+dependencies = [
+ "futures-core",
+ "prost 0.12.6",
+ "prost-types 0.12.6",
+ "tonic 0.10.2",
+ "tracing-core",
+]
+
+[[package]]
+name = "console-subscriber"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363"
+checksum = "7481d4c57092cd1c19dd541b92bdce883de840df30aa5d03fd48a3935c01842e"
dependencies = [
+ "console-api",
+ "crossbeam-channel",
"crossbeam-utils",
+ "futures-task",
+ "hdrhistogram",
+ "humantime",
+ "prost-types 0.12.6",
+ "serde",
+ "serde_json",
+ "thread_local",
+ "tokio",
+ "tokio-stream",
+ "tonic 0.10.2",
+ "tracing",
+ "tracing-core",
+ "tracing-subscriber",
]
[[package]]
@@ -760,6 +965,12 @@ version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+[[package]]
+name = "constant_time_eq"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
+
[[package]]
name = "constant_time_eq"
version = "0.3.0"
@@ -784,24 +995,24 @@ dependencies = [
[[package]]
name = "core-foundation-sys"
-version = "0.8.6"
+version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "cpufeatures"
-version = "0.2.11"
+version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0"
+checksum = "51e852e6dc9a5bed1fae92dd2375037bf2b768725bf3be87811edee3249d09ad"
dependencies = [
"libc",
]
[[package]]
name = "crc32fast"
-version = "1.3.2"
+version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
+checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
dependencies = [
"cfg-if",
]
@@ -817,7 +1028,7 @@ dependencies = [
"clap 2.34.0",
"criterion-plot",
"csv",
- "itertools",
+ "itertools 0.10.5",
"lazy_static",
"num-traits",
"oorandom",
@@ -839,50 +1050,42 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2673cc8207403546f45f5fd319a974b1e6983ad1a3ee7e6041650013be041876"
dependencies = [
"cast",
- "itertools",
+ "itertools 0.10.5",
]
[[package]]
name = "crossbeam-channel"
-version = "0.5.9"
+version = "0.5.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14c3242926edf34aec4ac3a77108ad4854bffaa2e4ddc1824124ce59231302d5"
+checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2"
dependencies = [
- "cfg-if",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-deque"
-version = "0.8.4"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751"
+checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
dependencies = [
- "cfg-if",
"crossbeam-epoch",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-epoch"
-version = "0.9.16"
+version = "0.9.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d2fe95351b870527a5d09bf563ed3c97c0cffb87cf1c78a591bf48bb218d9aa"
+checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
dependencies = [
- "autocfg",
- "cfg-if",
"crossbeam-utils",
- "memoffset",
]
[[package]]
name = "crossbeam-utils"
-version = "0.8.17"
+version = "0.8.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c06d96137f14f244c37f989d9fff8f95e6c18b918e71f36638f8c49112e4c78f"
-dependencies = [
- "cfg-if",
-]
+checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
[[package]]
name = "crypto-common"
@@ -917,16 +1120,15 @@ dependencies = [
[[package]]
name = "curve25519-dalek"
-version = "4.1.1"
+version = "4.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c"
+checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be"
dependencies = [
"cfg-if",
"cpufeatures",
"curve25519-dalek-derive",
"digest",
"fiat-crypto",
- "platforms",
"rustc_version",
"subtle",
"zeroize",
@@ -940,38 +1142,40 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "dapi-grpc"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"dapi-grpc-macros",
+ "futures-core",
"platform-version",
- "prost 0.11.9",
+ "prost 0.12.6",
"serde",
"serde_bytes",
- "tenderdash-proto 0.14.0-dev.1 (git+https://github.com/dashpay/rs-tenderdash-abci)",
- "tonic",
- "tonic-build",
+ "serde_json",
+ "tenderdash-proto",
+ "tonic 0.11.0",
+ "tonic-build 0.9.2",
]
[[package]]
name = "dapi-grpc-macros"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"dapi-grpc",
- "heck",
+ "heck 0.5.0",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "darling"
-version = "0.20.3"
+version = "0.20.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e"
+checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989"
dependencies = [
"darling_core",
"darling_macro",
@@ -979,33 +1183,72 @@ dependencies = [
[[package]]
name = "darling_core"
-version = "0.20.3"
+version = "0.20.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621"
+checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5"
dependencies = [
"fnv",
"ident_case",
"proc-macro2",
"quote",
"strsim",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "darling_macro"
-version = "0.20.3"
+version = "0.20.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5"
+checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
dependencies = [
"darling_core",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
+]
+
+[[package]]
+name = "dash-sdk"
+version = "1.1.0-dev.1"
+dependencies = [
+ "arc-swap",
+ "async-trait",
+ "base64 0.22.1",
+ "bip37-bloom-filter",
+ "chrono",
+ "ciborium",
+ "clap 4.5.16",
+ "dapi-grpc",
+ "dapi-grpc-macros",
+ "dashcore-rpc",
+ "data-contracts",
+ "derive_more",
+ "dotenvy",
+ "dpp",
+ "drive",
+ "drive-proof-verifier",
+ "envy",
+ "futures",
+ "hex",
+ "http 0.2.12",
+ "lru",
+ "pollster",
+ "rs-dapi-client",
+ "sanitize-filename",
+ "serde",
+ "serde_json",
+ "test-case 3.3.1",
+ "thiserror",
+ "tokio",
+ "tokio-test",
+ "tokio-util",
+ "tracing",
+ "tracing-subscriber",
]
[[package]]
name = "dashcore"
version = "0.30.0"
-source = "git+https://github.com/dashpay/rust-dashcore?branch=master#35a166e76256edc5ca491163d9050ead0e0f50d5"
+source = "git+https://github.com/dashpay/rust-dashcore?branch=master#a29315dbe56729be1be963fb6f7b60a22288663f"
dependencies = [
"anyhow",
"bech32",
@@ -1021,16 +1264,16 @@ dependencies = [
[[package]]
name = "dashcore-private"
version = "0.1.0"
-source = "git+https://github.com/dashpay/rust-dashcore?branch=master#35a166e76256edc5ca491163d9050ead0e0f50d5"
+source = "git+https://github.com/dashpay/rust-dashcore?branch=master#a29315dbe56729be1be963fb6f7b60a22288663f"
[[package]]
name = "dashcore-rpc"
-version = "0.15.1"
-source = "git+https://github.com/dashpay/rust-dashcore-rpc?branch=master#016e3af953fe92e0e58a8fe2b3958334e318b6c0"
+version = "0.15.2"
+source = "git+https://github.com/dashpay/rust-dashcore-rpc?tag=v0.15.4#bd6efdb850151f1dcd8e3f38d4796d18c5be518c"
dependencies = [
"dashcore-private",
"dashcore-rpc-json",
- "env_logger 0.10.1",
+ "env_logger 0.10.2",
"hex",
"jsonrpc",
"log",
@@ -1040,10 +1283,10 @@ dependencies = [
[[package]]
name = "dashcore-rpc-json"
-version = "0.15.1"
-source = "git+https://github.com/dashpay/rust-dashcore-rpc?branch=master#016e3af953fe92e0e58a8fe2b3958334e318b6c0"
+version = "0.15.2"
+source = "git+https://github.com/dashpay/rust-dashcore-rpc?tag=v0.15.4#bd6efdb850151f1dcd8e3f38d4796d18c5be518c"
dependencies = [
- "bincode 2.0.0-rc.3",
+ "bincode",
"dashcore",
"hex",
"serde",
@@ -1055,7 +1298,7 @@ dependencies = [
[[package]]
name = "dashcore_hashes"
version = "0.12.0"
-source = "git+https://github.com/dashpay/rust-dashcore?branch=master#35a166e76256edc5ca491163d9050ead0e0f50d5"
+source = "git+https://github.com/dashpay/rust-dashcore?branch=master#a29315dbe56729be1be963fb6f7b60a22288663f"
dependencies = [
"dashcore-private",
"rs-x11-hash",
@@ -1065,22 +1308,26 @@ dependencies = [
[[package]]
name = "dashpay-contract"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"platform-value",
+ "platform-version",
"serde_json",
+ "thiserror",
]
[[package]]
name = "data-contracts"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"dashpay-contract",
"dpns-contract",
"feature-flags-contract",
"masternode-reward-shares-contract",
"platform-value",
+ "platform-version",
"serde_json",
+ "thiserror",
"withdrawals-contract",
]
@@ -1097,9 +1344,9 @@ dependencies = [
[[package]]
name = "der"
-version = "0.7.8"
+version = "0.7.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c"
+checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0"
dependencies = [
"const-oid",
"zeroize",
@@ -1107,25 +1354,36 @@ dependencies = [
[[package]]
name = "deranged"
-version = "0.3.10"
+version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc"
+checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
dependencies = [
"powerfmt",
"serde",
]
[[package]]
-name = "derive_more"
-version = "0.99.17"
+name = "derive_arbitrary"
+version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
+checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611"
dependencies = [
- "convert_case",
"proc-macro2",
"quote",
- "rustc_version",
- "syn 1.0.109",
+ "syn 2.0.75",
+]
+
+[[package]]
+name = "derive_more"
+version = "0.99.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce"
+dependencies = [
+ "convert_case",
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "syn 2.0.75",
]
[[package]]
@@ -1148,6 +1406,18 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
"crypto-common",
+ "subtle",
+]
+
+[[package]]
+name = "displaydoc"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.75",
]
[[package]]
@@ -1164,20 +1434,23 @@ checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1"
[[package]]
name = "dpns-contract"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"platform-value",
+ "platform-version",
"serde_json",
+ "thiserror",
]
[[package]]
name = "dpp"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"anyhow",
+ "assert_matches",
"async-trait",
- "base64 0.20.0",
- "bincode 2.0.0-rc.3",
+ "base64 0.22.1",
+ "bincode",
"bls-signatures",
"bs58 0.4.0",
"byteorder",
@@ -1188,20 +1461,19 @@ dependencies = [
"derive_more",
"dpp",
"ed25519-dalek",
- "enum-map",
"env_logger 0.9.3",
"getrandom",
"hex",
- "indexmap 2.1.0",
- "integer-encoding 4.0.0",
- "itertools",
- "json-patch",
- "jsonptr",
+ "indexmap 2.4.0",
+ "integer-encoding",
+ "itertools 0.12.1",
+ "json-schema-compatibility-validator",
"jsonschema",
"lazy_static",
"log",
"nohash-hasher",
"num_enum",
+ "once_cell",
"platform-serialization",
"platform-serialization-derive",
"platform-value",
@@ -1216,18 +1488,20 @@ dependencies = [
"serde_json",
"serde_repr",
"sha2",
- "test-case",
+ "strum 0.25.0",
+ "test-case 2.2.2",
"thiserror",
"tokio",
]
[[package]]
name = "drive"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
- "anyhow",
- "base64 0.21.5",
- "bs58 0.5.0",
+ "arc-swap",
+ "base64 0.22.1",
+ "bincode",
+ "bs58 0.5.1",
"byteorder",
"chrono",
"ciborium",
@@ -1239,13 +1513,16 @@ dependencies = [
"grovedb-costs",
"grovedb-path",
"grovedb-storage",
+ "grovedb-version",
"hex",
- "indexmap 1.9.3",
- "integer-encoding 4.0.0",
+ "indexmap 2.4.0",
+ "integer-encoding",
"intmap",
- "itertools",
+ "itertools 0.11.0",
"moka",
"nohash-hasher",
+ "once_cell",
+ "parking_lot",
"platform-version",
"rand",
"serde",
@@ -1258,16 +1535,18 @@ dependencies = [
[[package]]
name = "drive-abci"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
+ "arc-swap",
+ "assert_matches",
+ "async-trait",
"atty",
- "base64 0.20.0",
- "bincode 2.0.0-rc.3",
- "bs58 0.4.0",
- "bytes",
+ "base64 0.22.1",
+ "bincode",
"chrono",
"ciborium",
- "clap 4.4.11",
+ "clap 4.5.16",
+ "console-subscriber",
"dapi-grpc",
"dashcore-rpc",
"delegate",
@@ -1275,18 +1554,19 @@ dependencies = [
"dotenvy",
"dpp",
"drive",
+ "drive-abci",
"envy",
"file-rotate",
"hex",
- "indexmap 1.9.3",
- "integer-encoding 4.0.0",
- "itertools",
+ "indexmap 2.4.0",
+ "integer-encoding",
+ "itertools 0.10.5",
"lazy_static",
"metrics",
"metrics-exporter-prometheus",
"mockall",
"platform-version",
- "prost 0.11.9",
+ "prost 0.12.6",
"rand",
"regex",
"reopen",
@@ -1295,12 +1575,10 @@ dependencies = [
"rust_decimal_macros",
"serde",
"serde_json",
- "serde_with 3.4.0",
- "sha2",
"simple-signer",
"strategy-tests",
"tempfile",
- "tenderdash-abci 0.14.0-dev.1 (git+https://github.com/dashpay/rs-tenderdash-abci?tag=v0.14.0-dev.2)",
+ "tenderdash-abci",
"thiserror",
"tokio",
"tokio-util",
@@ -1312,16 +1590,19 @@ dependencies = [
[[package]]
name = "drive-proof-verifier"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
+ "bincode",
"dapi-grpc",
+ "derive_more",
"dpp",
"drive",
"hex",
- "lazy_static",
+ "platform-serialization",
+ "platform-serialization-derive",
"serde",
"serde_json",
- "tenderdash-abci 0.14.0-dev.1 (git+https://github.com/dashpay/rs-tenderdash-abci)",
+ "tenderdash-abci",
"thiserror",
"tracing",
]
@@ -1359,9 +1640,9 @@ dependencies = [
[[package]]
name = "ed25519-dalek"
-version = "2.1.0"
+version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0"
+checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871"
dependencies = [
"curve25519-dalek",
"ed25519",
@@ -1374,9 +1655,18 @@ dependencies = [
[[package]]
name = "either"
-version = "1.9.0"
+version = "1.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
+
+[[package]]
+name = "encoding_rs"
+version = "0.8.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
+checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59"
+dependencies = [
+ "cfg-if",
+]
[[package]]
name = "enum-map"
@@ -1395,7 +1685,7 @@ checksum = "f282cfdfe92516eb26c2af8589c274c7c17681f5ecc03c18255fe741c6aa64eb"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
@@ -1413,9 +1703,9 @@ dependencies = [
[[package]]
name = "env_logger"
-version = "0.10.1"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece"
+checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580"
dependencies = [
"humantime",
"is-terminal",
@@ -1441,9 +1731,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]]
name = "errno"
-version = "0.3.8"
+version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
+checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
dependencies = [
"libc",
"windows-sys 0.52.0",
@@ -1488,12 +1778,13 @@ dependencies = [
[[package]]
name = "fancy-regex"
-version = "0.7.1"
+version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d6b8560a05112eb52f04b00e5d3790c0dd75d9d980eb8a122fb23b92a623ccf"
+checksum = "531e46835a22af56d1e3b66f04844bed63158bc094a628bec1d321d9b4c44bf2"
dependencies = [
"bit-set",
- "regex",
+ "regex-automata 0.4.7",
+ "regex-syntax 0.8.4",
]
[[package]]
@@ -1507,29 +1798,31 @@ dependencies = [
[[package]]
name = "fastrand"
-version = "2.0.1"
+version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
+checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
[[package]]
name = "feature-flags-contract"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"platform-value",
+ "platform-version",
"serde_json",
+ "thiserror",
]
[[package]]
name = "fiat-crypto"
-version = "0.2.5"
+version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7"
+checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
[[package]]
name = "file-rotate"
-version = "0.7.5"
+version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddf221ceec4517f3cb764dae3541b2bd87666fc8832e51322fbb97250b468c71"
+checksum = "7a3ed82142801f5b1363f7d463963d114db80f467e860b1cd82228eaebc627a0"
dependencies = [
"chrono",
"flate2",
@@ -1543,12 +1836,12 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flate2"
-version = "1.0.28"
+version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e"
+checksum = "9c0596c1eac1f9e04ed902702e9878208b336edc9d6fddc8a48387349bab3666"
dependencies = [
"crc32fast",
- "miniz_oxide",
+ "miniz_oxide 0.8.0",
]
[[package]]
@@ -1575,6 +1868,21 @@ version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+[[package]]
+name = "foreign-types"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
+dependencies = [
+ "foreign-types-shared",
+]
+
+[[package]]
+name = "foreign-types-shared"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
+
[[package]]
name = "form_urlencoded"
version = "1.2.1"
@@ -1586,9 +1894,9 @@ dependencies = [
[[package]]
name = "fraction"
-version = "0.9.0"
+version = "0.15.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aba3510011eee8825018be07f08d9643421de007eaf62a3bde58d89b058abfa7"
+checksum = "0f158e3ff0a1b334408dc9fb811cd99b446986f4d8b741bb08f9df1604085ae7"
dependencies = [
"lazy_static",
"num",
@@ -1614,9 +1922,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
[[package]]
name = "futures"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335"
+checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
dependencies = [
"futures-channel",
"futures-core",
@@ -1629,9 +1937,9 @@ dependencies = [
[[package]]
name = "futures-channel"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb"
+checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
dependencies = [
"futures-core",
"futures-sink",
@@ -1639,15 +1947,15 @@ dependencies = [
[[package]]
name = "futures-core"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c"
+checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
[[package]]
name = "futures-executor"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc"
+checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
dependencies = [
"futures-core",
"futures-task",
@@ -1656,9 +1964,9 @@ dependencies = [
[[package]]
name = "futures-io"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa"
+checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
[[package]]
name = "futures-lite"
@@ -1677,32 +1985,32 @@ dependencies = [
[[package]]
name = "futures-macro"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb"
+checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "futures-sink"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817"
+checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
[[package]]
name = "futures-task"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2"
+checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
[[package]]
name = "futures-util"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104"
+checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
dependencies = [
"futures-channel",
"futures-core",
@@ -1728,9 +2036,9 @@ dependencies = [
[[package]]
name = "getrandom"
-version = "0.2.11"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f"
+checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
dependencies = [
"cfg-if",
"js-sys",
@@ -1741,9 +2049,9 @@ dependencies = [
[[package]]
name = "gimli"
-version = "0.28.1"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
+checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
[[package]]
name = "glob"
@@ -1753,41 +2061,53 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "grovedb"
-version = "1.0.0-rc.2"
-source = "git+https://github.com/dashpay/grovedb?rev=b40dd1a35f852c81caeda2d3c2910c40fae3a67f#b40dd1a35f852c81caeda2d3c2910c40fae3a67f"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/grovedb?rev=2c14841e95b4222d489f0655c85238bc05267b91#2c14841e95b4222d489f0655c85238bc05267b91"
dependencies = [
- "bincode 1.3.3",
+ "axum 0.7.5",
+ "bincode",
+ "bitvec",
+ "blake3",
+ "derive_more",
"grovedb-costs",
"grovedb-merk",
"grovedb-path",
"grovedb-storage",
+ "grovedb-version",
"grovedb-visualize",
+ "grovedbg-types",
"hex",
- "indexmap 1.9.3",
- "integer-encoding 3.0.4",
+ "hex-literal",
+ "indexmap 2.4.0",
+ "integer-encoding",
"intmap",
- "itertools",
+ "itertools 0.12.1",
"nohash-hasher",
- "serde",
+ "reqwest",
+ "sha2",
"tempfile",
"thiserror",
+ "tokio",
+ "tower-http",
+ "zip-extensions",
]
[[package]]
name = "grovedb-costs"
-version = "1.0.0-rc.2"
-source = "git+https://github.com/dashpay/grovedb?rev=b40dd1a35f852c81caeda2d3c2910c40fae3a67f#b40dd1a35f852c81caeda2d3c2910c40fae3a67f"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/grovedb?rev=2c14841e95b4222d489f0655c85238bc05267b91#2c14841e95b4222d489f0655c85238bc05267b91"
dependencies = [
- "integer-encoding 3.0.4",
+ "integer-encoding",
"intmap",
"thiserror",
]
[[package]]
name = "grovedb-merk"
-version = "1.0.0-rc.2"
-source = "git+https://github.com/dashpay/grovedb?rev=b40dd1a35f852c81caeda2d3c2910c40fae3a67f#b40dd1a35f852c81caeda2d3c2910c40fae3a67f"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/grovedb?rev=2c14841e95b4222d489f0655c85238bc05267b91#2c14841e95b4222d489f0655c85238bc05267b91"
dependencies = [
+ "bincode",
"blake3",
"byteorder",
"colored",
@@ -1796,11 +2116,11 @@ dependencies = [
"grovedb-costs",
"grovedb-path",
"grovedb-storage",
+ "grovedb-version",
"grovedb-visualize",
"hex",
- "indexmap 1.9.3",
- "integer-encoding 3.0.4",
- "jemallocator",
+ "indexmap 2.4.0",
+ "integer-encoding",
"num_cpus",
"rand",
"thiserror",
@@ -1809,50 +2129,87 @@ dependencies = [
[[package]]
name = "grovedb-path"
-version = "1.0.0-rc.2"
-source = "git+https://github.com/dashpay/grovedb?rev=b40dd1a35f852c81caeda2d3c2910c40fae3a67f#b40dd1a35f852c81caeda2d3c2910c40fae3a67f"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/grovedb?rev=2c14841e95b4222d489f0655c85238bc05267b91#2c14841e95b4222d489f0655c85238bc05267b91"
[[package]]
name = "grovedb-storage"
-version = "1.0.0-rc.2"
-source = "git+https://github.com/dashpay/grovedb?rev=b40dd1a35f852c81caeda2d3c2910c40fae3a67f#b40dd1a35f852c81caeda2d3c2910c40fae3a67f"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/grovedb?rev=2c14841e95b4222d489f0655c85238bc05267b91#2c14841e95b4222d489f0655c85238bc05267b91"
dependencies = [
"blake3",
"grovedb-costs",
"grovedb-path",
"grovedb-visualize",
"hex",
- "integer-encoding 3.0.4",
+ "integer-encoding",
"lazy_static",
"num_cpus",
"rocksdb",
- "strum",
+ "strum 0.26.3",
"tempfile",
"thiserror",
]
+[[package]]
+name = "grovedb-version"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/grovedb?rev=2c14841e95b4222d489f0655c85238bc05267b91#2c14841e95b4222d489f0655c85238bc05267b91"
+dependencies = [
+ "thiserror",
+ "versioned-feature-core 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
[[package]]
name = "grovedb-visualize"
-version = "1.0.0-rc.2"
-source = "git+https://github.com/dashpay/grovedb?rev=b40dd1a35f852c81caeda2d3c2910c40fae3a67f#b40dd1a35f852c81caeda2d3c2910c40fae3a67f"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/grovedb?rev=2c14841e95b4222d489f0655c85238bc05267b91#2c14841e95b4222d489f0655c85238bc05267b91"
dependencies = [
"hex",
- "itertools",
+ "itertools 0.12.1",
+]
+
+[[package]]
+name = "grovedbg-types"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/grovedb?rev=2c14841e95b4222d489f0655c85238bc05267b91#2c14841e95b4222d489f0655c85238bc05267b91"
+dependencies = [
+ "serde",
+ "serde_with 3.9.0",
]
[[package]]
name = "h2"
-version = "0.3.22"
+version = "0.3.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178"
+checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
dependencies = [
"bytes",
"fnv",
"futures-core",
"futures-sink",
"futures-util",
- "http",
- "indexmap 2.1.0",
+ "http 0.2.12",
+ "indexmap 2.4.0",
+ "slab",
+ "tokio",
+ "tokio-util",
+ "tracing",
+]
+
+[[package]]
+name = "h2"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205"
+dependencies = [
+ "atomic-waker",
+ "bytes",
+ "fnv",
+ "futures-core",
+ "futures-sink",
+ "http 1.1.0",
+ "indexmap 2.4.0",
"slab",
"tokio",
"tokio-util",
@@ -1861,9 +2218,9 @@ dependencies = [
[[package]]
name = "half"
-version = "1.8.2"
+version = "1.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
+checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403"
[[package]]
name = "hashbrown"
@@ -1871,23 +2228,31 @@ version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
dependencies = [
- "ahash 0.7.7",
+ "ahash 0.7.8",
]
[[package]]
name = "hashbrown"
-version = "0.13.1"
+version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33ff8ae62cd3a9102e5637afc8452c55acf3844001bd5374e0b0bd7b6616c038"
+checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
dependencies = [
- "ahash 0.8.6",
+ "ahash 0.8.11",
+ "allocator-api2",
]
[[package]]
-name = "hashbrown"
-version = "0.14.3"
+name = "hdrhistogram"
+version = "7.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
+checksum = "765c9198f173dd59ce26ff9f95ef0aafd0a0fe01fb9d72841bc5066a4c06511d"
+dependencies = [
+ "base64 0.21.7",
+ "byteorder",
+ "flate2",
+ "nom",
+ "num-traits",
+]
[[package]]
name = "heck"
@@ -1895,6 +2260,12 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+[[package]]
+name = "heck"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+
[[package]]
name = "hermit-abi"
version = "0.1.19"
@@ -1906,9 +2277,15 @@ dependencies = [
[[package]]
name = "hermit-abi"
-version = "0.3.3"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
+
+[[package]]
+name = "hermit-abi"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7"
+checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
[[package]]
name = "hex"
@@ -1919,12 +2296,27 @@ dependencies = [
"serde",
]
+[[package]]
+name = "hex-literal"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46"
+
[[package]]
name = "hex_lit"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3011d1213f159867b13cfd6ac92d2cd5f1345762c63be3554e84092d85a50bbd"
+[[package]]
+name = "hmac"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
+dependencies = [
+ "digest",
+]
+
[[package]]
name = "home"
version = "0.5.9"
@@ -1936,9 +2328,20 @@ dependencies = [
[[package]]
name = "http"
-version = "0.2.11"
+version = "0.2.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
+dependencies = [
+ "bytes",
+ "fnv",
+ "itoa",
+]
+
+[[package]]
+name = "http"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb"
+checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
dependencies = [
"bytes",
"fnv",
@@ -1952,15 +2355,54 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
dependencies = [
"bytes",
- "http",
+ "http 0.2.12",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "http-body"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
+dependencies = [
+ "bytes",
+ "http 1.1.0",
+]
+
+[[package]]
+name = "http-body-util"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
+dependencies = [
+ "bytes",
+ "futures-util",
+ "http 1.1.0",
+ "http-body 1.0.1",
"pin-project-lite",
]
+[[package]]
+name = "http-range-header"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08a397c49fec283e3d6211adbe480be95aae5f304cfb923e9970e08956d5168a"
+
+[[package]]
+name = "http-serde"
+version = "1.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6f560b665ad9f1572cfcaf034f7fb84338a7ce945216d64a90fd81f046a3caee"
+dependencies = [
+ "http 0.2.12",
+ "serde",
+]
+
[[package]]
name = "httparse"
-version = "1.8.0"
+version = "1.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
+checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9"
[[package]]
name = "httpdate"
@@ -1976,45 +2418,119 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "hyper"
-version = "0.14.27"
+version = "0.14.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468"
+checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9"
dependencies = [
"bytes",
"futures-channel",
"futures-core",
"futures-util",
- "h2",
- "http",
- "http-body",
+ "h2 0.3.26",
+ "http 0.2.12",
+ "http-body 0.4.6",
"httparse",
"httpdate",
"itoa",
"pin-project-lite",
- "socket2 0.4.10",
+ "socket2 0.5.7",
"tokio",
"tower-service",
"tracing",
"want",
]
+[[package]]
+name = "hyper"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05"
+dependencies = [
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "h2 0.4.6",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "httparse",
+ "httpdate",
+ "itoa",
+ "pin-project-lite",
+ "smallvec",
+ "tokio",
+ "want",
+]
+
+[[package]]
+name = "hyper-rustls"
+version = "0.27.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155"
+dependencies = [
+ "futures-util",
+ "http 1.1.0",
+ "hyper 1.4.1",
+ "hyper-util",
+ "rustls 0.23.12",
+ "rustls-pki-types",
+ "tokio",
+ "tokio-rustls 0.26.0",
+ "tower-service",
+]
+
[[package]]
name = "hyper-timeout"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1"
dependencies = [
- "hyper",
+ "hyper 0.14.30",
"pin-project-lite",
"tokio",
"tokio-io-timeout",
]
+[[package]]
+name = "hyper-tls"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
+dependencies = [
+ "bytes",
+ "http-body-util",
+ "hyper 1.4.1",
+ "hyper-util",
+ "native-tls",
+ "tokio",
+ "tokio-native-tls",
+ "tower-service",
+]
+
+[[package]]
+name = "hyper-util"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9"
+dependencies = [
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "hyper 1.4.1",
+ "pin-project-lite",
+ "socket2 0.5.7",
+ "tokio",
+ "tower",
+ "tower-service",
+ "tracing",
+]
+
[[package]]
name = "iana-time-zone"
-version = "0.1.58"
+version = "0.1.60"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20"
+checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
dependencies = [
"android_system_properties",
"core-foundation-sys",
@@ -2062,35 +2578,38 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.1.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f"
+checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c"
dependencies = [
"equivalent",
- "hashbrown 0.14.3",
+ "hashbrown 0.14.5",
"serde",
]
[[package]]
-name = "instant"
-version = "0.1.12"
+name = "inout"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
+checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
dependencies = [
- "cfg-if",
+ "generic-array",
]
[[package]]
-name = "integer-encoding"
-version = "3.0.4"
+name = "instant"
+version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02"
+checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
+dependencies = [
+ "cfg-if",
+]
[[package]]
name = "integer-encoding"
-version = "4.0.0"
+version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "924df4f0e24e2e7f9cdd90babb0b96f93b20f3ecfa949ea9e6613756b8c8e1bf"
+checksum = "0d762194228a2f1c11063e46e32e5acb96e66e906382b9eb5441f2e0504bbd5a"
[[package]]
name = "intmap"
@@ -2107,7 +2626,7 @@ version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
dependencies = [
- "hermit-abi 0.3.3",
+ "hermit-abi 0.3.9",
"libc",
"windows-sys 0.48.0",
]
@@ -2120,20 +2639,26 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
[[package]]
name = "is-terminal"
-version = "0.4.9"
+version = "0.4.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
+checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
dependencies = [
- "hermit-abi 0.3.3",
- "rustix 0.38.28",
- "windows-sys 0.48.0",
+ "hermit-abi 0.4.0",
+ "libc",
+ "windows-sys 0.52.0",
]
+[[package]]
+name = "is_terminal_polyfill"
+version = "1.70.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
+
[[package]]
name = "iso8601"
-version = "0.4.2"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5b94fbeb759754d87e1daea745bc8efd3037cd16980331fe1d1524c9a79ce96"
+checksum = "924e5d73ea28f59011fec52a0d12185d496a9b075d360657aed2a5707f701153"
dependencies = [
"nom",
]
@@ -2148,36 +2673,34 @@ dependencies = [
]
[[package]]
-name = "itoa"
-version = "1.0.10"
+name = "itertools"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
+checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
+dependencies = [
+ "either",
+]
[[package]]
-name = "jemalloc-sys"
-version = "0.5.4+5.3.0-patched"
+name = "itertools"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac6c1946e1cea1788cbfde01c993b52a10e2da07f4bac608228d1bed20bfebf2"
+checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
dependencies = [
- "cc",
- "libc",
+ "either",
]
[[package]]
-name = "jemallocator"
-version = "0.5.4"
+name = "itoa"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0de374a9f8e63150e6f5e8a60cc14c668226d7a347d8aee1a45766e3c4dd3bc"
-dependencies = [
- "jemalloc-sys",
- "libc",
-]
+checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "jobserver"
-version = "0.1.27"
+version = "0.1.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d"
+checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
dependencies = [
"libc",
]
@@ -2193,25 +2716,25 @@ dependencies = [
[[package]]
name = "json-patch"
-version = "0.2.7"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb3fa5a61630976fc4c353c70297f2e93f1930e3ccee574d59d618ccbd5154ce"
+checksum = "ec9ad60d674508f3ca8f380a928cfe7b096bc729c4e2dbfe3852bc45da3ab30b"
dependencies = [
"serde",
"serde_json",
- "treediff 3.0.2",
+ "thiserror",
]
[[package]]
-name = "jsonptr"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04e7a1ae7fc3e87c05f7a3de7e51083f62cdafcd9fed52cffebca22819a8f799"
+name = "json-schema-compatibility-validator"
+version = "1.1.0-dev.1"
dependencies = [
- "serde",
+ "assert_matches",
+ "json-patch",
+ "json-schema-compatibility-validator",
+ "once_cell",
"serde_json",
- "uniresid",
- "url",
+ "thiserror",
]
[[package]]
@@ -2227,20 +2750,21 @@ dependencies = [
[[package]]
name = "jsonschema"
-version = "0.15.0"
-source = "git+https://github.com/fominok/jsonschema-rs?branch=feat-unevaluated-properties#18f61ab46b4a06fb313fadadffd669058bddeafd"
+version = "0.18.0"
+source = "git+https://github.com/dashpay/jsonschema-rs?branch=configure_regexp#7b00a2442ce44772e278b468bc4c2adc5e252226"
dependencies = [
- "ahash 0.7.7",
+ "ahash 0.8.11",
"anyhow",
- "base64 0.13.1",
+ "base64 0.22.1",
"bytecount",
"fancy-regex",
"fraction",
+ "getrandom",
"iso8601",
"itoa",
- "lazy_static",
"memchr",
"num-cmp",
+ "once_cell",
"parking_lot",
"percent-encoding",
"regex",
@@ -2248,14 +2772,14 @@ dependencies = [
"serde_json",
"time",
"url",
- "uuid 0.8.2",
+ "uuid",
]
[[package]]
name = "lazy_static"
-version = "1.4.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "lazycell"
@@ -2265,33 +2789,33 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "lhash"
-version = "1.0.1"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6df04c84bd3f83849dd23c51be4cbb22a02d80ebdea22741558fe30127d837ae"
+checksum = "744a4c881f502e98c2241d2e5f50040ac73b30194d64452bb6260393b53f0dc9"
[[package]]
name = "libc"
-version = "0.2.151"
+version = "0.2.158"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"
+checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
[[package]]
name = "libloading"
-version = "0.7.4"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
+checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
dependencies = [
"cfg-if",
- "winapi",
+ "windows-targets 0.52.6",
]
[[package]]
name = "librocksdb-sys"
-version = "0.11.0+8.1.1"
+version = "0.16.0+8.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e"
+checksum = "ce3d60bc059831dc1c83903fb45c103f75db65c5a7bf22272764d9cc683e348c"
dependencies = [
- "bindgen",
+ "bindgen 0.69.4",
"bzip2-sys",
"cc",
"glob",
@@ -2303,9 +2827,9 @@ dependencies = [
[[package]]
name = "libz-sys"
-version = "1.1.12"
+version = "1.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b"
+checksum = "fdc53a7799a7496ebc9fd29f31f7df80e83c9bda5299768af5f9e59eeea74647"
dependencies = [
"cc",
"pkg-config",
@@ -2320,31 +2844,46 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
[[package]]
name = "linux-raw-sys"
-version = "0.4.12"
+version = "0.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456"
+checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
[[package]]
name = "lock_api"
-version = "0.4.11"
+version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
+checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
dependencies = [
"autocfg",
"scopeguard",
]
+[[package]]
+name = "lockfree-object-pool"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
+
[[package]]
name = "log"
-version = "0.4.20"
+version = "0.4.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+
+[[package]]
+name = "lru"
+version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
+checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904"
+dependencies = [
+ "hashbrown 0.14.5",
+]
[[package]]
name = "lz4-sys"
-version = "1.9.4"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900"
+checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868"
dependencies = [
"cc",
"libc",
@@ -2352,19 +2891,21 @@ dependencies = [
[[package]]
name = "mach2"
-version = "0.4.1"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d0d1830bcd151a6fc4aea1369af235b36c1528fe976b8ff678683c9995eade8"
+checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709"
dependencies = [
"libc",
]
[[package]]
name = "masternode-reward-shares-contract"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"platform-value",
+ "platform-version",
"serde_json",
+ "thiserror",
]
[[package]]
@@ -2384,71 +2925,53 @@ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
[[package]]
name = "memchr"
-version = "2.6.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
-
-[[package]]
-name = "memoffset"
-version = "0.9.0"
+version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
-dependencies = [
- "autocfg",
-]
+checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
[[package]]
name = "metrics"
-version = "0.21.1"
+version = "0.22.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fde3af1a009ed76a778cb84fdef9e7dbbdf5775ae3e4cc1f434a6a307f6f76c5"
+checksum = "2be3cbd384d4e955b231c895ce10685e3d8260c5ccffae898c96c723b0772835"
dependencies = [
- "ahash 0.8.6",
- "metrics-macros",
+ "ahash 0.8.11",
"portable-atomic",
]
[[package]]
name = "metrics-exporter-prometheus"
-version = "0.12.2"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d4fa7ce7c4862db464a37b0b31d89bca874562f034bd7993895572783d02950"
+checksum = "5d58e362dc7206e9456ddbcdbd53c71ba441020e62104703075a69151e38d85f"
dependencies = [
- "base64 0.21.5",
- "hyper",
- "indexmap 1.9.3",
+ "base64 0.22.1",
+ "http-body-util",
+ "hyper 1.4.1",
+ "hyper-tls",
+ "hyper-util",
+ "indexmap 2.4.0",
"ipnet",
"metrics",
"metrics-util",
- "quanta",
+ "quanta 0.12.3",
"thiserror",
"tokio",
"tracing",
]
-[[package]]
-name = "metrics-macros"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddece26afd34c31585c74a4db0630c376df271c285d682d1e55012197830b6df"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.41",
-]
-
[[package]]
name = "metrics-util"
-version = "0.15.1"
+version = "0.16.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4de2ed6e491ed114b40b732e4d1659a9d53992ebd87490c44a6ffe23739d973e"
+checksum = "8b07a5eb561b8cbc16be2d216faf7757f9baf3bfb94dbb0fae3df8387a5bb47f"
dependencies = [
"crossbeam-epoch",
"crossbeam-utils",
- "hashbrown 0.13.1",
+ "hashbrown 0.14.5",
"metrics",
"num_cpus",
- "quanta",
+ "quanta 0.12.3",
"sketches-ddsketch",
]
@@ -2458,6 +2981,16 @@ version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+[[package]]
+name = "mime_guess"
+version = "2.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e"
+dependencies = [
+ "mime",
+ "unicase",
+]
+
[[package]]
name = "minimal-lexical"
version = "0.2.1"
@@ -2466,22 +2999,32 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniz_oxide"
-version = "0.7.1"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
+checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
dependencies = [
"adler",
]
+[[package]]
+name = "miniz_oxide"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
+dependencies = [
+ "adler2",
+]
+
[[package]]
name = "mio"
-version = "0.8.10"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09"
+checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
dependencies = [
+ "hermit-abi 0.3.9",
"libc",
"wasi",
- "windows-sys 0.48.0",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -2525,7 +3068,7 @@ dependencies = [
"futures-util",
"once_cell",
"parking_lot",
- "quanta",
+ "quanta 0.11.1",
"rustc_version",
"scheduled-thread-pool",
"skeptic",
@@ -2533,7 +3076,7 @@ dependencies = [
"tagptr",
"thiserror",
"triomphe",
- "uuid 1.6.1",
+ "uuid",
]
[[package]]
@@ -2542,6 +3085,35 @@ version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
+[[package]]
+name = "multimap"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03"
+
+[[package]]
+name = "murmur3"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9252111cf132ba0929b6f8e030cac2a24b507f3a4d6db6fb2896f27b354c714b"
+
+[[package]]
+name = "native-tls"
+version = "0.2.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466"
+dependencies = [
+ "libc",
+ "log",
+ "openssl",
+ "openssl-probe",
+ "openssl-sys",
+ "schannel",
+ "security-framework",
+ "security-framework-sys",
+ "tempfile",
+]
+
[[package]]
name = "nohash-hasher"
version = "0.2.0"
@@ -2576,9 +3148,9 @@ dependencies = [
[[package]]
name = "num"
-version = "0.2.1"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36"
+checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
dependencies = [
"num-bigint",
"num-complex",
@@ -2590,11 +3162,10 @@ dependencies = [
[[package]]
name = "num-bigint"
-version = "0.2.6"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"
+checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
dependencies = [
- "autocfg",
"num-integer",
"num-traits",
]
@@ -2607,40 +3178,44 @@ checksum = "63335b2e2c34fae2fb0aa2cecfd9f0832a1e24b3b32ecec612c3426d46dc8aaa"
[[package]]
name = "num-complex"
-version = "0.2.4"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"
+checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
dependencies = [
- "autocfg",
"num-traits",
]
+[[package]]
+name = "num-conv"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
+
[[package]]
name = "num-derive"
-version = "0.4.1"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfb77679af88f8b125209d354a202862602672222e7f2313fdd6dc349bad4712"
+checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "num-integer"
-version = "0.1.45"
+version = "0.1.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
+checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
dependencies = [
- "autocfg",
"num-traits",
]
[[package]]
name = "num-iter"
-version = "0.1.43"
+version = "0.1.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252"
+checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
dependencies = [
"autocfg",
"num-integer",
@@ -2649,11 +3224,10 @@ dependencies = [
[[package]]
name = "num-rational"
-version = "0.2.4"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"
+checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
dependencies = [
- "autocfg",
"num-bigint",
"num-integer",
"num-traits",
@@ -2661,9 +3235,9 @@ dependencies = [
[[package]]
name = "num-traits"
-version = "0.2.17"
+version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [
"autocfg",
]
@@ -2674,7 +3248,7 @@ version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
dependencies = [
- "hermit-abi 0.3.3",
+ "hermit-abi 0.3.9",
"libc",
]
@@ -2701,9 +3275,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.32.1"
+version = "0.36.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0"
+checksum = "27b64972346851a39438c60b341ebc01bba47464ae329e55cf343eb93964efd9"
dependencies = [
"memchr",
]
@@ -2716,9 +3290,35 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
[[package]]
name = "oorandom"
-version = "11.1.3"
+version = "11.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
+
+[[package]]
+name = "openssl"
+version = "0.10.66"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1"
+dependencies = [
+ "bitflags 2.6.0",
+ "cfg-if",
+ "foreign-types",
+ "libc",
+ "once_cell",
+ "openssl-macros",
+ "openssl-sys",
+]
+
+[[package]]
+name = "openssl-macros"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
+checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.75",
+]
[[package]]
name = "openssl-probe"
@@ -2726,6 +3326,18 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
+[[package]]
+name = "openssl-sys"
+version = "0.9.103"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
+dependencies = [
+ "cc",
+ "libc",
+ "pkg-config",
+ "vcpkg",
+]
+
[[package]]
name = "overload"
version = "0.1.1"
@@ -2740,9 +3352,9 @@ checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae"
[[package]]
name = "parking_lot"
-version = "0.12.1"
+version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
+checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
dependencies = [
"lock_api",
"parking_lot_core",
@@ -2750,22 +3362,45 @@ dependencies = [
[[package]]
name = "parking_lot_core"
-version = "0.9.9"
+version = "0.9.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
+checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
dependencies = [
"cfg-if",
"libc",
"redox_syscall",
"smallvec",
- "windows-targets 0.48.5",
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "password-hash"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700"
+dependencies = [
+ "base64ct",
+ "rand_core",
+ "subtle",
]
[[package]]
name = "paste"
-version = "1.0.14"
+version = "1.0.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
+
+[[package]]
+name = "pbkdf2"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
+checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917"
+dependencies = [
+ "digest",
+ "hmac",
+ "password-hash",
+ "sha2",
+]
[[package]]
name = "peeking_take_while"
@@ -2781,39 +3416,39 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "petgraph"
-version = "0.6.4"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9"
+checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
dependencies = [
"fixedbitset",
- "indexmap 2.1.0",
+ "indexmap 2.4.0",
]
[[package]]
name = "pin-project"
-version = "1.1.3"
+version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422"
+checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3"
dependencies = [
"pin-project-internal",
]
[[package]]
name = "pin-project-internal"
-version = "1.1.3"
+version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"
+checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "pin-project-lite"
-version = "0.2.13"
+version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
+checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
[[package]]
name = "pin-utils"
@@ -2833,38 +3468,38 @@ dependencies = [
[[package]]
name = "pkg-config"
-version = "0.3.27"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
+checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
[[package]]
name = "platform-serialization"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
- "bincode 2.0.0-rc.3",
+ "bincode",
"platform-version",
]
[[package]]
name = "platform-serialization-derive"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
"virtue 0.0.14",
]
[[package]]
name = "platform-value"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
- "base64 0.13.1",
- "bincode 2.0.0-rc.3",
- "bs58 0.4.0",
+ "base64 0.22.1",
+ "bincode",
+ "bs58 0.5.1",
"ciborium",
"hex",
- "indexmap 2.1.0",
+ "indexmap 2.4.0",
"lazy_static",
"platform-serialization",
"platform-version",
@@ -2873,44 +3508,42 @@ dependencies = [
"serde",
"serde_json",
"thiserror",
- "treediff 4.0.2",
+ "treediff",
]
[[package]]
name = "platform-value-convertible"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "platform-version"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
+ "bincode",
+ "grovedb-version",
+ "once_cell",
"thiserror",
+ "versioned-feature-core 1.0.0 (git+https://github.com/dashpay/versioned-feature-core)",
]
[[package]]
name = "platform-versioning"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
-[[package]]
-name = "platforms"
-version = "3.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14e6ab3f592e6fb464fc9712d8d6e6912de6473954635fd76a589d832cffcbb0"
-
[[package]]
name = "plotters"
-version = "0.3.5"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45"
+checksum = "a15b6eccb8484002195a3e44fe65a4ce8e93a625797a063735536fd59cb01cf3"
dependencies = [
"num-traits",
"plotters-backend",
@@ -2921,15 +3554,15 @@ dependencies = [
[[package]]
name = "plotters-backend"
-version = "0.3.5"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609"
+checksum = "414cec62c6634ae900ea1c56128dfe87cf63e7caece0852ec76aba307cebadb7"
[[package]]
name = "plotters-svg"
-version = "0.3.5"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab"
+checksum = "81b30686a7d9c3e010b84284bdd26a29f2138574f52f5eb6f794fc0ad924e705"
dependencies = [
"plotters-backend",
]
@@ -2950,11 +3583,17 @@ dependencies = [
"windows-sys 0.48.0",
]
+[[package]]
+name = "pollster"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "22686f4785f02a4fcc856d3b3bb19bf6c8160d103f7a99cc258bddd0251dc7f2"
+
[[package]]
name = "portable-atomic"
-version = "1.6.0"
+version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
+checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
[[package]]
name = "powerfmt"
@@ -2964,9 +3603,12 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
[[package]]
name = "ppv-lite86"
-version = "0.2.17"
+version = "0.2.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
+checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+dependencies = [
+ "zerocopy",
+]
[[package]]
name = "predicates"
@@ -2976,7 +3618,7 @@ checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd"
dependencies = [
"difflib",
"float-cmp",
- "itertools",
+ "itertools 0.10.5",
"normalize-line-endings",
"predicates-core",
"regex",
@@ -2984,15 +3626,15 @@ dependencies = [
[[package]]
name = "predicates-core"
-version = "1.0.6"
+version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174"
+checksum = "ae8177bee8e75d6846599c6b9ff679ed51e882816914eec639944d7c9aa11931"
[[package]]
name = "predicates-tree"
-version = "1.0.9"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"
+checksum = "41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13"
dependencies = [
"predicates-core",
"termtree",
@@ -3020,12 +3662,12 @@ dependencies = [
[[package]]
name = "prettyplease"
-version = "0.2.15"
+version = "0.2.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d"
+checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e"
dependencies = [
"proc-macro2",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
@@ -3040,12 +3682,11 @@ dependencies = [
[[package]]
name = "proc-macro-crate"
-version = "2.0.1"
+version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a"
+checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284"
dependencies = [
- "toml_datetime",
- "toml_edit 0.20.2",
+ "toml_edit 0.21.1",
]
[[package]]
@@ -3074,9 +3715,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.70"
+version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b"
+checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
dependencies = [
"unicode-ident",
]
@@ -3093,12 +3734,12 @@ dependencies = [
[[package]]
name = "prost"
-version = "0.12.3"
+version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a"
+checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29"
dependencies = [
"bytes",
- "prost-derive 0.12.3",
+ "prost-derive 0.12.6",
]
[[package]]
@@ -3108,11 +3749,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270"
dependencies = [
"bytes",
- "heck",
- "itertools",
+ "heck 0.4.1",
+ "itertools 0.10.5",
"lazy_static",
"log",
- "multimap",
+ "multimap 0.8.3",
"petgraph",
"prettyplease 0.1.25",
"prost 0.11.9",
@@ -3125,24 +3766,23 @@ dependencies = [
[[package]]
name = "prost-build"
-version = "0.12.3"
+version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2"
+checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4"
dependencies = [
"bytes",
- "heck",
- "itertools",
+ "heck 0.5.0",
+ "itertools 0.12.1",
"log",
- "multimap",
+ "multimap 0.10.0",
"once_cell",
"petgraph",
- "prettyplease 0.2.15",
- "prost 0.12.3",
- "prost-types 0.12.3",
+ "prettyplease 0.2.20",
+ "prost 0.12.6",
+ "prost-types 0.12.6",
"regex",
- "syn 2.0.41",
+ "syn 2.0.75",
"tempfile",
- "which",
]
[[package]]
@@ -3152,7 +3792,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
dependencies = [
"anyhow",
- "itertools",
+ "itertools 0.10.5",
"proc-macro2",
"quote",
"syn 1.0.109",
@@ -3160,15 +3800,15 @@ dependencies = [
[[package]]
name = "prost-derive"
-version = "0.12.3"
+version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e"
+checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1"
dependencies = [
"anyhow",
- "itertools",
+ "itertools 0.12.1",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
@@ -3182,11 +3822,11 @@ dependencies = [
[[package]]
name = "prost-types"
-version = "0.12.3"
+version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "193898f59edcf43c26227dcd4c8427f00d99d61e95dcde58dabd49fa291d470e"
+checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0"
dependencies = [
- "prost 0.12.3",
+ "prost 0.12.6",
]
[[package]]
@@ -3211,11 +3851,11 @@ dependencies = [
[[package]]
name = "pulldown-cmark"
-version = "0.9.3"
+version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77a1a2f1f0a7ecff9c31abbe177637be0e97a0aef46cf8738ece09327985d998"
+checksum = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.6.0",
"memchr",
"unicase",
]
@@ -3230,7 +3870,22 @@ dependencies = [
"libc",
"mach2",
"once_cell",
- "raw-cpuid",
+ "raw-cpuid 10.7.0",
+ "wasi",
+ "web-sys",
+ "winapi",
+]
+
+[[package]]
+name = "quanta"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5"
+dependencies = [
+ "crossbeam-utils",
+ "libc",
+ "once_cell",
+ "raw-cpuid 11.1.0",
"wasi",
"web-sys",
"winapi",
@@ -3238,9 +3893,9 @@ dependencies = [
[[package]]
name = "quote"
-version = "1.0.33"
+version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
+checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
dependencies = [
"proc-macro2",
]
@@ -3290,11 +3945,20 @@ dependencies = [
"bitflags 1.3.2",
]
+[[package]]
+name = "raw-cpuid"
+version = "11.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d"
+dependencies = [
+ "bitflags 2.6.0",
+]
+
[[package]]
name = "rayon"
-version = "1.8.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1"
+checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
dependencies = [
"either",
"rayon-core",
@@ -3302,9 +3966,9 @@ dependencies = [
[[package]]
name = "rayon-core"
-version = "1.12.0"
+version = "1.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed"
+checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
dependencies = [
"crossbeam-deque",
"crossbeam-utils",
@@ -3312,23 +3976,23 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.4.1"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
+checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.6.0",
]
[[package]]
name = "regex"
-version = "1.10.2"
+version = "1.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343"
+checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
dependencies = [
"aho-corasick",
"memchr",
- "regex-automata 0.4.3",
- "regex-syntax 0.8.2",
+ "regex-automata 0.4.7",
+ "regex-syntax 0.8.4",
]
[[package]]
@@ -3342,13 +4006,13 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.4.3"
+version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f"
+checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
dependencies = [
"aho-corasick",
"memchr",
- "regex-syntax 0.8.2",
+ "regex-syntax 0.8.4",
]
[[package]]
@@ -3359,15 +4023,15 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
[[package]]
name = "regex-syntax"
-version = "0.8.2"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
+checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
[[package]]
name = "rend"
-version = "0.4.1"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2571463863a6bd50c32f94402933f03457a3fbaf697a707c5be741e459f08fd"
+checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c"
dependencies = [
"bytecheck",
]
@@ -3382,24 +4046,69 @@ dependencies = [
]
[[package]]
-name = "ring"
-version = "0.17.7"
+name = "reqwest"
+version = "0.12.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74"
+checksum = "f8f4955649ef5c38cc7f9e8aa41761d48fb9677197daea9984dc54f56aad5e63"
dependencies = [
- "cc",
- "getrandom",
- "libc",
- "spin",
+ "base64 0.22.1",
+ "bytes",
+ "encoding_rs",
+ "futures-channel",
+ "futures-core",
+ "futures-util",
+ "h2 0.4.6",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "http-body-util",
+ "hyper 1.4.1",
+ "hyper-rustls",
+ "hyper-tls",
+ "hyper-util",
+ "ipnet",
+ "js-sys",
+ "log",
+ "mime",
+ "native-tls",
+ "once_cell",
+ "percent-encoding",
+ "pin-project-lite",
+ "rustls-pemfile",
+ "serde",
+ "serde_json",
+ "serde_urlencoded",
+ "sync_wrapper 1.0.1",
+ "system-configuration",
+ "tokio",
+ "tokio-native-tls",
+ "tower-service",
+ "url",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+ "windows-registry",
+]
+
+[[package]]
+name = "ring"
+version = "0.17.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
+dependencies = [
+ "cc",
+ "cfg-if",
+ "getrandom",
+ "libc",
+ "spin",
"untrusted",
- "windows-sys 0.48.0",
+ "windows-sys 0.52.0",
]
[[package]]
name = "rkyv"
-version = "0.7.43"
+version = "0.7.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "527a97cdfef66f65998b5f3b637c26f5a5ec09cc52a3f9932313ac645f4190f5"
+checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b"
dependencies = [
"bitvec",
"bytecheck",
@@ -3410,14 +4119,14 @@ dependencies = [
"rkyv_derive",
"seahash",
"tinyvec",
- "uuid 1.6.1",
+ "uuid",
]
[[package]]
name = "rkyv_derive"
-version = "0.7.43"
+version = "0.7.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5c462a1328c8e67e4d6dbad1eb0355dd43e8ab432c6e227a43657f16ade5033"
+checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0"
dependencies = [
"proc-macro2",
"quote",
@@ -3426,9 +4135,9 @@ dependencies = [
[[package]]
name = "rocksdb"
-version = "0.21.0"
+version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe"
+checksum = "6bd13e55d6d7b8cd0ea569161127567cd587676c99f4472f779a0279aa60a7a7"
dependencies = [
"libc",
"librocksdb-sys",
@@ -3436,53 +4145,22 @@ dependencies = [
[[package]]
name = "rs-dapi-client"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"backon",
"chrono",
"dapi-grpc",
"futures",
"hex",
- "http",
+ "http-serde",
+ "lru",
"rand",
"serde",
"serde_json",
"sha2",
"thiserror",
"tokio",
- "tonic",
- "tracing",
-]
-
-[[package]]
-name = "rs-sdk"
-version = "0.25.21"
-dependencies = [
- "async-trait",
- "base64 0.21.5",
- "bincode 2.0.0-rc.3",
- "ciborium",
- "dapi-grpc",
- "dashcore-rpc",
- "data-contracts",
- "derive_more",
- "dotenvy",
- "dpp",
- "drive",
- "drive-abci",
- "drive-proof-verifier",
- "envy",
- "futures",
- "hex",
- "http",
- "rs-dapi-client",
- "serde",
- "serde_json",
- "thiserror",
- "tokio",
- "tokio-test",
"tracing",
- "tracing-subscriber",
]
[[package]]
@@ -3491,16 +4169,16 @@ version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94ea852806513d6f5fd7750423300375bc8481a18ed033756c1a836257893a30"
dependencies = [
- "bindgen",
+ "bindgen 0.65.1",
"cc",
"libc",
]
[[package]]
name = "rust_decimal"
-version = "1.33.1"
+version = "1.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06676aec5ccb8fc1da723cc8c0f9a46549f21ebb8753d3915c6c41db1e7f1dc4"
+checksum = "b082d80e3e3cc52b2ed634388d436fe1f4de6af5786cc2de9ba9737527bdf555"
dependencies = [
"arrayvec",
"borsh",
@@ -3514,9 +4192,9 @@ dependencies = [
[[package]]
name = "rust_decimal_macros"
-version = "1.33.1"
+version = "1.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e43721f4ef7060ebc2c3ede757733209564ca8207f47674181bcd425dd76945"
+checksum = "da991f231869f34268415a49724c6578e740ad697ba0999199d6f22b3949332c"
dependencies = [
"quote",
"rust_decimal",
@@ -3524,9 +4202,9 @@ dependencies = [
[[package]]
name = "rustc-demangle"
-version = "0.1.23"
+version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
+checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
[[package]]
name = "rustc-hash"
@@ -3559,71 +4237,97 @@ dependencies = [
[[package]]
name = "rustix"
-version = "0.38.28"
+version = "0.38.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316"
+checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
dependencies = [
- "bitflags 2.4.1",
+ "bitflags 2.6.0",
"errno",
"libc",
- "linux-raw-sys 0.4.12",
+ "linux-raw-sys 0.4.14",
"windows-sys 0.52.0",
]
[[package]]
name = "rustls"
-version = "0.21.10"
+version = "0.22.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba"
+checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
dependencies = [
"log",
"ring",
+ "rustls-pki-types",
"rustls-webpki",
- "sct",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "rustls"
+version = "0.23.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044"
+dependencies = [
+ "log",
+ "once_cell",
+ "ring",
+ "rustls-pki-types",
+ "rustls-webpki",
+ "subtle",
+ "zeroize",
]
[[package]]
name = "rustls-native-certs"
-version = "0.6.3"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
+checksum = "04182dffc9091a404e0fc069ea5cd60e5b866c3adf881eff99a32d048242dffa"
dependencies = [
"openssl-probe",
"rustls-pemfile",
+ "rustls-pki-types",
"schannel",
"security-framework",
]
[[package]]
name = "rustls-pemfile"
-version = "1.0.4"
+version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
+checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425"
dependencies = [
- "base64 0.21.5",
+ "base64 0.22.1",
+ "rustls-pki-types",
]
+[[package]]
+name = "rustls-pki-types"
+version = "1.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0"
+
[[package]]
name = "rustls-webpki"
-version = "0.101.7"
+version = "0.102.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
+checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e"
dependencies = [
"ring",
+ "rustls-pki-types",
"untrusted",
]
[[package]]
name = "rustversion"
-version = "1.0.14"
+version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4"
+checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
[[package]]
name = "ryu"
-version = "1.0.16"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c"
+checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
[[package]]
name = "same-file"
@@ -3634,13 +4338,23 @@ dependencies = [
"winapi-util",
]
+[[package]]
+name = "sanitize-filename"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2ed72fbaf78e6f2d41744923916966c4fbe3d7c74e3037a8ee482f1115572603"
+dependencies = [
+ "lazy_static",
+ "regex",
+]
+
[[package]]
name = "schannel"
-version = "0.1.22"
+version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88"
+checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
dependencies = [
- "windows-sys 0.48.0",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -3658,16 +4372,6 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
-[[package]]
-name = "sct"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
-dependencies = [
- "ring",
- "untrusted",
-]
-
[[package]]
name = "seahash"
version = "4.1.0"
@@ -3697,11 +4401,11 @@ dependencies = [
[[package]]
name = "security-framework"
-version = "2.9.2"
+version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de"
+checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.6.0",
"core-foundation",
"core-foundation-sys",
"libc",
@@ -3710,9 +4414,9 @@ dependencies = [
[[package]]
name = "security-framework-sys"
-version = "2.9.1"
+version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a"
+checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf"
dependencies = [
"core-foundation-sys",
"libc",
@@ -3720,18 +4424,18 @@ dependencies = [
[[package]]
name = "semver"
-version = "1.0.20"
+version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090"
+checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
dependencies = [
"serde",
]
[[package]]
name = "serde"
-version = "1.0.193"
+version = "1.0.208"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89"
+checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
dependencies = [
"serde_derive",
]
@@ -3748,9 +4452,9 @@ dependencies = [
[[package]]
name = "serde_bytes"
-version = "0.11.12"
+version = "0.11.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab33ec92f677585af6d88c65593ae2375adde54efdbf16d597f2cbc7a6d368ff"
+checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a"
dependencies = [
"serde",
]
@@ -3767,36 +4471,68 @@ dependencies = [
[[package]]
name = "serde_derive"
-version = "1.0.193"
+version = "1.0.208"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3"
+checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "serde_json"
-version = "1.0.108"
+version = "1.0.125"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b"
+checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed"
dependencies = [
- "indexmap 2.1.0",
+ "indexmap 2.4.0",
"itoa",
+ "memchr",
"ryu",
"serde",
]
+[[package]]
+name = "serde_path_to_error"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "af99884400da37c88f5e9146b7f1fd0fbcae8f6eec4e9da38b67d05486f814a6"
+dependencies = [
+ "itoa",
+ "serde",
+]
+
[[package]]
name = "serde_repr"
-version = "0.1.17"
+version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145"
+checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
+]
+
+[[package]]
+name = "serde_spanned"
+version = "0.6.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "serde_urlencoded"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
+dependencies = [
+ "form_urlencoded",
+ "itoa",
+ "ryu",
+ "serde",
]
[[package]]
@@ -3817,16 +4553,19 @@ dependencies = [
[[package]]
name = "serde_with"
-version = "3.4.0"
+version = "3.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64cd236ccc1b7a29e7e2739f27c0b2dd199804abc4290e32f59f3b68d6405c23"
+checksum = "69cecfa94848272156ea67b2b1a53f20fc7bc638c4a46d2f8abde08f05f4b857"
dependencies = [
- "base64 0.21.5",
+ "base64 0.22.1",
"chrono",
"hex",
+ "indexmap 1.9.3",
+ "indexmap 2.4.0",
"serde",
+ "serde_derive",
"serde_json",
- "serde_with_macros 3.4.0",
+ "serde_with_macros 3.9.0",
"time",
]
@@ -3839,19 +4578,30 @@ dependencies = [
"darling",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "serde_with_macros"
-version = "3.4.0"
+version = "3.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93634eb5f75a2323b16de4748022ac4297f9e76b6dced2be287a099f41b5e788"
+checksum = "a8fee4991ef4f274617a51ad4af30519438dacb2f56ac773b08a1922ff743350"
dependencies = [
"darling",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
+]
+
+[[package]]
+name = "sha1"
+version = "0.10.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "digest",
]
[[package]]
@@ -3876,15 +4626,15 @@ dependencies = [
[[package]]
name = "shlex"
-version = "1.2.0"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380"
+checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "signal-hook-registry"
-version = "1.4.1"
+version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
+checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
dependencies = [
"libc",
]
@@ -3898,6 +4648,12 @@ dependencies = [
"rand_core",
]
+[[package]]
+name = "simd-adler32"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
+
[[package]]
name = "simdutf8"
version = "0.1.4"
@@ -3906,10 +4662,10 @@ checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a"
[[package]]
name = "simple-signer"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
- "anyhow",
- "bincode 2.0.0-rc.3",
+ "base64 0.22.1",
+ "bincode",
"dashcore-rpc",
"dpp",
]
@@ -3931,9 +4687,9 @@ dependencies = [
[[package]]
name = "sketches-ddsketch"
-version = "0.2.1"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68a406c1882ed7f29cd5e248c9848a80e7cb6ae0fea82346d2746f2f941c07e1"
+checksum = "85636c14b73d81f541e525f585c0a2109e6744e1565b5c1668e31c70c10ed65c"
[[package]]
name = "slab"
@@ -3946,9 +4702,9 @@ dependencies = [
[[package]]
name = "smallvec"
-version = "1.11.2"
+version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970"
+checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "socket2"
@@ -3962,12 +4718,12 @@ dependencies = [
[[package]]
name = "socket2"
-version = "0.5.5"
+version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9"
+checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
dependencies = [
"libc",
- "windows-sys 0.48.0",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -3988,61 +4744,87 @@ dependencies = [
[[package]]
name = "sqlparser"
-version = "0.13.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9907f54bd0f7b6ce72c2be1e570a614819ee08e3deb66d90480df341d8a12a8"
+checksum = "0272b7bb0a225320170c99901b4b5fb3a4384e255a7f2cc228f61e2ba3893e75"
dependencies = [
"log",
]
[[package]]
name = "strategy-tests"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
- "bincode 2.0.0-rc.3",
+ "bincode",
"dpp",
"drive",
+ "futures",
"hex",
+ "platform-serialization",
"platform-serialization-derive",
"platform-version",
"rand",
"rocksdb",
+ "serde_json",
"simple-signer",
+ "tracing",
]
[[package]]
name = "strsim"
-version = "0.10.0"
+version = "0.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
+
+[[package]]
+name = "strum"
+version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
+checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125"
+dependencies = [
+ "strum_macros 0.25.3",
+]
[[package]]
name = "strum"
-version = "0.24.1"
+version = "0.26.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f"
+checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
dependencies = [
- "strum_macros",
+ "strum_macros 0.26.4",
]
[[package]]
name = "strum_macros"
-version = "0.24.3"
+version = "0.25.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
+checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0"
dependencies = [
- "heck",
+ "heck 0.4.1",
"proc-macro2",
"quote",
"rustversion",
- "syn 1.0.109",
+ "syn 2.0.75",
+]
+
+[[package]]
+name = "strum_macros"
+version = "0.26.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
+dependencies = [
+ "heck 0.5.0",
+ "proc-macro2",
+ "quote",
+ "rustversion",
+ "syn 2.0.75",
]
[[package]]
name = "subtle"
-version = "2.5.0"
+version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
+checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "subtle-encoding"
@@ -4066,9 +4848,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.41"
+version = "2.0.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269"
+checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
dependencies = [
"proc-macro2",
"quote",
@@ -4084,7 +4866,7 @@ dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
@@ -4093,6 +4875,15 @@ version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
+[[package]]
+name = "sync_wrapper"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
+dependencies = [
+ "futures-core",
+]
+
[[package]]
name = "synstructure"
version = "0.12.6"
@@ -4105,6 +4896,27 @@ dependencies = [
"unicode-xid",
]
+[[package]]
+name = "system-configuration"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "658bc6ee10a9b4fcf576e9b0819d95ec16f4d2c02d39fd83ac1c8789785c4a42"
+dependencies = [
+ "bitflags 2.6.0",
+ "core-foundation",
+ "system-configuration-sys",
+]
+
+[[package]]
+name = "system-configuration-sys"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
[[package]]
name = "tagptr"
version = "0.2.0"
@@ -4119,81 +4931,43 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]]
name = "tempfile"
-version = "3.8.1"
+version = "3.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5"
+checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
dependencies = [
"cfg-if",
- "fastrand 2.0.1",
- "redox_syscall",
- "rustix 0.38.28",
- "windows-sys 0.48.0",
-]
-
-[[package]]
-name = "tenderdash-abci"
-version = "0.14.0-dev.1"
-source = "git+https://github.com/dashpay/rs-tenderdash-abci?tag=v0.14.0-dev.2#6ebfaa31052f7ad538d6589323e5daf7e5e55999"
-dependencies = [
- "bytes",
- "futures",
- "hex",
- "lhash",
- "prost 0.12.3",
- "semver",
- "tenderdash-proto 0.14.0-dev.1 (git+https://github.com/dashpay/rs-tenderdash-abci?tag=v0.14.0-dev.2)",
- "thiserror",
- "tokio",
- "tokio-util",
- "tracing",
- "tracing-subscriber",
- "url",
- "uuid 1.6.1",
+ "fastrand 2.1.0",
+ "once_cell",
+ "rustix 0.38.34",
+ "windows-sys 0.59.0",
]
[[package]]
name = "tenderdash-abci"
-version = "0.14.0-dev.1"
-source = "git+https://github.com/dashpay/rs-tenderdash-abci#b4df6543efb0457a477db30153131495da1b8bbb"
+version = "1.1.0"
+source = "git+https://github.com/dashpay/rs-tenderdash-abci?tag=v1.1.0#03b741f3f24281ec6990c6c343079076c549b0f8"
dependencies = [
"bytes",
"futures",
"hex",
"lhash",
- "prost 0.12.3",
+ "prost 0.12.6",
"semver",
- "tenderdash-proto 0.14.0-dev.1 (git+https://github.com/dashpay/rs-tenderdash-abci)",
+ "serde_json",
+ "tenderdash-proto",
"thiserror",
"tokio",
"tokio-util",
"tracing",
"tracing-subscriber",
"url",
- "uuid 1.6.1",
+ "uuid",
]
[[package]]
name = "tenderdash-proto"
-version = "0.14.0-dev.1"
-source = "git+https://github.com/dashpay/rs-tenderdash-abci?tag=v0.14.0-dev.2#6ebfaa31052f7ad538d6589323e5daf7e5e55999"
-dependencies = [
- "bytes",
- "chrono",
- "derive_more",
- "flex-error",
- "num-derive",
- "num-traits",
- "prost 0.12.3",
- "serde",
- "subtle-encoding",
- "tenderdash-proto-compiler 0.14.0-dev.1 (git+https://github.com/dashpay/rs-tenderdash-abci?tag=v0.14.0-dev.2)",
- "time",
-]
-
-[[package]]
-name = "tenderdash-proto"
-version = "0.14.0-dev.1"
-source = "git+https://github.com/dashpay/rs-tenderdash-abci#b4df6543efb0457a477db30153131495da1b8bbb"
+version = "1.1.0"
+source = "git+https://github.com/dashpay/rs-tenderdash-abci?tag=v1.1.0#03b741f3f24281ec6990c6c343079076c549b0f8"
dependencies = [
"bytes",
"chrono",
@@ -4201,46 +4975,34 @@ dependencies = [
"flex-error",
"num-derive",
"num-traits",
- "prost 0.12.3",
+ "prost 0.12.6",
"serde",
"subtle-encoding",
- "tenderdash-proto-compiler 0.14.0-dev.1 (git+https://github.com/dashpay/rs-tenderdash-abci)",
+ "tenderdash-proto-compiler",
"time",
+ "tonic 0.11.0",
]
[[package]]
name = "tenderdash-proto-compiler"
-version = "0.14.0-dev.1"
-source = "git+https://github.com/dashpay/rs-tenderdash-abci?tag=v0.14.0-dev.2#6ebfaa31052f7ad538d6589323e5daf7e5e55999"
-dependencies = [
- "fs_extra",
- "prost-build 0.12.3",
- "regex",
- "tempfile",
- "ureq",
- "walkdir",
- "zip",
-]
-
-[[package]]
-name = "tenderdash-proto-compiler"
-version = "0.14.0-dev.1"
-source = "git+https://github.com/dashpay/rs-tenderdash-abci#b4df6543efb0457a477db30153131495da1b8bbb"
+version = "1.1.0"
+source = "git+https://github.com/dashpay/rs-tenderdash-abci?tag=v1.1.0#03b741f3f24281ec6990c6c343079076c549b0f8"
dependencies = [
"fs_extra",
- "prost-build 0.12.3",
+ "prost-build 0.12.6",
"regex",
"tempfile",
+ "tonic-build 0.11.0",
"ureq",
"walkdir",
- "zip",
+ "zip 2.2.0",
]
[[package]]
name = "termcolor"
-version = "1.4.0"
+version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449"
+checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
dependencies = [
"winapi-util",
]
@@ -4257,7 +5019,28 @@ version = "2.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21d6cf5a7dffb3f9dceec8e6b8ca528d9bd71d36c9f074defb548ce161f598c0"
dependencies = [
- "test-case-macros",
+ "test-case-macros 2.2.2",
+]
+
+[[package]]
+name = "test-case"
+version = "3.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8"
+dependencies = [
+ "test-case-macros 3.3.1",
+]
+
+[[package]]
+name = "test-case-core"
+version = "3.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f"
+dependencies = [
+ "cfg-if",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.75",
]
[[package]]
@@ -4273,6 +5056,18 @@ dependencies = [
"syn 1.0.109",
]
+[[package]]
+name = "test-case-macros"
+version = "3.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.75",
+ "test-case-core",
+]
+
[[package]]
name = "textwrap"
version = "0.11.0"
@@ -4284,29 +5079,29 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "1.0.51"
+version = "1.0.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f11c217e1416d6f036b870f14e0413d480dbf28edbee1f877abaf0206af43bb7"
+checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.51"
+version = "1.0.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df"
+checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "thread_local"
-version = "1.1.7"
+version = "1.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
+checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
dependencies = [
"cfg-if",
"once_cell",
@@ -4314,12 +5109,13 @@ dependencies = [
[[package]]
name = "time"
-version = "0.3.30"
+version = "0.3.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5"
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
dependencies = [
"deranged",
"itoa",
+ "num-conv",
"powerfmt",
"serde",
"time-core",
@@ -4334,10 +5130,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
[[package]]
name = "time-macros"
-version = "0.2.15"
+version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20"
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [
+ "num-conv",
"time-core",
]
@@ -4353,9 +5150,9 @@ dependencies = [
[[package]]
name = "tinyvec"
-version = "1.6.0"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
+checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
dependencies = [
"tinyvec_macros",
]
@@ -4368,21 +5165,21 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
-version = "1.35.0"
+version = "1.39.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "841d45b238a16291a4e1584e61820b8ae57d696cc5015c459c229ccc6990cc1c"
+checksum = "9babc99b9923bfa4804bd74722ff02c0381021eafa4db9949217e3be8e84fff5"
dependencies = [
"backtrace",
"bytes",
"libc",
"mio",
- "num_cpus",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
- "socket2 0.5.5",
+ "socket2 0.5.7",
"tokio-macros",
- "windows-sys 0.48.0",
+ "tracing",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -4397,30 +5194,52 @@ dependencies = [
[[package]]
name = "tokio-macros"
-version = "2.2.0"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b"
+checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
+]
+
+[[package]]
+name = "tokio-native-tls"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
+dependencies = [
+ "native-tls",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-rustls"
+version = "0.25.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f"
+dependencies = [
+ "rustls 0.22.4",
+ "rustls-pki-types",
+ "tokio",
]
[[package]]
name = "tokio-rustls"
-version = "0.24.1"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
+checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
dependencies = [
- "rustls",
+ "rustls 0.23.12",
+ "rustls-pki-types",
"tokio",
]
[[package]]
name = "tokio-stream"
-version = "0.1.14"
+version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842"
+checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af"
dependencies = [
"futures-core",
"pin-project-lite",
@@ -4429,9 +5248,9 @@ dependencies = [
[[package]]
name = "tokio-test"
-version = "0.4.3"
+version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e89b3cbabd3ae862100094ae433e1def582cf86451b4e9bf83aa7ac1d8a7d719"
+checksum = "2468baabc3311435b55dd935f702f42cd1b8abb7e754fb7dfb16bd36aa88f9f7"
dependencies = [
"async-stream",
"bytes",
@@ -4442,23 +5261,37 @@ dependencies = [
[[package]]
name = "tokio-util"
-version = "0.7.10"
+version = "0.7.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15"
+checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1"
dependencies = [
"bytes",
"futures-core",
"futures-sink",
"pin-project-lite",
"tokio",
- "tracing",
+]
+
+[[package]]
+name = "toml"
+version = "0.8.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
+dependencies = [
+ "serde",
+ "serde_spanned",
+ "toml_datetime",
+ "toml_edit 0.22.20",
]
[[package]]
name = "toml_datetime"
-version = "0.6.3"
+version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b"
+checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
+dependencies = [
+ "serde",
+]
[[package]]
name = "toml_edit"
@@ -4466,52 +5299,92 @@ version = "0.19.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
dependencies = [
- "indexmap 2.1.0",
+ "indexmap 2.4.0",
+ "toml_datetime",
+ "winnow 0.5.40",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.21.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1"
+dependencies = [
+ "indexmap 2.4.0",
"toml_datetime",
- "winnow",
+ "winnow 0.5.40",
]
[[package]]
name = "toml_edit"
-version = "0.20.2"
+version = "0.22.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338"
+checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
dependencies = [
- "indexmap 2.1.0",
+ "indexmap 2.4.0",
+ "serde",
+ "serde_spanned",
"toml_datetime",
- "winnow",
+ "winnow 0.6.18",
]
[[package]]
name = "tonic"
-version = "0.9.2"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a"
+checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e"
dependencies = [
"async-stream",
"async-trait",
- "axum",
- "base64 0.21.5",
+ "axum 0.6.20",
+ "base64 0.21.7",
"bytes",
- "futures-core",
- "futures-util",
- "h2",
- "http",
- "http-body",
- "hyper",
+ "h2 0.3.26",
+ "http 0.2.12",
+ "http-body 0.4.6",
+ "hyper 0.14.30",
"hyper-timeout",
"percent-encoding",
"pin-project",
- "prost 0.11.9",
+ "prost 0.12.6",
+ "tokio",
+ "tokio-stream",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "tonic"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "76c4eb7a4e9ef9d4763600161f12f5070b92a578e1b634db88a6887844c91a13"
+dependencies = [
+ "async-stream",
+ "async-trait",
+ "axum 0.6.20",
+ "base64 0.21.7",
+ "bytes",
+ "h2 0.3.26",
+ "http 0.2.12",
+ "http-body 0.4.6",
+ "hyper 0.14.30",
+ "hyper-timeout",
+ "percent-encoding",
+ "pin-project",
+ "prost 0.12.6",
"rustls-native-certs",
"rustls-pemfile",
+ "rustls-pki-types",
"tokio",
- "tokio-rustls",
+ "tokio-rustls 0.25.0",
"tokio-stream",
"tower",
"tower-layer",
"tower-service",
"tracing",
+ "webpki-roots",
]
[[package]]
@@ -4527,15 +5400,27 @@ dependencies = [
"syn 1.0.109",
]
+[[package]]
+name = "tonic-build"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be4ef6dd70a610078cb4e338a0f79d06bc759ff1b22d2120c2ff02ae264ba9c2"
+dependencies = [
+ "prettyplease 0.2.20",
+ "proc-macro2",
+ "prost-build 0.12.6",
+ "quote",
+ "syn 2.0.75",
+]
+
[[package]]
name = "tower"
version = "0.4.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
+source = "git+https://github.com/QuantumExplorer/tower?branch=fix/indexMap2OnV0413#5286f8c605d10f48d51254f2434c5ab3fc5d7779"
dependencies = [
"futures-core",
"futures-util",
- "indexmap 1.9.3",
+ "indexmap 2.4.0",
"pin-project",
"pin-project-lite",
"rand",
@@ -4547,17 +5432,40 @@ dependencies = [
"tracing",
]
+[[package]]
+name = "tower-http"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5"
+dependencies = [
+ "bitflags 2.6.0",
+ "bytes",
+ "futures-util",
+ "http 1.1.0",
+ "http-body 1.0.1",
+ "http-body-util",
+ "http-range-header",
+ "httpdate",
+ "mime",
+ "mime_guess",
+ "percent-encoding",
+ "pin-project-lite",
+ "tokio",
+ "tokio-util",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
[[package]]
name = "tower-layer"
version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0"
+source = "git+https://github.com/QuantumExplorer/tower?branch=fix/indexMap2OnV0413#5286f8c605d10f48d51254f2434c5ab3fc5d7779"
[[package]]
name = "tower-service"
version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
+source = "git+https://github.com/QuantumExplorer/tower?branch=fix/indexMap2OnV0413#5286f8c605d10f48d51254f2434c5ab3fc5d7779"
[[package]]
name = "tracing"
@@ -4565,6 +5473,7 @@ version = "0.1.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
dependencies = [
+ "log",
"pin-project-lite",
"tracing-attributes",
"tracing-core",
@@ -4578,7 +5487,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
@@ -4635,24 +5544,15 @@ dependencies = [
[[package]]
name = "treediff"
-version = "3.0.2"
+version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "761e8d5ad7ce14bb82b7e61ccc0ca961005a275a060b9644a2431aa11553c2ff"
-dependencies = [
- "serde_json",
-]
-
-[[package]]
-name = "treediff"
-version = "4.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52984d277bdf2a751072b5df30ec0377febdb02f7696d64c2d7d54630bac4303"
+checksum = "e2ce481b2b7c2534fe7b5242cccebf37f9084392665c6a3783c414a1bada5432"
[[package]]
name = "triomphe"
-version = "0.1.11"
+version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "859eb650cfee7434994602c3a68b25d77ad9e68c8a6cd491616ef86661382eb3"
+checksum = "e6631e42e10b40c0690bf92f404ebcfe6e1fdb480391d15f17cc8e96eeed5369"
[[package]]
name = "try-lock"
@@ -4677,9 +5577,9 @@ dependencies = [
[[package]]
name = "unicode-bidi"
-version = "0.3.14"
+version = "0.3.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416"
+checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
[[package]]
name = "unicode-ident"
@@ -4689,36 +5589,24 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
name = "unicode-normalization"
-version = "0.1.22"
+version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
+checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
dependencies = [
"tinyvec",
]
[[package]]
name = "unicode-width"
-version = "0.1.11"
+version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
+checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
[[package]]
name = "unicode-xid"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
-
-[[package]]
-name = "uniresid"
-version = "0.1.5"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "995a4007fbec4f43386ea1b1d81d42d986a0c9616378e9aa4a96f45ea661e1b0"
-dependencies = [
- "once_cell",
- "serde",
- "thiserror",
- "url",
-]
+checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a"
[[package]]
name = "untrusted"
@@ -4728,25 +5616,25 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "ureq"
-version = "2.9.1"
+version = "2.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8cdd25c339e200129fe4de81451814e5228c9b771d57378817d6117cc2b3f97"
+checksum = "b74fc6b57825be3373f7054754755f03ac3a8f5d70015ccad699ba2029956f4a"
dependencies = [
- "base64 0.21.5",
+ "base64 0.22.1",
"flate2",
"log",
"once_cell",
- "rustls",
- "rustls-webpki",
+ "rustls 0.23.12",
+ "rustls-pki-types",
"url",
"webpki-roots",
]
[[package]]
name = "url"
-version = "2.5.0"
+version = "2.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633"
+checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
dependencies = [
"form_urlencoded",
"idna",
@@ -4755,21 +5643,15 @@ dependencies = [
[[package]]
name = "utf8parse"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
-
-[[package]]
-name = "uuid"
-version = "0.8.2"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "uuid"
-version = "1.6.1"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560"
+checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
dependencies = [
"getrandom",
"rand",
@@ -4789,9 +5671,20 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "version_check"
-version = "0.9.4"
+version = "0.9.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
+
+[[package]]
+name = "versioned-feature-core"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+checksum = "898c0ad500fdb1914df465a2c729fce33646ef65dfbbbd16a6d8050e0d2404df"
+
+[[package]]
+name = "versioned-feature-core"
+version = "1.0.0"
+source = "git+https://github.com/dashpay/versioned-feature-core#560157096c8405a46ce0f21a2e7e1bd11d6625b4"
[[package]]
name = "virtue"
@@ -4807,15 +5700,15 @@ checksum = "b522f715ead3537dc57c9907899a08e461a8f1e87fc8414a4a89bbd9854289ff"
[[package]]
name = "waker-fn"
-version = "1.1.1"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690"
+checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7"
[[package]]
name = "walkdir"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
dependencies = [
"same-file",
"winapi-util",
@@ -4857,7 +5750,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
"wasm-bindgen-shared",
]
@@ -4891,7 +5784,7 @@ checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -4904,16 +5797,18 @@ checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93"
[[package]]
name = "wasm-dpp"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"anyhow",
"async-trait",
+ "bincode",
"dpp",
"hex",
- "itertools",
+ "itertools 0.10.5",
"js-sys",
"log",
"num_enum",
+ "paste",
"serde",
"serde-wasm-bindgen",
"serde_json",
@@ -4947,9 +5842,12 @@ dependencies = [
[[package]]
name = "webpki-roots"
-version = "0.25.3"
+version = "0.26.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10"
+checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd"
+dependencies = [
+ "rustls-pki-types",
+]
[[package]]
name = "which"
@@ -4960,7 +5858,7 @@ dependencies = [
"either",
"home",
"once_cell",
- "rustix 0.38.28",
+ "rustix 0.38.34",
]
[[package]]
@@ -4981,11 +5879,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-util"
-version = "0.1.6"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
+checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
- "winapi",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -4996,11 +5894,41 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "windows-core"
-version = "0.51.1"
+version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64"
+checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
dependencies = [
- "windows-targets 0.48.5",
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-registry"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
+dependencies = [
+ "windows-result",
+ "windows-strings",
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-result"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
+dependencies = [
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
+dependencies = [
+ "windows-result",
+ "windows-targets 0.52.6",
]
[[package]]
@@ -5018,7 +5946,16 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
- "windows-targets 0.52.0",
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.59.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+dependencies = [
+ "windows-targets 0.52.6",
]
[[package]]
@@ -5038,17 +5975,18 @@ dependencies = [
[[package]]
name = "windows-targets"
-version = "0.52.0"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
- "windows_aarch64_gnullvm 0.52.0",
- "windows_aarch64_msvc 0.52.0",
- "windows_i686_gnu 0.52.0",
- "windows_i686_msvc 0.52.0",
- "windows_x86_64_gnu 0.52.0",
- "windows_x86_64_gnullvm 0.52.0",
- "windows_x86_64_msvc 0.52.0",
+ "windows_aarch64_gnullvm 0.52.6",
+ "windows_aarch64_msvc 0.52.6",
+ "windows_i686_gnu 0.52.6",
+ "windows_i686_gnullvm",
+ "windows_i686_msvc 0.52.6",
+ "windows_x86_64_gnu 0.52.6",
+ "windows_x86_64_gnullvm 0.52.6",
+ "windows_x86_64_msvc 0.52.6",
]
[[package]]
@@ -5059,9 +5997,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
[[package]]
name = "windows_aarch64_gnullvm"
-version = "0.52.0"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
name = "windows_aarch64_msvc"
@@ -5071,9 +6009,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
[[package]]
name = "windows_aarch64_msvc"
-version = "0.52.0"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
name = "windows_i686_gnu"
@@ -5083,9 +6021,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
[[package]]
name = "windows_i686_gnu"
-version = "0.52.0"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_msvc"
@@ -5095,9 +6039,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
[[package]]
name = "windows_i686_msvc"
-version = "0.52.0"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_x86_64_gnu"
@@ -5107,9 +6051,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
[[package]]
name = "windows_x86_64_gnu"
-version = "0.52.0"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnullvm"
@@ -5119,9 +6063,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
[[package]]
name = "windows_x86_64_gnullvm"
-version = "0.52.0"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_msvc"
@@ -5131,28 +6075,39 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
[[package]]
name = "windows_x86_64_msvc"
-version = "0.52.0"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "winnow"
+version = "0.5.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
+checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
+dependencies = [
+ "memchr",
+]
[[package]]
name = "winnow"
-version = "0.5.28"
+version = "0.6.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c830786f7720c2fd27a1a0e27a709dbd3c4d009b56d098fc742d4f4eab91fe2"
+checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f"
dependencies = [
"memchr",
]
[[package]]
name = "withdrawals-contract"
-version = "0.25.21"
+version = "1.1.0-dev.1"
dependencies = [
"num_enum",
"platform-value",
+ "platform-version",
"serde",
"serde_json",
"serde_repr",
+ "thiserror",
]
[[package]]
@@ -5172,29 +6127,30 @@ checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
[[package]]
name = "zerocopy"
-version = "0.7.31"
+version = "0.7.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c4061bedbb353041c12f413700357bec76df2c7e2ca8e4df8bac24c6bf68e3d"
+checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
dependencies = [
+ "byteorder",
"zerocopy-derive",
]
[[package]]
name = "zerocopy-derive"
-version = "0.7.31"
+version = "0.7.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a"
+checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.75",
]
[[package]]
name = "zeroize"
-version = "1.7.0"
+version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
+checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
[[package]]
name = "zip"
@@ -5202,17 +6158,84 @@ version = "0.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261"
dependencies = [
+ "aes",
"byteorder",
+ "bzip2",
+ "constant_time_eq 0.1.5",
"crc32fast",
"crossbeam-utils",
"flate2",
+ "hmac",
+ "pbkdf2",
+ "sha1",
+ "time",
+ "zstd",
+]
+
+[[package]]
+name = "zip"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dc5e4288ea4057ae23afc69a4472434a87a2495cafce6632fd1c4ec9f5cf3494"
+dependencies = [
+ "arbitrary",
+ "crc32fast",
+ "crossbeam-utils",
+ "displaydoc",
+ "flate2",
+ "indexmap 2.4.0",
+ "memchr",
+ "thiserror",
+ "zopfli",
+]
+
+[[package]]
+name = "zip-extensions"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cecf62554c4ff96bce01a7ef123d160c3ffe9180638820f8b4d545c65b221b8c"
+dependencies = [
+ "zip 0.6.6",
+]
+
+[[package]]
+name = "zopfli"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
+dependencies = [
+ "bumpalo",
+ "crc32fast",
+ "lockfree-object-pool",
+ "log",
+ "once_cell",
+ "simd-adler32",
+]
+
+[[package]]
+name = "zstd"
+version = "0.11.2+zstd.1.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
+dependencies = [
+ "zstd-safe",
+]
+
+[[package]]
+name = "zstd-safe"
+version = "5.0.2+zstd.1.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
+dependencies = [
+ "libc",
+ "zstd-sys",
]
[[package]]
name = "zstd-sys"
-version = "2.0.9+zstd.1.5.5"
+version = "2.0.13+zstd.1.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656"
+checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa"
dependencies = [
"cc",
"pkg-config",
diff --git a/Cargo.toml b/Cargo.toml
index 8fe09c67d2b..bdf98a874fa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,7 @@
[workspace]
+resolver = "2"
+
members = [
"packages/dapi-grpc",
"packages/rs-dapi-grpc-macros",
@@ -24,4 +26,11 @@ members = [
"packages/rs-sdk",
"packages/strategy-tests",
"packages/simple-signer",
+ "packages/rs-json-schema-compatibility-validator",
+ "packages/check-features",
]
+
+[patch.crates-io]
+tower-service = { git = "https://github.com/QuantumExplorer/tower", branch = "fix/indexMap2OnV0413" }
+tower-layer = { git = "https://github.com/QuantumExplorer/tower", branch = "fix/indexMap2OnV0413" }
+tower = { git = "https://github.com/QuantumExplorer/tower", branch = "fix/indexMap2OnV0413" }
diff --git a/Dockerfile b/Dockerfile
index 25ab93f4373..67c1c96a7e3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,7 @@
# The following build arguments can be provided using --build-arg:
# - CARGO_BUILD_PROFILE - set to `release` to build final binary, without debugging information
# - NODE_ENV - node.js environment name to use to build the library
-# - RUSTC_WRAPPER - set to `sccache` to enable sccache support and make the following variables avaialable:
+# - RUSTC_WRAPPER - set to `sccache` to enable sccache support and make the following variables available:
# - SCCACHE_GHA_ENABLED, ACTIONS_CACHE_URL, ACTIONS_RUNTIME_TOKEN - store sccache caches inside github actions
# - SCCACHE_MEMCACHED - set to memcache server URI (eg. tcp://172.17.0.1:11211) to enable sccache memcached backend
# - ALPINE_VERSION - use different version of Alpine base image; requires also rust:apline...
@@ -30,7 +30,7 @@
# SCCACHE_SERVER_PORT port to avoid conflicts in case of parallel compilation
ARG ALPINE_VERSION=3.18
-
+ARG PROTOC_VERSION=25.2
ARG RUSTC_WRAPPER
#
@@ -73,13 +73,14 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
--profile minimal \
-y \
# Rust version the same as in /README.md
- --default-toolchain stable \
+ --default-toolchain 1.76 \
--target wasm32-unknown-unknown
# Install protoc - protobuf compiler
# The one shipped with Alpine does not work
+ARG PROTOC_VERSION
RUN if [[ "$TARGETARCH" == "arm64" ]] ; then export PROTOC_ARCH=aarch_64; else export PROTOC_ARCH=x86_64; fi; \
- curl -Ls https://github.com/protocolbuffers/protobuf/releases/download/v22.4/protoc-22.4-linux-${PROTOC_ARCH}.zip \
+ curl -Ls https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${PROTOC_ARCH}.zip \
-o /tmp/protoc.zip && \
unzip -qd /opt/protoc /tmp/protoc.zip && \
rm /tmp/protoc.zip && \
@@ -137,8 +138,11 @@ ENV SCCACHE_REGION=${SCCACHE_REGION}
ARG CARGO_INCREMENTAL=false
ENV CARGO_INCREMENTAL=${CARGO_INCREMENTAL}
+ARG AWS_ACCESS_KEY_ID
+ARG AWS_SECRET_ACCESS_KEY
+
#
-# DEPS: FULL DEPENCIES LIST
+# DEPS: FULL DEPENDENCIES LIST
#
# This is separate from `deps` to use sccache for caching
FROM deps-${RUSTC_WRAPPER:-base} AS deps
@@ -173,6 +177,9 @@ WORKDIR /platform
COPY . .
+# Workaround: as we cache dapi-grpc, its build.rs is not rerun, so we need to touch it
+RUN touch /platform/packages/dapi-grpc/build.rs
+
#
# STAGE: BUILD RS-DRIVE-ABCI
#
@@ -193,7 +200,8 @@ RUN --mount=type=cache,sharing=shared,id=cargo_registry_index,target=${CARGO_HOM
if [[ -z "${SCCACHE_MEMCACHED}" ]] ; then unset SCCACHE_MEMCACHED ; fi ; \
cargo build \
--profile "$CARGO_BUILD_PROFILE" \
- --package drive-abci && \
+ --package drive-abci \
+ --locked && \
cp /platform/target/*/drive-abci /artifacts/ && \
if [[ "${RUSTC_WRAPPER}" == "sccache" ]] ; then sccache --show-stats; fi
@@ -231,12 +239,14 @@ LABEL description="Drive ABCI Rust"
RUN apk add --no-cache libgcc libstdc++
ENV DB_PATH=/var/lib/dash/rs-drive-abci/db
+ENV REJECTIONS_PATH=/var/log/dash/rejected
RUN mkdir -p /var/log/dash \
- /var/lib/dash/rs-drive-abci/db
+ /var/lib/dash/rs-drive-abci/db \
+ ${REJECTIONS_PATH}
COPY --from=build-drive-abci /artifacts/drive-abci /usr/bin/drive-abci
-COPY --from=build-drive-abci /platform/packages/rs-drive-abci/.env.example /var/lib/dash/rs-drive-abci/.env
+COPY --from=build-drive-abci /platform/packages/rs-drive-abci/.env.mainnet /var/lib/dash/rs-drive-abci/.env
# Create a volume
VOLUME /var/lib/dash/rs-drive-abci/db
@@ -264,6 +274,7 @@ CMD ["start"]
# ABCI interface
EXPOSE 26658
+EXPOSE 26659
# Prometheus port
EXPOSE 29090
@@ -295,7 +306,6 @@ COPY --from=build-dashmate-helper /platform/package.json /platform/yarn.lock /pl
COPY --from=build-dashmate-helper /platform/packages/dashmate packages/dashmate
COPY --from=build-dashmate-helper /platform/packages/dashpay-contract packages/dashpay-contract
COPY --from=build-dashmate-helper /platform/packages/wallet-lib packages/wallet-lib
-COPY --from=build-dashmate-helper /platform/packages/js-dash-sdk packages/js-dash-sdk
COPY --from=build-dashmate-helper /platform/packages/js-dapi-client packages/js-dapi-client
COPY --from=build-dashmate-helper /platform/packages/js-grpc-common packages/js-grpc-common
COPY --from=build-dashmate-helper /platform/packages/dapi-grpc packages/dapi-grpc
@@ -392,9 +402,6 @@ LABEL description="DAPI Node.JS"
# Install ZMQ shared library
RUN apk add --no-cache zeromq-dev
-# Install pm2
-RUN npm install -g pm2
-
WORKDIR /platform/packages/dapi
COPY --from=build-dapi /platform/.yarn /platform/.yarn
@@ -411,5 +418,3 @@ RUN cp /platform/packages/dapi/.env.example /platform/packages/dapi/.env
EXPOSE 2500 2501 2510
USER node
-
-ENTRYPOINT ["yarn", "node", "/usr/local/bin/pm2-runtime", "pm2.yml"]
diff --git a/README.md b/README.md
index dfcebf86e09..d4853d7f891 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@
-
+
@@ -53,23 +53,20 @@ this repository may be used on the following networks:
- Install prerequisites:
- [node.js](https://nodejs.org/) v20
- [docker](https://docs.docker.com/get-docker/) v20.10+
- - [rust](https://www.rust-lang.org/tools/install) v1.73+, with wasm32 target (`rustup target add wasm32-unknown-unknown`)
+ - [rust](https://www.rust-lang.org/tools/install) v1.76+, with wasm32 target (`rustup target add wasm32-unknown-unknown`)
+ - [protoc - protobuf compiler](https://github.com/protocolbuffers/protobuf/releases) v25.2+
+ - if needed, set PROTOC environment variable to location of `protoc` binary
- [wasm-bingen toolchain](https://rustwasm.github.io/wasm-bindgen/):
- **IMPORTANT (OSX only)**: built-in `llvm` on OSX does not work, needs to be installed from brew:
- `brew install llvm`
- LLVM installed from brew is keg only, and path to it must be provided in the profile file,
in terminal run `echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc` or `echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.bash_profile` depending on your default shell.
You can find your default shell with `echo $SHELL`
- - Reload your shell with `source ~/.zshrc` or `source ~/.bash_profile`
- - install `protoc` - protobuf compiler:
- - on debian/ubuntu: `apt install -y protobuf-compiler`
- - on Mac: `brew install protobuf`
- - on other systems, install most recent version from [Protocol Buffers releases page](https://github.com/protocolbuffers/protobuf/releases) (tested with protobuf 22.4)
- - if needed, set PROTOC environment variable to location of `protoc` binary
+ - Reload your shell with `source ~/.zshrc` or `source ~/.bash_profile`
- `cargo install wasm-bindgen-cli@0.2.85`
- *double-check that wasm-bindgen-cli version above matches wasm-bindgen version in Cargo.lock file*
- *Depending on system, additional packages may need to be installed as a prerequisite for wasm-bindgen-cli. If anything is missing, installation will error and prompt what packages are missing (i.e. clang, llvm, libssl-dev)*
- - essential build tools - example for Debian/Ubuntu: `apt install -y build-essential libssl-dev pkg-config clang`
+ - essential build tools - example for Debian/Ubuntu: `apt install -y build-essential libssl-dev pkg-config clang cmake llvm`
- Run `corepack enable` to enable [corepack](https://nodejs.org/dist/latest/docs/api/corepack.html) and install yarn
- Run `yarn setup` to install dependencies and configure and build all packages
- Run `yarn start` to start the local dev environment built from the sources
diff --git a/mkdocs.yml b/mkdocs.yml
index 64637fd664d..b1142098254 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -2,41 +2,60 @@ site_name: Dash Platform
plugins:
- redirects:
redirect_maps:
- 'SDK/README.md': 'https://dashplatform.readme.io/docs/dash-sdk-overview'
- 'SDK/Overview.md': 'https://dashplatform.readme.io/docs/dash-sdk-overview'
- 'SDK/examples/fetch-an-identity-from-its-name.md': 'https://dashplatform.readme.io/docs/dash-sdk-examples-fetch-an-identity-from-its-name'
- 'SDK/examples/generate-a-new-mnemonic.md': 'https://dashplatform.readme.io/docs/dash-sdk-examples-generate-a-new-mnemonic'
- 'SDK/examples/pay-to-another-address.md': 'https://dashplatform.readme.io/docs/dash-sdk-examples-paying-to-another-address'
- 'SDK/examples/receive-money-and-check-balance.md': 'https://dashplatform.readme.io/docs/dash-sdk-examples-receive-money-and-check-balance'
- 'SDK/examples/sign-and-verify-messages.md': 'https://dashplatform.readme.io/docs/dash-sdk-examples-sign-and-verify-messages'
- 'SDK/examples/use-different-account.md': 'https://dashplatform.readme.io/docs/dash-sdk-examples-use-different-account'
- 'SDK/getting-started/about-schemas.md': 'https://dashplatform.readme.io/docs/dash-sdk-getting-started-about-schemas'
- 'SDK/getting-started/core-concepts.md': 'https://dashplatform.readme.io/docs/dash-sdk-getting-started-core-concepts'
- 'SDK/getting-started/dash-platform-applications.md': 'https://dashplatform.readme.io/docs/dash-sdk-getting-started-dash-platform-applications'
- 'SDK/getting-started/multiple-apps.md': 'https://dashplatform.readme.io/docs/dash-sdk-getting-started-working-with-multiple-apps'
- 'SDK/getting-started/quickstart.md': 'https://dashplatform.readme.io/docs/dash-sdk-getting-started-quick-start'
- 'SDK/getting-started/with-typescript.md': 'https://dashplatform.readme.io/docs/dash-sdk-getting-started-with-typescript'
- 'SDK/platform/about-platform.md': 'https://dashplatform.readme.io/docs/dash-sdk-platform'
- 'SDK/platform/contracts/about-contracts.md': 'https://dashplatform.readme.io/docs/dash-sdk-contracts'
- 'SDK/platform/contracts/create.md': 'https://dashplatform.readme.io/docs/dash-sdk-contracts-create'
- 'SDK/platform/contracts/get.md': 'https://dashplatform.readme.io/docs/dash-sdk-contracts-get'
- 'SDK/platform/contracts/publish.md': 'https://dashplatform.readme.io/docs/dash-sdk-contracts-publish'
- 'SDK/platform/contracts/update.md': 'https://dashplatform.readme.io/docs/dash-sdk-contracts-update'
- 'SDK/platform/documents/about-documents.md': 'https://dashplatform.readme.io/docs/dash-sdk-documents'
- 'SDK/platform/documents/broadcast.md': 'https://dashplatform.readme.io/docs/dash-sdk-documents-broadcast'
- 'SDK/platform/documents/create.md': 'https://dashplatform.readme.io/docs/dash-sdk-documents-create'
- 'SDK/platform/documents/get.md': 'https://dashplatform.readme.io/docs/dash-sdk-documents-get'
- 'SDK/platform/identities/about-identity.md': 'https://dashplatform.readme.io/docs/dash-sdk-identities'
- 'SDK/platform/identities/get.md': 'https://dashplatform.readme.io/docs/dash-sdk-identities-get'
- 'SDK/platform/identities/register.md': 'https://dashplatform.readme.io/docs/dash-sdk-identities-register'
- 'SDK/platform/identities/topUp.md': 'https://dashplatform.readme.io/docs/dash-sdk-identities-topup'
- 'SDK/platform/names/about-dpns.md': 'https://dashplatform.readme.io/docs/dash-sdk-names'
- 'SDK/platform/names/register.md': 'https://dashplatform.readme.io/docs/dash-sdk-names-register'
- 'SDK/platform/names/resolve.md': 'https://dashplatform.readme.io/docs/dash-sdk-names-resolve'
- 'SDK/platform/names/resolveByRecord.md': 'https://dashplatform.readme.io/docs/dash-sdk-names-resolvebyrecord'
- 'SDK/platform/names/search.md': 'https://dashplatform.readme.io/docs/dash-sdk-names-search'
- 'SDK/usage/dapi.md': 'https://dashplatform.readme.io/docs/dash-sdk-usage-dapi'
- 'SDK/usage/dashcorelib-primitives.md': 'https://dashplatform.readme.io/docs/dash-sdk-usage-dashcore-lib-primitives'
- 'SDK/wallet/about-wallet-lib.md': 'https://dashplatform.readme.io/docs/dash-sdk-wallet'
- 'SDK/wallet/accounts.md': 'https://dashplatform.readme.io/docs/dash-sdk-wallet-accounts'
- 'SDK/wallet/signing-encrypt.md': 'https://dashplatform.readme.io/docs/dash-sdk-wallet-signing-encrypt'
+ 'SDK/README.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/overview.html'
+ 'SDK/Overview.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/overview.html'
+ 'SDK/examples/fetch-an-identity-from-its-name.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/examples/fetch-an-identity-from-its-name.html'
+ 'SDK/examples/generate-a-new-mnemonic.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/examples/generate-a-new-mnemonic.html'
+ 'SDK/examples/pay-to-another-address.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/examples/paying-to-another-address.html'
+ 'SDK/examples/receive-money-and-check-balance.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/examples/receive-money-and-check-balance.html'
+ 'SDK/examples/sign-and-verify-messages.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/examples/sign-and-verify-messages.html'
+ 'SDK/examples/use-different-account.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/examples/use-different-account.html'
+ 'SDK/getting-started/about-schemas.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/getting-started/about-schemas.html'
+ 'SDK/getting-started/core-concepts.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/getting-started/core-concepts.html'
+ 'SDK/getting-started/dash-platform-applications.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/getting-started/dash-platform-applications.html'
+ 'SDK/getting-started/multiple-apps.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/getting-started/working-with-multiple-apps.html'
+ 'SDK/getting-started/quickstart.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/getting-started/quick-start.html'
+ 'SDK/getting-started/with-typescript.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/getting-started/with-typescript.html'
+ 'SDK/platform/about-platform.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/platform.html'
+ 'SDK/platform/contracts/about-contracts.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/contracts/contracts.html'
+ 'SDK/platform/contracts/create.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/contracts/create.html'
+ 'SDK/platform/contracts/get.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/contracts/get.html'
+ 'SDK/platform/contracts/publish.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/contracts/publish.html'
+ 'SDK/platform/contracts/update.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/contracts/update.html'
+ 'SDK/platform/documents/about-documents.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/documents/documents.html'
+ 'SDK/platform/documents/broadcast.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/documents/broadcast.html'
+ 'SDK/platform/documents/create.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/documents/create.html'
+ 'SDK/platform/documents/get.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/documents/get.html'
+ 'SDK/platform/identities/about-identity.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/identities/identities.html'
+ 'SDK/platform/identities/get.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/identities/get.html'
+ 'SDK/platform/identities/register.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/identities/register.html'
+ 'SDK/platform/identities/topUp.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/identities/register.html'
+ 'SDK/platform/names/about-dpns.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/names/names.html'
+ 'SDK/platform/names/register.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/names/register.html'
+ 'SDK/platform/names/resolve.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/names/resolve.html'
+ 'SDK/platform/names/resolveByRecord.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/names/resolvebyrecord.html'
+ 'SDK/platform/names/search.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/platform/names/search.html'
+ 'SDK/usage/dapi.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/usage/dapi.html#'
+ 'SDK/usage/dashcorelib-primitives.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/usage/dashcore-lib-primitives.html'
+ 'SDK/wallet/about-wallet-lib.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/wallet/wallet.html'
+ 'SDK/wallet/accounts.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/wallet/accounts.html'
+ 'SDK/wallet/signing-encrypt.md': 'https://docs.dash.org/projects/platform/en/stable/docs/sdk-js/wallet/signing-encrypt.html'
+ 'DAPI-Client/README.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/overview.html'
+ 'DAPI-Client/getting-started/quickstart.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/quick-start.html'
+ 'DAPI-Client/usage/application/DAPIClient.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/dapiclient.html'
+ 'DAPI-Client/usage/application/core/broadcastTransaction.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/broadcasttransaction.html'
+ 'DAPI-Client/usage/application/core/getBestBlockHash.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/getbestblockhash.html'
+ 'DAPI-Client/usage/application/core/getBlockByHash.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/getblockbyhash.html'
+ 'DAPI-Client/usage/application/core/getBlockByHeight.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/getblockbyheight.html'
+ 'DAPI-Client/usage/application/core/getBlockHash.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/getblockhash.html'
+ 'DAPI-Client/usage/application/core/getStatus.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/getstatus.html'
+ 'DAPI-Client/usage/application/core/getTransaction.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/gettransaction.html'
+ 'DAPI-Client/usage/application/core/subscribeToTransactionsWithProofs.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/subscribetotransactionswithproofs.html'
+ 'DAPI-Client/usage/application/core/subscribeToMasternodeList.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/subscribetomasternodelist.html'
+ 'DAPI-Client/usage/application/core/subscribeToBlockHeadersWithChainLocks.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/core/subscribetoblockheaderswithchainlocks.html'
+ 'DAPI-Client/usage/application/platform/broadcastStateTransition.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/platform/broadcaststatetransition.html'
+ 'DAPI-Client/usage/application/getDataContract.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/platform/getdatacontract.html'
+ 'DAPI-Client/usage/application/getDocuments.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/platform/getdocuments.html'
+ 'DAPI-Client/usage/application/getIdentity.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/platform/getidentity.html'
+ 'DAPI-Client/usage/application/getIdentityByFirstPublicKey.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/platform/getidentitybyfirstpublickey.html'
+ 'DAPI-Client/usage/application/getIdentityIdByFirstPublicKey.md': 'https://docs.dash.org/projects/platform/en/stable/docs/dapi-client-js/usage/platform/getidentityidbyfirstpublickey.html'
diff --git a/package.json b/package.json
index cc263f63a6b..d07fdcc1c71 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@dashevo/platform",
- "version": "0.25.21",
+ "version": "1.1.0-dev.1",
"private": true,
"scripts": {
"setup": "yarn install && yarn run build && yarn run configure",
@@ -69,8 +69,8 @@
"resolutions": {
"elliptic": "^6.5.4",
"bn.js": "4.12.0",
- "ejs": "^3.1.7",
"fast-json-patch": "^3.1.1",
+ "node-tar": "^6.2.1",
"oclif@3.4.2": "patch:oclif@npm:3.4.2#.yarn/patches/oclif-npm-3.4.2-a655d32eed.patch",
"qs": "^6.7.3",
"engine.io": "^6.4.2",
@@ -84,10 +84,14 @@
"browserify-sign": "4.2.2",
"istanbul-lib-processinfo": "2.0.3",
"@babel/core": "7.23.3",
+ "tar": "^6.2.1",
"tsconfig-paths": "4.2.0",
"ansi-regex": "5.0.1",
"cacache": "18.0.0",
- "node-gyp": "10.0.1"
+ "node-gyp": "10.0.1",
+ "follow-redirects": "^1.15.5",
+ "socks": "^2.8.1",
+ "ws": "^8.17.1"
},
"dependencies": {
"node-gyp": "^10.0.1"
diff --git a/packages/bench-suite/benchmarks/basicValidation.js b/packages/bench-suite/benchmarks/basicValidation.js
index cc1eb900d57..40c0944241c 100644
--- a/packages/bench-suite/benchmarks/basicValidation.js
+++ b/packages/bench-suite/benchmarks/basicValidation.js
@@ -1,6 +1,6 @@
const { PrivateKey } = require('@dashevo/dashcore-lib');
-const dpnsDocumentTypes = require('@dashevo/dpns-contract/schema/dpns-contract-documents');
+const dpnsDocumentTypes = require('@dashevo/dpns-contract/schema/v1/dpns-contract-documents.json');
// const { DashPlatformProtocol, Identity, Identifier, default: loadWasmDpp } = require('@dashevo/wasm-dpp');
const generateRandomIdentifier = require('@dashevo/wasm-dpp/lib/test/utils/generateRandomIdentifierAsync');
diff --git a/packages/bench-suite/benchmarks/documents/dpns.js b/packages/bench-suite/benchmarks/documents/dpns.js
index 605862943ca..a1062007b1b 100644
--- a/packages/bench-suite/benchmarks/documents/dpns.js
+++ b/packages/bench-suite/benchmarks/documents/dpns.js
@@ -1,6 +1,6 @@
const crypto = require('crypto');
-const dpnsDocumentTypes = require('@dashevo/dpns-contract/schema/dpns-contract-documents');
+const dpnsDocumentTypes = require('@dashevo/dpns-contract/schema/v1/dpns-contract-documents.json');
const generateRandomIdentifier = require('@dashevo/wasm-dpp/lib/test/utils/generateRandomIdentifierAsync');
diff --git a/packages/bench-suite/package.json b/packages/bench-suite/package.json
index 1fb2397a82e..ed536f8cd49 100644
--- a/packages/bench-suite/package.json
+++ b/packages/bench-suite/package.json
@@ -1,14 +1,14 @@
{
"name": "@dashevo/bench-suite",
"private": true,
- "version": "0.25.21",
+ "version": "1.1.0-dev.1",
"description": "Dash Platform benchmark tool",
"scripts": {
"bench": "node ./bin/bench.js",
"lint": ""
},
"dependencies": {
- "@dashevo/dashcore-lib": "~0.21.0",
+ "@dashevo/dashcore-lib": "~0.21.3",
"@dashevo/dpns-contract": "workspace:*",
"@dashevo/wallet-lib": "workspace:*",
"@dashevo/wasm-dpp": "workspace:*",
diff --git a/packages/check-features/Cargo.toml b/packages/check-features/Cargo.toml
new file mode 100644
index 00000000000..5df36ccaf8c
--- /dev/null
+++ b/packages/check-features/Cargo.toml
@@ -0,0 +1,9 @@
+[package]
+name = "check-features"
+version = "1.1.0-dev.1"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+toml = "0.8.12"
diff --git a/packages/check-features/src/main.rs b/packages/check-features/src/main.rs
new file mode 100644
index 00000000000..c8a876a1f32
--- /dev/null
+++ b/packages/check-features/src/main.rs
@@ -0,0 +1,139 @@
+use std::fs;
+use std::process::Command;
+use toml::Value;
+
+fn main() {
+ let crates = [
+ ("rs-sdk", vec![]),
+ ("rs-drive-abci", vec![]),
+ ("rs-dpp", vec![]),
+ ("rs-drive", vec![]),
+ ("rs-drive-proof-verifier", vec![]),
+ ];
+
+ for (specific_crate, to_ignore) in crates {
+ check_crate(specific_crate, to_ignore)
+ }
+}
+
+fn check_crate(crate_name: &str, to_ignore: Vec<&str>) {
+ // Construct the path to the Cargo.toml file for each crate
+ let cargo_toml_path = format!("packages/{}/Cargo.toml", crate_name);
+
+ // Read and parse the Cargo.toml file
+ let cargo_toml_content = fs::read_to_string(cargo_toml_path)
+ .unwrap_or_else(|_| panic!("Failed to read Cargo.toml for {}", crate_name));
+
+ let cargo_toml: Value = cargo_toml_content
+ .parse()
+ .expect("Failed to parse Cargo.toml");
+
+ let features = cargo_toml
+ .get("features")
+ .expect("No features in Cargo.toml");
+
+ let name = cargo_toml
+ .get("package")
+ .expect("No package in Cargo.toml")
+ .get("name")
+ .expect("expected name in Cargo.toml");
+
+ println!("Checking crate {} with default features", crate_name);
+
+ // Change directory to the crate's directory and run cargo check for the specific feature
+ let status = Command::new("cargo")
+ .current_dir(format!("packages/{}", crate_name)) // Set the current directory to the crate's directory
+ .arg("check")
+ .status()
+ .expect("Failed to execute cargo check");
+
+ if !status.success() {
+ println!(
+ "Feature check failed in crate {} with default features",
+ crate_name
+ );
+ println!("cargo check -p {}", name);
+ std::process::exit(1);
+ }
+
+ println!("Checking crate {} with no default features", crate_name);
+
+ // Change directory to the crate's directory and run cargo check for the specific feature
+ let status = Command::new("cargo")
+ .current_dir(format!("packages/{}", crate_name)) // Set the current directory to the crate's directory
+ .arg("check")
+ .arg("--no-default-features")
+ .status()
+ .expect("Failed to execute cargo check");
+
+ if !status.success() {
+ println!(
+ "Check failed in crate {} with no default features",
+ crate_name
+ );
+ println!("cargo check -p {} --no-default-features", name);
+ std::process::exit(1);
+ }
+
+ for (feature, _) in features.as_table().unwrap().iter() {
+ // Skip special feature groups
+ if feature == "default"
+ || feature.ends_with("features")
+ || to_ignore.contains(&feature.as_str())
+ {
+ continue;
+ }
+
+ println!(
+ "Checking feature: {} in crate {} with default features",
+ feature, crate_name
+ );
+
+ // Change directory to the crate's directory and run cargo check for the specific feature
+ let status = Command::new("cargo")
+ .current_dir(format!("packages/{}", crate_name)) // Set the current directory to the crate's directory
+ .arg("check")
+ .arg("--features")
+ .arg(feature)
+ .status()
+ .expect("Failed to execute cargo check");
+
+ if !status.success() {
+ println!(
+ "Feature check failed for feature: {} in crate {} with default features",
+ feature, crate_name
+ );
+ println!("cargo check -p {} --features {}", name, feature);
+ std::process::exit(1);
+ }
+
+ println!(
+ "Checking feature: {} in crate {} with no default features",
+ feature, crate_name
+ );
+
+ // Change directory to the crate's directory and run cargo check for the specific feature
+ let status = Command::new("cargo")
+ .current_dir(format!("packages/{}", crate_name)) // Set the current directory to the crate's directory
+ .arg("check")
+ .arg("--features")
+ .arg(feature)
+ .arg("--no-default-features")
+ .status()
+ .expect("Failed to execute cargo check");
+
+ if !status.success() {
+ println!(
+ "Feature check failed for feature: {} in crate {} with no default features",
+ feature, crate_name
+ );
+ println!(
+ "cargo check -p {} --features {} --no-default-features",
+ name, feature
+ );
+ std::process::exit(1);
+ }
+ }
+
+ println!("All features checked successfully on {}", crate_name);
+}
diff --git a/packages/dapi-grpc/.gitignore b/packages/dapi-grpc/.gitignore
new file mode 100644
index 00000000000..e8aa2e11061
--- /dev/null
+++ b/packages/dapi-grpc/.gitignore
@@ -0,0 +1,2 @@
+src/core/*/
+src/platform/*/
diff --git a/packages/dapi-grpc/Cargo.toml b/packages/dapi-grpc/Cargo.toml
index 7160550b714..c70258a333d 100644
--- a/packages/dapi-grpc/Cargo.toml
+++ b/packages/dapi-grpc/Cargo.toml
@@ -1,36 +1,50 @@
[package]
name = "dapi-grpc"
description = "GRPC client for Dash Platform"
-version = "0.25.21"
+version = "1.1.0-dev.1"
authors = [
- "Samuel Westrich ",
- "Igor Markin ",
- "Łukasz Klimek ",
- "Anton Suprunchuk ",
- "Ivan Shumkov ",
+ "Samuel Westrich ",
+ "Igor Markin ",
+ "Łukasz Klimek ",
+ "Anton Suprunchuk ",
+ "Ivan Shumkov ",
]
edition = "2021"
-rust-version = "1.73"
+rust-version = "1.76"
license = "MIT"
[features]
-default = ["core", "platform", "client", "serde"]
+default = ["core", "platform", "client"]
core = []
platform = []
# Re-export Dash Platform protobuf types as `dapi_grpc::platform::proto`
+# Note: client needs tls and tls-roots to connect to testnet which uses TLS.
tenderdash-proto = []
-client = ["tonic/channel", "tonic/tls", "tonic/tls-roots", "platform"]
+client = [
+ "tonic/channel",
+ "tonic/transport",
+ "tonic/tls",
+ "tonic/tls-roots",
+ "tonic/tls-webpki-roots",
+ "platform",
+]
+server = ["tonic/channel", "tonic/transport", "platform"]
serde = ["dep:serde", "dep:serde_bytes"]
+mocks = ["serde", "dep:serde_json"]
[dependencies]
-prost = { version = "0.11.9" }
-tonic = { version = "0.9.2", features = [
- "codegen",
- "prost",
+prost = { version = "0.12.3" }
+futures-core = "0.3.30"
+tonic = { version = "0.11", features = [
+ "codegen",
+ "prost",
], default-features = false }
-serde = { version = "1.0.171", optional = true, features = ["derive"] }
+serde = { version = "1.0.197", optional = true, features = ["derive"] }
serde_bytes = { version = "0.11.12", optional = true }
-tenderdash-proto = { git = "https://github.com/dashpay/rs-tenderdash-abci" }
+serde_json = { version = "1.0", optional = true }
+tenderdash-proto = { git = "https://github.com/dashpay/rs-tenderdash-abci", version = "1.1.0", tag = "v1.1.0", default-features = false, features = [
+ "grpc",
+] }
dapi-grpc-macros = { path = "../rs-dapi-grpc-macros" }
platform-version = { path = "../rs-platform-version" }
@@ -49,4 +63,9 @@ name = "platform_example"
path = "clients/platform/v0/rust/platform_example.rs"
[package.metadata.cargo-machete]
-ignored = ["platform-version", "serde_bytes"]
+ignored = [
+ "platform-version",
+ "serde_bytes",
+ "futures-core",
+ "dapi-grpc-macros",
+]
diff --git a/packages/dapi-grpc/build.rs b/packages/dapi-grpc/build.rs
index 713494f292e..0b613a8c12a 100644
--- a/packages/dapi-grpc/build.rs
+++ b/packages/dapi-grpc/build.rs
@@ -1,12 +1,36 @@
use std::{
+ collections::HashSet,
fs::{create_dir_all, remove_dir_all},
path::PathBuf,
+ process::exit,
};
use tonic_build::Builder;
+const SERDE_WITH_BYTES: &str = r#"#[cfg_attr(feature = "serde", serde(with = "serde_bytes"))]"#;
+const SERDE_WITH_BASE64: &str =
+ r#"#[cfg_attr(feature = "serde", serde(with = "crate::deserialization::vec_base64string"))]"#;
+const SERDE_WITH_STRING: &str =
+ r#"#[cfg_attr(feature = "serde", serde(with = "crate::deserialization::from_to_string"))]"#;
+
fn main() {
- generate().expect("failed to compile protobuf definitions");
+ let core = MappingConfig::new(
+ PathBuf::from("protos/core/v0/core.proto"),
+ PathBuf::from("src/core"),
+ );
+
+ configure_core(core)
+ .generate()
+ .expect("generate core proto");
+
+ let platform = MappingConfig::new(
+ PathBuf::from("protos/platform/v0/platform.proto"),
+ PathBuf::from("src/platform"),
+ );
+
+ configure_platform(platform)
+ .generate()
+ .expect("generate platform proto");
println!("cargo:rerun-if-changed=./protos");
println!("cargo:rerun-if-env-changed=CARGO_FEATURE_SERDE");
@@ -18,29 +42,20 @@ struct MappingConfig {
builder: Builder,
proto_includes: Vec,
}
-/// Generate Rust definitions from Protobuf definitions
-pub fn generate() -> Result<(), std::io::Error> {
- let core = MappingConfig::new(
- PathBuf::from("protos/core/v0/core.proto"),
- PathBuf::from("src/core/proto"),
- );
- core.generate().unwrap();
-
- let mut platform = MappingConfig::new(
- PathBuf::from("protos/platform/v0/platform.proto"),
- PathBuf::from("src/platform/proto"),
- );
+fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
// Derive features for versioned messages
//
// "GetConsensusParamsRequest" is excluded as this message does not support proofs
- const VERSIONED_REQUESTS: [&str; 15] = [
+ const VERSIONED_REQUESTS: [&str; 26] = [
"GetDataContractHistoryRequest",
"GetDataContractRequest",
"GetDataContractsRequest",
"GetDocumentsRequest",
"GetIdentitiesByPublicKeyHashesRequest",
"GetIdentitiesRequest",
+ "GetIdentityNonceRequest",
+ "GetIdentityContractNonceRequest",
"GetIdentityBalanceAndRevisionRequest",
"GetIdentityBalanceRequest",
"GetIdentityByPublicKeyHashRequest",
@@ -50,10 +65,19 @@ pub fn generate() -> Result<(), std::io::Error> {
"WaitForStateTransitionResultRequest",
"GetProtocolVersionUpgradeStateRequest",
"GetProtocolVersionUpgradeVoteStatusRequest",
+ "GetPathElementsRequest",
+ "GetIdentitiesContractKeysRequest",
+ "GetPrefundedSpecializedBalanceRequest",
+ "GetContestedResourcesRequest",
+ "GetContestedResourceVoteStateRequest",
+ "GetContestedResourceVotersForIdentityRequest",
+ "GetContestedResourceIdentityVotesRequest",
+ "GetVotePollsByEndDateRequest",
+ "GetTotalCreditsInPlatformRequest",
];
// "GetConsensusParamsResponse" is excluded as this message does not support proofs
- const VERSIONED_RESPONSES: [&str; 16] = [
+ const VERSIONED_RESPONSES: [&str; 27] = [
"GetDataContractHistoryResponse",
"GetDataContractResponse",
"GetDataContractsResponse",
@@ -62,6 +86,8 @@ pub fn generate() -> Result<(), std::io::Error> {
"GetIdentitiesResponse",
"GetIdentityBalanceAndRevisionResponse",
"GetIdentityBalanceResponse",
+ "GetIdentityNonceResponse",
+ "GetIdentityContractNonceResponse",
"GetIdentityByPublicKeyHashResponse",
"GetIdentityKeysResponse",
"GetIdentityResponse",
@@ -70,8 +96,20 @@ pub fn generate() -> Result<(), std::io::Error> {
"GetEpochsInfoResponse",
"GetProtocolVersionUpgradeStateResponse",
"GetProtocolVersionUpgradeVoteStatusResponse",
+ "GetPathElementsResponse",
+ "GetIdentitiesContractKeysResponse",
+ "GetPrefundedSpecializedBalanceResponse",
+ "GetContestedResourcesResponse",
+ "GetContestedResourceVoteStateResponse",
+ "GetContestedResourceVotersForIdentityResponse",
+ "GetContestedResourceIdentityVotesResponse",
+ "GetVotePollsByEndDateResponse",
+ "GetTotalCreditsInPlatformResponse",
];
+ check_unique(&VERSIONED_REQUESTS).expect("VERSIONED_REQUESTS");
+ check_unique(&VERSIONED_RESPONSES).expect("VERSIONED_RESPONSES");
+
// Derive VersionedGrpcMessage on requests
for msg in VERSIONED_REQUESTS {
platform = platform
@@ -92,66 +130,113 @@ pub fn generate() -> Result<(), std::io::Error> {
.message_attribute(msg, r#"#[grpc_versions(0)]"#);
}
- #[cfg(feature = "serde")]
+ // All messages can be mocked.
+ let platform = platform.message_attribute(".", r#"#[derive( ::dapi_grpc_macros::Mockable)]"#);
+
let platform = platform
.type_attribute(
".",
- r#"#[derive(::serde::Serialize, ::serde::Deserialize)]"#,
- )
- .type_attribute(".", r#"#[serde(rename_all = "snake_case")]"#)
- .field_attribute("id", r#"#[serde(with = "serde_bytes")]"#)
- .field_attribute("identity_id", r#"#[serde(with = "serde_bytes")]"#)
- .field_attribute(
- "ids",
- r#"#[serde(with = "crate::deserialization::vec_base64string")]"#,
- )
- .field_attribute(
- "ResponseMetadata.height",
- r#"#[serde(with = "crate::deserialization::from_to_string")]"#,
+ r#"#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))]"#,
)
- .field_attribute(
- "ResponseMetadata.time_ms",
- r#"#[serde(with = "crate::deserialization::from_to_string")]"#,
- )
- .field_attribute(
- "start_at_ms",
- r#"#[serde(with = "crate::deserialization::from_to_string")]"#,
- )
- .field_attribute("public_key_hash", r#"#[serde(with = "serde_bytes")]"#)
- .field_attribute(
- "public_key_hashes",
- r#"#[serde(with = "crate::deserialization::vec_base64string")]"#,
+ .type_attribute(
+ ".",
+ r#"#[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]"#,
)
+ .field_attribute("id", SERDE_WITH_BYTES)
+ .field_attribute("identity_id", SERDE_WITH_BYTES)
+ .field_attribute("ids", SERDE_WITH_BASE64)
+ .field_attribute("ResponseMetadata.height", SERDE_WITH_STRING)
+ .field_attribute("ResponseMetadata.time_ms", SERDE_WITH_STRING)
+ .field_attribute("start_at_ms", SERDE_WITH_STRING)
+ .field_attribute("public_key_hash", SERDE_WITH_BYTES)
+ .field_attribute("public_key_hashes", SERDE_WITH_BASE64)
// Get documents fields
- .field_attribute("data_contract_id", r#"#[serde(with = "serde_bytes")]"#)
- .field_attribute("where", r#"#[serde(with = "serde_bytes")]"#)
- .field_attribute("order_by", r#"#[serde(with = "serde_bytes")]"#)
+ .field_attribute("data_contract_id", SERDE_WITH_BYTES)
+ .field_attribute("where", SERDE_WITH_BYTES)
+ .field_attribute("order_by", SERDE_WITH_BYTES)
// Proof fields
- .field_attribute("Proof.grovedb_proof", r#"#[serde(with = "serde_bytes")]"#)
- .field_attribute("Proof.quorum_hash", r#"#[serde(with = "serde_bytes")]"#)
- .field_attribute("Proof.signature", r#"#[serde(with = "serde_bytes")]"#)
- .field_attribute("Proof.block_id_hash", r#"#[serde(with = "serde_bytes")]"#);
+ .field_attribute("Proof.grovedb_proof", SERDE_WITH_BYTES)
+ .field_attribute("Proof.quorum_hash", SERDE_WITH_BYTES)
+ .field_attribute("Proof.signature", SERDE_WITH_BYTES)
+ .field_attribute("Proof.block_id_hash", SERDE_WITH_BYTES);
+
+ #[allow(clippy::let_and_return)]
+ platform
+}
- platform.generate().unwrap();
+/// Check for duplicate messages in the list.
+fn check_unique(messages: &[&'static str]) -> Result<(), String> {
+ let mut hashset: HashSet<&'static str> = HashSet::new();
+ let mut duplicates = String::new();
- Ok(())
+ for value in messages {
+ if !hashset.insert(*value) {
+ duplicates.push_str(value);
+ duplicates.push_str(", ");
+ }
+ }
+
+ if duplicates.is_empty() {
+ Ok(())
+ } else {
+ Err(format!(
+ "Duplicate messages found: {}",
+ duplicates.trim_end_matches(", ")
+ ))
+ }
+}
+
+fn configure_core(core: MappingConfig) -> MappingConfig {
+ // All messages can be mocked.
+ let core = core.message_attribute(".", r#"#[derive(::dapi_grpc_macros::Mockable)]"#);
+
+ // Serde support
+ let core = core.type_attribute(
+ ".",
+ r#"#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))]"#,
+ );
+
+ #[allow(clippy::let_and_return)]
+ core
}
impl MappingConfig {
+ /// Create a new MappingConfig instance.
+ ///
+ /// ## Arguments
+ ///
+ /// * `protobuf_file` - Path to the protobuf file to use as input.
+ /// * `out_dir` - Output directory where subdirectories for generated files will be created.
+ /// Depending on the features, either `client`, `server` or `client_server` subdirectory
+ /// will be created inside `out_dir`.
fn new(protobuf_file: PathBuf, out_dir: PathBuf) -> Self {
let protobuf_file = abs_path(&protobuf_file);
- let out_dir = abs_path(&out_dir);
+
+ let build_server = cfg!(feature = "server");
+ let build_client = cfg!(feature = "client");
+
+ // Depending on the features, we need to build the server, client or both.
+ // We save these artifacts in separate directories to avoid overwriting the generated files
+ // when another crate requires different features.
+ let out_dir_suffix = match (build_server, build_client) {
+ (true, true) => "client_server",
+ (true, false) => "server",
+ (false, true) => "client",
+ (false, false) => {
+ println!("WARNING: At least one of the features 'server' or 'client' must be enabled; dapi-grpc will not generate any files.");
+ exit(0)
+ }
+ };
+
+ let out_dir = abs_path(&out_dir.join(out_dir_suffix));
let builder = tonic_build::configure()
- .build_server(false)
+ .build_server(build_server)
+ .build_client(build_client)
+ .build_transport(build_server || build_client)
.out_dir(out_dir.clone())
.protoc_arg("--experimental_allow_proto3_optional");
- #[cfg(feature = "client")]
- let builder = builder.build_client(true).build_transport(true);
- #[cfg(not(feature = "client"))]
- let builder = builder.build_client(false).build_transport(false);
-
Self {
protobuf_file,
out_dir,
diff --git a/packages/dapi-grpc/clients/core/v0/java/org/dash/platform/dapi/v0/CoreGrpc.java b/packages/dapi-grpc/clients/core/v0/java/org/dash/platform/dapi/v0/CoreGrpc.java
index 13210195573..029ad20c799 100644
--- a/packages/dapi-grpc/clients/core/v0/java/org/dash/platform/dapi/v0/CoreGrpc.java
+++ b/packages/dapi-grpc/clients/core/v0/java/org/dash/platform/dapi/v0/CoreGrpc.java
@@ -15,35 +15,66 @@ private CoreGrpc() {}
public static final String SERVICE_NAME = "org.dash.platform.dapi.v0.Core";
// Static method descriptors that strictly reflect the proto.
- private static volatile io.grpc.MethodDescriptor getGetStatusMethod;
+ private static volatile io.grpc.MethodDescriptor getGetBlockchainStatusMethod;
@io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "getStatus",
- requestType = org.dash.platform.dapi.v0.CoreOuterClass.GetStatusRequest.class,
- responseType = org.dash.platform.dapi.v0.CoreOuterClass.GetStatusResponse.class,
+ fullMethodName = SERVICE_NAME + '/' + "getBlockchainStatus",
+ requestType = org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusRequest.class,
+ responseType = org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getGetStatusMethod() {
- io.grpc.MethodDescriptor getGetStatusMethod;
- if ((getGetStatusMethod = CoreGrpc.getGetStatusMethod) == null) {
+ public static io.grpc.MethodDescriptor getGetBlockchainStatusMethod() {
+ io.grpc.MethodDescriptor getGetBlockchainStatusMethod;
+ if ((getGetBlockchainStatusMethod = CoreGrpc.getGetBlockchainStatusMethod) == null) {
synchronized (CoreGrpc.class) {
- if ((getGetStatusMethod = CoreGrpc.getGetStatusMethod) == null) {
- CoreGrpc.getGetStatusMethod = getGetStatusMethod =
- io.grpc.MethodDescriptor.newBuilder()
+ if ((getGetBlockchainStatusMethod = CoreGrpc.getGetBlockchainStatusMethod) == null) {
+ CoreGrpc.getGetBlockchainStatusMethod = getGetBlockchainStatusMethod =
+ io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getStatus"))
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getBlockchainStatus"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- org.dash.platform.dapi.v0.CoreOuterClass.GetStatusRequest.getDefaultInstance()))
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- org.dash.platform.dapi.v0.CoreOuterClass.GetStatusResponse.getDefaultInstance()))
- .setSchemaDescriptor(new CoreMethodDescriptorSupplier("getStatus"))
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CoreMethodDescriptorSupplier("getBlockchainStatus"))
.build();
}
}
}
- return getGetStatusMethod;
+ return getGetBlockchainStatusMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetMasternodeStatusMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getMasternodeStatus",
+ requestType = org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusRequest.class,
+ responseType = org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetMasternodeStatusMethod() {
+ io.grpc.MethodDescriptor getGetMasternodeStatusMethod;
+ if ((getGetMasternodeStatusMethod = CoreGrpc.getGetMasternodeStatusMethod) == null) {
+ synchronized (CoreGrpc.class) {
+ if ((getGetMasternodeStatusMethod = CoreGrpc.getGetMasternodeStatusMethod) == null) {
+ CoreGrpc.getGetMasternodeStatusMethod = getGetMasternodeStatusMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getMasternodeStatus"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CoreMethodDescriptorSupplier("getMasternodeStatus"))
+ .build();
+ }
+ }
+ }
+ return getGetMasternodeStatusMethod;
}
private static volatile io.grpc.MethodDescriptor getGetBlockMethod() {
return getGetBlockMethod;
}
+ private static volatile io.grpc.MethodDescriptor getGetBestBlockHeightMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getBestBlockHeight",
+ requestType = org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightRequest.class,
+ responseType = org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetBestBlockHeightMethod() {
+ io.grpc.MethodDescriptor getGetBestBlockHeightMethod;
+ if ((getGetBestBlockHeightMethod = CoreGrpc.getGetBestBlockHeightMethod) == null) {
+ synchronized (CoreGrpc.class) {
+ if ((getGetBestBlockHeightMethod = CoreGrpc.getGetBestBlockHeightMethod) == null) {
+ CoreGrpc.getGetBestBlockHeightMethod = getGetBestBlockHeightMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getBestBlockHeight"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CoreMethodDescriptorSupplier("getBestBlockHeight"))
+ .build();
+ }
+ }
+ }
+ return getGetBestBlockHeightMethod;
+ }
+
private static volatile io.grpc.MethodDescriptor getBroadcastTransactionMethod;
@@ -232,6 +294,37 @@ org.dash.platform.dapi.v0.CoreOuterClass.TransactionsWithProofsResponse> getSubs
return getSubscribeToTransactionsWithProofsMethod;
}
+ private static volatile io.grpc.MethodDescriptor getSubscribeToMasternodeListMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "subscribeToMasternodeList",
+ requestType = org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListRequest.class,
+ responseType = org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+ public static io.grpc.MethodDescriptor getSubscribeToMasternodeListMethod() {
+ io.grpc.MethodDescriptor getSubscribeToMasternodeListMethod;
+ if ((getSubscribeToMasternodeListMethod = CoreGrpc.getSubscribeToMasternodeListMethod) == null) {
+ synchronized (CoreGrpc.class) {
+ if ((getSubscribeToMasternodeListMethod = CoreGrpc.getSubscribeToMasternodeListMethod) == null) {
+ CoreGrpc.getSubscribeToMasternodeListMethod = getSubscribeToMasternodeListMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "subscribeToMasternodeList"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CoreMethodDescriptorSupplier("subscribeToMasternodeList"))
+ .build();
+ }
+ }
+ }
+ return getSubscribeToMasternodeListMethod;
+ }
+
/**
* Creates a new async stub that supports all call types for the service
*/
@@ -282,9 +375,16 @@ public static abstract class CoreImplBase implements io.grpc.BindableService {
/**
*/
- public void getStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetStatusRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStatusMethod(), responseObserver);
+ public void getBlockchainStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBlockchainStatusMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void getMasternodeStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMasternodeStatusMethod(), responseObserver);
}
/**
@@ -294,6 +394,13 @@ public void getBlock(org.dash.platform.dapi.v0.CoreOuterClass.GetBlockRequest re
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBlockMethod(), responseObserver);
}
+ /**
+ */
+ public void getBestBlockHeight(org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBestBlockHeightMethod(), responseObserver);
+ }
+
/**
*/
public void broadcastTransaction(org.dash.platform.dapi.v0.CoreOuterClass.BroadcastTransactionRequest request,
@@ -329,15 +436,29 @@ public void subscribeToTransactionsWithProofs(org.dash.platform.dapi.v0.CoreOute
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeToTransactionsWithProofsMethod(), responseObserver);
}
+ /**
+ */
+ public void subscribeToMasternodeList(org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeToMasternodeListMethod(), responseObserver);
+ }
+
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
- getGetStatusMethod(),
+ getGetBlockchainStatusMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusRequest,
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusResponse>(
+ this, METHODID_GET_BLOCKCHAIN_STATUS)))
+ .addMethod(
+ getGetMasternodeStatusMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
- org.dash.platform.dapi.v0.CoreOuterClass.GetStatusRequest,
- org.dash.platform.dapi.v0.CoreOuterClass.GetStatusResponse>(
- this, METHODID_GET_STATUS)))
+ org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusRequest,
+ org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusResponse>(
+ this, METHODID_GET_MASTERNODE_STATUS)))
.addMethod(
getGetBlockMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
@@ -345,6 +466,13 @@ public void subscribeToTransactionsWithProofs(org.dash.platform.dapi.v0.CoreOute
org.dash.platform.dapi.v0.CoreOuterClass.GetBlockRequest,
org.dash.platform.dapi.v0.CoreOuterClass.GetBlockResponse>(
this, METHODID_GET_BLOCK)))
+ .addMethod(
+ getGetBestBlockHeightMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightRequest,
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightResponse>(
+ this, METHODID_GET_BEST_BLOCK_HEIGHT)))
.addMethod(
getBroadcastTransactionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
@@ -380,6 +508,13 @@ public void subscribeToTransactionsWithProofs(org.dash.platform.dapi.v0.CoreOute
org.dash.platform.dapi.v0.CoreOuterClass.TransactionsWithProofsRequest,
org.dash.platform.dapi.v0.CoreOuterClass.TransactionsWithProofsResponse>(
this, METHODID_SUBSCRIBE_TO_TRANSACTIONS_WITH_PROOFS)))
+ .addMethod(
+ getSubscribeToMasternodeListMethod(),
+ io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+ new MethodHandlers<
+ org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListRequest,
+ org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListResponse>(
+ this, METHODID_SUBSCRIBE_TO_MASTERNODE_LIST)))
.build();
}
}
@@ -400,10 +535,18 @@ protected CoreStub build(
/**
*/
- public void getStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetStatusRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
+ public void getBlockchainStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getGetStatusMethod(), getCallOptions()), request, responseObserver);
+ getChannel().newCall(getGetBlockchainStatusMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void getMasternodeStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetMasternodeStatusMethod(), getCallOptions()), request, responseObserver);
}
/**
@@ -414,6 +557,14 @@ public void getBlock(org.dash.platform.dapi.v0.CoreOuterClass.GetBlockRequest re
getChannel().newCall(getGetBlockMethod(), getCallOptions()), request, responseObserver);
}
+ /**
+ */
+ public void getBestBlockHeight(org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetBestBlockHeightMethod(), getCallOptions()), request, responseObserver);
+ }
+
/**
*/
public void broadcastTransaction(org.dash.platform.dapi.v0.CoreOuterClass.BroadcastTransactionRequest request,
@@ -453,6 +604,14 @@ public void subscribeToTransactionsWithProofs(org.dash.platform.dapi.v0.CoreOute
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getSubscribeToTransactionsWithProofsMethod(), getCallOptions()), request, responseObserver);
}
+
+ /**
+ */
+ public void subscribeToMasternodeList(org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncServerStreamingCall(
+ getChannel().newCall(getSubscribeToMasternodeListMethod(), getCallOptions()), request, responseObserver);
+ }
}
/**
@@ -471,9 +630,16 @@ protected CoreBlockingStub build(
/**
*/
- public org.dash.platform.dapi.v0.CoreOuterClass.GetStatusResponse getStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetStatusRequest request) {
+ public org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusResponse getBlockchainStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getGetStatusMethod(), getCallOptions(), request);
+ getChannel(), getGetBlockchainStatusMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusResponse getMasternodeStatus(org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetMasternodeStatusMethod(), getCallOptions(), request);
}
/**
@@ -483,6 +649,13 @@ public org.dash.platform.dapi.v0.CoreOuterClass.GetBlockResponse getBlock(org.da
getChannel(), getGetBlockMethod(), getCallOptions(), request);
}
+ /**
+ */
+ public org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightResponse getBestBlockHeight(org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetBestBlockHeightMethod(), getCallOptions(), request);
+ }
+
/**
*/
public org.dash.platform.dapi.v0.CoreOuterClass.BroadcastTransactionResponse broadcastTransaction(org.dash.platform.dapi.v0.CoreOuterClass.BroadcastTransactionRequest request) {
@@ -519,6 +692,14 @@ public java.util.Iterator subscribeToMasternodeList(
+ org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListRequest request) {
+ return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
+ getChannel(), getSubscribeToMasternodeListMethod(), getCallOptions(), request);
+ }
}
/**
@@ -537,10 +718,18 @@ protected CoreFutureStub build(
/**
*/
- public com.google.common.util.concurrent.ListenableFuture getStatus(
- org.dash.platform.dapi.v0.CoreOuterClass.GetStatusRequest request) {
+ public com.google.common.util.concurrent.ListenableFuture getBlockchainStatus(
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getGetStatusMethod(), getCallOptions()), request);
+ getChannel().newCall(getGetBlockchainStatusMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture getMasternodeStatus(
+ org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetMasternodeStatusMethod(), getCallOptions()), request);
}
/**
@@ -551,6 +740,14 @@ public com.google.common.util.concurrent.ListenableFuture getBestBlockHeight(
+ org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetBestBlockHeightMethod(), getCallOptions()), request);
+ }
+
/**
*/
public com.google.common.util.concurrent.ListenableFuture broadcastTransaction(
@@ -576,13 +773,16 @@ public com.google.common.util.concurrent.ListenableFuture implements
io.grpc.stub.ServerCalls.UnaryMethod,
@@ -601,14 +801,22 @@ private static final class MethodHandlers implements
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
- case METHODID_GET_STATUS:
- serviceImpl.getStatus((org.dash.platform.dapi.v0.CoreOuterClass.GetStatusRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
+ case METHODID_GET_BLOCKCHAIN_STATUS:
+ serviceImpl.getBlockchainStatus((org.dash.platform.dapi.v0.CoreOuterClass.GetBlockchainStatusRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_MASTERNODE_STATUS:
+ serviceImpl.getMasternodeStatus((org.dash.platform.dapi.v0.CoreOuterClass.GetMasternodeStatusRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_BLOCK:
serviceImpl.getBlock((org.dash.platform.dapi.v0.CoreOuterClass.GetBlockRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
+ case METHODID_GET_BEST_BLOCK_HEIGHT:
+ serviceImpl.getBestBlockHeight((org.dash.platform.dapi.v0.CoreOuterClass.GetBestBlockHeightRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
case METHODID_BROADCAST_TRANSACTION:
serviceImpl.broadcastTransaction((org.dash.platform.dapi.v0.CoreOuterClass.BroadcastTransactionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
@@ -629,6 +837,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
serviceImpl.subscribeToTransactionsWithProofs((org.dash.platform.dapi.v0.CoreOuterClass.TransactionsWithProofsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
+ case METHODID_SUBSCRIBE_TO_MASTERNODE_LIST:
+ serviceImpl.subscribeToMasternodeList((org.dash.platform.dapi.v0.CoreOuterClass.MasternodeListRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
default:
throw new AssertionError();
}
@@ -690,13 +902,16 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new CoreFileDescriptorSupplier())
- .addMethod(getGetStatusMethod())
+ .addMethod(getGetBlockchainStatusMethod())
+ .addMethod(getGetMasternodeStatusMethod())
.addMethod(getGetBlockMethod())
+ .addMethod(getGetBestBlockHeightMethod())
.addMethod(getBroadcastTransactionMethod())
.addMethod(getGetTransactionMethod())
.addMethod(getGetEstimatedTransactionFeeMethod())
.addMethod(getSubscribeToBlockHeadersWithChainLocksMethod())
.addMethod(getSubscribeToTransactionsWithProofsMethod())
+ .addMethod(getSubscribeToMasternodeListMethod())
.build();
}
}
diff --git a/packages/dapi-grpc/clients/core/v0/nodejs/CorePromiseClient.js b/packages/dapi-grpc/clients/core/v0/nodejs/CorePromiseClient.js
index 8cdd7f3086a..1fa77f20f2e 100644
--- a/packages/dapi-grpc/clients/core/v0/nodejs/CorePromiseClient.js
+++ b/packages/dapi-grpc/clients/core/v0/nodejs/CorePromiseClient.js
@@ -24,10 +24,14 @@ const {
platform: {
dapi: {
v0: {
- GetStatusRequest: PBJSGetStatusRequest,
- GetStatusResponse: PBJSGetStatusResponse,
+ GetBlockchainStatusRequest: PBJSGetBlockchainStatusRequest,
+ GetBlockchainStatusResponse: PBJSGetBlockchainStatusResponse,
+ GetMasternodeStatusRequest: PBJSGetMasternodeStatusRequest,
+ GetMasternodeStatusResponse: PBJSGetMasternodeStatusResponse,
GetBlockRequest: PBJSGetBlockRequest,
GetBlockResponse: PBJSGetBlockResponse,
+ GetBestBlockHeightRequest: PBJSGetBestBlockHeightRequest,
+ GetBestBlockHeightResponse: PBJSGetBestBlockHeightResponse,
BroadcastTransactionRequest: PBJSBroadcastTransactionRequest,
BroadcastTransactionResponse: PBJSBroadcastTransactionResponse,
GetTransactionRequest: PBJSGetTransactionRequest,
@@ -38,6 +42,8 @@ const {
GetEstimatedTransactionFeeResponse: PBJSGetEstimatedTransactionFeeResponse,
TransactionsWithProofsRequest: PBJSTransactionsWithProofsRequest,
TransactionsWithProofsResponse: PBJSTransactionsWithProofsResponse,
+ MasternodeListRequest: PBJSMasternodeListRequest,
+ MasternodeListResponse: PBJSMasternodeListResponse,
},
},
},
@@ -46,13 +52,16 @@ const {
} = require('./core_pbjs');
const {
- GetStatusResponse: ProtocGetStatusResponse,
+ GetBlockchainStatusResponse: ProtocGetBlockchainStatusResponse,
+ GetMasternodeStatusResponse: ProtocGetMasternodeStatusResponse,
GetBlockResponse: ProtocGetBlockResponse,
+ GetBestBlockHeightResponse: ProtocGetBestBlockHeightResponse,
BroadcastTransactionResponse: ProtocBroadcastTransactionResponse,
GetTransactionResponse: ProtocGetTransactionResponse,
BlockHeadersWithChainLocksResponse: ProtocBlockHeadersWithChainLocksResponse,
GetEstimatedTransactionFeeResponse: ProtocGetEstimatedTransactionFeeResponse,
TransactionsWithProofsResponse: ProtocTransactionsWithProofsResponse,
+ MasternodeListResponse: ProtocMasternodeListResponse,
} = require('./core_protoc');
const getCoreDefinition = require('../../../../lib/getCoreDefinition');
@@ -79,14 +88,22 @@ class CorePromiseClient {
this.client = new CoreNodeJSClient(strippedHostname, credentials, options);
- this.client.getStatus = promisify(
- this.client.getStatus.bind(this.client),
+ this.client.getBlockchainStatus = promisify(
+ this.client.getBlockchainStatus.bind(this.client),
+ );
+
+ this.client.getMasternodeStatus = promisify(
+ this.client.getMasternodeStatus.bind(this.client),
);
this.client.getBlock = promisify(
this.client.getBlock.bind(this.client),
);
+ this.client.getBestBlockHeight = promisify(
+ this.client.getBestBlockHeight.bind(this.client),
+ );
+
this.client.broadcastTransaction = promisify(
this.client.broadcastTransaction.bind(this.client),
);
@@ -101,28 +118,28 @@ class CorePromiseClient {
}
/**
- * @param {!GetStatusRequest} getStatusRequest
+ * @param {!GetBlockchainStatusRequest} getBlockchainStatusRequest
* @param {?Object} metadata
* @param {CallOptions} [options={}]
- * @return {Promise}
+ * @return {Promise}
*/
- getStatus(getStatusRequest, metadata = {}, options = {}) {
+ getBlockchainStatus(getBlockchainStatusRequest, metadata = {}, options = {}) {
if (!isObject(metadata)) {
throw new Error('metadata must be an object');
}
- return this.client.getStatus(
- getStatusRequest,
+ return this.client.getBlockchainStatus(
+ getBlockchainStatusRequest,
convertObjectToMetadata(metadata),
{
interceptors: [
jsonToProtobufInterceptorFactory(
jsonToProtobufFactory(
- ProtocGetStatusResponse,
- PBJSGetStatusResponse,
+ ProtocGetBlockchainStatusResponse,
+ PBJSGetBlockchainStatusResponse,
),
protobufToJsonFactory(
- PBJSGetStatusRequest,
+ PBJSGetBlockchainStatusRequest,
),
),
],
@@ -162,6 +179,68 @@ class CorePromiseClient {
);
}
+ /**
+ * @param {!GetBestBlockHeightRequest} getBestBlockHeightRequest
+ * @param {?Object} metadata
+ * @param {CallOptions} [options={}]
+ * @return {Promise}
+ */
+ getBestBlockHeight(getBestBlockHeightRequest, metadata = {}, options = {}) {
+ if (!isObject(metadata)) {
+ throw new Error('metadata must be an object');
+ }
+
+ return this.client.getBestBlockHeight(
+ getBestBlockHeightRequest,
+ convertObjectToMetadata(metadata),
+ {
+ interceptors: [
+ jsonToProtobufInterceptorFactory(
+ jsonToProtobufFactory(
+ ProtocGetBestBlockHeightResponse,
+ PBJSGetBestBlockHeightResponse,
+ ),
+ protobufToJsonFactory(
+ PBJSGetBestBlockHeightRequest,
+ ),
+ ),
+ ],
+ ...options,
+ },
+ );
+ }
+
+ /**
+ * @param {!GetMasternodeStatusRequest} getMasternodeStatusRequest
+ * @param {?Object} metadata
+ * @param {CallOptions} [options={}]
+ * @return {Promise}
+ */
+ getMasternodeStatus(getMasternodeStatusRequest, metadata = {}, options = {}) {
+ if (!isObject(metadata)) {
+ throw new Error('metadata must be an object');
+ }
+
+ return this.client.getMasternodeStatus(
+ getMasternodeStatusRequest,
+ convertObjectToMetadata(metadata),
+ {
+ interceptors: [
+ jsonToProtobufInterceptorFactory(
+ jsonToProtobufFactory(
+ ProtocGetMasternodeStatusResponse,
+ PBJSGetMasternodeStatusResponse,
+ ),
+ protobufToJsonFactory(
+ PBJSGetMasternodeStatusRequest,
+ ),
+ ),
+ ],
+ ...options,
+ },
+ );
+ }
+
/**
* @param {!BroadcastTransactionRequest} broadcastTransactionRequest
* @param {?Object} metadata
@@ -322,6 +401,38 @@ class CorePromiseClient {
},
);
}
+
+ /**
+ * @param {MasternodeListRequest} masternodeListRequest The request proto
+ * @param {?Object} metadata User defined call metadata
+ * @param {CallOptions} [options={}]
+ * @return {!grpc.web.ClientReadableStream|undefined}
+ * The XHR Node Readable Stream
+ */
+ subscribeToMasternodeList(masternodeListRequest, metadata = {}, options = {}) {
+ if (!isObject(metadata)) {
+ throw new Error('metadata must be an object');
+ }
+
+ return this.client.subscribeToMasternodeList(
+ masternodeListRequest,
+ convertObjectToMetadata(metadata),
+ {
+ interceptors: [
+ jsonToProtobufInterceptorFactory(
+ jsonToProtobufFactory(
+ ProtocMasternodeListResponse,
+ PBJSMasternodeListResponse,
+ ),
+ protobufToJsonFactory(
+ PBJSMasternodeListRequest,
+ ),
+ ),
+ ],
+ ...options,
+ },
+ );
+ }
}
module.exports = CorePromiseClient;
diff --git a/packages/dapi-grpc/clients/core/v0/nodejs/core_pbjs.js b/packages/dapi-grpc/clients/core/v0/nodejs/core_pbjs.js
index cd62cc98c1b..20266d4be7c 100644
--- a/packages/dapi-grpc/clients/core/v0/nodejs/core_pbjs.js
+++ b/packages/dapi-grpc/clients/core/v0/nodejs/core_pbjs.js
@@ -87,35 +87,68 @@ $root.org = (function() {
};
/**
- * Callback as used by {@link org.dash.platform.dapi.v0.Core#getStatus}.
+ * Callback as used by {@link org.dash.platform.dapi.v0.Core#getBlockchainStatus}.
* @memberof org.dash.platform.dapi.v0.Core
- * @typedef getStatusCallback
+ * @typedef getBlockchainStatusCallback
* @type {function}
* @param {Error|null} error Error, if any
- * @param {org.dash.platform.dapi.v0.GetStatusResponse} [response] GetStatusResponse
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse} [response] GetBlockchainStatusResponse
*/
/**
- * Calls getStatus.
- * @function getStatus
+ * Calls getBlockchainStatus.
+ * @function getBlockchainStatus
* @memberof org.dash.platform.dapi.v0.Core
* @instance
- * @param {org.dash.platform.dapi.v0.IGetStatusRequest} request GetStatusRequest message or plain object
- * @param {org.dash.platform.dapi.v0.Core.getStatusCallback} callback Node-style callback called with the error, if any, and GetStatusResponse
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusRequest} request GetBlockchainStatusRequest message or plain object
+ * @param {org.dash.platform.dapi.v0.Core.getBlockchainStatusCallback} callback Node-style callback called with the error, if any, and GetBlockchainStatusResponse
* @returns {undefined}
* @variation 1
*/
- Object.defineProperty(Core.prototype.getStatus = function getStatus(request, callback) {
- return this.rpcCall(getStatus, $root.org.dash.platform.dapi.v0.GetStatusRequest, $root.org.dash.platform.dapi.v0.GetStatusResponse, request, callback);
- }, "name", { value: "getStatus" });
+ Object.defineProperty(Core.prototype.getBlockchainStatus = function getBlockchainStatus(request, callback) {
+ return this.rpcCall(getBlockchainStatus, $root.org.dash.platform.dapi.v0.GetBlockchainStatusRequest, $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse, request, callback);
+ }, "name", { value: "getBlockchainStatus" });
/**
- * Calls getStatus.
- * @function getStatus
+ * Calls getBlockchainStatus.
+ * @function getBlockchainStatus
* @memberof org.dash.platform.dapi.v0.Core
* @instance
- * @param {org.dash.platform.dapi.v0.IGetStatusRequest} request GetStatusRequest message or plain object
- * @returns {Promise} Promise
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusRequest} request GetBlockchainStatusRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link org.dash.platform.dapi.v0.Core#getMasternodeStatus}.
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @typedef getMasternodeStatusCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {org.dash.platform.dapi.v0.GetMasternodeStatusResponse} [response] GetMasternodeStatusResponse
+ */
+
+ /**
+ * Calls getMasternodeStatus.
+ * @function getMasternodeStatus
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @instance
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusRequest} request GetMasternodeStatusRequest message or plain object
+ * @param {org.dash.platform.dapi.v0.Core.getMasternodeStatusCallback} callback Node-style callback called with the error, if any, and GetMasternodeStatusResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(Core.prototype.getMasternodeStatus = function getMasternodeStatus(request, callback) {
+ return this.rpcCall(getMasternodeStatus, $root.org.dash.platform.dapi.v0.GetMasternodeStatusRequest, $root.org.dash.platform.dapi.v0.GetMasternodeStatusResponse, request, callback);
+ }, "name", { value: "getMasternodeStatus" });
+
+ /**
+ * Calls getMasternodeStatus.
+ * @function getMasternodeStatus
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @instance
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusRequest} request GetMasternodeStatusRequest message or plain object
+ * @returns {Promise} Promise
* @variation 2
*/
@@ -152,6 +185,39 @@ $root.org = (function() {
* @variation 2
*/
+ /**
+ * Callback as used by {@link org.dash.platform.dapi.v0.Core#getBestBlockHeight}.
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @typedef getBestBlockHeightCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {org.dash.platform.dapi.v0.GetBestBlockHeightResponse} [response] GetBestBlockHeightResponse
+ */
+
+ /**
+ * Calls getBestBlockHeight.
+ * @function getBestBlockHeight
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @instance
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightRequest} request GetBestBlockHeightRequest message or plain object
+ * @param {org.dash.platform.dapi.v0.Core.getBestBlockHeightCallback} callback Node-style callback called with the error, if any, and GetBestBlockHeightResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(Core.prototype.getBestBlockHeight = function getBestBlockHeight(request, callback) {
+ return this.rpcCall(getBestBlockHeight, $root.org.dash.platform.dapi.v0.GetBestBlockHeightRequest, $root.org.dash.platform.dapi.v0.GetBestBlockHeightResponse, request, callback);
+ }, "name", { value: "getBestBlockHeight" });
+
+ /**
+ * Calls getBestBlockHeight.
+ * @function getBestBlockHeight
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @instance
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightRequest} request GetBestBlockHeightRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
/**
* Callback as used by {@link org.dash.platform.dapi.v0.Core#broadcastTransaction}.
* @memberof org.dash.platform.dapi.v0.Core
@@ -317,26 +383,59 @@ $root.org = (function() {
* @variation 2
*/
+ /**
+ * Callback as used by {@link org.dash.platform.dapi.v0.Core#subscribeToMasternodeList}.
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @typedef subscribeToMasternodeListCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {org.dash.platform.dapi.v0.MasternodeListResponse} [response] MasternodeListResponse
+ */
+
+ /**
+ * Calls subscribeToMasternodeList.
+ * @function subscribeToMasternodeList
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @instance
+ * @param {org.dash.platform.dapi.v0.IMasternodeListRequest} request MasternodeListRequest message or plain object
+ * @param {org.dash.platform.dapi.v0.Core.subscribeToMasternodeListCallback} callback Node-style callback called with the error, if any, and MasternodeListResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(Core.prototype.subscribeToMasternodeList = function subscribeToMasternodeList(request, callback) {
+ return this.rpcCall(subscribeToMasternodeList, $root.org.dash.platform.dapi.v0.MasternodeListRequest, $root.org.dash.platform.dapi.v0.MasternodeListResponse, request, callback);
+ }, "name", { value: "subscribeToMasternodeList" });
+
+ /**
+ * Calls subscribeToMasternodeList.
+ * @function subscribeToMasternodeList
+ * @memberof org.dash.platform.dapi.v0.Core
+ * @instance
+ * @param {org.dash.platform.dapi.v0.IMasternodeListRequest} request MasternodeListRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
return Core;
})();
- v0.GetStatusRequest = (function() {
+ v0.GetBlockchainStatusRequest = (function() {
/**
- * Properties of a GetStatusRequest.
+ * Properties of a GetBlockchainStatusRequest.
* @memberof org.dash.platform.dapi.v0
- * @interface IGetStatusRequest
+ * @interface IGetBlockchainStatusRequest
*/
/**
- * Constructs a new GetStatusRequest.
+ * Constructs a new GetBlockchainStatusRequest.
* @memberof org.dash.platform.dapi.v0
- * @classdesc Represents a GetStatusRequest.
- * @implements IGetStatusRequest
+ * @classdesc Represents a GetBlockchainStatusRequest.
+ * @implements IGetBlockchainStatusRequest
* @constructor
- * @param {org.dash.platform.dapi.v0.IGetStatusRequest=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusRequest=} [properties] Properties to set
*/
- function GetStatusRequest(properties) {
+ function GetBlockchainStatusRequest(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -344,60 +443,60 @@ $root.org = (function() {
}
/**
- * Creates a new GetStatusRequest instance using the specified properties.
+ * Creates a new GetBlockchainStatusRequest instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @static
- * @param {org.dash.platform.dapi.v0.IGetStatusRequest=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetStatusRequest} GetStatusRequest instance
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusRequest=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusRequest} GetBlockchainStatusRequest instance
*/
- GetStatusRequest.create = function create(properties) {
- return new GetStatusRequest(properties);
+ GetBlockchainStatusRequest.create = function create(properties) {
+ return new GetBlockchainStatusRequest(properties);
};
/**
- * Encodes the specified GetStatusRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusRequest.verify|verify} messages.
+ * Encodes the specified GetBlockchainStatusRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusRequest.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @static
- * @param {org.dash.platform.dapi.v0.IGetStatusRequest} message GetStatusRequest message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusRequest} message GetBlockchainStatusRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetStatusRequest.encode = function encode(message, writer) {
+ GetBlockchainStatusRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
return writer;
};
/**
- * Encodes the specified GetStatusRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusRequest.verify|verify} messages.
+ * Encodes the specified GetBlockchainStatusRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @static
- * @param {org.dash.platform.dapi.v0.IGetStatusRequest} message GetStatusRequest message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusRequest} message GetBlockchainStatusRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetStatusRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ GetBlockchainStatusRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetStatusRequest message from the specified reader or buffer.
+ * Decodes a GetBlockchainStatusRequest message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetStatusRequest} GetStatusRequest
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusRequest} GetBlockchainStatusRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetStatusRequest.decode = function decode(reader, length) {
+ GetBlockchainStatusRequest.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetStatusRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusRequest();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
@@ -410,100 +509,99 @@ $root.org = (function() {
};
/**
- * Decodes a GetStatusRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetBlockchainStatusRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetStatusRequest} GetStatusRequest
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusRequest} GetBlockchainStatusRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetStatusRequest.decodeDelimited = function decodeDelimited(reader) {
+ GetBlockchainStatusRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetStatusRequest message.
+ * Verifies a GetBlockchainStatusRequest message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetStatusRequest.verify = function verify(message) {
+ GetBlockchainStatusRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
return null;
};
/**
- * Creates a GetStatusRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetBlockchainStatusRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetStatusRequest} GetStatusRequest
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusRequest} GetBlockchainStatusRequest
*/
- GetStatusRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetStatusRequest)
+ GetBlockchainStatusRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockchainStatusRequest)
return object;
- return new $root.org.dash.platform.dapi.v0.GetStatusRequest();
+ return new $root.org.dash.platform.dapi.v0.GetBlockchainStatusRequest();
};
/**
- * Creates a plain object from a GetStatusRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a GetBlockchainStatusRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusRequest} message GetStatusRequest
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusRequest} message GetBlockchainStatusRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetStatusRequest.toObject = function toObject() {
+ GetBlockchainStatusRequest.toObject = function toObject() {
return {};
};
/**
- * Converts this GetStatusRequest to JSON.
+ * Converts this GetBlockchainStatusRequest to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetStatusRequest
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusRequest
* @instance
* @returns {Object.} JSON object
*/
- GetStatusRequest.prototype.toJSON = function toJSON() {
+ GetBlockchainStatusRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- return GetStatusRequest;
+ return GetBlockchainStatusRequest;
})();
- v0.GetStatusResponse = (function() {
+ v0.GetBlockchainStatusResponse = (function() {
/**
- * Properties of a GetStatusResponse.
+ * Properties of a GetBlockchainStatusResponse.
* @memberof org.dash.platform.dapi.v0
- * @interface IGetStatusResponse
- * @property {org.dash.platform.dapi.v0.GetStatusResponse.IVersion|null} [version] GetStatusResponse version
- * @property {org.dash.platform.dapi.v0.GetStatusResponse.ITime|null} [time] GetStatusResponse time
- * @property {org.dash.platform.dapi.v0.GetStatusResponse.Status|null} [status] GetStatusResponse status
- * @property {number|null} [syncProgress] GetStatusResponse syncProgress
- * @property {org.dash.platform.dapi.v0.GetStatusResponse.IChain|null} [chain] GetStatusResponse chain
- * @property {org.dash.platform.dapi.v0.GetStatusResponse.IMasternode|null} [masternode] GetStatusResponse masternode
- * @property {org.dash.platform.dapi.v0.GetStatusResponse.INetwork|null} [network] GetStatusResponse network
+ * @interface IGetBlockchainStatusResponse
+ * @property {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IVersion|null} [version] GetBlockchainStatusResponse version
+ * @property {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.ITime|null} [time] GetBlockchainStatusResponse time
+ * @property {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status|null} [status] GetBlockchainStatusResponse status
+ * @property {number|null} [syncProgress] GetBlockchainStatusResponse syncProgress
+ * @property {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IChain|null} [chain] GetBlockchainStatusResponse chain
+ * @property {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetwork|null} [network] GetBlockchainStatusResponse network
*/
/**
- * Constructs a new GetStatusResponse.
+ * Constructs a new GetBlockchainStatusResponse.
* @memberof org.dash.platform.dapi.v0
- * @classdesc Represents a GetStatusResponse.
- * @implements IGetStatusResponse
+ * @classdesc Represents a GetBlockchainStatusResponse.
+ * @implements IGetBlockchainStatusResponse
* @constructor
- * @param {org.dash.platform.dapi.v0.IGetStatusResponse=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusResponse=} [properties] Properties to set
*/
- function GetStatusResponse(properties) {
+ function GetBlockchainStatusResponse(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -511,138 +609,128 @@ $root.org = (function() {
}
/**
- * GetStatusResponse version.
- * @member {org.dash.platform.dapi.v0.GetStatusResponse.IVersion|null|undefined} version
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * GetBlockchainStatusResponse version.
+ * @member {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IVersion|null|undefined} version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @instance
*/
- GetStatusResponse.prototype.version = null;
+ GetBlockchainStatusResponse.prototype.version = null;
/**
- * GetStatusResponse time.
- * @member {org.dash.platform.dapi.v0.GetStatusResponse.ITime|null|undefined} time
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * GetBlockchainStatusResponse time.
+ * @member {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.ITime|null|undefined} time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @instance
*/
- GetStatusResponse.prototype.time = null;
+ GetBlockchainStatusResponse.prototype.time = null;
/**
- * GetStatusResponse status.
- * @member {org.dash.platform.dapi.v0.GetStatusResponse.Status} status
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * GetBlockchainStatusResponse status.
+ * @member {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status} status
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @instance
*/
- GetStatusResponse.prototype.status = 0;
+ GetBlockchainStatusResponse.prototype.status = 0;
/**
- * GetStatusResponse syncProgress.
+ * GetBlockchainStatusResponse syncProgress.
* @member {number} syncProgress
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
- * @instance
- */
- GetStatusResponse.prototype.syncProgress = 0;
-
- /**
- * GetStatusResponse chain.
- * @member {org.dash.platform.dapi.v0.GetStatusResponse.IChain|null|undefined} chain
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @instance
*/
- GetStatusResponse.prototype.chain = null;
+ GetBlockchainStatusResponse.prototype.syncProgress = 0;
/**
- * GetStatusResponse masternode.
- * @member {org.dash.platform.dapi.v0.GetStatusResponse.IMasternode|null|undefined} masternode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * GetBlockchainStatusResponse chain.
+ * @member {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IChain|null|undefined} chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @instance
*/
- GetStatusResponse.prototype.masternode = null;
+ GetBlockchainStatusResponse.prototype.chain = null;
/**
- * GetStatusResponse network.
- * @member {org.dash.platform.dapi.v0.GetStatusResponse.INetwork|null|undefined} network
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * GetBlockchainStatusResponse network.
+ * @member {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetwork|null|undefined} network
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @instance
*/
- GetStatusResponse.prototype.network = null;
+ GetBlockchainStatusResponse.prototype.network = null;
/**
- * Creates a new GetStatusResponse instance using the specified properties.
+ * Creates a new GetBlockchainStatusResponse instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetStatusResponse=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse} GetStatusResponse instance
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusResponse=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse} GetBlockchainStatusResponse instance
*/
- GetStatusResponse.create = function create(properties) {
- return new GetStatusResponse(properties);
+ GetBlockchainStatusResponse.create = function create(properties) {
+ return new GetBlockchainStatusResponse(properties);
};
/**
- * Encodes the specified GetStatusResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.verify|verify} messages.
+ * Encodes the specified GetBlockchainStatusResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetStatusResponse} message GetStatusResponse message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusResponse} message GetBlockchainStatusResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetStatusResponse.encode = function encode(message, writer) {
+ GetBlockchainStatusResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.version != null && Object.hasOwnProperty.call(message, "version"))
- $root.org.dash.platform.dapi.v0.GetStatusResponse.Version.encode(message.version, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.encode(message.version, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
if (message.time != null && Object.hasOwnProperty.call(message, "time"))
- $root.org.dash.platform.dapi.v0.GetStatusResponse.Time.encode(message.time, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.encode(message.time, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
if (message.status != null && Object.hasOwnProperty.call(message, "status"))
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.status);
if (message.syncProgress != null && Object.hasOwnProperty.call(message, "syncProgress"))
writer.uint32(/* id 4, wireType 1 =*/33).double(message.syncProgress);
if (message.chain != null && Object.hasOwnProperty.call(message, "chain"))
- $root.org.dash.platform.dapi.v0.GetStatusResponse.Chain.encode(message.chain, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
- if (message.masternode != null && Object.hasOwnProperty.call(message, "masternode"))
- $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.encode(message.masternode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.encode(message.chain, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
if (message.network != null && Object.hasOwnProperty.call(message, "network"))
- $root.org.dash.platform.dapi.v0.GetStatusResponse.Network.encode(message.network, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.encode(message.network, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified GetStatusResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.verify|verify} messages.
+ * Encodes the specified GetBlockchainStatusResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetStatusResponse} message GetStatusResponse message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetBlockchainStatusResponse} message GetBlockchainStatusResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetStatusResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ GetBlockchainStatusResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetStatusResponse message from the specified reader or buffer.
+ * Decodes a GetBlockchainStatusResponse message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse} GetStatusResponse
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse} GetBlockchainStatusResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetStatusResponse.decode = function decode(reader, length) {
+ GetBlockchainStatusResponse.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetStatusResponse();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- message.version = $root.org.dash.platform.dapi.v0.GetStatusResponse.Version.decode(reader, reader.uint32());
+ message.version = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.decode(reader, reader.uint32());
break;
case 2:
- message.time = $root.org.dash.platform.dapi.v0.GetStatusResponse.Time.decode(reader, reader.uint32());
+ message.time = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.decode(reader, reader.uint32());
break;
case 3:
message.status = reader.int32();
@@ -651,13 +739,10 @@ $root.org = (function() {
message.syncProgress = reader.double();
break;
case 5:
- message.chain = $root.org.dash.platform.dapi.v0.GetStatusResponse.Chain.decode(reader, reader.uint32());
- break;
- case 6:
- message.masternode = $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.decode(reader, reader.uint32());
+ message.chain = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.decode(reader, reader.uint32());
break;
case 7:
- message.network = $root.org.dash.platform.dapi.v0.GetStatusResponse.Network.decode(reader, reader.uint32());
+ message.network = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
@@ -668,39 +753,39 @@ $root.org = (function() {
};
/**
- * Decodes a GetStatusResponse message from the specified reader or buffer, length delimited.
+ * Decodes a GetBlockchainStatusResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse} GetStatusResponse
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse} GetBlockchainStatusResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetStatusResponse.decodeDelimited = function decodeDelimited(reader) {
+ GetBlockchainStatusResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetStatusResponse message.
+ * Verifies a GetBlockchainStatusResponse message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetStatusResponse.verify = function verify(message) {
+ GetBlockchainStatusResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.version != null && message.hasOwnProperty("version")) {
- var error = $root.org.dash.platform.dapi.v0.GetStatusResponse.Version.verify(message.version);
+ var error = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.verify(message.version);
if (error)
return "version." + error;
}
if (message.time != null && message.hasOwnProperty("time")) {
- var error = $root.org.dash.platform.dapi.v0.GetStatusResponse.Time.verify(message.time);
+ var error = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.verify(message.time);
if (error)
return "time." + error;
}
@@ -718,17 +803,12 @@ $root.org = (function() {
if (typeof message.syncProgress !== "number")
return "syncProgress: number expected";
if (message.chain != null && message.hasOwnProperty("chain")) {
- var error = $root.org.dash.platform.dapi.v0.GetStatusResponse.Chain.verify(message.chain);
+ var error = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.verify(message.chain);
if (error)
return "chain." + error;
}
- if (message.masternode != null && message.hasOwnProperty("masternode")) {
- var error = $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.verify(message.masternode);
- if (error)
- return "masternode." + error;
- }
if (message.network != null && message.hasOwnProperty("network")) {
- var error = $root.org.dash.platform.dapi.v0.GetStatusResponse.Network.verify(message.network);
+ var error = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.verify(message.network);
if (error)
return "network." + error;
}
@@ -736,26 +816,26 @@ $root.org = (function() {
};
/**
- * Creates a GetStatusResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetBlockchainStatusResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse} GetStatusResponse
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse} GetBlockchainStatusResponse
*/
- GetStatusResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetStatusResponse)
+ GetBlockchainStatusResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetStatusResponse();
+ var message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse();
if (object.version != null) {
if (typeof object.version !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetStatusResponse.version: object expected");
- message.version = $root.org.dash.platform.dapi.v0.GetStatusResponse.Version.fromObject(object.version);
+ throw TypeError(".org.dash.platform.dapi.v0.GetBlockchainStatusResponse.version: object expected");
+ message.version = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.fromObject(object.version);
}
if (object.time != null) {
if (typeof object.time !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetStatusResponse.time: object expected");
- message.time = $root.org.dash.platform.dapi.v0.GetStatusResponse.Time.fromObject(object.time);
+ throw TypeError(".org.dash.platform.dapi.v0.GetBlockchainStatusResponse.time: object expected");
+ message.time = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.fromObject(object.time);
}
switch (object.status) {
case "NOT_STARTED":
@@ -779,32 +859,27 @@ $root.org = (function() {
message.syncProgress = Number(object.syncProgress);
if (object.chain != null) {
if (typeof object.chain !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetStatusResponse.chain: object expected");
- message.chain = $root.org.dash.platform.dapi.v0.GetStatusResponse.Chain.fromObject(object.chain);
- }
- if (object.masternode != null) {
- if (typeof object.masternode !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetStatusResponse.masternode: object expected");
- message.masternode = $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.fromObject(object.masternode);
+ throw TypeError(".org.dash.platform.dapi.v0.GetBlockchainStatusResponse.chain: object expected");
+ message.chain = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.fromObject(object.chain);
}
if (object.network != null) {
if (typeof object.network !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetStatusResponse.network: object expected");
- message.network = $root.org.dash.platform.dapi.v0.GetStatusResponse.Network.fromObject(object.network);
+ throw TypeError(".org.dash.platform.dapi.v0.GetBlockchainStatusResponse.network: object expected");
+ message.network = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.fromObject(object.network);
}
return message;
};
/**
- * Creates a plain object from a GetStatusResponse message. Also converts values to other types if specified.
+ * Creates a plain object from a GetBlockchainStatusResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse} message GetStatusResponse
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse} message GetBlockchainStatusResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetStatusResponse.toObject = function toObject(message, options) {
+ GetBlockchainStatusResponse.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
@@ -814,42 +889,39 @@ $root.org = (function() {
object.status = options.enums === String ? "NOT_STARTED" : 0;
object.syncProgress = 0;
object.chain = null;
- object.masternode = null;
object.network = null;
}
if (message.version != null && message.hasOwnProperty("version"))
- object.version = $root.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject(message.version, options);
+ object.version = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.toObject(message.version, options);
if (message.time != null && message.hasOwnProperty("time"))
- object.time = $root.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject(message.time, options);
+ object.time = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.toObject(message.time, options);
if (message.status != null && message.hasOwnProperty("status"))
- object.status = options.enums === String ? $root.org.dash.platform.dapi.v0.GetStatusResponse.Status[message.status] : message.status;
+ object.status = options.enums === String ? $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status[message.status] : message.status;
if (message.syncProgress != null && message.hasOwnProperty("syncProgress"))
object.syncProgress = options.json && !isFinite(message.syncProgress) ? String(message.syncProgress) : message.syncProgress;
if (message.chain != null && message.hasOwnProperty("chain"))
- object.chain = $root.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject(message.chain, options);
- if (message.masternode != null && message.hasOwnProperty("masternode"))
- object.masternode = $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject(message.masternode, options);
+ object.chain = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.toObject(message.chain, options);
if (message.network != null && message.hasOwnProperty("network"))
- object.network = $root.org.dash.platform.dapi.v0.GetStatusResponse.Network.toObject(message.network, options);
+ object.network = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.toObject(message.network, options);
return object;
};
/**
- * Converts this GetStatusResponse to JSON.
+ * Converts this GetBlockchainStatusResponse to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @instance
* @returns {Object.} JSON object
*/
- GetStatusResponse.prototype.toJSON = function toJSON() {
+ GetBlockchainStatusResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- GetStatusResponse.Version = (function() {
+ GetBlockchainStatusResponse.Version = (function() {
/**
* Properties of a Version.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @interface IVersion
* @property {number|null} [protocol] Version protocol
* @property {number|null} [software] Version software
@@ -858,11 +930,11 @@ $root.org = (function() {
/**
* Constructs a new Version.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @classdesc Represents a Version.
* @implements IVersion
* @constructor
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IVersion=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IVersion=} [properties] Properties to set
*/
function Version(properties) {
if (properties)
@@ -874,7 +946,7 @@ $root.org = (function() {
/**
* Version protocol.
* @member {number} protocol
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @instance
*/
Version.prototype.protocol = 0;
@@ -882,7 +954,7 @@ $root.org = (function() {
/**
* Version software.
* @member {number} software
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @instance
*/
Version.prototype.software = 0;
@@ -890,7 +962,7 @@ $root.org = (function() {
/**
* Version agent.
* @member {string} agent
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @instance
*/
Version.prototype.agent = "";
@@ -898,21 +970,21 @@ $root.org = (function() {
/**
* Creates a new Version instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IVersion=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Version} Version instance
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IVersion=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} Version instance
*/
Version.create = function create(properties) {
return new Version(properties);
};
/**
- * Encodes the specified Version message. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Version.verify|verify} messages.
+ * Encodes the specified Version message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IVersion} message Version message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IVersion} message Version message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -929,11 +1001,11 @@ $root.org = (function() {
};
/**
- * Encodes the specified Version message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Version.verify|verify} messages.
+ * Encodes the specified Version message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IVersion} message Version message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IVersion} message Version message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -944,18 +1016,18 @@ $root.org = (function() {
/**
* Decodes a Version message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Version} Version
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} Version
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
Version.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Version();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
@@ -979,10 +1051,10 @@ $root.org = (function() {
/**
* Decodes a Version message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Version} Version
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} Version
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
@@ -995,7 +1067,7 @@ $root.org = (function() {
/**
* Verifies a Version message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -1018,15 +1090,15 @@ $root.org = (function() {
/**
* Creates a Version message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Version} Version
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} Version
*/
Version.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetStatusResponse.Version)
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Version();
+ var message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version();
if (object.protocol != null)
message.protocol = object.protocol >>> 0;
if (object.software != null)
@@ -1039,9 +1111,9 @@ $root.org = (function() {
/**
* Creates a plain object from a Version message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.Version} message Version
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} message Version
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
@@ -1066,7 +1138,7 @@ $root.org = (function() {
/**
* Converts this Version to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Version
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version
* @instance
* @returns {Object.} JSON object
*/
@@ -1077,11 +1149,11 @@ $root.org = (function() {
return Version;
})();
- GetStatusResponse.Time = (function() {
+ GetBlockchainStatusResponse.Time = (function() {
/**
* Properties of a Time.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @interface ITime
* @property {number|null} [now] Time now
* @property {number|null} [offset] Time offset
@@ -1090,11 +1162,11 @@ $root.org = (function() {
/**
* Constructs a new Time.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @classdesc Represents a Time.
* @implements ITime
* @constructor
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.ITime=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.ITime=} [properties] Properties to set
*/
function Time(properties) {
if (properties)
@@ -1106,7 +1178,7 @@ $root.org = (function() {
/**
* Time now.
* @member {number} now
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @instance
*/
Time.prototype.now = 0;
@@ -1114,7 +1186,7 @@ $root.org = (function() {
/**
* Time offset.
* @member {number} offset
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @instance
*/
Time.prototype.offset = 0;
@@ -1122,7 +1194,7 @@ $root.org = (function() {
/**
* Time median.
* @member {number} median
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @instance
*/
Time.prototype.median = 0;
@@ -1130,21 +1202,21 @@ $root.org = (function() {
/**
* Creates a new Time instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.ITime=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Time} Time instance
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.ITime=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} Time instance
*/
Time.create = function create(properties) {
return new Time(properties);
};
/**
- * Encodes the specified Time message. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Time.verify|verify} messages.
+ * Encodes the specified Time message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.ITime} message Time message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.ITime} message Time message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -1161,11 +1233,11 @@ $root.org = (function() {
};
/**
- * Encodes the specified Time message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Time.verify|verify} messages.
+ * Encodes the specified Time message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.ITime} message Time message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.ITime} message Time message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -1176,18 +1248,18 @@ $root.org = (function() {
/**
* Decodes a Time message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Time} Time
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} Time
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
Time.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Time();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
@@ -1211,10 +1283,10 @@ $root.org = (function() {
/**
* Decodes a Time message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Time} Time
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} Time
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
@@ -1227,7 +1299,7 @@ $root.org = (function() {
/**
* Verifies a Time message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -1250,15 +1322,15 @@ $root.org = (function() {
/**
* Creates a Time message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Time} Time
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} Time
*/
Time.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetStatusResponse.Time)
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Time();
+ var message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time();
if (object.now != null)
message.now = object.now >>> 0;
if (object.offset != null)
@@ -1271,9 +1343,9 @@ $root.org = (function() {
/**
* Creates a plain object from a Time message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.Time} message Time
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} message Time
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
@@ -1298,7 +1370,7 @@ $root.org = (function() {
/**
* Converts this Time to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Time
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time
* @instance
* @returns {Object.} JSON object
*/
@@ -1311,14 +1383,14 @@ $root.org = (function() {
/**
* Status enum.
- * @name org.dash.platform.dapi.v0.GetStatusResponse.Status
+ * @name org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status
* @enum {number}
* @property {number} NOT_STARTED=0 NOT_STARTED value
* @property {number} SYNCING=1 SYNCING value
* @property {number} READY=2 READY value
* @property {number} ERROR=3 ERROR value
*/
- GetStatusResponse.Status = (function() {
+ GetBlockchainStatusResponse.Status = (function() {
var valuesById = {}, values = Object.create(valuesById);
values[valuesById[0] = "NOT_STARTED"] = 0;
values[valuesById[1] = "SYNCING"] = 1;
@@ -1327,11 +1399,11 @@ $root.org = (function() {
return values;
})();
- GetStatusResponse.Chain = (function() {
+ GetBlockchainStatusResponse.Chain = (function() {
/**
* Properties of a Chain.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @interface IChain
* @property {string|null} [name] Chain name
* @property {number|null} [headersCount] Chain headersCount
@@ -1345,11 +1417,11 @@ $root.org = (function() {
/**
* Constructs a new Chain.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
* @classdesc Represents a Chain.
* @implements IChain
* @constructor
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IChain=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IChain=} [properties] Properties to set
*/
function Chain(properties) {
if (properties)
@@ -1361,7 +1433,7 @@ $root.org = (function() {
/**
* Chain name.
* @member {string} name
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
*/
Chain.prototype.name = "";
@@ -1369,7 +1441,7 @@ $root.org = (function() {
/**
* Chain headersCount.
* @member {number} headersCount
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
*/
Chain.prototype.headersCount = 0;
@@ -1377,7 +1449,7 @@ $root.org = (function() {
/**
* Chain blocksCount.
* @member {number} blocksCount
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
*/
Chain.prototype.blocksCount = 0;
@@ -1385,7 +1457,7 @@ $root.org = (function() {
/**
* Chain bestBlockHash.
* @member {Uint8Array} bestBlockHash
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
*/
Chain.prototype.bestBlockHash = $util.newBuffer([]);
@@ -1393,7 +1465,7 @@ $root.org = (function() {
/**
* Chain difficulty.
* @member {number} difficulty
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
*/
Chain.prototype.difficulty = 0;
@@ -1401,7 +1473,7 @@ $root.org = (function() {
/**
* Chain chainWork.
* @member {Uint8Array} chainWork
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
*/
Chain.prototype.chainWork = $util.newBuffer([]);
@@ -1409,7 +1481,7 @@ $root.org = (function() {
/**
* Chain isSynced.
* @member {boolean} isSynced
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
*/
Chain.prototype.isSynced = false;
@@ -1417,7 +1489,7 @@ $root.org = (function() {
/**
* Chain syncProgress.
* @member {number} syncProgress
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
*/
Chain.prototype.syncProgress = 0;
@@ -1425,21 +1497,21 @@ $root.org = (function() {
/**
* Creates a new Chain instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IChain=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Chain} Chain instance
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IChain=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} Chain instance
*/
Chain.create = function create(properties) {
return new Chain(properties);
};
/**
- * Encodes the specified Chain message. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Chain.verify|verify} messages.
+ * Encodes the specified Chain message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IChain} message Chain message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IChain} message Chain message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -1466,11 +1538,11 @@ $root.org = (function() {
};
/**
- * Encodes the specified Chain message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Chain.verify|verify} messages.
+ * Encodes the specified Chain message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IChain} message Chain message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.IChain} message Chain message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -1481,18 +1553,18 @@ $root.org = (function() {
/**
* Decodes a Chain message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Chain} Chain
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} Chain
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
Chain.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Chain();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
@@ -1531,10 +1603,10 @@ $root.org = (function() {
/**
* Decodes a Chain message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Chain} Chain
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} Chain
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
@@ -1547,7 +1619,7 @@ $root.org = (function() {
/**
* Verifies a Chain message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -1585,15 +1657,15 @@ $root.org = (function() {
/**
* Creates a Chain message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Chain} Chain
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} Chain
*/
Chain.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetStatusResponse.Chain)
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Chain();
+ var message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain();
if (object.name != null)
message.name = String(object.name);
if (object.headersCount != null)
@@ -1622,9 +1694,9 @@ $root.org = (function() {
/**
* Creates a plain object from a Chain message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.Chain} message Chain
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} message Chain
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
@@ -1676,7 +1748,7 @@ $root.org = (function() {
/**
* Converts this Chain to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Chain
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain
* @instance
* @returns {Object.} JSON object
*/
@@ -1687,28 +1759,25 @@ $root.org = (function() {
return Chain;
})();
- GetStatusResponse.Masternode = (function() {
+ GetBlockchainStatusResponse.NetworkFee = (function() {
/**
- * Properties of a Masternode.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
- * @interface IMasternode
- * @property {org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status|null} [status] Masternode status
- * @property {Uint8Array|null} [proTxHash] Masternode proTxHash
- * @property {number|null} [posePenalty] Masternode posePenalty
- * @property {boolean|null} [isSynced] Masternode isSynced
- * @property {number|null} [syncProgress] Masternode syncProgress
+ * Properties of a NetworkFee.
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
+ * @interface INetworkFee
+ * @property {number|null} [relay] NetworkFee relay
+ * @property {number|null} [incremental] NetworkFee incremental
*/
/**
- * Constructs a new Masternode.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
- * @classdesc Represents a Masternode.
- * @implements IMasternode
+ * Constructs a new NetworkFee.
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
+ * @classdesc Represents a NetworkFee.
+ * @implements INetworkFee
* @constructor
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IMasternode=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetworkFee=} [properties] Properties to set
*/
- function Masternode(properties) {
+ function NetworkFee(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -1716,127 +1785,88 @@ $root.org = (function() {
}
/**
- * Masternode status.
- * @member {org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status} status
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
- * @instance
- */
- Masternode.prototype.status = 0;
-
- /**
- * Masternode proTxHash.
- * @member {Uint8Array} proTxHash
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
- * @instance
- */
- Masternode.prototype.proTxHash = $util.newBuffer([]);
-
- /**
- * Masternode posePenalty.
- * @member {number} posePenalty
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
- * @instance
- */
- Masternode.prototype.posePenalty = 0;
-
- /**
- * Masternode isSynced.
- * @member {boolean} isSynced
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * NetworkFee relay.
+ * @member {number} relay
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @instance
*/
- Masternode.prototype.isSynced = false;
+ NetworkFee.prototype.relay = 0;
/**
- * Masternode syncProgress.
- * @member {number} syncProgress
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * NetworkFee incremental.
+ * @member {number} incremental
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @instance
*/
- Masternode.prototype.syncProgress = 0;
+ NetworkFee.prototype.incremental = 0;
/**
- * Creates a new Masternode instance using the specified properties.
+ * Creates a new NetworkFee instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IMasternode=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Masternode} Masternode instance
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetworkFee=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} NetworkFee instance
*/
- Masternode.create = function create(properties) {
- return new Masternode(properties);
+ NetworkFee.create = function create(properties) {
+ return new NetworkFee(properties);
};
/**
- * Encodes the specified Masternode message. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Masternode.verify|verify} messages.
+ * Encodes the specified NetworkFee message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IMasternode} message Masternode message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetworkFee} message NetworkFee message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- Masternode.encode = function encode(message, writer) {
+ NetworkFee.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.status != null && Object.hasOwnProperty.call(message, "status"))
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.status);
- if (message.proTxHash != null && Object.hasOwnProperty.call(message, "proTxHash"))
- writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.proTxHash);
- if (message.posePenalty != null && Object.hasOwnProperty.call(message, "posePenalty"))
- writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.posePenalty);
- if (message.isSynced != null && Object.hasOwnProperty.call(message, "isSynced"))
- writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isSynced);
- if (message.syncProgress != null && Object.hasOwnProperty.call(message, "syncProgress"))
- writer.uint32(/* id 5, wireType 1 =*/41).double(message.syncProgress);
+ if (message.relay != null && Object.hasOwnProperty.call(message, "relay"))
+ writer.uint32(/* id 1, wireType 1 =*/9).double(message.relay);
+ if (message.incremental != null && Object.hasOwnProperty.call(message, "incremental"))
+ writer.uint32(/* id 2, wireType 1 =*/17).double(message.incremental);
return writer;
};
/**
- * Encodes the specified Masternode message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Masternode.verify|verify} messages.
+ * Encodes the specified NetworkFee message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.IMasternode} message Masternode message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetworkFee} message NetworkFee message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- Masternode.encodeDelimited = function encodeDelimited(message, writer) {
+ NetworkFee.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a Masternode message from the specified reader or buffer.
+ * Decodes a NetworkFee message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Masternode} Masternode
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} NetworkFee
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- Masternode.decode = function decode(reader, length) {
+ NetworkFee.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- message.status = reader.int32();
+ message.relay = reader.double();
break;
case 2:
- message.proTxHash = reader.bytes();
- break;
- case 3:
- message.posePenalty = reader.uint32();
- break;
- case 4:
- message.isSynced = reader.bool();
- break;
- case 5:
- message.syncProgress = reader.double();
+ message.incremental = reader.double();
break;
default:
reader.skipType(tag & 7);
@@ -1847,219 +1877,117 @@ $root.org = (function() {
};
/**
- * Decodes a Masternode message from the specified reader or buffer, length delimited.
+ * Decodes a NetworkFee message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Masternode} Masternode
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} NetworkFee
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- Masternode.decodeDelimited = function decodeDelimited(reader) {
+ NetworkFee.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a Masternode message.
+ * Verifies a NetworkFee message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- Masternode.verify = function verify(message) {
+ NetworkFee.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.status != null && message.hasOwnProperty("status"))
- switch (message.status) {
- default:
- return "status: enum value expected";
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- case 6:
- case 7:
- break;
- }
- if (message.proTxHash != null && message.hasOwnProperty("proTxHash"))
- if (!(message.proTxHash && typeof message.proTxHash.length === "number" || $util.isString(message.proTxHash)))
- return "proTxHash: buffer expected";
- if (message.posePenalty != null && message.hasOwnProperty("posePenalty"))
- if (!$util.isInteger(message.posePenalty))
- return "posePenalty: integer expected";
- if (message.isSynced != null && message.hasOwnProperty("isSynced"))
- if (typeof message.isSynced !== "boolean")
- return "isSynced: boolean expected";
- if (message.syncProgress != null && message.hasOwnProperty("syncProgress"))
- if (typeof message.syncProgress !== "number")
- return "syncProgress: number expected";
+ if (message.relay != null && message.hasOwnProperty("relay"))
+ if (typeof message.relay !== "number")
+ return "relay: number expected";
+ if (message.incremental != null && message.hasOwnProperty("incremental"))
+ if (typeof message.incremental !== "number")
+ return "incremental: number expected";
return null;
};
/**
- * Creates a Masternode message from a plain object. Also converts values to their respective internal types.
+ * Creates a NetworkFee message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Masternode} Masternode
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} NetworkFee
*/
- Masternode.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode)
+ NetworkFee.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode();
- switch (object.status) {
- case "UNKNOWN":
- case 0:
- message.status = 0;
- break;
- case "WAITING_FOR_PROTX":
- case 1:
- message.status = 1;
- break;
- case "POSE_BANNED":
- case 2:
- message.status = 2;
- break;
- case "REMOVED":
- case 3:
- message.status = 3;
- break;
- case "OPERATOR_KEY_CHANGED":
- case 4:
- message.status = 4;
- break;
- case "PROTX_IP_CHANGED":
- case 5:
- message.status = 5;
- break;
- case "READY":
- case 6:
- message.status = 6;
- break;
- case "ERROR":
- case 7:
- message.status = 7;
- break;
- }
- if (object.proTxHash != null)
- if (typeof object.proTxHash === "string")
- $util.base64.decode(object.proTxHash, message.proTxHash = $util.newBuffer($util.base64.length(object.proTxHash)), 0);
- else if (object.proTxHash.length >= 0)
- message.proTxHash = object.proTxHash;
- if (object.posePenalty != null)
- message.posePenalty = object.posePenalty >>> 0;
- if (object.isSynced != null)
- message.isSynced = Boolean(object.isSynced);
- if (object.syncProgress != null)
- message.syncProgress = Number(object.syncProgress);
+ var message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee();
+ if (object.relay != null)
+ message.relay = Number(object.relay);
+ if (object.incremental != null)
+ message.incremental = Number(object.incremental);
return message;
};
/**
- * Creates a plain object from a Masternode message. Also converts values to other types if specified.
+ * Creates a plain object from a NetworkFee message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.Masternode} message Masternode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} message NetworkFee
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- Masternode.toObject = function toObject(message, options) {
+ NetworkFee.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.defaults) {
- object.status = options.enums === String ? "UNKNOWN" : 0;
- if (options.bytes === String)
- object.proTxHash = "";
- else {
- object.proTxHash = [];
- if (options.bytes !== Array)
- object.proTxHash = $util.newBuffer(object.proTxHash);
- }
- object.posePenalty = 0;
- object.isSynced = false;
- object.syncProgress = 0;
+ object.relay = 0;
+ object.incremental = 0;
}
- if (message.status != null && message.hasOwnProperty("status"))
- object.status = options.enums === String ? $root.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status[message.status] : message.status;
- if (message.proTxHash != null && message.hasOwnProperty("proTxHash"))
- object.proTxHash = options.bytes === String ? $util.base64.encode(message.proTxHash, 0, message.proTxHash.length) : options.bytes === Array ? Array.prototype.slice.call(message.proTxHash) : message.proTxHash;
- if (message.posePenalty != null && message.hasOwnProperty("posePenalty"))
- object.posePenalty = message.posePenalty;
- if (message.isSynced != null && message.hasOwnProperty("isSynced"))
- object.isSynced = message.isSynced;
- if (message.syncProgress != null && message.hasOwnProperty("syncProgress"))
- object.syncProgress = options.json && !isFinite(message.syncProgress) ? String(message.syncProgress) : message.syncProgress;
+ if (message.relay != null && message.hasOwnProperty("relay"))
+ object.relay = options.json && !isFinite(message.relay) ? String(message.relay) : message.relay;
+ if (message.incremental != null && message.hasOwnProperty("incremental"))
+ object.incremental = options.json && !isFinite(message.incremental) ? String(message.incremental) : message.incremental;
return object;
};
/**
- * Converts this Masternode to JSON.
+ * Converts this NetworkFee to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Masternode
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee
* @instance
* @returns {Object.} JSON object
*/
- Masternode.prototype.toJSON = function toJSON() {
+ NetworkFee.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- /**
- * Status enum.
- * @name org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status
- * @enum {number}
- * @property {number} UNKNOWN=0 UNKNOWN value
- * @property {number} WAITING_FOR_PROTX=1 WAITING_FOR_PROTX value
- * @property {number} POSE_BANNED=2 POSE_BANNED value
- * @property {number} REMOVED=3 REMOVED value
- * @property {number} OPERATOR_KEY_CHANGED=4 OPERATOR_KEY_CHANGED value
- * @property {number} PROTX_IP_CHANGED=5 PROTX_IP_CHANGED value
- * @property {number} READY=6 READY value
- * @property {number} ERROR=7 ERROR value
- */
- Masternode.Status = (function() {
- var valuesById = {}, values = Object.create(valuesById);
- values[valuesById[0] = "UNKNOWN"] = 0;
- values[valuesById[1] = "WAITING_FOR_PROTX"] = 1;
- values[valuesById[2] = "POSE_BANNED"] = 2;
- values[valuesById[3] = "REMOVED"] = 3;
- values[valuesById[4] = "OPERATOR_KEY_CHANGED"] = 4;
- values[valuesById[5] = "PROTX_IP_CHANGED"] = 5;
- values[valuesById[6] = "READY"] = 6;
- values[valuesById[7] = "ERROR"] = 7;
- return values;
- })();
-
- return Masternode;
+ return NetworkFee;
})();
- GetStatusResponse.NetworkFee = (function() {
+ GetBlockchainStatusResponse.Network = (function() {
/**
- * Properties of a NetworkFee.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
- * @interface INetworkFee
- * @property {number|null} [relay] NetworkFee relay
- * @property {number|null} [incremental] NetworkFee incremental
+ * Properties of a Network.
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
+ * @interface INetwork
+ * @property {number|null} [peersCount] Network peersCount
+ * @property {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetworkFee|null} [fee] Network fee
*/
/**
- * Constructs a new NetworkFee.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
- * @classdesc Represents a NetworkFee.
- * @implements INetworkFee
+ * Constructs a new Network.
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse
+ * @classdesc Represents a Network.
+ * @implements INetwork
* @constructor
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.INetworkFee=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetwork=} [properties] Properties to set
*/
- function NetworkFee(properties) {
+ function Network(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -2067,88 +1995,88 @@ $root.org = (function() {
}
/**
- * NetworkFee relay.
- * @member {number} relay
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * Network peersCount.
+ * @member {number} peersCount
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @instance
*/
- NetworkFee.prototype.relay = 0;
+ Network.prototype.peersCount = 0;
/**
- * NetworkFee incremental.
- * @member {number} incremental
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * Network fee.
+ * @member {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetworkFee|null|undefined} fee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @instance
*/
- NetworkFee.prototype.incremental = 0;
+ Network.prototype.fee = null;
/**
- * Creates a new NetworkFee instance using the specified properties.
+ * Creates a new Network instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.INetworkFee=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} NetworkFee instance
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetwork=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} Network instance
*/
- NetworkFee.create = function create(properties) {
- return new NetworkFee(properties);
+ Network.create = function create(properties) {
+ return new Network(properties);
};
/**
- * Encodes the specified NetworkFee message. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.verify|verify} messages.
+ * Encodes the specified Network message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.INetworkFee} message NetworkFee message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetwork} message Network message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- NetworkFee.encode = function encode(message, writer) {
+ Network.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.relay != null && Object.hasOwnProperty.call(message, "relay"))
- writer.uint32(/* id 1, wireType 1 =*/9).double(message.relay);
- if (message.incremental != null && Object.hasOwnProperty.call(message, "incremental"))
- writer.uint32(/* id 2, wireType 1 =*/17).double(message.incremental);
+ if (message.peersCount != null && Object.hasOwnProperty.call(message, "peersCount"))
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.peersCount);
+ if (message.fee != null && Object.hasOwnProperty.call(message, "fee"))
+ $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.encode(message.fee, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified NetworkFee message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.verify|verify} messages.
+ * Encodes the specified Network message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.INetworkFee} message NetworkFee message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.INetwork} message Network message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- NetworkFee.encodeDelimited = function encodeDelimited(message, writer) {
+ Network.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a NetworkFee message from the specified reader or buffer.
+ * Decodes a Network message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} NetworkFee
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} Network
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- NetworkFee.decode = function decode(reader, length) {
+ Network.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- message.relay = reader.double();
+ message.peersCount = reader.uint32();
break;
case 2:
- message.incremental = reader.double();
+ message.fee = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
@@ -2159,335 +2087,1066 @@ $root.org = (function() {
};
/**
- * Decodes a NetworkFee message from the specified reader or buffer, length delimited.
+ * Decodes a Network message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} NetworkFee
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} Network
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- NetworkFee.decodeDelimited = function decodeDelimited(reader) {
+ Network.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a NetworkFee message.
+ * Verifies a Network message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- NetworkFee.verify = function verify(message) {
+ Network.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.relay != null && message.hasOwnProperty("relay"))
- if (typeof message.relay !== "number")
- return "relay: number expected";
- if (message.incremental != null && message.hasOwnProperty("incremental"))
- if (typeof message.incremental !== "number")
- return "incremental: number expected";
+ if (message.peersCount != null && message.hasOwnProperty("peersCount"))
+ if (!$util.isInteger(message.peersCount))
+ return "peersCount: integer expected";
+ if (message.fee != null && message.hasOwnProperty("fee")) {
+ var error = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.verify(message.fee);
+ if (error)
+ return "fee." + error;
+ }
return null;
};
/**
- * Creates a NetworkFee message from a plain object. Also converts values to their respective internal types.
+ * Creates a Network message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} NetworkFee
+ * @returns {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} Network
*/
- NetworkFee.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee)
+ Network.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee();
- if (object.relay != null)
- message.relay = Number(object.relay);
- if (object.incremental != null)
- message.incremental = Number(object.incremental);
+ var message = new $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network();
+ if (object.peersCount != null)
+ message.peersCount = object.peersCount >>> 0;
+ if (object.fee != null) {
+ if (typeof object.fee !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.fee: object expected");
+ message.fee = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.fromObject(object.fee);
+ }
return message;
};
/**
- * Creates a plain object from a NetworkFee message. Also converts values to other types if specified.
+ * Creates a plain object from a Network message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} message NetworkFee
+ * @param {org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} message Network
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- NetworkFee.toObject = function toObject(message, options) {
+ Network.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.defaults) {
- object.relay = 0;
- object.incremental = 0;
+ object.peersCount = 0;
+ object.fee = null;
}
- if (message.relay != null && message.hasOwnProperty("relay"))
- object.relay = options.json && !isFinite(message.relay) ? String(message.relay) : message.relay;
- if (message.incremental != null && message.hasOwnProperty("incremental"))
- object.incremental = options.json && !isFinite(message.incremental) ? String(message.incremental) : message.incremental;
+ if (message.peersCount != null && message.hasOwnProperty("peersCount"))
+ object.peersCount = message.peersCount;
+ if (message.fee != null && message.hasOwnProperty("fee"))
+ object.fee = $root.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.toObject(message.fee, options);
return object;
};
/**
- * Converts this NetworkFee to JSON.
+ * Converts this Network to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee
+ * @memberof org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network
* @instance
* @returns {Object.} JSON object
*/
- NetworkFee.prototype.toJSON = function toJSON() {
+ Network.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- return NetworkFee;
+ return Network;
})();
- GetStatusResponse.Network = (function() {
-
- /**
- * Properties of a Network.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
- * @interface INetwork
- * @property {number|null} [peersCount] Network peersCount
- * @property {org.dash.platform.dapi.v0.GetStatusResponse.INetworkFee|null} [fee] Network fee
- */
+ return GetBlockchainStatusResponse;
+ })();
- /**
- * Constructs a new Network.
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse
- * @classdesc Represents a Network.
- * @implements INetwork
- * @constructor
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.INetwork=} [properties] Properties to set
- */
- function Network(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
+ v0.GetMasternodeStatusRequest = (function() {
- /**
- * Network peersCount.
- * @member {number} peersCount
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @instance
- */
- Network.prototype.peersCount = 0;
+ /**
+ * Properties of a GetMasternodeStatusRequest.
+ * @memberof org.dash.platform.dapi.v0
+ * @interface IGetMasternodeStatusRequest
+ */
- /**
- * Network fee.
- * @member {org.dash.platform.dapi.v0.GetStatusResponse.INetworkFee|null|undefined} fee
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @instance
- */
- Network.prototype.fee = null;
+ /**
+ * Constructs a new GetMasternodeStatusRequest.
+ * @memberof org.dash.platform.dapi.v0
+ * @classdesc Represents a GetMasternodeStatusRequest.
+ * @implements IGetMasternodeStatusRequest
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusRequest=} [properties] Properties to set
+ */
+ function GetMasternodeStatusRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
- /**
- * Creates a new Network instance using the specified properties.
- * @function create
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.INetwork=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Network} Network instance
- */
- Network.create = function create(properties) {
- return new Network(properties);
- };
+ /**
+ * Creates a new GetMasternodeStatusRequest instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusRequest=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetMasternodeStatusRequest} GetMasternodeStatusRequest instance
+ */
+ GetMasternodeStatusRequest.create = function create(properties) {
+ return new GetMasternodeStatusRequest(properties);
+ };
- /**
- * Encodes the specified Network message. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Network.verify|verify} messages.
- * @function encode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.INetwork} message Network message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- Network.encode = function encode(message, writer) {
- if (!writer)
- writer = $Writer.create();
- if (message.peersCount != null && Object.hasOwnProperty.call(message, "peersCount"))
- writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.peersCount);
- if (message.fee != null && Object.hasOwnProperty.call(message, "fee"))
- $root.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.encode(message.fee, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
- return writer;
- };
+ /**
+ * Encodes the specified GetMasternodeStatusRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetMasternodeStatusRequest.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusRequest} message GetMasternodeStatusRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetMasternodeStatusRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
- /**
- * Encodes the specified Network message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetStatusResponse.Network.verify|verify} messages.
- * @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.INetwork} message Network message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- Network.encodeDelimited = function encodeDelimited(message, writer) {
- return this.encode(message, writer).ldelim();
- };
+ /**
+ * Encodes the specified GetMasternodeStatusRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetMasternodeStatusRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusRequest} message GetMasternodeStatusRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetMasternodeStatusRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
- /**
- * Decodes a Network message from the specified reader or buffer.
- * @function decode
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Network} Network
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- Network.decode = function decode(reader, length) {
- if (!(reader instanceof $Reader))
- reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Network();
- while (reader.pos < end) {
- var tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- message.peersCount = reader.uint32();
- break;
- case 2:
- message.fee = $root.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.decode(reader, reader.uint32());
- break;
- default:
- reader.skipType(tag & 7);
- break;
- }
+ /**
+ * Decodes a GetMasternodeStatusRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.GetMasternodeStatusRequest} GetMasternodeStatusRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetMasternodeStatusRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetMasternodeStatusRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
}
- return message;
- };
-
- /**
- * Decodes a Network message from the specified reader or buffer, length delimited.
- * @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Network} Network
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- Network.decodeDelimited = function decodeDelimited(reader) {
- if (!(reader instanceof $Reader))
- reader = new $Reader(reader);
- return this.decode(reader, reader.uint32());
- };
+ }
+ return message;
+ };
- /**
- * Verifies a Network message.
- * @function verify
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @static
- * @param {Object.} message Plain object to verify
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
- */
- Network.verify = function verify(message) {
- if (typeof message !== "object" || message === null)
- return "object expected";
- if (message.peersCount != null && message.hasOwnProperty("peersCount"))
- if (!$util.isInteger(message.peersCount))
- return "peersCount: integer expected";
- if (message.fee != null && message.hasOwnProperty("fee")) {
- var error = $root.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.verify(message.fee);
- if (error)
- return "fee." + error;
- }
- return null;
- };
+ /**
+ * Decodes a GetMasternodeStatusRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.GetMasternodeStatusRequest} GetMasternodeStatusRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetMasternodeStatusRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
- /**
- * Creates a Network message from a plain object. Also converts values to their respective internal types.
- * @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @static
- * @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetStatusResponse.Network} Network
- */
- Network.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetStatusResponse.Network)
- return object;
- var message = new $root.org.dash.platform.dapi.v0.GetStatusResponse.Network();
- if (object.peersCount != null)
- message.peersCount = object.peersCount >>> 0;
- if (object.fee != null) {
- if (typeof object.fee !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetStatusResponse.Network.fee: object expected");
- message.fee = $root.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.fromObject(object.fee);
- }
- return message;
- };
+ /**
+ * Verifies a GetMasternodeStatusRequest message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetMasternodeStatusRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
- /**
- * Creates a plain object from a Network message. Also converts values to other types if specified.
- * @function toObject
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @static
- * @param {org.dash.platform.dapi.v0.GetStatusResponse.Network} message Network
- * @param {$protobuf.IConversionOptions} [options] Conversion options
- * @returns {Object.} Plain object
- */
- Network.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (options.defaults) {
- object.peersCount = 0;
- object.fee = null;
+ /**
+ * Creates a GetMasternodeStatusRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.GetMasternodeStatusRequest} GetMasternodeStatusRequest
+ */
+ GetMasternodeStatusRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetMasternodeStatusRequest)
+ return object;
+ return new $root.org.dash.platform.dapi.v0.GetMasternodeStatusRequest();
+ };
+
+ /**
+ * Creates a plain object from a GetMasternodeStatusRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetMasternodeStatusRequest} message GetMasternodeStatusRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetMasternodeStatusRequest.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this GetMasternodeStatusRequest to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetMasternodeStatusRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ return GetMasternodeStatusRequest;
+ })();
+
+ v0.GetMasternodeStatusResponse = (function() {
+
+ /**
+ * Properties of a GetMasternodeStatusResponse.
+ * @memberof org.dash.platform.dapi.v0
+ * @interface IGetMasternodeStatusResponse
+ * @property {org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status|null} [status] GetMasternodeStatusResponse status
+ * @property {Uint8Array|null} [proTxHash] GetMasternodeStatusResponse proTxHash
+ * @property {number|null} [posePenalty] GetMasternodeStatusResponse posePenalty
+ * @property {boolean|null} [isSynced] GetMasternodeStatusResponse isSynced
+ * @property {number|null} [syncProgress] GetMasternodeStatusResponse syncProgress
+ */
+
+ /**
+ * Constructs a new GetMasternodeStatusResponse.
+ * @memberof org.dash.platform.dapi.v0
+ * @classdesc Represents a GetMasternodeStatusResponse.
+ * @implements IGetMasternodeStatusResponse
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusResponse=} [properties] Properties to set
+ */
+ function GetMasternodeStatusResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GetMasternodeStatusResponse status.
+ * @member {org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status} status
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @instance
+ */
+ GetMasternodeStatusResponse.prototype.status = 0;
+
+ /**
+ * GetMasternodeStatusResponse proTxHash.
+ * @member {Uint8Array} proTxHash
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @instance
+ */
+ GetMasternodeStatusResponse.prototype.proTxHash = $util.newBuffer([]);
+
+ /**
+ * GetMasternodeStatusResponse posePenalty.
+ * @member {number} posePenalty
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @instance
+ */
+ GetMasternodeStatusResponse.prototype.posePenalty = 0;
+
+ /**
+ * GetMasternodeStatusResponse isSynced.
+ * @member {boolean} isSynced
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @instance
+ */
+ GetMasternodeStatusResponse.prototype.isSynced = false;
+
+ /**
+ * GetMasternodeStatusResponse syncProgress.
+ * @member {number} syncProgress
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @instance
+ */
+ GetMasternodeStatusResponse.prototype.syncProgress = 0;
+
+ /**
+ * Creates a new GetMasternodeStatusResponse instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusResponse=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetMasternodeStatusResponse} GetMasternodeStatusResponse instance
+ */
+ GetMasternodeStatusResponse.create = function create(properties) {
+ return new GetMasternodeStatusResponse(properties);
+ };
+
+ /**
+ * Encodes the specified GetMasternodeStatusResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetMasternodeStatusResponse.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusResponse} message GetMasternodeStatusResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetMasternodeStatusResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.status != null && Object.hasOwnProperty.call(message, "status"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.status);
+ if (message.proTxHash != null && Object.hasOwnProperty.call(message, "proTxHash"))
+ writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.proTxHash);
+ if (message.posePenalty != null && Object.hasOwnProperty.call(message, "posePenalty"))
+ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.posePenalty);
+ if (message.isSynced != null && Object.hasOwnProperty.call(message, "isSynced"))
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isSynced);
+ if (message.syncProgress != null && Object.hasOwnProperty.call(message, "syncProgress"))
+ writer.uint32(/* id 5, wireType 1 =*/41).double(message.syncProgress);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetMasternodeStatusResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetMasternodeStatusResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetMasternodeStatusResponse} message GetMasternodeStatusResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetMasternodeStatusResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetMasternodeStatusResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.GetMasternodeStatusResponse} GetMasternodeStatusResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetMasternodeStatusResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetMasternodeStatusResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ message.status = reader.int32();
+ break;
+ case 2:
+ message.proTxHash = reader.bytes();
+ break;
+ case 3:
+ message.posePenalty = reader.uint32();
+ break;
+ case 4:
+ message.isSynced = reader.bool();
+ break;
+ case 5:
+ message.syncProgress = reader.double();
+ break;
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetMasternodeStatusResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.GetMasternodeStatusResponse} GetMasternodeStatusResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetMasternodeStatusResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetMasternodeStatusResponse message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetMasternodeStatusResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.status != null && message.hasOwnProperty("status"))
+ switch (message.status) {
+ default:
+ return "status: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ break;
+ }
+ if (message.proTxHash != null && message.hasOwnProperty("proTxHash"))
+ if (!(message.proTxHash && typeof message.proTxHash.length === "number" || $util.isString(message.proTxHash)))
+ return "proTxHash: buffer expected";
+ if (message.posePenalty != null && message.hasOwnProperty("posePenalty"))
+ if (!$util.isInteger(message.posePenalty))
+ return "posePenalty: integer expected";
+ if (message.isSynced != null && message.hasOwnProperty("isSynced"))
+ if (typeof message.isSynced !== "boolean")
+ return "isSynced: boolean expected";
+ if (message.syncProgress != null && message.hasOwnProperty("syncProgress"))
+ if (typeof message.syncProgress !== "number")
+ return "syncProgress: number expected";
+ return null;
+ };
+
+ /**
+ * Creates a GetMasternodeStatusResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.GetMasternodeStatusResponse} GetMasternodeStatusResponse
+ */
+ GetMasternodeStatusResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetMasternodeStatusResponse)
+ return object;
+ var message = new $root.org.dash.platform.dapi.v0.GetMasternodeStatusResponse();
+ switch (object.status) {
+ case "UNKNOWN":
+ case 0:
+ message.status = 0;
+ break;
+ case "WAITING_FOR_PROTX":
+ case 1:
+ message.status = 1;
+ break;
+ case "POSE_BANNED":
+ case 2:
+ message.status = 2;
+ break;
+ case "REMOVED":
+ case 3:
+ message.status = 3;
+ break;
+ case "OPERATOR_KEY_CHANGED":
+ case 4:
+ message.status = 4;
+ break;
+ case "PROTX_IP_CHANGED":
+ case 5:
+ message.status = 5;
+ break;
+ case "READY":
+ case 6:
+ message.status = 6;
+ break;
+ case "ERROR":
+ case 7:
+ message.status = 7;
+ break;
+ }
+ if (object.proTxHash != null)
+ if (typeof object.proTxHash === "string")
+ $util.base64.decode(object.proTxHash, message.proTxHash = $util.newBuffer($util.base64.length(object.proTxHash)), 0);
+ else if (object.proTxHash.length >= 0)
+ message.proTxHash = object.proTxHash;
+ if (object.posePenalty != null)
+ message.posePenalty = object.posePenalty >>> 0;
+ if (object.isSynced != null)
+ message.isSynced = Boolean(object.isSynced);
+ if (object.syncProgress != null)
+ message.syncProgress = Number(object.syncProgress);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetMasternodeStatusResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetMasternodeStatusResponse} message GetMasternodeStatusResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetMasternodeStatusResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.status = options.enums === String ? "UNKNOWN" : 0;
+ if (options.bytes === String)
+ object.proTxHash = "";
+ else {
+ object.proTxHash = [];
+ if (options.bytes !== Array)
+ object.proTxHash = $util.newBuffer(object.proTxHash);
+ }
+ object.posePenalty = 0;
+ object.isSynced = false;
+ object.syncProgress = 0;
+ }
+ if (message.status != null && message.hasOwnProperty("status"))
+ object.status = options.enums === String ? $root.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status[message.status] : message.status;
+ if (message.proTxHash != null && message.hasOwnProperty("proTxHash"))
+ object.proTxHash = options.bytes === String ? $util.base64.encode(message.proTxHash, 0, message.proTxHash.length) : options.bytes === Array ? Array.prototype.slice.call(message.proTxHash) : message.proTxHash;
+ if (message.posePenalty != null && message.hasOwnProperty("posePenalty"))
+ object.posePenalty = message.posePenalty;
+ if (message.isSynced != null && message.hasOwnProperty("isSynced"))
+ object.isSynced = message.isSynced;
+ if (message.syncProgress != null && message.hasOwnProperty("syncProgress"))
+ object.syncProgress = options.json && !isFinite(message.syncProgress) ? String(message.syncProgress) : message.syncProgress;
+ return object;
+ };
+
+ /**
+ * Converts this GetMasternodeStatusResponse to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.GetMasternodeStatusResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetMasternodeStatusResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Status enum.
+ * @name org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status
+ * @enum {number}
+ * @property {number} UNKNOWN=0 UNKNOWN value
+ * @property {number} WAITING_FOR_PROTX=1 WAITING_FOR_PROTX value
+ * @property {number} POSE_BANNED=2 POSE_BANNED value
+ * @property {number} REMOVED=3 REMOVED value
+ * @property {number} OPERATOR_KEY_CHANGED=4 OPERATOR_KEY_CHANGED value
+ * @property {number} PROTX_IP_CHANGED=5 PROTX_IP_CHANGED value
+ * @property {number} READY=6 READY value
+ * @property {number} ERROR=7 ERROR value
+ */
+ GetMasternodeStatusResponse.Status = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "UNKNOWN"] = 0;
+ values[valuesById[1] = "WAITING_FOR_PROTX"] = 1;
+ values[valuesById[2] = "POSE_BANNED"] = 2;
+ values[valuesById[3] = "REMOVED"] = 3;
+ values[valuesById[4] = "OPERATOR_KEY_CHANGED"] = 4;
+ values[valuesById[5] = "PROTX_IP_CHANGED"] = 5;
+ values[valuesById[6] = "READY"] = 6;
+ values[valuesById[7] = "ERROR"] = 7;
+ return values;
+ })();
+
+ return GetMasternodeStatusResponse;
+ })();
+
+ v0.GetBlockRequest = (function() {
+
+ /**
+ * Properties of a GetBlockRequest.
+ * @memberof org.dash.platform.dapi.v0
+ * @interface IGetBlockRequest
+ * @property {number|null} [height] GetBlockRequest height
+ * @property {string|null} [hash] GetBlockRequest hash
+ */
+
+ /**
+ * Constructs a new GetBlockRequest.
+ * @memberof org.dash.platform.dapi.v0
+ * @classdesc Represents a GetBlockRequest.
+ * @implements IGetBlockRequest
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.IGetBlockRequest=} [properties] Properties to set
+ */
+ function GetBlockRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GetBlockRequest height.
+ * @member {number} height
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @instance
+ */
+ GetBlockRequest.prototype.height = 0;
+
+ /**
+ * GetBlockRequest hash.
+ * @member {string} hash
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @instance
+ */
+ GetBlockRequest.prototype.hash = "";
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * GetBlockRequest block.
+ * @member {"height"|"hash"|undefined} block
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @instance
+ */
+ Object.defineProperty(GetBlockRequest.prototype, "block", {
+ get: $util.oneOfGetter($oneOfFields = ["height", "hash"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new GetBlockRequest instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetBlockRequest=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockRequest} GetBlockRequest instance
+ */
+ GetBlockRequest.create = function create(properties) {
+ return new GetBlockRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetBlockRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockRequest.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetBlockRequest} message GetBlockRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetBlockRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.height != null && Object.hasOwnProperty.call(message, "height"))
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.height);
+ if (message.hash != null && Object.hasOwnProperty.call(message, "hash"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.hash);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetBlockRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetBlockRequest} message GetBlockRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetBlockRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetBlockRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.GetBlockRequest} GetBlockRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetBlockRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ message.height = reader.uint32();
+ break;
+ case 2:
+ message.hash = reader.string();
+ break;
+ default:
+ reader.skipType(tag & 7);
+ break;
}
- if (message.peersCount != null && message.hasOwnProperty("peersCount"))
- object.peersCount = message.peersCount;
- if (message.fee != null && message.hasOwnProperty("fee"))
- object.fee = $root.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject(message.fee, options);
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetBlockRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.GetBlockRequest} GetBlockRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetBlockRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetBlockRequest message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetBlockRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.height != null && message.hasOwnProperty("height")) {
+ properties.block = 1;
+ if (!$util.isInteger(message.height))
+ return "height: integer expected";
+ }
+ if (message.hash != null && message.hasOwnProperty("hash")) {
+ if (properties.block === 1)
+ return "block: multiple values";
+ properties.block = 1;
+ if (!$util.isString(message.hash))
+ return "hash: string expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GetBlockRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.GetBlockRequest} GetBlockRequest
+ */
+ GetBlockRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockRequest)
+ return object;
+ var message = new $root.org.dash.platform.dapi.v0.GetBlockRequest();
+ if (object.height != null)
+ message.height = object.height >>> 0;
+ if (object.hash != null)
+ message.hash = String(object.hash);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetBlockRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetBlockRequest} message GetBlockRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetBlockRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.height != null && message.hasOwnProperty("height")) {
+ object.height = message.height;
+ if (options.oneofs)
+ object.block = "height";
+ }
+ if (message.hash != null && message.hasOwnProperty("hash")) {
+ object.hash = message.hash;
+ if (options.oneofs)
+ object.block = "hash";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this GetBlockRequest to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetBlockRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ return GetBlockRequest;
+ })();
+
+ v0.GetBlockResponse = (function() {
+
+ /**
+ * Properties of a GetBlockResponse.
+ * @memberof org.dash.platform.dapi.v0
+ * @interface IGetBlockResponse
+ * @property {Uint8Array|null} [block] GetBlockResponse block
+ */
+
+ /**
+ * Constructs a new GetBlockResponse.
+ * @memberof org.dash.platform.dapi.v0
+ * @classdesc Represents a GetBlockResponse.
+ * @implements IGetBlockResponse
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.IGetBlockResponse=} [properties] Properties to set
+ */
+ function GetBlockResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GetBlockResponse block.
+ * @member {Uint8Array} block
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @instance
+ */
+ GetBlockResponse.prototype.block = $util.newBuffer([]);
+
+ /**
+ * Creates a new GetBlockResponse instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetBlockResponse=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBlockResponse} GetBlockResponse instance
+ */
+ GetBlockResponse.create = function create(properties) {
+ return new GetBlockResponse(properties);
+ };
+
+ /**
+ * Encodes the specified GetBlockResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockResponse.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetBlockResponse} message GetBlockResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetBlockResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.block != null && Object.hasOwnProperty.call(message, "block"))
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.block);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetBlockResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IGetBlockResponse} message GetBlockResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetBlockResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetBlockResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.GetBlockResponse} GetBlockResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetBlockResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ message.block = reader.bytes();
+ break;
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetBlockResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.GetBlockResponse} GetBlockResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetBlockResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetBlockResponse message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetBlockResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.block != null && message.hasOwnProperty("block"))
+ if (!(message.block && typeof message.block.length === "number" || $util.isString(message.block)))
+ return "block: buffer expected";
+ return null;
+ };
+
+ /**
+ * Creates a GetBlockResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.GetBlockResponse} GetBlockResponse
+ */
+ GetBlockResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockResponse)
return object;
- };
+ var message = new $root.org.dash.platform.dapi.v0.GetBlockResponse();
+ if (object.block != null)
+ if (typeof object.block === "string")
+ $util.base64.decode(object.block, message.block = $util.newBuffer($util.base64.length(object.block)), 0);
+ else if (object.block.length >= 0)
+ message.block = object.block;
+ return message;
+ };
- /**
- * Converts this Network to JSON.
- * @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetStatusResponse.Network
- * @instance
- * @returns {Object.} JSON object
- */
- Network.prototype.toJSON = function toJSON() {
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
- };
+ /**
+ * Creates a plain object from a GetBlockResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetBlockResponse} message GetBlockResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetBlockResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ if (options.bytes === String)
+ object.block = "";
+ else {
+ object.block = [];
+ if (options.bytes !== Array)
+ object.block = $util.newBuffer(object.block);
+ }
+ if (message.block != null && message.hasOwnProperty("block"))
+ object.block = options.bytes === String ? $util.base64.encode(message.block, 0, message.block.length) : options.bytes === Array ? Array.prototype.slice.call(message.block) : message.block;
+ return object;
+ };
- return Network;
- })();
+ /**
+ * Converts this GetBlockResponse to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetBlockResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
- return GetStatusResponse;
+ return GetBlockResponse;
})();
- v0.GetBlockRequest = (function() {
+ v0.GetBestBlockHeightRequest = (function() {
/**
- * Properties of a GetBlockRequest.
+ * Properties of a GetBestBlockHeightRequest.
* @memberof org.dash.platform.dapi.v0
- * @interface IGetBlockRequest
- * @property {number|null} [height] GetBlockRequest height
- * @property {string|null} [hash] GetBlockRequest hash
+ * @interface IGetBestBlockHeightRequest
*/
/**
- * Constructs a new GetBlockRequest.
+ * Constructs a new GetBestBlockHeightRequest.
* @memberof org.dash.platform.dapi.v0
- * @classdesc Represents a GetBlockRequest.
- * @implements IGetBlockRequest
+ * @classdesc Represents a GetBestBlockHeightRequest.
+ * @implements IGetBestBlockHeightRequest
* @constructor
- * @param {org.dash.platform.dapi.v0.IGetBlockRequest=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightRequest=} [properties] Properties to set
*/
- function GetBlockRequest(properties) {
+ function GetBestBlockHeightRequest(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -2495,103 +3154,63 @@ $root.org = (function() {
}
/**
- * GetBlockRequest height.
- * @member {number} height
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
- * @instance
- */
- GetBlockRequest.prototype.height = 0;
-
- /**
- * GetBlockRequest hash.
- * @member {string} hash
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
- * @instance
- */
- GetBlockRequest.prototype.hash = "";
-
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
-
- /**
- * GetBlockRequest block.
- * @member {"height"|"hash"|undefined} block
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
- * @instance
- */
- Object.defineProperty(GetBlockRequest.prototype, "block", {
- get: $util.oneOfGetter($oneOfFields = ["height", "hash"]),
- set: $util.oneOfSetter($oneOfFields)
- });
-
- /**
- * Creates a new GetBlockRequest instance using the specified properties.
+ * Creates a new GetBestBlockHeightRequest instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @static
- * @param {org.dash.platform.dapi.v0.IGetBlockRequest=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetBlockRequest} GetBlockRequest instance
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightRequest=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBestBlockHeightRequest} GetBestBlockHeightRequest instance
*/
- GetBlockRequest.create = function create(properties) {
- return new GetBlockRequest(properties);
+ GetBestBlockHeightRequest.create = function create(properties) {
+ return new GetBestBlockHeightRequest(properties);
};
/**
- * Encodes the specified GetBlockRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockRequest.verify|verify} messages.
+ * Encodes the specified GetBestBlockHeightRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBestBlockHeightRequest.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @static
- * @param {org.dash.platform.dapi.v0.IGetBlockRequest} message GetBlockRequest message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightRequest} message GetBestBlockHeightRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetBlockRequest.encode = function encode(message, writer) {
+ GetBestBlockHeightRequest.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.height != null && Object.hasOwnProperty.call(message, "height"))
- writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.height);
- if (message.hash != null && Object.hasOwnProperty.call(message, "hash"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.hash);
return writer;
};
/**
- * Encodes the specified GetBlockRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockRequest.verify|verify} messages.
+ * Encodes the specified GetBestBlockHeightRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBestBlockHeightRequest.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @static
- * @param {org.dash.platform.dapi.v0.IGetBlockRequest} message GetBlockRequest message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightRequest} message GetBestBlockHeightRequest message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetBlockRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ GetBestBlockHeightRequest.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetBlockRequest message from the specified reader or buffer.
+ * Decodes a GetBestBlockHeightRequest message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetBlockRequest} GetBlockRequest
+ * @returns {org.dash.platform.dapi.v0.GetBestBlockHeightRequest} GetBestBlockHeightRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetBlockRequest.decode = function decode(reader, length) {
+ GetBestBlockHeightRequest.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBestBlockHeightRequest();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
- case 1:
- message.height = reader.uint32();
- break;
- case 2:
- message.hash = reader.string();
- break;
default:
reader.skipType(tag & 7);
break;
@@ -2601,125 +3220,94 @@ $root.org = (function() {
};
/**
- * Decodes a GetBlockRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetBestBlockHeightRequest message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetBlockRequest} GetBlockRequest
+ * @returns {org.dash.platform.dapi.v0.GetBestBlockHeightRequest} GetBestBlockHeightRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetBlockRequest.decodeDelimited = function decodeDelimited(reader) {
+ GetBestBlockHeightRequest.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetBlockRequest message.
+ * Verifies a GetBestBlockHeightRequest message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetBlockRequest.verify = function verify(message) {
+ GetBestBlockHeightRequest.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- var properties = {};
- if (message.height != null && message.hasOwnProperty("height")) {
- properties.block = 1;
- if (!$util.isInteger(message.height))
- return "height: integer expected";
- }
- if (message.hash != null && message.hasOwnProperty("hash")) {
- if (properties.block === 1)
- return "block: multiple values";
- properties.block = 1;
- if (!$util.isString(message.hash))
- return "hash: string expected";
- }
return null;
};
/**
- * Creates a GetBlockRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetBestBlockHeightRequest message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetBlockRequest} GetBlockRequest
+ * @returns {org.dash.platform.dapi.v0.GetBestBlockHeightRequest} GetBestBlockHeightRequest
*/
- GetBlockRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockRequest)
+ GetBestBlockHeightRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBestBlockHeightRequest)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetBlockRequest();
- if (object.height != null)
- message.height = object.height >>> 0;
- if (object.hash != null)
- message.hash = String(object.hash);
- return message;
+ return new $root.org.dash.platform.dapi.v0.GetBestBlockHeightRequest();
};
/**
- * Creates a plain object from a GetBlockRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a GetBestBlockHeightRequest message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @static
- * @param {org.dash.platform.dapi.v0.GetBlockRequest} message GetBlockRequest
+ * @param {org.dash.platform.dapi.v0.GetBestBlockHeightRequest} message GetBestBlockHeightRequest
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetBlockRequest.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (message.height != null && message.hasOwnProperty("height")) {
- object.height = message.height;
- if (options.oneofs)
- object.block = "height";
- }
- if (message.hash != null && message.hasOwnProperty("hash")) {
- object.hash = message.hash;
- if (options.oneofs)
- object.block = "hash";
- }
- return object;
+ GetBestBlockHeightRequest.toObject = function toObject() {
+ return {};
};
/**
- * Converts this GetBlockRequest to JSON.
+ * Converts this GetBestBlockHeightRequest to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetBlockRequest
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightRequest
* @instance
* @returns {Object.} JSON object
*/
- GetBlockRequest.prototype.toJSON = function toJSON() {
+ GetBestBlockHeightRequest.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- return GetBlockRequest;
+ return GetBestBlockHeightRequest;
})();
- v0.GetBlockResponse = (function() {
+ v0.GetBestBlockHeightResponse = (function() {
/**
- * Properties of a GetBlockResponse.
+ * Properties of a GetBestBlockHeightResponse.
* @memberof org.dash.platform.dapi.v0
- * @interface IGetBlockResponse
- * @property {Uint8Array|null} [block] GetBlockResponse block
+ * @interface IGetBestBlockHeightResponse
+ * @property {number|null} [height] GetBestBlockHeightResponse height
*/
/**
- * Constructs a new GetBlockResponse.
+ * Constructs a new GetBestBlockHeightResponse.
* @memberof org.dash.platform.dapi.v0
- * @classdesc Represents a GetBlockResponse.
- * @implements IGetBlockResponse
+ * @classdesc Represents a GetBestBlockHeightResponse.
+ * @implements IGetBestBlockHeightResponse
* @constructor
- * @param {org.dash.platform.dapi.v0.IGetBlockResponse=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightResponse=} [properties] Properties to set
*/
- function GetBlockResponse(properties) {
+ function GetBestBlockHeightResponse(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -2727,75 +3315,75 @@ $root.org = (function() {
}
/**
- * GetBlockResponse block.
- * @member {Uint8Array} block
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * GetBestBlockHeightResponse height.
+ * @member {number} height
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @instance
*/
- GetBlockResponse.prototype.block = $util.newBuffer([]);
+ GetBestBlockHeightResponse.prototype.height = 0;
/**
- * Creates a new GetBlockResponse instance using the specified properties.
+ * Creates a new GetBestBlockHeightResponse instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetBlockResponse=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetBlockResponse} GetBlockResponse instance
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightResponse=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetBestBlockHeightResponse} GetBestBlockHeightResponse instance
*/
- GetBlockResponse.create = function create(properties) {
- return new GetBlockResponse(properties);
+ GetBestBlockHeightResponse.create = function create(properties) {
+ return new GetBestBlockHeightResponse(properties);
};
/**
- * Encodes the specified GetBlockResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockResponse.verify|verify} messages.
+ * Encodes the specified GetBestBlockHeightResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetBestBlockHeightResponse.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetBlockResponse} message GetBlockResponse message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightResponse} message GetBestBlockHeightResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetBlockResponse.encode = function encode(message, writer) {
+ GetBestBlockHeightResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.block != null && Object.hasOwnProperty.call(message, "block"))
- writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.block);
+ if (message.height != null && Object.hasOwnProperty.call(message, "height"))
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.height);
return writer;
};
/**
- * Encodes the specified GetBlockResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBlockResponse.verify|verify} messages.
+ * Encodes the specified GetBestBlockHeightResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetBestBlockHeightResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetBlockResponse} message GetBlockResponse message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetBestBlockHeightResponse} message GetBestBlockHeightResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetBlockResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ GetBestBlockHeightResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetBlockResponse message from the specified reader or buffer.
+ * Decodes a GetBestBlockHeightResponse message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetBlockResponse} GetBlockResponse
+ * @returns {org.dash.platform.dapi.v0.GetBestBlockHeightResponse} GetBestBlockHeightResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetBlockResponse.decode = function decode(reader, length) {
+ GetBestBlockHeightResponse.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBlockResponse();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetBestBlockHeightResponse();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- message.block = reader.bytes();
+ message.height = reader.uint32();
break;
default:
reader.skipType(tag & 7);
@@ -2806,96 +3394,87 @@ $root.org = (function() {
};
/**
- * Decodes a GetBlockResponse message from the specified reader or buffer, length delimited.
+ * Decodes a GetBestBlockHeightResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetBlockResponse} GetBlockResponse
+ * @returns {org.dash.platform.dapi.v0.GetBestBlockHeightResponse} GetBestBlockHeightResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetBlockResponse.decodeDelimited = function decodeDelimited(reader) {
+ GetBestBlockHeightResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetBlockResponse message.
+ * Verifies a GetBestBlockHeightResponse message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetBlockResponse.verify = function verify(message) {
+ GetBestBlockHeightResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.block != null && message.hasOwnProperty("block"))
- if (!(message.block && typeof message.block.length === "number" || $util.isString(message.block)))
- return "block: buffer expected";
+ if (message.height != null && message.hasOwnProperty("height"))
+ if (!$util.isInteger(message.height))
+ return "height: integer expected";
return null;
};
/**
- * Creates a GetBlockResponse message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetBestBlockHeightResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetBlockResponse} GetBlockResponse
+ * @returns {org.dash.platform.dapi.v0.GetBestBlockHeightResponse} GetBestBlockHeightResponse
*/
- GetBlockResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetBlockResponse)
+ GetBestBlockHeightResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetBestBlockHeightResponse)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetBlockResponse();
- if (object.block != null)
- if (typeof object.block === "string")
- $util.base64.decode(object.block, message.block = $util.newBuffer($util.base64.length(object.block)), 0);
- else if (object.block.length >= 0)
- message.block = object.block;
+ var message = new $root.org.dash.platform.dapi.v0.GetBestBlockHeightResponse();
+ if (object.height != null)
+ message.height = object.height >>> 0;
return message;
};
/**
- * Creates a plain object from a GetBlockResponse message. Also converts values to other types if specified.
+ * Creates a plain object from a GetBestBlockHeightResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @static
- * @param {org.dash.platform.dapi.v0.GetBlockResponse} message GetBlockResponse
+ * @param {org.dash.platform.dapi.v0.GetBestBlockHeightResponse} message GetBestBlockHeightResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetBlockResponse.toObject = function toObject(message, options) {
+ GetBestBlockHeightResponse.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.defaults)
- if (options.bytes === String)
- object.block = "";
- else {
- object.block = [];
- if (options.bytes !== Array)
- object.block = $util.newBuffer(object.block);
- }
- if (message.block != null && message.hasOwnProperty("block"))
- object.block = options.bytes === String ? $util.base64.encode(message.block, 0, message.block.length) : options.bytes === Array ? Array.prototype.slice.call(message.block) : message.block;
+ object.height = 0;
+ if (message.height != null && message.hasOwnProperty("height"))
+ object.height = message.height;
return object;
};
/**
- * Converts this GetBlockResponse to JSON.
+ * Converts this GetBestBlockHeightResponse to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetBlockResponse
+ * @memberof org.dash.platform.dapi.v0.GetBestBlockHeightResponse
* @instance
* @returns {Object.} JSON object
*/
- GetBlockResponse.prototype.toJSON = function toJSON() {
+ GetBestBlockHeightResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- return GetBlockResponse;
+ return GetBestBlockHeightResponse;
})();
v0.BroadcastTransactionRequest = (function() {
@@ -6170,6 +6749,362 @@ $root.org = (function() {
return InstantSendLockMessages;
})();
+ v0.MasternodeListRequest = (function() {
+
+ /**
+ * Properties of a MasternodeListRequest.
+ * @memberof org.dash.platform.dapi.v0
+ * @interface IMasternodeListRequest
+ */
+
+ /**
+ * Constructs a new MasternodeListRequest.
+ * @memberof org.dash.platform.dapi.v0
+ * @classdesc Represents a MasternodeListRequest.
+ * @implements IMasternodeListRequest
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.IMasternodeListRequest=} [properties] Properties to set
+ */
+ function MasternodeListRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Creates a new MasternodeListRequest instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IMasternodeListRequest=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.MasternodeListRequest} MasternodeListRequest instance
+ */
+ MasternodeListRequest.create = function create(properties) {
+ return new MasternodeListRequest(properties);
+ };
+
+ /**
+ * Encodes the specified MasternodeListRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.MasternodeListRequest.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IMasternodeListRequest} message MasternodeListRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MasternodeListRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MasternodeListRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.MasternodeListRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.IMasternodeListRequest} message MasternodeListRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MasternodeListRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MasternodeListRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.MasternodeListRequest} MasternodeListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MasternodeListRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.MasternodeListRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MasternodeListRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.MasternodeListRequest} MasternodeListRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MasternodeListRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MasternodeListRequest message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MasternodeListRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates a MasternodeListRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.MasternodeListRequest} MasternodeListRequest
+ */
+ MasternodeListRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.MasternodeListRequest)
+ return object;
+ return new $root.org.dash.platform.dapi.v0.MasternodeListRequest();
+ };
+
+ /**
+ * Creates a plain object from a MasternodeListRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @static
+ * @param {org.dash.platform.dapi.v0.MasternodeListRequest} message MasternodeListRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MasternodeListRequest.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this MasternodeListRequest to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.MasternodeListRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MasternodeListRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ return MasternodeListRequest;
+ })();
+
+ v0.MasternodeListResponse = (function() {
+
+ /**
+ * Properties of a MasternodeListResponse.
+ * @memberof org.dash.platform.dapi.v0
+ * @interface IMasternodeListResponse
+ * @property {Uint8Array|null} [masternodeListDiff] MasternodeListResponse masternodeListDiff
+ */
+
+ /**
+ * Constructs a new MasternodeListResponse.
+ * @memberof org.dash.platform.dapi.v0
+ * @classdesc Represents a MasternodeListResponse.
+ * @implements IMasternodeListResponse
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.IMasternodeListResponse=} [properties] Properties to set
+ */
+ function MasternodeListResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * MasternodeListResponse masternodeListDiff.
+ * @member {Uint8Array} masternodeListDiff
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @instance
+ */
+ MasternodeListResponse.prototype.masternodeListDiff = $util.newBuffer([]);
+
+ /**
+ * Creates a new MasternodeListResponse instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IMasternodeListResponse=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.MasternodeListResponse} MasternodeListResponse instance
+ */
+ MasternodeListResponse.create = function create(properties) {
+ return new MasternodeListResponse(properties);
+ };
+
+ /**
+ * Encodes the specified MasternodeListResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.MasternodeListResponse.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IMasternodeListResponse} message MasternodeListResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MasternodeListResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.masternodeListDiff != null && Object.hasOwnProperty.call(message, "masternodeListDiff"))
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.masternodeListDiff);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MasternodeListResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.MasternodeListResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.IMasternodeListResponse} message MasternodeListResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MasternodeListResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MasternodeListResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.MasternodeListResponse} MasternodeListResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MasternodeListResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.MasternodeListResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ message.masternodeListDiff = reader.bytes();
+ break;
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MasternodeListResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.MasternodeListResponse} MasternodeListResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MasternodeListResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MasternodeListResponse message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MasternodeListResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.masternodeListDiff != null && message.hasOwnProperty("masternodeListDiff"))
+ if (!(message.masternodeListDiff && typeof message.masternodeListDiff.length === "number" || $util.isString(message.masternodeListDiff)))
+ return "masternodeListDiff: buffer expected";
+ return null;
+ };
+
+ /**
+ * Creates a MasternodeListResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.MasternodeListResponse} MasternodeListResponse
+ */
+ MasternodeListResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.MasternodeListResponse)
+ return object;
+ var message = new $root.org.dash.platform.dapi.v0.MasternodeListResponse();
+ if (object.masternodeListDiff != null)
+ if (typeof object.masternodeListDiff === "string")
+ $util.base64.decode(object.masternodeListDiff, message.masternodeListDiff = $util.newBuffer($util.base64.length(object.masternodeListDiff)), 0);
+ else if (object.masternodeListDiff.length >= 0)
+ message.masternodeListDiff = object.masternodeListDiff;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a MasternodeListResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @static
+ * @param {org.dash.platform.dapi.v0.MasternodeListResponse} message MasternodeListResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MasternodeListResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ if (options.bytes === String)
+ object.masternodeListDiff = "";
+ else {
+ object.masternodeListDiff = [];
+ if (options.bytes !== Array)
+ object.masternodeListDiff = $util.newBuffer(object.masternodeListDiff);
+ }
+ if (message.masternodeListDiff != null && message.hasOwnProperty("masternodeListDiff"))
+ object.masternodeListDiff = options.bytes === String ? $util.base64.encode(message.masternodeListDiff, 0, message.masternodeListDiff.length) : options.bytes === Array ? Array.prototype.slice.call(message.masternodeListDiff) : message.masternodeListDiff;
+ return object;
+ };
+
+ /**
+ * Converts this MasternodeListResponse to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.MasternodeListResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MasternodeListResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ return MasternodeListResponse;
+ })();
+
return v0;
})();
diff --git a/packages/dapi-grpc/clients/core/v0/nodejs/core_protoc.js b/packages/dapi-grpc/clients/core/v0/nodejs/core_protoc.js
index ae974b2f814..5bf2a3edaeb 100644
--- a/packages/dapi-grpc/clients/core/v0/nodejs/core_protoc.js
+++ b/packages/dapi-grpc/clients/core/v0/nodejs/core_protoc.js
@@ -23,24 +23,29 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.BlockHeadersWithChainLocksRes
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BloomFilter', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastTransactionRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastTransactionResponse', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockRequest.BlockCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockResponse', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEstimatedTransactionFeeRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEstimatedTransactionFeeResponse', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusRequest', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Network', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Status', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Time', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Version', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTransactionRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTransactionResponse', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.InstantSendLockMessages', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.MasternodeListRequest', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.MasternodeListResponse', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.RawTransactions', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.TransactionsWithProofsRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.TransactionsWithProofsRequest.FromBlockCase', null, { proto });
@@ -56,16 +61,16 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.TransactionsWithProofsRespons
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusRequest, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusRequest';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest';
}
/**
* Generated by JsPbCodeGenerator.
@@ -77,16 +82,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse';
}
/**
* Generated by JsPbCodeGenerator.
@@ -98,16 +103,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Version, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Version';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version';
}
/**
* Generated by JsPbCodeGenerator.
@@ -119,16 +124,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Time, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Time';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time';
}
/**
* Generated by JsPbCodeGenerator.
@@ -140,16 +145,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain';
}
/**
* Generated by JsPbCodeGenerator.
@@ -161,16 +166,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee';
}
/**
* Generated by JsPbCodeGenerator.
@@ -182,16 +187,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network';
}
/**
* Generated by JsPbCodeGenerator.
@@ -203,16 +208,37 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Network, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Network';
+ proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse';
}
/**
* Generated by JsPbCodeGenerator.
@@ -256,6 +282,48 @@ if (goog.DEBUG && !COMPILED) {
*/
proto.org.dash.platform.dapi.v0.GetBlockResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockResponse';
}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse';
+}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@@ -550,6 +618,48 @@ if (goog.DEBUG && !COMPILED) {
*/
proto.org.dash.platform.dapi.v0.InstantSendLockMessages.displayName = 'proto.org.dash.platform.dapi.v0.InstantSendLockMessages';
}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.MasternodeListRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.MasternodeListRequest.displayName = 'proto.org.dash.platform.dapi.v0.MasternodeListRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.MasternodeListResponse, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.MasternodeListResponse.displayName = 'proto.org.dash.platform.dapi.v0.MasternodeListResponse';
+}
@@ -566,8 +676,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusRequest.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.toObject(opt_includeInstance, this);
};
@@ -576,11 +686,11 @@ proto.org.dash.platform.dapi.v0.GetStatusRequest.prototype.toObject = function(o
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusRequest} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.toObject = function(includeInstance, msg) {
var f, obj = {
};
@@ -596,23 +706,23 @@ proto.org.dash.platform.dapi.v0.GetStatusRequest.toObject = function(includeInst
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusRequest}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest}
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusRequest;
- return proto.org.dash.platform.dapi.v0.GetStatusRequest.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusRequest} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusRequest}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest}
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -632,9 +742,9 @@ proto.org.dash.platform.dapi.v0.GetStatusRequest.deserializeBinaryFromReader = f
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusRequest.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -642,11 +752,11 @@ proto.org.dash.platform.dapi.v0.GetStatusRequest.prototype.serializeBinary = fun
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusRequest} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
@@ -667,8 +777,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.toObject(opt_includeInstance, this);
};
@@ -677,19 +787,18 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.toObject = function(
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.toObject = function(includeInstance, msg) {
var f, obj = {
- version: (f = msg.getVersion()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject(includeInstance, f),
- time: (f = msg.getTime()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject(includeInstance, f),
+ version: (f = msg.getVersion()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.toObject(includeInstance, f),
+ time: (f = msg.getTime()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.toObject(includeInstance, f),
status: jspb.Message.getFieldWithDefault(msg, 3, 0),
syncProgress: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
- chain: (f = msg.getChain()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject(includeInstance, f),
- masternode: (f = msg.getMasternode()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject(includeInstance, f),
- network: (f = msg.getNetwork()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.toObject(includeInstance, f)
+ chain: (f = msg.getChain()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.toObject(includeInstance, f),
+ network: (f = msg.getNetwork()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -703,23 +812,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.toObject = function(includeIns
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -727,17 +836,17 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader =
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Version;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.deserializeBinaryFromReader);
msg.setVersion(value);
break;
case 2:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Time;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.deserializeBinaryFromReader);
msg.setTime(value);
break;
case 3:
- var value = /** @type {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Status} */ (reader.readEnum());
+ var value = /** @type {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status} */ (reader.readEnum());
msg.setStatus(value);
break;
case 4:
@@ -745,18 +854,13 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader =
msg.setSyncProgress(value);
break;
case 5:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.deserializeBinaryFromReader);
msg.setChain(value);
break;
- case 6:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFromReader);
- msg.setMasternode(value);
- break;
case 7:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Network;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.deserializeBinaryFromReader);
msg.setNetwork(value);
break;
default:
@@ -772,9 +876,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader =
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -782,18 +886,18 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.serializeBinary = fu
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getVersion();
if (f != null) {
writer.writeMessage(
1,
f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.serializeBinaryToWriter
);
}
f = message.getTime();
@@ -801,7 +905,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = func
writer.writeMessage(
2,
f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.serializeBinaryToWriter
);
}
f = message.getStatus();
@@ -823,15 +927,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = func
writer.writeMessage(
5,
f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.serializeBinaryToWriter
- );
- }
- f = message.getMasternode();
- if (f != null) {
- writer.writeMessage(
- 6,
- f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.serializeBinaryToWriter
);
}
f = message.getNetwork();
@@ -839,7 +935,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = func
writer.writeMessage(
7,
f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.serializeBinaryToWriter
);
}
};
@@ -848,7 +944,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = func
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Status = {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status = {
NOT_STARTED: 0,
SYNCING: 1,
READY: 2,
@@ -871,8 +967,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.toObject(opt_includeInstance, this);
};
@@ -881,11 +977,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.toObject = f
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.toObject = function(includeInstance, msg) {
var f, obj = {
protocol: jspb.Message.getFieldWithDefault(msg, 1, 0),
software: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -903,23 +999,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject = function(in
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Version;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -951,9 +1047,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinaryFromR
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -961,11 +1057,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.serializeBin
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProtocol();
if (f !== 0) {
@@ -995,16 +1091,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.serializeBinaryToWrite
* optional uint32 protocol = 1;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.getProtocol = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.getProtocol = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setProtocol = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.setProtocol = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
@@ -1013,16 +1109,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setProtocol
* optional uint32 software = 2;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.getSoftware = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.getSoftware = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setSoftware = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.setSoftware = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
@@ -1031,16 +1127,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setSoftware
* optional string agent = 3;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.getAgent = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.getAgent = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setAgent = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.setAgent = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
@@ -1061,8 +1157,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.toObject(opt_includeInstance, this);
};
@@ -1071,11 +1167,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.toObject = func
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.toObject = function(includeInstance, msg) {
var f, obj = {
now: jspb.Message.getFieldWithDefault(msg, 1, 0),
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -1093,23 +1189,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject = function(inclu
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Time;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -1141,9 +1237,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinaryFromRead
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -1151,11 +1247,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.serializeBinary
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getNow();
if (f !== 0) {
@@ -1185,16 +1281,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.serializeBinaryToWriter =
* optional uint32 now = 1;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.getNow = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.getNow = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setNow = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.setNow = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
@@ -1203,16 +1299,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setNow = functi
* optional int32 offset = 2;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.getOffset = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.getOffset = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setOffset = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.setOffset = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
@@ -1221,16 +1317,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setOffset = fun
* optional uint32 median = 3;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.getMedian = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.getMedian = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setMedian = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.setMedian = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
@@ -1251,8 +1347,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.toObject(opt_includeInstance, this);
};
@@ -1261,11 +1357,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.toObject = fun
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
headersCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -1288,23 +1384,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject = function(incl
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -1356,9 +1452,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinaryFromRea
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -1366,11 +1462,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.serializeBinar
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
@@ -1435,16 +1531,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.serializeBinaryToWriter
* optional string name = 1;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getName = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setName = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
@@ -1453,16 +1549,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setName = func
* optional uint32 headers_count = 2;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getHeadersCount = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getHeadersCount = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setHeadersCount = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setHeadersCount = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
@@ -1471,16 +1567,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setHeadersCoun
* optional uint32 blocks_count = 3;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBlocksCount = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getBlocksCount = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setBlocksCount = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setBlocksCount = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
@@ -1489,7 +1585,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setBlocksCount
* optional bytes best_block_hash = 4;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHash = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getBestBlockHash = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
@@ -1499,7 +1595,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHa
* This is a type-conversion wrapper around `getBestBlockHash()`
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHash_asB64 = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getBestBlockHash_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getBestBlockHash()));
};
@@ -1512,7 +1608,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHa
* This is a type-conversion wrapper around `getBestBlockHash()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHash_asU8 = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getBestBlockHash_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getBestBlockHash()));
};
@@ -1520,9 +1616,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHa
/**
* @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setBestBlockHash = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setBestBlockHash = function(value) {
return jspb.Message.setProto3BytesField(this, 4, value);
};
@@ -1531,16 +1627,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setBestBlockHa
* optional double difficulty = 5;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getDifficulty = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getDifficulty = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setDifficulty = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setDifficulty = function(value) {
return jspb.Message.setProto3FloatField(this, 5, value);
};
@@ -1549,7 +1645,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setDifficulty
* optional bytes chain_work = 6;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getChainWork = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
@@ -1559,7 +1655,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork =
* This is a type-conversion wrapper around `getChainWork()`
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork_asB64 = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getChainWork_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getChainWork()));
};
@@ -1572,7 +1668,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork_a
* This is a type-conversion wrapper around `getChainWork()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork_asU8 = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getChainWork_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getChainWork()));
};
@@ -1580,9 +1676,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork_a
/**
* @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setChainWork = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setChainWork = function(value) {
return jspb.Message.setProto3BytesField(this, 6, value);
};
@@ -1591,16 +1687,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setChainWork =
* optional bool is_synced = 7;
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getIsSynced = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getIsSynced = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
};
/**
* @param {boolean} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setIsSynced = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setIsSynced = function(value) {
return jspb.Message.setProto3BooleanField(this, 7, value);
};
@@ -1609,16 +1705,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setIsSynced =
* optional double sync_progress = 8;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getSyncProgress = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getSyncProgress = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setSyncProgress = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setSyncProgress = function(value) {
return jspb.Message.setProto3FloatField(this, 8, value);
};
@@ -1639,8 +1735,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.toObject(opt_includeInstance, this);
};
@@ -1649,17 +1745,14 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.toObject
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.toObject = function(includeInstance, msg) {
var f, obj = {
- status: jspb.Message.getFieldWithDefault(msg, 1, 0),
- proTxHash: msg.getProTxHash_asB64(),
- posePenalty: jspb.Message.getFieldWithDefault(msg, 3, 0),
- isSynced: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
- syncProgress: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
+ relay: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
+ incremental: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
};
if (includeInstance) {
@@ -1673,23 +1766,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject = function
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -1697,24 +1790,12 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFr
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = /** @type {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status} */ (reader.readEnum());
- msg.setStatus(value);
+ var value = /** @type {number} */ (reader.readDouble());
+ msg.setRelay(value);
break;
case 2:
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.setProTxHash(value);
- break;
- case 3:
- var value = /** @type {number} */ (reader.readUint32());
- msg.setPosePenalty(value);
- break;
- case 4:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsSynced(value);
- break;
- case 5:
var value = /** @type {number} */ (reader.readDouble());
- msg.setSyncProgress(value);
+ msg.setIncremental(value);
break;
default:
reader.skipField();
@@ -1729,9 +1810,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFr
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -1739,44 +1820,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.serialize
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getStatus();
+ f = message.getRelay();
if (f !== 0.0) {
- writer.writeEnum(
+ writer.writeDouble(
1,
f
);
}
- f = message.getProTxHash_asU8();
- if (f.length > 0) {
- writer.writeBytes(
- 2,
- f
- );
- }
- f = message.getPosePenalty();
- if (f !== 0) {
- writer.writeUint32(
- 3,
- f
- );
- }
- f = message.getIsSynced();
- if (f) {
- writer.writeBool(
- 4,
- f
- );
- }
- f = message.getSyncProgress();
+ f = message.getIncremental();
if (f !== 0.0) {
writer.writeDouble(
- 5,
+ 2,
f
);
}
@@ -1784,130 +1844,38 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.serializeBinaryToWr
/**
- * @enum {number}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status = {
- UNKNOWN: 0,
- WAITING_FOR_PROTX: 1,
- POSE_BANNED: 2,
- REMOVED: 3,
- OPERATOR_KEY_CHANGED: 4,
- PROTX_IP_CHANGED: 5,
- READY: 6,
- ERROR: 7
-};
-
-/**
- * optional Status status = 1;
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getStatus = function() {
- return /** @type {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
-};
-
-
-/**
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setStatus = function(value) {
- return jspb.Message.setProto3EnumField(this, 1, value);
-};
-
-
-/**
- * optional bytes pro_tx_hash = 2;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getProTxHash = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * optional bytes pro_tx_hash = 2;
- * This is a type-conversion wrapper around `getProTxHash()`
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getProTxHash_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getProTxHash()));
-};
-
-
-/**
- * optional bytes pro_tx_hash = 2;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getProTxHash()`
- * @return {!Uint8Array}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getProTxHash_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getProTxHash()));
-};
-
-
-/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setProTxHash = function(value) {
- return jspb.Message.setProto3BytesField(this, 2, value);
-};
-
-
-/**
- * optional uint32 pose_penalty = 3;
+ * optional double relay = 1;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getPosePenalty = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.getRelay = function() {
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setPosePenalty = function(value) {
- return jspb.Message.setProto3IntField(this, 3, value);
-};
-
-
-/**
- * optional bool is_synced = 4;
- * @return {boolean}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getIsSynced = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setIsSynced = function(value) {
- return jspb.Message.setProto3BooleanField(this, 4, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.setRelay = function(value) {
+ return jspb.Message.setProto3FloatField(this, 1, value);
};
/**
- * optional double sync_progress = 5;
+ * optional double incremental = 2;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getSyncProgress = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.getIncremental = function() {
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setSyncProgress = function(value) {
- return jspb.Message.setProto3FloatField(this, 5, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.setIncremental = function(value) {
+ return jspb.Message.setProto3FloatField(this, 2, value);
};
@@ -1927,8 +1895,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.toObject(opt_includeInstance, this);
};
@@ -1937,14 +1905,14 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.toObject
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.toObject = function(includeInstance, msg) {
var f, obj = {
- relay: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
- incremental: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
+ peersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
+ fee: (f = msg.getFee()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -1958,23 +1926,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject = function
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -1982,12 +1950,13 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFr
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setRelay(value);
+ var value = /** @type {number} */ (reader.readUint32());
+ msg.setPeersCount(value);
break;
case 2:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setIncremental(value);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.deserializeBinaryFromReader);
+ msg.setFee(value);
break;
default:
reader.skipField();
@@ -2002,9 +1971,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFr
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -2012,234 +1981,220 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.serialize
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getRelay();
- if (f !== 0.0) {
- writer.writeDouble(
+ f = message.getPeersCount();
+ if (f !== 0) {
+ writer.writeUint32(
1,
f
);
}
- f = message.getIncremental();
- if (f !== 0.0) {
- writer.writeDouble(
+ f = message.getFee();
+ if (f != null) {
+ writer.writeMessage(
2,
- f
+ f,
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.serializeBinaryToWriter
);
}
};
/**
- * optional double relay = 1;
+ * optional uint32 peers_count = 1;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.getRelay = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.getPeersCount = function() {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.setRelay = function(value) {
- return jspb.Message.setProto3FloatField(this, 1, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.setPeersCount = function(value) {
+ return jspb.Message.setProto3IntField(this, 1, value);
};
/**
- * optional double incremental = 2;
- * @return {number}
+ * optional NetworkFee fee = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.getIncremental = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.getFee = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee, 2));
};
/**
- * @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.setFee = function(value) {
+ return jspb.Message.setWrapperField(this, 2, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.setIncremental = function(value) {
- return jspb.Message.setProto3FloatField(this, 2, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.clearFee = function() {
+ return this.setFee(undefined);
};
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.hasFee = function() {
+ return jspb.Message.getField(this, 2) != null;
+};
+/**
+ * optional Version version = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getVersion = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version, 1));
+};
+
-if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setVersion = function(value) {
+ return jspb.Message.setWrapperField(this, 1, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.clearVersion = function() {
+ return this.setVersion(undefined);
};
/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * Returns whether this field is set.
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.toObject = function(includeInstance, msg) {
- var f, obj = {
- peersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
- fee: (f = msg.getFee()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject(includeInstance, f)
- };
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.hasVersion = function() {
+ return jspb.Message.getField(this, 1) != null;
+};
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
+
+/**
+ * optional Time time = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getTime = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time, 2));
};
-}
/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network}
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setTime = function(value) {
+ return jspb.Message.setWrapperField(this, 2, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Network;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.deserializeBinaryFromReader(msg, reader);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.clearTime = function() {
+ return this.setTime(undefined);
};
/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network}
+ * Returns whether this field is set.
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {number} */ (reader.readUint32());
- msg.setPeersCount(value);
- break;
- case 2:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFromReader);
- msg.setFee(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.hasTime = function() {
+ return jspb.Message.getField(this, 2) != null;
};
/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
+ * optional Status status = 3;
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getStatus = function() {
+ return /** @type {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPeersCount();
- if (f !== 0) {
- writer.writeUint32(
- 1,
- f
- );
- }
- f = message.getFee();
- if (f != null) {
- writer.writeMessage(
- 2,
- f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.serializeBinaryToWriter
- );
- }
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setStatus = function(value) {
+ return jspb.Message.setProto3EnumField(this, 3, value);
};
/**
- * optional uint32 peers_count = 1;
+ * optional double sync_progress = 4;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.getPeersCount = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getSyncProgress = function() {
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.setPeersCount = function(value) {
- return jspb.Message.setProto3IntField(this, 1, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setSyncProgress = function(value) {
+ return jspb.Message.setProto3FloatField(this, 4, value);
};
/**
- * optional NetworkFee fee = 2;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee}
+ * optional Chain chain = 5;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.getFee = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee, 2));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getChain = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain, 5));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.setFee = function(value) {
- return jspb.Message.setWrapperField(this, 2, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setChain = function(value) {
+ return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.clearFee = function() {
- return this.setFee(undefined);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.clearChain = function() {
+ return this.setChain(undefined);
};
@@ -2247,36 +2202,36 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.clearFee = f
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.hasFee = function() {
- return jspb.Message.getField(this, 2) != null;
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.hasChain = function() {
+ return jspb.Message.getField(this, 5) != null;
};
/**
- * optional Version version = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Version}
+ * optional Network network = 7;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getVersion = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Version, 1));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getNetwork = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network, 7));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Version|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setVersion = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setNetwork = function(value) {
+ return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearVersion = function() {
- return this.setVersion(undefined);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.clearNetwork = function() {
+ return this.setNetwork(undefined);
};
@@ -2284,192 +2239,397 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearVersion = funct
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasVersion = function() {
- return jspb.Message.getField(this, 1) != null;
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.hasNetwork = function() {
+ return jspb.Message.getField(this, 7) != null;
};
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * optional Time time = 2;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Time}
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getTime = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Time, 2));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.toObject(opt_includeInstance, this);
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Time|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setTime = function(value) {
- return jspb.Message.setWrapperField(this, 2, value);
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.toObject = function(includeInstance, msg) {
+ var f, obj = {
+
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
};
+}
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearTime = function() {
- return this.setTime(undefined);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest;
+ return proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.deserializeBinaryFromReader(msg, reader);
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasTime = function() {
- return jspb.Message.getField(this, 2) != null;
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
};
/**
- * optional Status status = 3;
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Status}
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getStatus = function() {
- return /** @type {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
};
/**
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Status} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setStatus = function(value) {
- return jspb.Message.setProto3EnumField(this, 3, value);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
};
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * optional double sync_progress = 4;
- * @return {number}
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getSyncProgress = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.toObject(opt_includeInstance, this);
};
/**
- * @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setSyncProgress = function(value) {
- return jspb.Message.setProto3FloatField(this, 4, value);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ status: jspb.Message.getFieldWithDefault(msg, 1, 0),
+ proTxHash: msg.getProTxHash_asB64(),
+ posePenalty: jspb.Message.getFieldWithDefault(msg, 3, 0),
+ isSynced: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
+ syncProgress: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
};
+}
/**
- * optional Chain chain = 5;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain}
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getChain = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain, 5));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse;
+ return proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.deserializeBinaryFromReader(msg, reader);
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setChain = function(value) {
- return jspb.Message.setWrapperField(this, 5, value);
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = /** @type {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status} */ (reader.readEnum());
+ msg.setStatus(value);
+ break;
+ case 2:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setProTxHash(value);
+ break;
+ case 3:
+ var value = /** @type {number} */ (reader.readUint32());
+ msg.setPosePenalty(value);
+ break;
+ case 4:
+ var value = /** @type {boolean} */ (reader.readBool());
+ msg.setIsSynced(value);
+ break;
+ case 5:
+ var value = /** @type {number} */ (reader.readDouble());
+ msg.setSyncProgress(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
};
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearChain = function() {
- return this.setChain(undefined);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasChain = function() {
- return jspb.Message.getField(this, 5) != null;
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getStatus();
+ if (f !== 0.0) {
+ writer.writeEnum(
+ 1,
+ f
+ );
+ }
+ f = message.getProTxHash_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 2,
+ f
+ );
+ }
+ f = message.getPosePenalty();
+ if (f !== 0) {
+ writer.writeUint32(
+ 3,
+ f
+ );
+ }
+ f = message.getIsSynced();
+ if (f) {
+ writer.writeBool(
+ 4,
+ f
+ );
+ }
+ f = message.getSyncProgress();
+ if (f !== 0.0) {
+ writer.writeDouble(
+ 5,
+ f
+ );
+ }
+};
+
+
+/**
+ * @enum {number}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status = {
+ UNKNOWN: 0,
+ WAITING_FOR_PROTX: 1,
+ POSE_BANNED: 2,
+ REMOVED: 3,
+ OPERATOR_KEY_CHANGED: 4,
+ PROTX_IP_CHANGED: 5,
+ READY: 6,
+ ERROR: 7
+};
+
+/**
+ * optional Status status = 1;
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getStatus = function() {
+ return /** @type {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
- * optional Masternode masternode = 6;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode}
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getMasternode = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode, 6));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setStatus = function(value) {
+ return jspb.Message.setProto3EnumField(this, 1, value);
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setMasternode = function(value) {
- return jspb.Message.setWrapperField(this, 6, value);
+ * optional bytes pro_tx_hash = 2;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getProTxHash = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * optional bytes pro_tx_hash = 2;
+ * This is a type-conversion wrapper around `getProTxHash()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getProTxHash_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getProTxHash()));
+};
+
+
+/**
+ * optional bytes pro_tx_hash = 2;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getProTxHash()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getProTxHash_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getProTxHash()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setProTxHash = function(value) {
+ return jspb.Message.setProto3BytesField(this, 2, value);
};
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * optional uint32 pose_penalty = 3;
+ * @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearMasternode = function() {
- return this.setMasternode(undefined);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getPosePenalty = function() {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * @param {number} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasMasternode = function() {
- return jspb.Message.getField(this, 6) != null;
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setPosePenalty = function(value) {
+ return jspb.Message.setProto3IntField(this, 3, value);
};
/**
- * optional Network network = 7;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Network}
+ * optional bool is_synced = 4;
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getNetwork = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Network, 7));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getIsSynced = function() {
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Network|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setNetwork = function(value) {
- return jspb.Message.setWrapperField(this, 7, value);
+ * @param {boolean} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setIsSynced = function(value) {
+ return jspb.Message.setProto3BooleanField(this, 4, value);
};
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * optional double sync_progress = 5;
+ * @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearNetwork = function() {
- return this.setNetwork(undefined);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getSyncProgress = function() {
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * @param {number} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasNetwork = function() {
- return jspb.Message.getField(this, 7) != null;
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setSyncProgress = function(value) {
+ return jspb.Message.setProto3FloatField(this, 5, value);
};
@@ -2783,7 +2943,262 @@ proto.org.dash.platform.dapi.v0.GetBlockResponse.deserializeBinaryFromReader = f
*/
proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockResponse} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getBlock_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 1,
+ f
+ );
+ }
+};
+
+
+/**
+ * optional bytes block = 1;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
+};
+
+
+/**
+ * optional bytes block = 1;
+ * This is a type-conversion wrapper around `getBlock()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getBlock()));
+};
+
+
+/**
+ * optional bytes block = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getBlock()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getBlock()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.setBlock = function(value) {
+ return jspb.Message.setProto3BytesField(this, 1, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.toObject = function(includeInstance, msg) {
+ var f, obj = {
+
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest;
+ return proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ height: jspb.Message.getFieldWithDefault(msg, 1, 0)
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse;
+ return proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = /** @type {number} */ (reader.readUint32());
+ msg.setHeight(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -2791,15 +3206,15 @@ proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.serializeBinary = fun
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetBlockResponse} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getBlock_asU8();
- if (f.length > 0) {
- writer.writeBytes(
+ f = message.getHeight();
+ if (f !== 0) {
+ writer.writeUint32(
1,
f
);
@@ -2808,44 +3223,20 @@ proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter = funct
/**
- * optional bytes block = 1;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * optional bytes block = 1;
- * This is a type-conversion wrapper around `getBlock()`
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getBlock()));
-};
-
-
-/**
- * optional bytes block = 1;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getBlock()`
- * @return {!Uint8Array}
+ * optional uint32 height = 1;
+ * @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getBlock()));
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.prototype.getHeight = function() {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetBlockResponse} returns this
+ * @param {number} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.setBlock = function(value) {
- return jspb.Message.setProto3BytesField(this, 1, value);
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.prototype.setHeight = function(value) {
+ return jspb.Message.setProto3IntField(this, 1, value);
};
@@ -5878,4 +6269,259 @@ proto.org.dash.platform.dapi.v0.InstantSendLockMessages.prototype.clearMessagesL
};
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.MasternodeListRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.toObject = function(includeInstance, msg) {
+ var f, obj = {
+
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListRequest}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.MasternodeListRequest;
+ return proto.org.dash.platform.dapi.v0.MasternodeListRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListRequest}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.MasternodeListRequest.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.MasternodeListResponse.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListResponse} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ masternodeListDiff: msg.getMasternodeListDiff_asB64()
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListResponse}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.MasternodeListResponse;
+ return proto.org.dash.platform.dapi.v0.MasternodeListResponse.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListResponse} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListResponse}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setMasternodeListDiff(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.MasternodeListResponse.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListResponse} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getMasternodeListDiff_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 1,
+ f
+ );
+ }
+};
+
+
+/**
+ * optional bytes masternode_list_diff = 1;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.getMasternodeListDiff = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
+};
+
+
+/**
+ * optional bytes masternode_list_diff = 1;
+ * This is a type-conversion wrapper around `getMasternodeListDiff()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.getMasternodeListDiff_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getMasternodeListDiff()));
+};
+
+
+/**
+ * optional bytes masternode_list_diff = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getMasternodeListDiff()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.getMasternodeListDiff_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getMasternodeListDiff()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.setMasternodeListDiff = function(value) {
+ return jspb.Message.setProto3BytesField(this, 1, value);
+};
+
+
goog.object.extend(exports, proto.org.dash.platform.dapi.v0);
diff --git a/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbobjc.h b/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbobjc.h
index 7a4dec55e5b..a9fc68a2b30 100644
--- a/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbobjc.h
+++ b/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbobjc.h
@@ -29,66 +29,65 @@ CF_EXTERN_C_BEGIN
@class BlockHeaders;
@class BloomFilter;
-@class GetStatusResponse_Chain;
-@class GetStatusResponse_Masternode;
-@class GetStatusResponse_Network;
-@class GetStatusResponse_NetworkFee;
-@class GetStatusResponse_Time;
-@class GetStatusResponse_Version;
+@class GetBlockchainStatusResponse_Chain;
+@class GetBlockchainStatusResponse_Network;
+@class GetBlockchainStatusResponse_NetworkFee;
+@class GetBlockchainStatusResponse_Time;
+@class GetBlockchainStatusResponse_Version;
@class InstantSendLockMessages;
@class RawTransactions;
NS_ASSUME_NONNULL_BEGIN
-#pragma mark - Enum GetStatusResponse_Status
+#pragma mark - Enum GetBlockchainStatusResponse_Status
-typedef GPB_ENUM(GetStatusResponse_Status) {
+typedef GPB_ENUM(GetBlockchainStatusResponse_Status) {
/**
* Value used if any message's field encounters a value that is not defined
* by this enum. The message will also have C functions to get/set the rawValue
* of the field.
**/
- GetStatusResponse_Status_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
- GetStatusResponse_Status_NotStarted = 0,
- GetStatusResponse_Status_Syncing = 1,
- GetStatusResponse_Status_Ready = 2,
- GetStatusResponse_Status_Error = 3,
+ GetBlockchainStatusResponse_Status_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
+ GetBlockchainStatusResponse_Status_NotStarted = 0,
+ GetBlockchainStatusResponse_Status_Syncing = 1,
+ GetBlockchainStatusResponse_Status_Ready = 2,
+ GetBlockchainStatusResponse_Status_Error = 3,
};
-GPBEnumDescriptor *GetStatusResponse_Status_EnumDescriptor(void);
+GPBEnumDescriptor *GetBlockchainStatusResponse_Status_EnumDescriptor(void);
/**
* Checks to see if the given value is defined by the enum or was not known at
* the time this source was generated.
**/
-BOOL GetStatusResponse_Status_IsValidValue(int32_t value);
+BOOL GetBlockchainStatusResponse_Status_IsValidValue(int32_t value);
-#pragma mark - Enum GetStatusResponse_Masternode_Status
+#pragma mark - Enum GetMasternodeStatusResponse_Status
-typedef GPB_ENUM(GetStatusResponse_Masternode_Status) {
+typedef GPB_ENUM(GetMasternodeStatusResponse_Status) {
/**
* Value used if any message's field encounters a value that is not defined
* by this enum. The message will also have C functions to get/set the rawValue
* of the field.
**/
- GetStatusResponse_Masternode_Status_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
- GetStatusResponse_Masternode_Status_Unknown = 0,
- GetStatusResponse_Masternode_Status_WaitingForProtx = 1,
- GetStatusResponse_Masternode_Status_PoseBanned = 2,
- GetStatusResponse_Masternode_Status_Removed = 3,
- GetStatusResponse_Masternode_Status_OperatorKeyChanged = 4,
- GetStatusResponse_Masternode_Status_ProtxIpChanged = 5,
- GetStatusResponse_Masternode_Status_Ready = 6,
- GetStatusResponse_Masternode_Status_Error = 7,
+ GetMasternodeStatusResponse_Status_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
+ GetMasternodeStatusResponse_Status_Unknown = 0,
+ GetMasternodeStatusResponse_Status_WaitingForProtx = 1,
+ GetMasternodeStatusResponse_Status_PoseBanned = 2,
+ GetMasternodeStatusResponse_Status_Removed = 3,
+ GetMasternodeStatusResponse_Status_OperatorKeyChanged = 4,
+ GetMasternodeStatusResponse_Status_ProtxIpChanged = 5,
+ GetMasternodeStatusResponse_Status_Ready = 6,
+ GetMasternodeStatusResponse_Status_Error = 7,
};
-GPBEnumDescriptor *GetStatusResponse_Masternode_Status_EnumDescriptor(void);
+GPBEnumDescriptor *GetMasternodeStatusResponse_Status_EnumDescriptor(void);
/**
* Checks to see if the given value is defined by the enum or was not known at
* the time this source was generated.
**/
-BOOL GetStatusResponse_Masternode_Status_IsValidValue(int32_t value);
+BOOL GetMasternodeStatusResponse_Status_IsValidValue(int32_t value);
#pragma mark - CoreRoot
@@ -105,73 +104,68 @@ BOOL GetStatusResponse_Masternode_Status_IsValidValue(int32_t value);
GPB_FINAL @interface CoreRoot : GPBRootObject
@end
-#pragma mark - GetStatusRequest
+#pragma mark - GetBlockchainStatusRequest
-GPB_FINAL @interface GetStatusRequest : GPBMessage
+GPB_FINAL @interface GetBlockchainStatusRequest : GPBMessage
@end
-#pragma mark - GetStatusResponse
+#pragma mark - GetBlockchainStatusResponse
-typedef GPB_ENUM(GetStatusResponse_FieldNumber) {
- GetStatusResponse_FieldNumber_Version = 1,
- GetStatusResponse_FieldNumber_Time = 2,
- GetStatusResponse_FieldNumber_Status = 3,
- GetStatusResponse_FieldNumber_SyncProgress = 4,
- GetStatusResponse_FieldNumber_Chain = 5,
- GetStatusResponse_FieldNumber_Masternode = 6,
- GetStatusResponse_FieldNumber_Network = 7,
+typedef GPB_ENUM(GetBlockchainStatusResponse_FieldNumber) {
+ GetBlockchainStatusResponse_FieldNumber_Version = 1,
+ GetBlockchainStatusResponse_FieldNumber_Time = 2,
+ GetBlockchainStatusResponse_FieldNumber_Status = 3,
+ GetBlockchainStatusResponse_FieldNumber_SyncProgress = 4,
+ GetBlockchainStatusResponse_FieldNumber_Chain = 5,
+ GetBlockchainStatusResponse_FieldNumber_Network = 7,
};
-GPB_FINAL @interface GetStatusResponse : GPBMessage
+GPB_FINAL @interface GetBlockchainStatusResponse : GPBMessage
-@property(nonatomic, readwrite, strong, null_resettable) GetStatusResponse_Version *version;
+@property(nonatomic, readwrite, strong, null_resettable) GetBlockchainStatusResponse_Version *version;
/** Test to see if @c version has been set. */
@property(nonatomic, readwrite) BOOL hasVersion;
-@property(nonatomic, readwrite, strong, null_resettable) GetStatusResponse_Time *time;
+@property(nonatomic, readwrite, strong, null_resettable) GetBlockchainStatusResponse_Time *time;
/** Test to see if @c time has been set. */
@property(nonatomic, readwrite) BOOL hasTime;
-@property(nonatomic, readwrite) GetStatusResponse_Status status;
+@property(nonatomic, readwrite) GetBlockchainStatusResponse_Status status;
@property(nonatomic, readwrite) double syncProgress;
-@property(nonatomic, readwrite, strong, null_resettable) GetStatusResponse_Chain *chain;
+@property(nonatomic, readwrite, strong, null_resettable) GetBlockchainStatusResponse_Chain *chain;
/** Test to see if @c chain has been set. */
@property(nonatomic, readwrite) BOOL hasChain;
-@property(nonatomic, readwrite, strong, null_resettable) GetStatusResponse_Masternode *masternode;
-/** Test to see if @c masternode has been set. */
-@property(nonatomic, readwrite) BOOL hasMasternode;
-
-@property(nonatomic, readwrite, strong, null_resettable) GetStatusResponse_Network *network;
+@property(nonatomic, readwrite, strong, null_resettable) GetBlockchainStatusResponse_Network *network;
/** Test to see if @c network has been set. */
@property(nonatomic, readwrite) BOOL hasNetwork;
@end
/**
- * Fetches the raw value of a @c GetStatusResponse's @c status property, even
+ * Fetches the raw value of a @c GetBlockchainStatusResponse's @c status property, even
* if the value was not defined by the enum at the time the code was generated.
**/
-int32_t GetStatusResponse_Status_RawValue(GetStatusResponse *message);
+int32_t GetBlockchainStatusResponse_Status_RawValue(GetBlockchainStatusResponse *message);
/**
- * Sets the raw value of an @c GetStatusResponse's @c status property, allowing
+ * Sets the raw value of an @c GetBlockchainStatusResponse's @c status property, allowing
* it to be set to a value that was not defined by the enum at the time the code
* was generated.
**/
-void SetGetStatusResponse_Status_RawValue(GetStatusResponse *message, int32_t value);
+void SetGetBlockchainStatusResponse_Status_RawValue(GetBlockchainStatusResponse *message, int32_t value);
-#pragma mark - GetStatusResponse_Version
+#pragma mark - GetBlockchainStatusResponse_Version
-typedef GPB_ENUM(GetStatusResponse_Version_FieldNumber) {
- GetStatusResponse_Version_FieldNumber_Protocol = 1,
- GetStatusResponse_Version_FieldNumber_Software = 2,
- GetStatusResponse_Version_FieldNumber_Agent = 3,
+typedef GPB_ENUM(GetBlockchainStatusResponse_Version_FieldNumber) {
+ GetBlockchainStatusResponse_Version_FieldNumber_Protocol = 1,
+ GetBlockchainStatusResponse_Version_FieldNumber_Software = 2,
+ GetBlockchainStatusResponse_Version_FieldNumber_Agent = 3,
};
-GPB_FINAL @interface GetStatusResponse_Version : GPBMessage
+GPB_FINAL @interface GetBlockchainStatusResponse_Version : GPBMessage
@property(nonatomic, readwrite) uint32_t protocol;
@@ -181,15 +175,15 @@ GPB_FINAL @interface GetStatusResponse_Version : GPBMessage
@end
-#pragma mark - GetStatusResponse_Time
+#pragma mark - GetBlockchainStatusResponse_Time
-typedef GPB_ENUM(GetStatusResponse_Time_FieldNumber) {
- GetStatusResponse_Time_FieldNumber_Now = 1,
- GetStatusResponse_Time_FieldNumber_Offset = 2,
- GetStatusResponse_Time_FieldNumber_Median = 3,
+typedef GPB_ENUM(GetBlockchainStatusResponse_Time_FieldNumber) {
+ GetBlockchainStatusResponse_Time_FieldNumber_Now = 1,
+ GetBlockchainStatusResponse_Time_FieldNumber_Offset = 2,
+ GetBlockchainStatusResponse_Time_FieldNumber_Median = 3,
};
-GPB_FINAL @interface GetStatusResponse_Time : GPBMessage
+GPB_FINAL @interface GetBlockchainStatusResponse_Time : GPBMessage
@property(nonatomic, readwrite) uint32_t now;
@@ -199,20 +193,20 @@ GPB_FINAL @interface GetStatusResponse_Time : GPBMessage
@end
-#pragma mark - GetStatusResponse_Chain
-
-typedef GPB_ENUM(GetStatusResponse_Chain_FieldNumber) {
- GetStatusResponse_Chain_FieldNumber_Name = 1,
- GetStatusResponse_Chain_FieldNumber_HeadersCount = 2,
- GetStatusResponse_Chain_FieldNumber_BlocksCount = 3,
- GetStatusResponse_Chain_FieldNumber_BestBlockHash = 4,
- GetStatusResponse_Chain_FieldNumber_Difficulty = 5,
- GetStatusResponse_Chain_FieldNumber_ChainWork = 6,
- GetStatusResponse_Chain_FieldNumber_IsSynced = 7,
- GetStatusResponse_Chain_FieldNumber_SyncProgress = 8,
+#pragma mark - GetBlockchainStatusResponse_Chain
+
+typedef GPB_ENUM(GetBlockchainStatusResponse_Chain_FieldNumber) {
+ GetBlockchainStatusResponse_Chain_FieldNumber_Name = 1,
+ GetBlockchainStatusResponse_Chain_FieldNumber_HeadersCount = 2,
+ GetBlockchainStatusResponse_Chain_FieldNumber_BlocksCount = 3,
+ GetBlockchainStatusResponse_Chain_FieldNumber_BestBlockHash = 4,
+ GetBlockchainStatusResponse_Chain_FieldNumber_Difficulty = 5,
+ GetBlockchainStatusResponse_Chain_FieldNumber_ChainWork = 6,
+ GetBlockchainStatusResponse_Chain_FieldNumber_IsSynced = 7,
+ GetBlockchainStatusResponse_Chain_FieldNumber_SyncProgress = 8,
};
-GPB_FINAL @interface GetStatusResponse_Chain : GPBMessage
+GPB_FINAL @interface GetBlockchainStatusResponse_Chain : GPBMessage
@property(nonatomic, readwrite, copy, null_resettable) NSString *name;
@@ -232,74 +226,80 @@ GPB_FINAL @interface GetStatusResponse_Chain : GPBMessage
@end
-#pragma mark - GetStatusResponse_Masternode
+#pragma mark - GetBlockchainStatusResponse_NetworkFee
-typedef GPB_ENUM(GetStatusResponse_Masternode_FieldNumber) {
- GetStatusResponse_Masternode_FieldNumber_Status = 1,
- GetStatusResponse_Masternode_FieldNumber_ProTxHash = 2,
- GetStatusResponse_Masternode_FieldNumber_PosePenalty = 3,
- GetStatusResponse_Masternode_FieldNumber_IsSynced = 4,
- GetStatusResponse_Masternode_FieldNumber_SyncProgress = 5,
+typedef GPB_ENUM(GetBlockchainStatusResponse_NetworkFee_FieldNumber) {
+ GetBlockchainStatusResponse_NetworkFee_FieldNumber_Relay = 1,
+ GetBlockchainStatusResponse_NetworkFee_FieldNumber_Incremental = 2,
};
-GPB_FINAL @interface GetStatusResponse_Masternode : GPBMessage
+GPB_FINAL @interface GetBlockchainStatusResponse_NetworkFee : GPBMessage
-@property(nonatomic, readwrite) GetStatusResponse_Masternode_Status status;
+@property(nonatomic, readwrite) double relay;
-@property(nonatomic, readwrite, copy, null_resettable) NSData *proTxHash;
+@property(nonatomic, readwrite) double incremental;
-@property(nonatomic, readwrite) uint32_t posePenalty;
+@end
-@property(nonatomic, readwrite) BOOL isSynced;
+#pragma mark - GetBlockchainStatusResponse_Network
-@property(nonatomic, readwrite) double syncProgress;
-
-@end
+typedef GPB_ENUM(GetBlockchainStatusResponse_Network_FieldNumber) {
+ GetBlockchainStatusResponse_Network_FieldNumber_PeersCount = 1,
+ GetBlockchainStatusResponse_Network_FieldNumber_Fee = 2,
+};
-/**
- * Fetches the raw value of a @c GetStatusResponse_Masternode's @c status property, even
- * if the value was not defined by the enum at the time the code was generated.
- **/
-int32_t GetStatusResponse_Masternode_Status_RawValue(GetStatusResponse_Masternode *message);
-/**
- * Sets the raw value of an @c GetStatusResponse_Masternode's @c status property, allowing
- * it to be set to a value that was not defined by the enum at the time the code
- * was generated.
- **/
-void SetGetStatusResponse_Masternode_Status_RawValue(GetStatusResponse_Masternode *message, int32_t value);
+GPB_FINAL @interface GetBlockchainStatusResponse_Network : GPBMessage
-#pragma mark - GetStatusResponse_NetworkFee
+@property(nonatomic, readwrite) uint32_t peersCount;
-typedef GPB_ENUM(GetStatusResponse_NetworkFee_FieldNumber) {
- GetStatusResponse_NetworkFee_FieldNumber_Relay = 1,
- GetStatusResponse_NetworkFee_FieldNumber_Incremental = 2,
-};
+@property(nonatomic, readwrite, strong, null_resettable) GetBlockchainStatusResponse_NetworkFee *fee;
+/** Test to see if @c fee has been set. */
+@property(nonatomic, readwrite) BOOL hasFee;
-GPB_FINAL @interface GetStatusResponse_NetworkFee : GPBMessage
+@end
-@property(nonatomic, readwrite) double relay;
+#pragma mark - GetMasternodeStatusRequest
-@property(nonatomic, readwrite) double incremental;
+GPB_FINAL @interface GetMasternodeStatusRequest : GPBMessage
@end
-#pragma mark - GetStatusResponse_Network
+#pragma mark - GetMasternodeStatusResponse
-typedef GPB_ENUM(GetStatusResponse_Network_FieldNumber) {
- GetStatusResponse_Network_FieldNumber_PeersCount = 1,
- GetStatusResponse_Network_FieldNumber_Fee = 2,
+typedef GPB_ENUM(GetMasternodeStatusResponse_FieldNumber) {
+ GetMasternodeStatusResponse_FieldNumber_Status = 1,
+ GetMasternodeStatusResponse_FieldNumber_ProTxHash = 2,
+ GetMasternodeStatusResponse_FieldNumber_PosePenalty = 3,
+ GetMasternodeStatusResponse_FieldNumber_IsSynced = 4,
+ GetMasternodeStatusResponse_FieldNumber_SyncProgress = 5,
};
-GPB_FINAL @interface GetStatusResponse_Network : GPBMessage
+GPB_FINAL @interface GetMasternodeStatusResponse : GPBMessage
-@property(nonatomic, readwrite) uint32_t peersCount;
+@property(nonatomic, readwrite) GetMasternodeStatusResponse_Status status;
-@property(nonatomic, readwrite, strong, null_resettable) GetStatusResponse_NetworkFee *fee;
-/** Test to see if @c fee has been set. */
-@property(nonatomic, readwrite) BOOL hasFee;
+@property(nonatomic, readwrite, copy, null_resettable) NSData *proTxHash;
+
+@property(nonatomic, readwrite) uint32_t posePenalty;
+
+@property(nonatomic, readwrite) BOOL isSynced;
+
+@property(nonatomic, readwrite) double syncProgress;
@end
+/**
+ * Fetches the raw value of a @c GetMasternodeStatusResponse's @c status property, even
+ * if the value was not defined by the enum at the time the code was generated.
+ **/
+int32_t GetMasternodeStatusResponse_Status_RawValue(GetMasternodeStatusResponse *message);
+/**
+ * Sets the raw value of an @c GetMasternodeStatusResponse's @c status property, allowing
+ * it to be set to a value that was not defined by the enum at the time the code
+ * was generated.
+ **/
+void SetGetMasternodeStatusResponse_Status_RawValue(GetMasternodeStatusResponse *message, int32_t value);
+
#pragma mark - GetBlockRequest
typedef GPB_ENUM(GetBlockRequest_FieldNumber) {
@@ -340,6 +340,24 @@ GPB_FINAL @interface GetBlockResponse : GPBMessage
@end
+#pragma mark - GetBestBlockHeightRequest
+
+GPB_FINAL @interface GetBestBlockHeightRequest : GPBMessage
+
+@end
+
+#pragma mark - GetBestBlockHeightResponse
+
+typedef GPB_ENUM(GetBestBlockHeightResponse_FieldNumber) {
+ GetBestBlockHeightResponse_FieldNumber_Height = 1,
+};
+
+GPB_FINAL @interface GetBestBlockHeightResponse : GPBMessage
+
+@property(nonatomic, readwrite) uint32_t height;
+
+@end
+
#pragma mark - BroadcastTransactionRequest
typedef GPB_ENUM(BroadcastTransactionRequest_FieldNumber) {
@@ -626,6 +644,24 @@ GPB_FINAL @interface InstantSendLockMessages : GPBMessage
@end
+#pragma mark - MasternodeListRequest
+
+GPB_FINAL @interface MasternodeListRequest : GPBMessage
+
+@end
+
+#pragma mark - MasternodeListResponse
+
+typedef GPB_ENUM(MasternodeListResponse_FieldNumber) {
+ MasternodeListResponse_FieldNumber_MasternodeListDiff = 1,
+};
+
+GPB_FINAL @interface MasternodeListResponse : GPBMessage
+
+@property(nonatomic, readwrite, copy, null_resettable) NSData *masternodeListDiff;
+
+@end
+
NS_ASSUME_NONNULL_END
CF_EXTERN_C_END
diff --git a/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbobjc.m b/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbobjc.m
index 86ff51575a1..9a928f3742a 100644
--- a/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbobjc.m
+++ b/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbobjc.m
@@ -29,13 +29,12 @@
// We don't use [Foo class] because it is not a static value.
GPBObjCClassDeclaration(BlockHeaders);
GPBObjCClassDeclaration(BloomFilter);
-GPBObjCClassDeclaration(GetStatusResponse);
-GPBObjCClassDeclaration(GetStatusResponse_Chain);
-GPBObjCClassDeclaration(GetStatusResponse_Masternode);
-GPBObjCClassDeclaration(GetStatusResponse_Network);
-GPBObjCClassDeclaration(GetStatusResponse_NetworkFee);
-GPBObjCClassDeclaration(GetStatusResponse_Time);
-GPBObjCClassDeclaration(GetStatusResponse_Version);
+GPBObjCClassDeclaration(GetBlockchainStatusResponse);
+GPBObjCClassDeclaration(GetBlockchainStatusResponse_Chain);
+GPBObjCClassDeclaration(GetBlockchainStatusResponse_Network);
+GPBObjCClassDeclaration(GetBlockchainStatusResponse_NetworkFee);
+GPBObjCClassDeclaration(GetBlockchainStatusResponse_Time);
+GPBObjCClassDeclaration(GetBlockchainStatusResponse_Version);
GPBObjCClassDeclaration(InstantSendLockMessages);
GPBObjCClassDeclaration(RawTransactions);
@@ -62,14 +61,14 @@ @implementation CoreRoot
return descriptor;
}
-#pragma mark - GetStatusRequest
+#pragma mark - GetBlockchainStatusRequest
-@implementation GetStatusRequest
+@implementation GetBlockchainStatusRequest
-typedef struct GetStatusRequest__storage_ {
+typedef struct GetBlockchainStatusRequest__storage_ {
uint32_t _has_storage_[1];
-} GetStatusRequest__storage_;
+} GetBlockchainStatusRequest__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -77,12 +76,12 @@ + (GPBDescriptor *)descriptor {
static GPBDescriptor *descriptor = nil;
if (!descriptor) {
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetStatusRequest class]
+ [GPBDescriptor allocDescriptorForClass:[GetBlockchainStatusRequest class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:NULL
fieldCount:0
- storageSize:sizeof(GetStatusRequest__storage_)
+ storageSize:sizeof(GetBlockchainStatusRequest__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
@@ -94,28 +93,26 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetStatusResponse
+#pragma mark - GetBlockchainStatusResponse
-@implementation GetStatusResponse
+@implementation GetBlockchainStatusResponse
@dynamic hasVersion, version;
@dynamic hasTime, time;
@dynamic status;
@dynamic syncProgress;
@dynamic hasChain, chain;
-@dynamic hasMasternode, masternode;
@dynamic hasNetwork, network;
-typedef struct GetStatusResponse__storage_ {
+typedef struct GetBlockchainStatusResponse__storage_ {
uint32_t _has_storage_[1];
- GetStatusResponse_Status status;
- GetStatusResponse_Version *version;
- GetStatusResponse_Time *time;
- GetStatusResponse_Chain *chain;
- GetStatusResponse_Masternode *masternode;
- GetStatusResponse_Network *network;
+ GetBlockchainStatusResponse_Status status;
+ GetBlockchainStatusResponse_Version *version;
+ GetBlockchainStatusResponse_Time *time;
+ GetBlockchainStatusResponse_Chain *chain;
+ GetBlockchainStatusResponse_Network *network;
double syncProgress;
-} GetStatusResponse__storage_;
+} GetBlockchainStatusResponse__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -125,75 +122,66 @@ + (GPBDescriptor *)descriptor {
static GPBMessageFieldDescription fields[] = {
{
.name = "version",
- .dataTypeSpecific.clazz = GPBObjCClass(GetStatusResponse_Version),
- .number = GetStatusResponse_FieldNumber_Version,
+ .dataTypeSpecific.clazz = GPBObjCClass(GetBlockchainStatusResponse_Version),
+ .number = GetBlockchainStatusResponse_FieldNumber_Version,
.hasIndex = 0,
- .offset = (uint32_t)offsetof(GetStatusResponse__storage_, version),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse__storage_, version),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
{
.name = "time",
- .dataTypeSpecific.clazz = GPBObjCClass(GetStatusResponse_Time),
- .number = GetStatusResponse_FieldNumber_Time,
+ .dataTypeSpecific.clazz = GPBObjCClass(GetBlockchainStatusResponse_Time),
+ .number = GetBlockchainStatusResponse_FieldNumber_Time,
.hasIndex = 1,
- .offset = (uint32_t)offsetof(GetStatusResponse__storage_, time),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse__storage_, time),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
{
.name = "status",
- .dataTypeSpecific.enumDescFunc = GetStatusResponse_Status_EnumDescriptor,
- .number = GetStatusResponse_FieldNumber_Status,
+ .dataTypeSpecific.enumDescFunc = GetBlockchainStatusResponse_Status_EnumDescriptor,
+ .number = GetBlockchainStatusResponse_FieldNumber_Status,
.hasIndex = 2,
- .offset = (uint32_t)offsetof(GetStatusResponse__storage_, status),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse__storage_, status),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeEnum,
},
{
.name = "syncProgress",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_FieldNumber_SyncProgress,
+ .number = GetBlockchainStatusResponse_FieldNumber_SyncProgress,
.hasIndex = 3,
- .offset = (uint32_t)offsetof(GetStatusResponse__storage_, syncProgress),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse__storage_, syncProgress),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeDouble,
},
{
.name = "chain",
- .dataTypeSpecific.clazz = GPBObjCClass(GetStatusResponse_Chain),
- .number = GetStatusResponse_FieldNumber_Chain,
+ .dataTypeSpecific.clazz = GPBObjCClass(GetBlockchainStatusResponse_Chain),
+ .number = GetBlockchainStatusResponse_FieldNumber_Chain,
.hasIndex = 4,
- .offset = (uint32_t)offsetof(GetStatusResponse__storage_, chain),
- .flags = GPBFieldOptional,
- .dataType = GPBDataTypeMessage,
- },
- {
- .name = "masternode",
- .dataTypeSpecific.clazz = GPBObjCClass(GetStatusResponse_Masternode),
- .number = GetStatusResponse_FieldNumber_Masternode,
- .hasIndex = 5,
- .offset = (uint32_t)offsetof(GetStatusResponse__storage_, masternode),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse__storage_, chain),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
{
.name = "network",
- .dataTypeSpecific.clazz = GPBObjCClass(GetStatusResponse_Network),
- .number = GetStatusResponse_FieldNumber_Network,
- .hasIndex = 6,
- .offset = (uint32_t)offsetof(GetStatusResponse__storage_, network),
+ .dataTypeSpecific.clazz = GPBObjCClass(GetBlockchainStatusResponse_Network),
+ .number = GetBlockchainStatusResponse_FieldNumber_Network,
+ .hasIndex = 5,
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse__storage_, network),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetStatusResponse class]
+ [GPBDescriptor allocDescriptorForClass:[GetBlockchainStatusResponse class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetStatusResponse__storage_)
+ storageSize:sizeof(GetBlockchainStatusResponse__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
@@ -205,37 +193,37 @@ + (GPBDescriptor *)descriptor {
@end
-int32_t GetStatusResponse_Status_RawValue(GetStatusResponse *message) {
- GPBDescriptor *descriptor = [GetStatusResponse descriptor];
- GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetStatusResponse_FieldNumber_Status];
+int32_t GetBlockchainStatusResponse_Status_RawValue(GetBlockchainStatusResponse *message) {
+ GPBDescriptor *descriptor = [GetBlockchainStatusResponse descriptor];
+ GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetBlockchainStatusResponse_FieldNumber_Status];
return GPBGetMessageRawEnumField(message, field);
}
-void SetGetStatusResponse_Status_RawValue(GetStatusResponse *message, int32_t value) {
- GPBDescriptor *descriptor = [GetStatusResponse descriptor];
- GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetStatusResponse_FieldNumber_Status];
+void SetGetBlockchainStatusResponse_Status_RawValue(GetBlockchainStatusResponse *message, int32_t value) {
+ GPBDescriptor *descriptor = [GetBlockchainStatusResponse descriptor];
+ GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetBlockchainStatusResponse_FieldNumber_Status];
GPBSetMessageRawEnumField(message, field, value);
}
-#pragma mark - Enum GetStatusResponse_Status
+#pragma mark - Enum GetBlockchainStatusResponse_Status
-GPBEnumDescriptor *GetStatusResponse_Status_EnumDescriptor(void) {
+GPBEnumDescriptor *GetBlockchainStatusResponse_Status_EnumDescriptor(void) {
static _Atomic(GPBEnumDescriptor*) descriptor = nil;
if (!descriptor) {
static const char *valueNames =
"NotStarted\000Syncing\000Ready\000Error\000";
static const int32_t values[] = {
- GetStatusResponse_Status_NotStarted,
- GetStatusResponse_Status_Syncing,
- GetStatusResponse_Status_Ready,
- GetStatusResponse_Status_Error,
+ GetBlockchainStatusResponse_Status_NotStarted,
+ GetBlockchainStatusResponse_Status_Syncing,
+ GetBlockchainStatusResponse_Status_Ready,
+ GetBlockchainStatusResponse_Status_Error,
};
GPBEnumDescriptor *worker =
- [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(GetStatusResponse_Status)
+ [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(GetBlockchainStatusResponse_Status)
valueNames:valueNames
values:values
count:(uint32_t)(sizeof(values) / sizeof(int32_t))
- enumVerifier:GetStatusResponse_Status_IsValidValue];
+ enumVerifier:GetBlockchainStatusResponse_Status_IsValidValue];
GPBEnumDescriptor *expected = nil;
if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
[worker release];
@@ -244,32 +232,32 @@ void SetGetStatusResponse_Status_RawValue(GetStatusResponse *message, int32_t va
return descriptor;
}
-BOOL GetStatusResponse_Status_IsValidValue(int32_t value__) {
+BOOL GetBlockchainStatusResponse_Status_IsValidValue(int32_t value__) {
switch (value__) {
- case GetStatusResponse_Status_NotStarted:
- case GetStatusResponse_Status_Syncing:
- case GetStatusResponse_Status_Ready:
- case GetStatusResponse_Status_Error:
+ case GetBlockchainStatusResponse_Status_NotStarted:
+ case GetBlockchainStatusResponse_Status_Syncing:
+ case GetBlockchainStatusResponse_Status_Ready:
+ case GetBlockchainStatusResponse_Status_Error:
return YES;
default:
return NO;
}
}
-#pragma mark - GetStatusResponse_Version
+#pragma mark - GetBlockchainStatusResponse_Version
-@implementation GetStatusResponse_Version
+@implementation GetBlockchainStatusResponse_Version
@dynamic protocol;
@dynamic software;
@dynamic agent;
-typedef struct GetStatusResponse_Version__storage_ {
+typedef struct GetBlockchainStatusResponse_Version__storage_ {
uint32_t _has_storage_[1];
uint32_t protocol;
uint32_t software;
NSString *agent;
-} GetStatusResponse_Version__storage_;
+} GetBlockchainStatusResponse_Version__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -280,40 +268,40 @@ + (GPBDescriptor *)descriptor {
{
.name = "protocol",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Version_FieldNumber_Protocol,
+ .number = GetBlockchainStatusResponse_Version_FieldNumber_Protocol,
.hasIndex = 0,
- .offset = (uint32_t)offsetof(GetStatusResponse_Version__storage_, protocol),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Version__storage_, protocol),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeUInt32,
},
{
.name = "software",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Version_FieldNumber_Software,
+ .number = GetBlockchainStatusResponse_Version_FieldNumber_Software,
.hasIndex = 1,
- .offset = (uint32_t)offsetof(GetStatusResponse_Version__storage_, software),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Version__storage_, software),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeUInt32,
},
{
.name = "agent",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Version_FieldNumber_Agent,
+ .number = GetBlockchainStatusResponse_Version_FieldNumber_Agent,
.hasIndex = 2,
- .offset = (uint32_t)offsetof(GetStatusResponse_Version__storage_, agent),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Version__storage_, agent),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeString,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetStatusResponse_Version class]
+ [GPBDescriptor allocDescriptorForClass:[GetBlockchainStatusResponse_Version class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetStatusResponse_Version__storage_)
+ storageSize:sizeof(GetBlockchainStatusResponse_Version__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetStatusResponse)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetBlockchainStatusResponse)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -324,20 +312,20 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetStatusResponse_Time
+#pragma mark - GetBlockchainStatusResponse_Time
-@implementation GetStatusResponse_Time
+@implementation GetBlockchainStatusResponse_Time
@dynamic now;
@dynamic offset;
@dynamic median;
-typedef struct GetStatusResponse_Time__storage_ {
+typedef struct GetBlockchainStatusResponse_Time__storage_ {
uint32_t _has_storage_[1];
uint32_t now;
int32_t offset;
uint32_t median;
-} GetStatusResponse_Time__storage_;
+} GetBlockchainStatusResponse_Time__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -348,40 +336,40 @@ + (GPBDescriptor *)descriptor {
{
.name = "now",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Time_FieldNumber_Now,
+ .number = GetBlockchainStatusResponse_Time_FieldNumber_Now,
.hasIndex = 0,
- .offset = (uint32_t)offsetof(GetStatusResponse_Time__storage_, now),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Time__storage_, now),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeUInt32,
},
{
.name = "offset",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Time_FieldNumber_Offset,
+ .number = GetBlockchainStatusResponse_Time_FieldNumber_Offset,
.hasIndex = 1,
- .offset = (uint32_t)offsetof(GetStatusResponse_Time__storage_, offset),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Time__storage_, offset),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeInt32,
},
{
.name = "median",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Time_FieldNumber_Median,
+ .number = GetBlockchainStatusResponse_Time_FieldNumber_Median,
.hasIndex = 2,
- .offset = (uint32_t)offsetof(GetStatusResponse_Time__storage_, median),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Time__storage_, median),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeUInt32,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetStatusResponse_Time class]
+ [GPBDescriptor allocDescriptorForClass:[GetBlockchainStatusResponse_Time class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetStatusResponse_Time__storage_)
+ storageSize:sizeof(GetBlockchainStatusResponse_Time__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetStatusResponse)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetBlockchainStatusResponse)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -392,9 +380,9 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetStatusResponse_Chain
+#pragma mark - GetBlockchainStatusResponse_Chain
-@implementation GetStatusResponse_Chain
+@implementation GetBlockchainStatusResponse_Chain
@dynamic name;
@dynamic headersCount;
@@ -405,7 +393,7 @@ @implementation GetStatusResponse_Chain
@dynamic isSynced;
@dynamic syncProgress;
-typedef struct GetStatusResponse_Chain__storage_ {
+typedef struct GetBlockchainStatusResponse_Chain__storage_ {
uint32_t _has_storage_[1];
uint32_t headersCount;
uint32_t blocksCount;
@@ -414,7 +402,7 @@ @implementation GetStatusResponse_Chain
NSData *chainWork;
double difficulty;
double syncProgress;
-} GetStatusResponse_Chain__storage_;
+} GetBlockchainStatusResponse_Chain__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -425,61 +413,61 @@ + (GPBDescriptor *)descriptor {
{
.name = "name",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Chain_FieldNumber_Name,
+ .number = GetBlockchainStatusResponse_Chain_FieldNumber_Name,
.hasIndex = 0,
- .offset = (uint32_t)offsetof(GetStatusResponse_Chain__storage_, name),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Chain__storage_, name),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeString,
},
{
.name = "headersCount",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Chain_FieldNumber_HeadersCount,
+ .number = GetBlockchainStatusResponse_Chain_FieldNumber_HeadersCount,
.hasIndex = 1,
- .offset = (uint32_t)offsetof(GetStatusResponse_Chain__storage_, headersCount),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Chain__storage_, headersCount),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeUInt32,
},
{
.name = "blocksCount",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Chain_FieldNumber_BlocksCount,
+ .number = GetBlockchainStatusResponse_Chain_FieldNumber_BlocksCount,
.hasIndex = 2,
- .offset = (uint32_t)offsetof(GetStatusResponse_Chain__storage_, blocksCount),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Chain__storage_, blocksCount),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeUInt32,
},
{
.name = "bestBlockHash",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Chain_FieldNumber_BestBlockHash,
+ .number = GetBlockchainStatusResponse_Chain_FieldNumber_BestBlockHash,
.hasIndex = 3,
- .offset = (uint32_t)offsetof(GetStatusResponse_Chain__storage_, bestBlockHash),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Chain__storage_, bestBlockHash),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeBytes,
},
{
.name = "difficulty",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Chain_FieldNumber_Difficulty,
+ .number = GetBlockchainStatusResponse_Chain_FieldNumber_Difficulty,
.hasIndex = 4,
- .offset = (uint32_t)offsetof(GetStatusResponse_Chain__storage_, difficulty),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Chain__storage_, difficulty),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeDouble,
},
{
.name = "chainWork",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Chain_FieldNumber_ChainWork,
+ .number = GetBlockchainStatusResponse_Chain_FieldNumber_ChainWork,
.hasIndex = 5,
- .offset = (uint32_t)offsetof(GetStatusResponse_Chain__storage_, chainWork),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Chain__storage_, chainWork),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeBytes,
},
{
.name = "isSynced",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Chain_FieldNumber_IsSynced,
+ .number = GetBlockchainStatusResponse_Chain_FieldNumber_IsSynced,
.hasIndex = 6,
.offset = 7, // Stored in _has_storage_ to save space.
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
@@ -488,22 +476,79 @@ + (GPBDescriptor *)descriptor {
{
.name = "syncProgress",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Chain_FieldNumber_SyncProgress,
+ .number = GetBlockchainStatusResponse_Chain_FieldNumber_SyncProgress,
.hasIndex = 8,
- .offset = (uint32_t)offsetof(GetStatusResponse_Chain__storage_, syncProgress),
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Chain__storage_, syncProgress),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeDouble,
+ },
+ };
+ GPBDescriptor *localDescriptor =
+ [GPBDescriptor allocDescriptorForClass:[GetBlockchainStatusResponse_Chain class]
+ rootClass:[CoreRoot class]
+ file:CoreRoot_FileDescriptor()
+ fields:fields
+ fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
+ storageSize:sizeof(GetBlockchainStatusResponse_Chain__storage_)
+ flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetBlockchainStatusResponse)];
+ #if defined(DEBUG) && DEBUG
+ NSAssert(descriptor == nil, @"Startup recursed!");
+ #endif // DEBUG
+ descriptor = localDescriptor;
+ }
+ return descriptor;
+}
+
+@end
+
+#pragma mark - GetBlockchainStatusResponse_NetworkFee
+
+@implementation GetBlockchainStatusResponse_NetworkFee
+
+@dynamic relay;
+@dynamic incremental;
+
+typedef struct GetBlockchainStatusResponse_NetworkFee__storage_ {
+ uint32_t _has_storage_[1];
+ double relay;
+ double incremental;
+} GetBlockchainStatusResponse_NetworkFee__storage_;
+
+// This method is threadsafe because it is initially called
+// in +initialize for each subclass.
++ (GPBDescriptor *)descriptor {
+ static GPBDescriptor *descriptor = nil;
+ if (!descriptor) {
+ static GPBMessageFieldDescription fields[] = {
+ {
+ .name = "relay",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetBlockchainStatusResponse_NetworkFee_FieldNumber_Relay,
+ .hasIndex = 0,
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_NetworkFee__storage_, relay),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeDouble,
+ },
+ {
+ .name = "incremental",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetBlockchainStatusResponse_NetworkFee_FieldNumber_Incremental,
+ .hasIndex = 1,
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_NetworkFee__storage_, incremental),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeDouble,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetStatusResponse_Chain class]
+ [GPBDescriptor allocDescriptorForClass:[GetBlockchainStatusResponse_NetworkFee class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetStatusResponse_Chain__storage_)
+ storageSize:sizeof(GetBlockchainStatusResponse_NetworkFee__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetStatusResponse)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetBlockchainStatusResponse)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -514,9 +559,98 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetStatusResponse_Masternode
+#pragma mark - GetBlockchainStatusResponse_Network
+
+@implementation GetBlockchainStatusResponse_Network
+
+@dynamic peersCount;
+@dynamic hasFee, fee;
-@implementation GetStatusResponse_Masternode
+typedef struct GetBlockchainStatusResponse_Network__storage_ {
+ uint32_t _has_storage_[1];
+ uint32_t peersCount;
+ GetBlockchainStatusResponse_NetworkFee *fee;
+} GetBlockchainStatusResponse_Network__storage_;
+
+// This method is threadsafe because it is initially called
+// in +initialize for each subclass.
++ (GPBDescriptor *)descriptor {
+ static GPBDescriptor *descriptor = nil;
+ if (!descriptor) {
+ static GPBMessageFieldDescription fields[] = {
+ {
+ .name = "peersCount",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetBlockchainStatusResponse_Network_FieldNumber_PeersCount,
+ .hasIndex = 0,
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Network__storage_, peersCount),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeUInt32,
+ },
+ {
+ .name = "fee",
+ .dataTypeSpecific.clazz = GPBObjCClass(GetBlockchainStatusResponse_NetworkFee),
+ .number = GetBlockchainStatusResponse_Network_FieldNumber_Fee,
+ .hasIndex = 1,
+ .offset = (uint32_t)offsetof(GetBlockchainStatusResponse_Network__storage_, fee),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeMessage,
+ },
+ };
+ GPBDescriptor *localDescriptor =
+ [GPBDescriptor allocDescriptorForClass:[GetBlockchainStatusResponse_Network class]
+ rootClass:[CoreRoot class]
+ file:CoreRoot_FileDescriptor()
+ fields:fields
+ fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
+ storageSize:sizeof(GetBlockchainStatusResponse_Network__storage_)
+ flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetBlockchainStatusResponse)];
+ #if defined(DEBUG) && DEBUG
+ NSAssert(descriptor == nil, @"Startup recursed!");
+ #endif // DEBUG
+ descriptor = localDescriptor;
+ }
+ return descriptor;
+}
+
+@end
+
+#pragma mark - GetMasternodeStatusRequest
+
+@implementation GetMasternodeStatusRequest
+
+
+typedef struct GetMasternodeStatusRequest__storage_ {
+ uint32_t _has_storage_[1];
+} GetMasternodeStatusRequest__storage_;
+
+// This method is threadsafe because it is initially called
+// in +initialize for each subclass.
++ (GPBDescriptor *)descriptor {
+ static GPBDescriptor *descriptor = nil;
+ if (!descriptor) {
+ GPBDescriptor *localDescriptor =
+ [GPBDescriptor allocDescriptorForClass:[GetMasternodeStatusRequest class]
+ rootClass:[CoreRoot class]
+ file:CoreRoot_FileDescriptor()
+ fields:NULL
+ fieldCount:0
+ storageSize:sizeof(GetMasternodeStatusRequest__storage_)
+ flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
+ #if defined(DEBUG) && DEBUG
+ NSAssert(descriptor == nil, @"Startup recursed!");
+ #endif // DEBUG
+ descriptor = localDescriptor;
+ }
+ return descriptor;
+}
+
+@end
+
+#pragma mark - GetMasternodeStatusResponse
+
+@implementation GetMasternodeStatusResponse
@dynamic status;
@dynamic proTxHash;
@@ -524,13 +658,13 @@ @implementation GetStatusResponse_Masternode
@dynamic isSynced;
@dynamic syncProgress;
-typedef struct GetStatusResponse_Masternode__storage_ {
+typedef struct GetMasternodeStatusResponse__storage_ {
uint32_t _has_storage_[1];
- GetStatusResponse_Masternode_Status status;
+ GetMasternodeStatusResponse_Status status;
uint32_t posePenalty;
NSData *proTxHash;
double syncProgress;
-} GetStatusResponse_Masternode__storage_;
+} GetMasternodeStatusResponse__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -540,35 +674,35 @@ + (GPBDescriptor *)descriptor {
static GPBMessageFieldDescription fields[] = {
{
.name = "status",
- .dataTypeSpecific.enumDescFunc = GetStatusResponse_Masternode_Status_EnumDescriptor,
- .number = GetStatusResponse_Masternode_FieldNumber_Status,
+ .dataTypeSpecific.enumDescFunc = GetMasternodeStatusResponse_Status_EnumDescriptor,
+ .number = GetMasternodeStatusResponse_FieldNumber_Status,
.hasIndex = 0,
- .offset = (uint32_t)offsetof(GetStatusResponse_Masternode__storage_, status),
+ .offset = (uint32_t)offsetof(GetMasternodeStatusResponse__storage_, status),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeEnum,
},
{
.name = "proTxHash",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Masternode_FieldNumber_ProTxHash,
+ .number = GetMasternodeStatusResponse_FieldNumber_ProTxHash,
.hasIndex = 1,
- .offset = (uint32_t)offsetof(GetStatusResponse_Masternode__storage_, proTxHash),
+ .offset = (uint32_t)offsetof(GetMasternodeStatusResponse__storage_, proTxHash),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeBytes,
},
{
.name = "posePenalty",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Masternode_FieldNumber_PosePenalty,
+ .number = GetMasternodeStatusResponse_FieldNumber_PosePenalty,
.hasIndex = 2,
- .offset = (uint32_t)offsetof(GetStatusResponse_Masternode__storage_, posePenalty),
+ .offset = (uint32_t)offsetof(GetMasternodeStatusResponse__storage_, posePenalty),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeUInt32,
},
{
.name = "isSynced",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Masternode_FieldNumber_IsSynced,
+ .number = GetMasternodeStatusResponse_FieldNumber_IsSynced,
.hasIndex = 3,
.offset = 4, // Stored in _has_storage_ to save space.
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
@@ -577,22 +711,21 @@ + (GPBDescriptor *)descriptor {
{
.name = "syncProgress",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Masternode_FieldNumber_SyncProgress,
+ .number = GetMasternodeStatusResponse_FieldNumber_SyncProgress,
.hasIndex = 5,
- .offset = (uint32_t)offsetof(GetStatusResponse_Masternode__storage_, syncProgress),
+ .offset = (uint32_t)offsetof(GetMasternodeStatusResponse__storage_, syncProgress),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeDouble,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetStatusResponse_Masternode class]
+ [GPBDescriptor allocDescriptorForClass:[GetMasternodeStatusResponse class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetStatusResponse_Masternode__storage_)
+ storageSize:sizeof(GetMasternodeStatusResponse__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetStatusResponse)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -603,21 +736,21 @@ + (GPBDescriptor *)descriptor {
@end
-int32_t GetStatusResponse_Masternode_Status_RawValue(GetStatusResponse_Masternode *message) {
- GPBDescriptor *descriptor = [GetStatusResponse_Masternode descriptor];
- GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetStatusResponse_Masternode_FieldNumber_Status];
+int32_t GetMasternodeStatusResponse_Status_RawValue(GetMasternodeStatusResponse *message) {
+ GPBDescriptor *descriptor = [GetMasternodeStatusResponse descriptor];
+ GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetMasternodeStatusResponse_FieldNumber_Status];
return GPBGetMessageRawEnumField(message, field);
}
-void SetGetStatusResponse_Masternode_Status_RawValue(GetStatusResponse_Masternode *message, int32_t value) {
- GPBDescriptor *descriptor = [GetStatusResponse_Masternode descriptor];
- GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetStatusResponse_Masternode_FieldNumber_Status];
+void SetGetMasternodeStatusResponse_Status_RawValue(GetMasternodeStatusResponse *message, int32_t value) {
+ GPBDescriptor *descriptor = [GetMasternodeStatusResponse descriptor];
+ GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetMasternodeStatusResponse_FieldNumber_Status];
GPBSetMessageRawEnumField(message, field, value);
}
-#pragma mark - Enum GetStatusResponse_Masternode_Status
+#pragma mark - Enum GetMasternodeStatusResponse_Status
-GPBEnumDescriptor *GetStatusResponse_Masternode_Status_EnumDescriptor(void) {
+GPBEnumDescriptor *GetMasternodeStatusResponse_Status_EnumDescriptor(void) {
static _Atomic(GPBEnumDescriptor*) descriptor = nil;
if (!descriptor) {
static const char *valueNames =
@@ -625,21 +758,21 @@ void SetGetStatusResponse_Masternode_Status_RawValue(GetStatusResponse_Masternod
"ed\000OperatorKeyChanged\000ProtxIpChanged\000Rea"
"dy\000Error\000";
static const int32_t values[] = {
- GetStatusResponse_Masternode_Status_Unknown,
- GetStatusResponse_Masternode_Status_WaitingForProtx,
- GetStatusResponse_Masternode_Status_PoseBanned,
- GetStatusResponse_Masternode_Status_Removed,
- GetStatusResponse_Masternode_Status_OperatorKeyChanged,
- GetStatusResponse_Masternode_Status_ProtxIpChanged,
- GetStatusResponse_Masternode_Status_Ready,
- GetStatusResponse_Masternode_Status_Error,
+ GetMasternodeStatusResponse_Status_Unknown,
+ GetMasternodeStatusResponse_Status_WaitingForProtx,
+ GetMasternodeStatusResponse_Status_PoseBanned,
+ GetMasternodeStatusResponse_Status_Removed,
+ GetMasternodeStatusResponse_Status_OperatorKeyChanged,
+ GetMasternodeStatusResponse_Status_ProtxIpChanged,
+ GetMasternodeStatusResponse_Status_Ready,
+ GetMasternodeStatusResponse_Status_Error,
};
GPBEnumDescriptor *worker =
- [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(GetStatusResponse_Masternode_Status)
+ [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(GetMasternodeStatusResponse_Status)
valueNames:valueNames
values:values
count:(uint32_t)(sizeof(values) / sizeof(int32_t))
- enumVerifier:GetStatusResponse_Masternode_Status_IsValidValue];
+ enumVerifier:GetMasternodeStatusResponse_Status_IsValidValue];
GPBEnumDescriptor *expected = nil;
if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
[worker release];
@@ -648,34 +781,35 @@ void SetGetStatusResponse_Masternode_Status_RawValue(GetStatusResponse_Masternod
return descriptor;
}
-BOOL GetStatusResponse_Masternode_Status_IsValidValue(int32_t value__) {
+BOOL GetMasternodeStatusResponse_Status_IsValidValue(int32_t value__) {
switch (value__) {
- case GetStatusResponse_Masternode_Status_Unknown:
- case GetStatusResponse_Masternode_Status_WaitingForProtx:
- case GetStatusResponse_Masternode_Status_PoseBanned:
- case GetStatusResponse_Masternode_Status_Removed:
- case GetStatusResponse_Masternode_Status_OperatorKeyChanged:
- case GetStatusResponse_Masternode_Status_ProtxIpChanged:
- case GetStatusResponse_Masternode_Status_Ready:
- case GetStatusResponse_Masternode_Status_Error:
+ case GetMasternodeStatusResponse_Status_Unknown:
+ case GetMasternodeStatusResponse_Status_WaitingForProtx:
+ case GetMasternodeStatusResponse_Status_PoseBanned:
+ case GetMasternodeStatusResponse_Status_Removed:
+ case GetMasternodeStatusResponse_Status_OperatorKeyChanged:
+ case GetMasternodeStatusResponse_Status_ProtxIpChanged:
+ case GetMasternodeStatusResponse_Status_Ready:
+ case GetMasternodeStatusResponse_Status_Error:
return YES;
default:
return NO;
}
}
-#pragma mark - GetStatusResponse_NetworkFee
+#pragma mark - GetBlockRequest
-@implementation GetStatusResponse_NetworkFee
+@implementation GetBlockRequest
-@dynamic relay;
-@dynamic incremental;
+@dynamic blockOneOfCase;
+@dynamic height;
+@dynamic hash_p;
-typedef struct GetStatusResponse_NetworkFee__storage_ {
- uint32_t _has_storage_[1];
- double relay;
- double incremental;
-} GetStatusResponse_NetworkFee__storage_;
+typedef struct GetBlockRequest__storage_ {
+ uint32_t _has_storage_[2];
+ uint32_t height;
+ NSString *hash_p;
+} GetBlockRequest__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -684,33 +818,38 @@ + (GPBDescriptor *)descriptor {
if (!descriptor) {
static GPBMessageFieldDescription fields[] = {
{
- .name = "relay",
+ .name = "height",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_NetworkFee_FieldNumber_Relay,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GetStatusResponse_NetworkFee__storage_, relay),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeDouble,
+ .number = GetBlockRequest_FieldNumber_Height,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetBlockRequest__storage_, height),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeUInt32,
},
{
- .name = "incremental",
+ .name = "hash_p",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_NetworkFee_FieldNumber_Incremental,
- .hasIndex = 1,
- .offset = (uint32_t)offsetof(GetStatusResponse_NetworkFee__storage_, incremental),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeDouble,
+ .number = GetBlockRequest_FieldNumber_Hash_p,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetBlockRequest__storage_, hash_p),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeString,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetStatusResponse_NetworkFee class]
+ [GPBDescriptor allocDescriptorForClass:[GetBlockRequest class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetStatusResponse_NetworkFee__storage_)
+ storageSize:sizeof(GetBlockRequest__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetStatusResponse)];
+ static const char *oneofs[] = {
+ "block",
+ };
+ [localDescriptor setupOneofs:oneofs
+ count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
+ firstHasIndex:-1];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -721,18 +860,21 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetStatusResponse_Network
+void GetBlockRequest_ClearBlockOneOfCase(GetBlockRequest *message) {
+ GPBDescriptor *descriptor = [GetBlockRequest descriptor];
+ GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
+ GPBClearOneof(message, oneof);
+}
+#pragma mark - GetBlockResponse
-@implementation GetStatusResponse_Network
+@implementation GetBlockResponse
-@dynamic peersCount;
-@dynamic hasFee, fee;
+@dynamic block;
-typedef struct GetStatusResponse_Network__storage_ {
+typedef struct GetBlockResponse__storage_ {
uint32_t _has_storage_[1];
- uint32_t peersCount;
- GetStatusResponse_NetworkFee *fee;
-} GetStatusResponse_Network__storage_;
+ NSData *block;
+} GetBlockResponse__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -741,33 +883,23 @@ + (GPBDescriptor *)descriptor {
if (!descriptor) {
static GPBMessageFieldDescription fields[] = {
{
- .name = "peersCount",
+ .name = "block",
.dataTypeSpecific.clazz = Nil,
- .number = GetStatusResponse_Network_FieldNumber_PeersCount,
+ .number = GetBlockResponse_FieldNumber_Block,
.hasIndex = 0,
- .offset = (uint32_t)offsetof(GetStatusResponse_Network__storage_, peersCount),
+ .offset = (uint32_t)offsetof(GetBlockResponse__storage_, block),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeUInt32,
- },
- {
- .name = "fee",
- .dataTypeSpecific.clazz = GPBObjCClass(GetStatusResponse_NetworkFee),
- .number = GetStatusResponse_Network_FieldNumber_Fee,
- .hasIndex = 1,
- .offset = (uint32_t)offsetof(GetStatusResponse_Network__storage_, fee),
- .flags = GPBFieldOptional,
- .dataType = GPBDataTypeMessage,
+ .dataType = GPBDataTypeBytes,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetStatusResponse_Network class]
+ [GPBDescriptor allocDescriptorForClass:[GetBlockResponse class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetStatusResponse_Network__storage_)
+ storageSize:sizeof(GetBlockResponse__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetStatusResponse)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -778,59 +910,28 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetBlockRequest
+#pragma mark - GetBestBlockHeightRequest
-@implementation GetBlockRequest
+@implementation GetBestBlockHeightRequest
-@dynamic blockOneOfCase;
-@dynamic height;
-@dynamic hash_p;
-typedef struct GetBlockRequest__storage_ {
- uint32_t _has_storage_[2];
- uint32_t height;
- NSString *hash_p;
-} GetBlockRequest__storage_;
+typedef struct GetBestBlockHeightRequest__storage_ {
+ uint32_t _has_storage_[1];
+} GetBestBlockHeightRequest__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
+ (GPBDescriptor *)descriptor {
static GPBDescriptor *descriptor = nil;
if (!descriptor) {
- static GPBMessageFieldDescription fields[] = {
- {
- .name = "height",
- .dataTypeSpecific.clazz = Nil,
- .number = GetBlockRequest_FieldNumber_Height,
- .hasIndex = -1,
- .offset = (uint32_t)offsetof(GetBlockRequest__storage_, height),
- .flags = GPBFieldOptional,
- .dataType = GPBDataTypeUInt32,
- },
- {
- .name = "hash_p",
- .dataTypeSpecific.clazz = Nil,
- .number = GetBlockRequest_FieldNumber_Hash_p,
- .hasIndex = -1,
- .offset = (uint32_t)offsetof(GetBlockRequest__storage_, hash_p),
- .flags = GPBFieldOptional,
- .dataType = GPBDataTypeString,
- },
- };
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetBlockRequest class]
+ [GPBDescriptor allocDescriptorForClass:[GetBestBlockHeightRequest class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetBlockRequest__storage_)
+ fields:NULL
+ fieldCount:0
+ storageSize:sizeof(GetBestBlockHeightRequest__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- static const char *oneofs[] = {
- "block",
- };
- [localDescriptor setupOneofs:oneofs
- count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
- firstHasIndex:-1];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -841,21 +942,16 @@ + (GPBDescriptor *)descriptor {
@end
-void GetBlockRequest_ClearBlockOneOfCase(GetBlockRequest *message) {
- GPBDescriptor *descriptor = [GetBlockRequest descriptor];
- GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
- GPBClearOneof(message, oneof);
-}
-#pragma mark - GetBlockResponse
+#pragma mark - GetBestBlockHeightResponse
-@implementation GetBlockResponse
+@implementation GetBestBlockHeightResponse
-@dynamic block;
+@dynamic height;
-typedef struct GetBlockResponse__storage_ {
+typedef struct GetBestBlockHeightResponse__storage_ {
uint32_t _has_storage_[1];
- NSData *block;
-} GetBlockResponse__storage_;
+ uint32_t height;
+} GetBestBlockHeightResponse__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -864,22 +960,22 @@ + (GPBDescriptor *)descriptor {
if (!descriptor) {
static GPBMessageFieldDescription fields[] = {
{
- .name = "block",
+ .name = "height",
.dataTypeSpecific.clazz = Nil,
- .number = GetBlockResponse_FieldNumber_Block,
+ .number = GetBestBlockHeightResponse_FieldNumber_Height,
.hasIndex = 0,
- .offset = (uint32_t)offsetof(GetBlockResponse__storage_, block),
+ .offset = (uint32_t)offsetof(GetBestBlockHeightResponse__storage_, height),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeBytes,
+ .dataType = GPBDataTypeUInt32,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetBlockResponse class]
+ [GPBDescriptor allocDescriptorForClass:[GetBestBlockHeightResponse class]
rootClass:[CoreRoot class]
file:CoreRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetBlockResponse__storage_)
+ storageSize:sizeof(GetBestBlockHeightResponse__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
@@ -1773,6 +1869,83 @@ + (GPBDescriptor *)descriptor {
@end
+#pragma mark - MasternodeListRequest
+
+@implementation MasternodeListRequest
+
+
+typedef struct MasternodeListRequest__storage_ {
+ uint32_t _has_storage_[1];
+} MasternodeListRequest__storage_;
+
+// This method is threadsafe because it is initially called
+// in +initialize for each subclass.
++ (GPBDescriptor *)descriptor {
+ static GPBDescriptor *descriptor = nil;
+ if (!descriptor) {
+ GPBDescriptor *localDescriptor =
+ [GPBDescriptor allocDescriptorForClass:[MasternodeListRequest class]
+ rootClass:[CoreRoot class]
+ file:CoreRoot_FileDescriptor()
+ fields:NULL
+ fieldCount:0
+ storageSize:sizeof(MasternodeListRequest__storage_)
+ flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
+ #if defined(DEBUG) && DEBUG
+ NSAssert(descriptor == nil, @"Startup recursed!");
+ #endif // DEBUG
+ descriptor = localDescriptor;
+ }
+ return descriptor;
+}
+
+@end
+
+#pragma mark - MasternodeListResponse
+
+@implementation MasternodeListResponse
+
+@dynamic masternodeListDiff;
+
+typedef struct MasternodeListResponse__storage_ {
+ uint32_t _has_storage_[1];
+ NSData *masternodeListDiff;
+} MasternodeListResponse__storage_;
+
+// This method is threadsafe because it is initially called
+// in +initialize for each subclass.
++ (GPBDescriptor *)descriptor {
+ static GPBDescriptor *descriptor = nil;
+ if (!descriptor) {
+ static GPBMessageFieldDescription fields[] = {
+ {
+ .name = "masternodeListDiff",
+ .dataTypeSpecific.clazz = Nil,
+ .number = MasternodeListResponse_FieldNumber_MasternodeListDiff,
+ .hasIndex = 0,
+ .offset = (uint32_t)offsetof(MasternodeListResponse__storage_, masternodeListDiff),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeBytes,
+ },
+ };
+ GPBDescriptor *localDescriptor =
+ [GPBDescriptor allocDescriptorForClass:[MasternodeListResponse class]
+ rootClass:[CoreRoot class]
+ file:CoreRoot_FileDescriptor()
+ fields:fields
+ fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
+ storageSize:sizeof(MasternodeListResponse__storage_)
+ flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
+ #if defined(DEBUG) && DEBUG
+ NSAssert(descriptor == nil, @"Startup recursed!");
+ #endif // DEBUG
+ descriptor = localDescriptor;
+ }
+ return descriptor;
+}
+
+@end
+
#pragma clang diagnostic pop
diff --git a/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbrpc.h b/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbrpc.h
index a5016dbd657..96b789ae4b2 100644
--- a/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbrpc.h
+++ b/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbrpc.h
@@ -18,14 +18,20 @@
@class BlockHeadersWithChainLocksResponse;
@class BroadcastTransactionRequest;
@class BroadcastTransactionResponse;
+@class GetBestBlockHeightRequest;
+@class GetBestBlockHeightResponse;
@class GetBlockRequest;
@class GetBlockResponse;
+@class GetBlockchainStatusRequest;
+@class GetBlockchainStatusResponse;
@class GetEstimatedTransactionFeeRequest;
@class GetEstimatedTransactionFeeResponse;
-@class GetStatusRequest;
-@class GetStatusResponse;
+@class GetMasternodeStatusRequest;
+@class GetMasternodeStatusResponse;
@class GetTransactionRequest;
@class GetTransactionResponse;
+@class MasternodeListRequest;
+@class MasternodeListResponse;
@class TransactionsWithProofsRequest;
@class TransactionsWithProofsResponse;
@@ -43,14 +49,22 @@ NS_ASSUME_NONNULL_BEGIN
@protocol Core2
-#pragma mark getStatus(GetStatusRequest) returns (GetStatusResponse)
+#pragma mark getBlockchainStatus(GetBlockchainStatusRequest) returns (GetBlockchainStatusResponse)
-- (GRPCUnaryProtoCall *)getStatusWithMessage:(GetStatusRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
+- (GRPCUnaryProtoCall *)getBlockchainStatusWithMessage:(GetBlockchainStatusRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
+
+#pragma mark getMasternodeStatus(GetMasternodeStatusRequest) returns (GetMasternodeStatusResponse)
+
+- (GRPCUnaryProtoCall *)getMasternodeStatusWithMessage:(GetMasternodeStatusRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
#pragma mark getBlock(GetBlockRequest) returns (GetBlockResponse)
- (GRPCUnaryProtoCall *)getBlockWithMessage:(GetBlockRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
+#pragma mark getBestBlockHeight(GetBestBlockHeightRequest) returns (GetBestBlockHeightResponse)
+
+- (GRPCUnaryProtoCall *)getBestBlockHeightWithMessage:(GetBestBlockHeightRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
+
#pragma mark broadcastTransaction(BroadcastTransactionRequest) returns (BroadcastTransactionResponse)
- (GRPCUnaryProtoCall *)broadcastTransactionWithMessage:(BroadcastTransactionRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
@@ -71,6 +85,10 @@ NS_ASSUME_NONNULL_BEGIN
- (GRPCUnaryProtoCall *)subscribeToTransactionsWithProofsWithMessage:(TransactionsWithProofsRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
+#pragma mark subscribeToMasternodeList(MasternodeListRequest) returns (stream MasternodeListResponse)
+
+- (GRPCUnaryProtoCall *)subscribeToMasternodeListWithMessage:(MasternodeListRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
+
@end
/**
@@ -79,11 +97,18 @@ NS_ASSUME_NONNULL_BEGIN
*/
@protocol Core
-#pragma mark getStatus(GetStatusRequest) returns (GetStatusResponse)
+#pragma mark getBlockchainStatus(GetBlockchainStatusRequest) returns (GetBlockchainStatusResponse)
+
+- (void)getBlockchainStatusWithRequest:(GetBlockchainStatusRequest *)request handler:(void(^)(GetBlockchainStatusResponse *_Nullable response, NSError *_Nullable error))handler;
+
+- (GRPCProtoCall *)RPCTogetBlockchainStatusWithRequest:(GetBlockchainStatusRequest *)request handler:(void(^)(GetBlockchainStatusResponse *_Nullable response, NSError *_Nullable error))handler;
+
-- (void)getStatusWithRequest:(GetStatusRequest *)request handler:(void(^)(GetStatusResponse *_Nullable response, NSError *_Nullable error))handler;
+#pragma mark getMasternodeStatus(GetMasternodeStatusRequest) returns (GetMasternodeStatusResponse)
-- (GRPCProtoCall *)RPCTogetStatusWithRequest:(GetStatusRequest *)request handler:(void(^)(GetStatusResponse *_Nullable response, NSError *_Nullable error))handler;
+- (void)getMasternodeStatusWithRequest:(GetMasternodeStatusRequest *)request handler:(void(^)(GetMasternodeStatusResponse *_Nullable response, NSError *_Nullable error))handler;
+
+- (GRPCProtoCall *)RPCTogetMasternodeStatusWithRequest:(GetMasternodeStatusRequest *)request handler:(void(^)(GetMasternodeStatusResponse *_Nullable response, NSError *_Nullable error))handler;
#pragma mark getBlock(GetBlockRequest) returns (GetBlockResponse)
@@ -93,6 +118,13 @@ NS_ASSUME_NONNULL_BEGIN
- (GRPCProtoCall *)RPCTogetBlockWithRequest:(GetBlockRequest *)request handler:(void(^)(GetBlockResponse *_Nullable response, NSError *_Nullable error))handler;
+#pragma mark getBestBlockHeight(GetBestBlockHeightRequest) returns (GetBestBlockHeightResponse)
+
+- (void)getBestBlockHeightWithRequest:(GetBestBlockHeightRequest *)request handler:(void(^)(GetBestBlockHeightResponse *_Nullable response, NSError *_Nullable error))handler;
+
+- (GRPCProtoCall *)RPCTogetBestBlockHeightWithRequest:(GetBestBlockHeightRequest *)request handler:(void(^)(GetBestBlockHeightResponse *_Nullable response, NSError *_Nullable error))handler;
+
+
#pragma mark broadcastTransaction(BroadcastTransactionRequest) returns (BroadcastTransactionResponse)
- (void)broadcastTransactionWithRequest:(BroadcastTransactionRequest *)request handler:(void(^)(BroadcastTransactionResponse *_Nullable response, NSError *_Nullable error))handler;
@@ -128,6 +160,13 @@ NS_ASSUME_NONNULL_BEGIN
- (GRPCProtoCall *)RPCTosubscribeToTransactionsWithProofsWithRequest:(TransactionsWithProofsRequest *)request eventHandler:(void(^)(BOOL done, TransactionsWithProofsResponse *_Nullable response, NSError *_Nullable error))eventHandler;
+#pragma mark subscribeToMasternodeList(MasternodeListRequest) returns (stream MasternodeListResponse)
+
+- (void)subscribeToMasternodeListWithRequest:(MasternodeListRequest *)request eventHandler:(void(^)(BOOL done, MasternodeListResponse *_Nullable response, NSError *_Nullable error))eventHandler;
+
+- (GRPCProtoCall *)RPCTosubscribeToMasternodeListWithRequest:(MasternodeListRequest *)request eventHandler:(void(^)(BOOL done, MasternodeListResponse *_Nullable response, NSError *_Nullable error))eventHandler;
+
+
@end
diff --git a/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbrpc.m b/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbrpc.m
index 2c16c550ac9..2eb5f351c16 100644
--- a/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbrpc.m
+++ b/packages/dapi-grpc/clients/core/v0/objective-c/Core.pbrpc.m
@@ -55,24 +55,44 @@ + (instancetype)serviceWithHost:(NSString *)host callOptions:(GRPCCallOptions *_
#pragma mark - Method Implementations
-#pragma mark getStatus(GetStatusRequest) returns (GetStatusResponse)
+#pragma mark getBlockchainStatus(GetBlockchainStatusRequest) returns (GetBlockchainStatusResponse)
-- (void)getStatusWithRequest:(GetStatusRequest *)request handler:(void(^)(GetStatusResponse *_Nullable response, NSError *_Nullable error))handler{
- [[self RPCTogetStatusWithRequest:request handler:handler] start];
+- (void)getBlockchainStatusWithRequest:(GetBlockchainStatusRequest *)request handler:(void(^)(GetBlockchainStatusResponse *_Nullable response, NSError *_Nullable error))handler{
+ [[self RPCTogetBlockchainStatusWithRequest:request handler:handler] start];
}
// Returns a not-yet-started RPC object.
-- (GRPCProtoCall *)RPCTogetStatusWithRequest:(GetStatusRequest *)request handler:(void(^)(GetStatusResponse *_Nullable response, NSError *_Nullable error))handler{
- return [self RPCToMethod:@"getStatus"
+- (GRPCProtoCall *)RPCTogetBlockchainStatusWithRequest:(GetBlockchainStatusRequest *)request handler:(void(^)(GetBlockchainStatusResponse *_Nullable response, NSError *_Nullable error))handler{
+ return [self RPCToMethod:@"getBlockchainStatus"
requestsWriter:[GRXWriter writerWithValue:request]
- responseClass:[GetStatusResponse class]
+ responseClass:[GetBlockchainStatusResponse class]
responsesWriteable:[GRXWriteable writeableWithSingleHandler:handler]];
}
-- (GRPCUnaryProtoCall *)getStatusWithMessage:(GetStatusRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions {
- return [self RPCToMethod:@"getStatus"
+- (GRPCUnaryProtoCall *)getBlockchainStatusWithMessage:(GetBlockchainStatusRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions {
+ return [self RPCToMethod:@"getBlockchainStatus"
message:message
responseHandler:handler
callOptions:callOptions
- responseClass:[GetStatusResponse class]];
+ responseClass:[GetBlockchainStatusResponse class]];
+}
+
+#pragma mark getMasternodeStatus(GetMasternodeStatusRequest) returns (GetMasternodeStatusResponse)
+
+- (void)getMasternodeStatusWithRequest:(GetMasternodeStatusRequest *)request handler:(void(^)(GetMasternodeStatusResponse *_Nullable response, NSError *_Nullable error))handler{
+ [[self RPCTogetMasternodeStatusWithRequest:request handler:handler] start];
+}
+// Returns a not-yet-started RPC object.
+- (GRPCProtoCall *)RPCTogetMasternodeStatusWithRequest:(GetMasternodeStatusRequest *)request handler:(void(^)(GetMasternodeStatusResponse *_Nullable response, NSError *_Nullable error))handler{
+ return [self RPCToMethod:@"getMasternodeStatus"
+ requestsWriter:[GRXWriter writerWithValue:request]
+ responseClass:[GetMasternodeStatusResponse class]
+ responsesWriteable:[GRXWriteable writeableWithSingleHandler:handler]];
+}
+- (GRPCUnaryProtoCall *)getMasternodeStatusWithMessage:(GetMasternodeStatusRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions {
+ return [self RPCToMethod:@"getMasternodeStatus"
+ message:message
+ responseHandler:handler
+ callOptions:callOptions
+ responseClass:[GetMasternodeStatusResponse class]];
}
#pragma mark getBlock(GetBlockRequest) returns (GetBlockResponse)
@@ -95,6 +115,26 @@ - (GRPCUnaryProtoCall *)getBlockWithMessage:(GetBlockRequest *)message responseH
responseClass:[GetBlockResponse class]];
}
+#pragma mark getBestBlockHeight(GetBestBlockHeightRequest) returns (GetBestBlockHeightResponse)
+
+- (void)getBestBlockHeightWithRequest:(GetBestBlockHeightRequest *)request handler:(void(^)(GetBestBlockHeightResponse *_Nullable response, NSError *_Nullable error))handler{
+ [[self RPCTogetBestBlockHeightWithRequest:request handler:handler] start];
+}
+// Returns a not-yet-started RPC object.
+- (GRPCProtoCall *)RPCTogetBestBlockHeightWithRequest:(GetBestBlockHeightRequest *)request handler:(void(^)(GetBestBlockHeightResponse *_Nullable response, NSError *_Nullable error))handler{
+ return [self RPCToMethod:@"getBestBlockHeight"
+ requestsWriter:[GRXWriter writerWithValue:request]
+ responseClass:[GetBestBlockHeightResponse class]
+ responsesWriteable:[GRXWriteable writeableWithSingleHandler:handler]];
+}
+- (GRPCUnaryProtoCall *)getBestBlockHeightWithMessage:(GetBestBlockHeightRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions {
+ return [self RPCToMethod:@"getBestBlockHeight"
+ message:message
+ responseHandler:handler
+ callOptions:callOptions
+ responseClass:[GetBestBlockHeightResponse class]];
+}
+
#pragma mark broadcastTransaction(BroadcastTransactionRequest) returns (BroadcastTransactionResponse)
- (void)broadcastTransactionWithRequest:(BroadcastTransactionRequest *)request handler:(void(^)(BroadcastTransactionResponse *_Nullable response, NSError *_Nullable error))handler{
@@ -195,5 +235,25 @@ - (GRPCUnaryProtoCall *)subscribeToTransactionsWithProofsWithMessage:(Transactio
responseClass:[TransactionsWithProofsResponse class]];
}
+#pragma mark subscribeToMasternodeList(MasternodeListRequest) returns (stream MasternodeListResponse)
+
+- (void)subscribeToMasternodeListWithRequest:(MasternodeListRequest *)request eventHandler:(void(^)(BOOL done, MasternodeListResponse *_Nullable response, NSError *_Nullable error))eventHandler{
+ [[self RPCTosubscribeToMasternodeListWithRequest:request eventHandler:eventHandler] start];
+}
+// Returns a not-yet-started RPC object.
+- (GRPCProtoCall *)RPCTosubscribeToMasternodeListWithRequest:(MasternodeListRequest *)request eventHandler:(void(^)(BOOL done, MasternodeListResponse *_Nullable response, NSError *_Nullable error))eventHandler{
+ return [self RPCToMethod:@"subscribeToMasternodeList"
+ requestsWriter:[GRXWriter writerWithValue:request]
+ responseClass:[MasternodeListResponse class]
+ responsesWriteable:[GRXWriteable writeableWithEventHandler:eventHandler]];
+}
+- (GRPCUnaryProtoCall *)subscribeToMasternodeListWithMessage:(MasternodeListRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions {
+ return [self RPCToMethod:@"subscribeToMasternodeList"
+ message:message
+ responseHandler:handler
+ callOptions:callOptions
+ responseClass:[MasternodeListResponse class]];
+}
+
@end
#endif
diff --git a/packages/dapi-grpc/clients/core/v0/python/core_pb2.py b/packages/dapi-grpc/clients/core/v0/python/core_pb2.py
index cc79763de81..7a3ce10c143 100644
--- a/packages/dapi-grpc/clients/core/v0/python/core_pb2.py
+++ b/packages/dapi-grpc/clients/core/v0/python/core_pb2.py
@@ -19,105 +19,105 @@
syntax='proto3',
serialized_options=None,
create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n\ncore.proto\x12\x19org.dash.platform.dapi.v0\"\x12\n\x10GetStatusRequest\"\x8e\n\n\x11GetStatusResponse\x12\x45\n\x07version\x18\x01 \x01(\x0b\x32\x34.org.dash.platform.dapi.v0.GetStatusResponse.Version\x12?\n\x04time\x18\x02 \x01(\x0b\x32\x31.org.dash.platform.dapi.v0.GetStatusResponse.Time\x12\x43\n\x06status\x18\x03 \x01(\x0e\x32\x33.org.dash.platform.dapi.v0.GetStatusResponse.Status\x12\x15\n\rsync_progress\x18\x04 \x01(\x01\x12\x41\n\x05\x63hain\x18\x05 \x01(\x0b\x32\x32.org.dash.platform.dapi.v0.GetStatusResponse.Chain\x12K\n\nmasternode\x18\x06 \x01(\x0b\x32\x37.org.dash.platform.dapi.v0.GetStatusResponse.Masternode\x12\x45\n\x07network\x18\x07 \x01(\x0b\x32\x34.org.dash.platform.dapi.v0.GetStatusResponse.Network\x1a<\n\x07Version\x12\x10\n\x08protocol\x18\x01 \x01(\r\x12\x10\n\x08software\x18\x02 \x01(\r\x12\r\n\x05\x61gent\x18\x03 \x01(\t\x1a\x33\n\x04Time\x12\x0b\n\x03now\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x05\x12\x0e\n\x06median\x18\x03 \x01(\r\x1a\xad\x01\n\x05\x43hain\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rheaders_count\x18\x02 \x01(\r\x12\x14\n\x0c\x62locks_count\x18\x03 \x01(\r\x12\x17\n\x0f\x62\x65st_block_hash\x18\x04 \x01(\x0c\x12\x12\n\ndifficulty\x18\x05 \x01(\x01\x12\x12\n\nchain_work\x18\x06 \x01(\x0c\x12\x11\n\tis_synced\x18\x07 \x01(\x08\x12\x15\n\rsync_progress\x18\x08 \x01(\x01\x1a\xc4\x02\n\nMasternode\x12N\n\x06status\x18\x01 \x01(\x0e\x32>.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status\x12\x13\n\x0bpro_tx_hash\x18\x02 \x01(\x0c\x12\x14\n\x0cpose_penalty\x18\x03 \x01(\r\x12\x11\n\tis_synced\x18\x04 \x01(\x08\x12\x15\n\rsync_progress\x18\x05 \x01(\x01\"\x90\x01\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x15\n\x11WAITING_FOR_PROTX\x10\x01\x12\x0f\n\x0bPOSE_BANNED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x12\x18\n\x14OPERATOR_KEY_CHANGED\x10\x04\x12\x14\n\x10PROTX_IP_CHANGED\x10\x05\x12\t\n\x05READY\x10\x06\x12\t\n\x05\x45RROR\x10\x07\x1a\x30\n\nNetworkFee\x12\r\n\x05relay\x18\x01 \x01(\x01\x12\x13\n\x0bincremental\x18\x02 \x01(\x01\x1a\x64\n\x07Network\x12\x13\n\x0bpeers_count\x18\x01 \x01(\r\x12\x44\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x37.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee\"<\n\x06Status\x12\x0f\n\x0bNOT_STARTED\x10\x00\x12\x0b\n\x07SYNCING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"<\n\x0fGetBlockRequest\x12\x10\n\x06height\x18\x01 \x01(\rH\x00\x12\x0e\n\x04hash\x18\x02 \x01(\tH\x00\x42\x07\n\x05\x62lock\"!\n\x10GetBlockResponse\x12\r\n\x05\x62lock\x18\x01 \x01(\x0c\"b\n\x1b\x42roadcastTransactionRequest\x12\x13\n\x0btransaction\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61llow_high_fees\x18\x02 \x01(\x08\x12\x15\n\rbypass_limits\x18\x03 \x01(\x08\"6\n\x1c\x42roadcastTransactionResponse\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\"#\n\x15GetTransactionRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x9c\x01\n\x16GetTransactionResponse\x12\x13\n\x0btransaction\x18\x01 \x01(\x0c\x12\x12\n\nblock_hash\x18\x02 \x01(\x0c\x12\x0e\n\x06height\x18\x03 \x01(\r\x12\x15\n\rconfirmations\x18\x04 \x01(\r\x12\x19\n\x11is_instant_locked\x18\x05 \x01(\x08\x12\x17\n\x0fis_chain_locked\x18\x06 \x01(\x08\"x\n!BlockHeadersWithChainLocksRequest\x12\x19\n\x0f\x66rom_block_hash\x18\x01 \x01(\x0cH\x00\x12\x1b\n\x11\x66rom_block_height\x18\x02 \x01(\rH\x00\x12\r\n\x05\x63ount\x18\x03 \x01(\rB\x0c\n\nfrom_block\"\x89\x01\n\"BlockHeadersWithChainLocksResponse\x12@\n\rblock_headers\x18\x01 \x01(\x0b\x32\'.org.dash.platform.dapi.v0.BlockHeadersH\x00\x12\x14\n\nchain_lock\x18\x02 \x01(\x0cH\x00\x42\x0b\n\tresponses\"\x1f\n\x0c\x42lockHeaders\x12\x0f\n\x07headers\x18\x01 \x03(\x0c\"3\n!GetEstimatedTransactionFeeRequest\x12\x0e\n\x06\x62locks\x18\x01 \x01(\r\"1\n\"GetEstimatedTransactionFeeResponse\x12\x0b\n\x03\x66\x65\x65\x18\x01 \x01(\x01\"\xd3\x01\n\x1dTransactionsWithProofsRequest\x12<\n\x0c\x62loom_filter\x18\x01 \x01(\x0b\x32&.org.dash.platform.dapi.v0.BloomFilter\x12\x19\n\x0f\x66rom_block_hash\x18\x02 \x01(\x0cH\x00\x12\x1b\n\x11\x66rom_block_height\x18\x03 \x01(\rH\x00\x12\r\n\x05\x63ount\x18\x04 \x01(\r\x12\x1f\n\x17send_transaction_hashes\x18\x05 \x01(\x08\x42\x0c\n\nfrom_block\"U\n\x0b\x42loomFilter\x12\x0e\n\x06v_data\x18\x01 \x01(\x0c\x12\x14\n\x0cn_hash_funcs\x18\x02 \x01(\r\x12\x0f\n\x07n_tweak\x18\x03 \x01(\r\x12\x0f\n\x07n_flags\x18\x04 \x01(\r\"\xeb\x01\n\x1eTransactionsWithProofsResponse\x12\x46\n\x10raw_transactions\x18\x01 \x01(\x0b\x32*.org.dash.platform.dapi.v0.RawTransactionsH\x00\x12X\n\x1ainstant_send_lock_messages\x18\x02 \x01(\x0b\x32\x32.org.dash.platform.dapi.v0.InstantSendLockMessagesH\x00\x12\x1a\n\x10raw_merkle_block\x18\x03 \x01(\x0cH\x00\x42\x0b\n\tresponses\"\'\n\x0fRawTransactions\x12\x14\n\x0ctransactions\x18\x01 \x03(\x0c\"+\n\x17InstantSendLockMessages\x12\x10\n\x08messages\x18\x01 \x03(\x0c\x32\xb6\x07\n\x04\x43ore\x12\x66\n\tgetStatus\x12+.org.dash.platform.dapi.v0.GetStatusRequest\x1a,.org.dash.platform.dapi.v0.GetStatusResponse\x12\x63\n\x08getBlock\x12*.org.dash.platform.dapi.v0.GetBlockRequest\x1a+.org.dash.platform.dapi.v0.GetBlockResponse\x12\x87\x01\n\x14\x62roadcastTransaction\x12\x36.org.dash.platform.dapi.v0.BroadcastTransactionRequest\x1a\x37.org.dash.platform.dapi.v0.BroadcastTransactionResponse\x12u\n\x0egetTransaction\x12\x30.org.dash.platform.dapi.v0.GetTransactionRequest\x1a\x31.org.dash.platform.dapi.v0.GetTransactionResponse\x12\x99\x01\n\x1agetEstimatedTransactionFee\x12<.org.dash.platform.dapi.v0.GetEstimatedTransactionFeeRequest\x1a=.org.dash.platform.dapi.v0.GetEstimatedTransactionFeeResponse\x12\xa6\x01\n%subscribeToBlockHeadersWithChainLocks\x12<.org.dash.platform.dapi.v0.BlockHeadersWithChainLocksRequest\x1a=.org.dash.platform.dapi.v0.BlockHeadersWithChainLocksResponse0\x01\x12\x9a\x01\n!subscribeToTransactionsWithProofs\x12\x38.org.dash.platform.dapi.v0.TransactionsWithProofsRequest\x1a\x39.org.dash.platform.dapi.v0.TransactionsWithProofsResponse0\x01\x62\x06proto3'
+ serialized_pb=b'\n\ncore.proto\x12\x19org.dash.platform.dapi.v0\"\x1c\n\x1aGetBlockchainStatusRequest\"\xc0\x07\n\x1bGetBlockchainStatusResponse\x12O\n\x07version\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version\x12I\n\x04time\x18\x02 \x01(\x0b\x32;.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time\x12M\n\x06status\x18\x03 \x01(\x0e\x32=.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status\x12\x15\n\rsync_progress\x18\x04 \x01(\x01\x12K\n\x05\x63hain\x18\x05 \x01(\x0b\x32<.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain\x12O\n\x07network\x18\x07 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network\x1a<\n\x07Version\x12\x10\n\x08protocol\x18\x01 \x01(\r\x12\x10\n\x08software\x18\x02 \x01(\r\x12\r\n\x05\x61gent\x18\x03 \x01(\t\x1a\x33\n\x04Time\x12\x0b\n\x03now\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\x05\x12\x0e\n\x06median\x18\x03 \x01(\r\x1a\xad\x01\n\x05\x43hain\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rheaders_count\x18\x02 \x01(\r\x12\x14\n\x0c\x62locks_count\x18\x03 \x01(\r\x12\x17\n\x0f\x62\x65st_block_hash\x18\x04 \x01(\x0c\x12\x12\n\ndifficulty\x18\x05 \x01(\x01\x12\x12\n\nchain_work\x18\x06 \x01(\x0c\x12\x11\n\tis_synced\x18\x07 \x01(\x08\x12\x15\n\rsync_progress\x18\x08 \x01(\x01\x1a\x30\n\nNetworkFee\x12\r\n\x05relay\x18\x01 \x01(\x01\x12\x13\n\x0bincremental\x18\x02 \x01(\x01\x1an\n\x07Network\x12\x13\n\x0bpeers_count\x18\x01 \x01(\r\x12N\n\x03\x66\x65\x65\x18\x02 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee\"<\n\x06Status\x12\x0f\n\x0bNOT_STARTED\x10\x00\x12\x0b\n\x07SYNCING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\x1c\n\x1aGetMasternodeStatusRequest\"\xd4\x02\n\x1bGetMasternodeStatusResponse\x12M\n\x06status\x18\x01 \x01(\x0e\x32=.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status\x12\x13\n\x0bpro_tx_hash\x18\x02 \x01(\x0c\x12\x14\n\x0cpose_penalty\x18\x03 \x01(\r\x12\x11\n\tis_synced\x18\x04 \x01(\x08\x12\x15\n\rsync_progress\x18\x05 \x01(\x01\"\x90\x01\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x15\n\x11WAITING_FOR_PROTX\x10\x01\x12\x0f\n\x0bPOSE_BANNED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x12\x18\n\x14OPERATOR_KEY_CHANGED\x10\x04\x12\x14\n\x10PROTX_IP_CHANGED\x10\x05\x12\t\n\x05READY\x10\x06\x12\t\n\x05\x45RROR\x10\x07\"<\n\x0fGetBlockRequest\x12\x10\n\x06height\x18\x01 \x01(\rH\x00\x12\x0e\n\x04hash\x18\x02 \x01(\tH\x00\x42\x07\n\x05\x62lock\"!\n\x10GetBlockResponse\x12\r\n\x05\x62lock\x18\x01 \x01(\x0c\"\x1b\n\x19GetBestBlockHeightRequest\",\n\x1aGetBestBlockHeightResponse\x12\x0e\n\x06height\x18\x01 \x01(\r\"b\n\x1b\x42roadcastTransactionRequest\x12\x13\n\x0btransaction\x18\x01 \x01(\x0c\x12\x17\n\x0f\x61llow_high_fees\x18\x02 \x01(\x08\x12\x15\n\rbypass_limits\x18\x03 \x01(\x08\"6\n\x1c\x42roadcastTransactionResponse\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\"#\n\x15GetTransactionRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x9c\x01\n\x16GetTransactionResponse\x12\x13\n\x0btransaction\x18\x01 \x01(\x0c\x12\x12\n\nblock_hash\x18\x02 \x01(\x0c\x12\x0e\n\x06height\x18\x03 \x01(\r\x12\x15\n\rconfirmations\x18\x04 \x01(\r\x12\x19\n\x11is_instant_locked\x18\x05 \x01(\x08\x12\x17\n\x0fis_chain_locked\x18\x06 \x01(\x08\"x\n!BlockHeadersWithChainLocksRequest\x12\x19\n\x0f\x66rom_block_hash\x18\x01 \x01(\x0cH\x00\x12\x1b\n\x11\x66rom_block_height\x18\x02 \x01(\rH\x00\x12\r\n\x05\x63ount\x18\x03 \x01(\rB\x0c\n\nfrom_block\"\x89\x01\n\"BlockHeadersWithChainLocksResponse\x12@\n\rblock_headers\x18\x01 \x01(\x0b\x32\'.org.dash.platform.dapi.v0.BlockHeadersH\x00\x12\x14\n\nchain_lock\x18\x02 \x01(\x0cH\x00\x42\x0b\n\tresponses\"\x1f\n\x0c\x42lockHeaders\x12\x0f\n\x07headers\x18\x01 \x03(\x0c\"3\n!GetEstimatedTransactionFeeRequest\x12\x0e\n\x06\x62locks\x18\x01 \x01(\r\"1\n\"GetEstimatedTransactionFeeResponse\x12\x0b\n\x03\x66\x65\x65\x18\x01 \x01(\x01\"\xd3\x01\n\x1dTransactionsWithProofsRequest\x12<\n\x0c\x62loom_filter\x18\x01 \x01(\x0b\x32&.org.dash.platform.dapi.v0.BloomFilter\x12\x19\n\x0f\x66rom_block_hash\x18\x02 \x01(\x0cH\x00\x12\x1b\n\x11\x66rom_block_height\x18\x03 \x01(\rH\x00\x12\r\n\x05\x63ount\x18\x04 \x01(\r\x12\x1f\n\x17send_transaction_hashes\x18\x05 \x01(\x08\x42\x0c\n\nfrom_block\"U\n\x0b\x42loomFilter\x12\x0e\n\x06v_data\x18\x01 \x01(\x0c\x12\x14\n\x0cn_hash_funcs\x18\x02 \x01(\r\x12\x0f\n\x07n_tweak\x18\x03 \x01(\r\x12\x0f\n\x07n_flags\x18\x04 \x01(\r\"\xeb\x01\n\x1eTransactionsWithProofsResponse\x12\x46\n\x10raw_transactions\x18\x01 \x01(\x0b\x32*.org.dash.platform.dapi.v0.RawTransactionsH\x00\x12X\n\x1ainstant_send_lock_messages\x18\x02 \x01(\x0b\x32\x32.org.dash.platform.dapi.v0.InstantSendLockMessagesH\x00\x12\x1a\n\x10raw_merkle_block\x18\x03 \x01(\x0cH\x00\x42\x0b\n\tresponses\"\'\n\x0fRawTransactions\x12\x14\n\x0ctransactions\x18\x01 \x03(\x0c\"+\n\x17InstantSendLockMessages\x12\x10\n\x08messages\x18\x01 \x03(\x0c\"\x17\n\x15MasternodeListRequest\"6\n\x16MasternodeListResponse\x12\x1c\n\x14masternode_list_diff\x18\x01 \x01(\x0c\x32\xe5\n\n\x04\x43ore\x12\x84\x01\n\x13getBlockchainStatus\x12\x35.org.dash.platform.dapi.v0.GetBlockchainStatusRequest\x1a\x36.org.dash.platform.dapi.v0.GetBlockchainStatusResponse\x12\x84\x01\n\x13getMasternodeStatus\x12\x35.org.dash.platform.dapi.v0.GetMasternodeStatusRequest\x1a\x36.org.dash.platform.dapi.v0.GetMasternodeStatusResponse\x12\x63\n\x08getBlock\x12*.org.dash.platform.dapi.v0.GetBlockRequest\x1a+.org.dash.platform.dapi.v0.GetBlockResponse\x12\x81\x01\n\x12getBestBlockHeight\x12\x34.org.dash.platform.dapi.v0.GetBestBlockHeightRequest\x1a\x35.org.dash.platform.dapi.v0.GetBestBlockHeightResponse\x12\x87\x01\n\x14\x62roadcastTransaction\x12\x36.org.dash.platform.dapi.v0.BroadcastTransactionRequest\x1a\x37.org.dash.platform.dapi.v0.BroadcastTransactionResponse\x12u\n\x0egetTransaction\x12\x30.org.dash.platform.dapi.v0.GetTransactionRequest\x1a\x31.org.dash.platform.dapi.v0.GetTransactionResponse\x12\x99\x01\n\x1agetEstimatedTransactionFee\x12<.org.dash.platform.dapi.v0.GetEstimatedTransactionFeeRequest\x1a=.org.dash.platform.dapi.v0.GetEstimatedTransactionFeeResponse\x12\xa6\x01\n%subscribeToBlockHeadersWithChainLocks\x12<.org.dash.platform.dapi.v0.BlockHeadersWithChainLocksRequest\x1a=.org.dash.platform.dapi.v0.BlockHeadersWithChainLocksResponse0\x01\x12\x9a\x01\n!subscribeToTransactionsWithProofs\x12\x38.org.dash.platform.dapi.v0.TransactionsWithProofsRequest\x1a\x39.org.dash.platform.dapi.v0.TransactionsWithProofsResponse0\x01\x12\x82\x01\n\x19subscribeToMasternodeList\x12\x30.org.dash.platform.dapi.v0.MasternodeListRequest\x1a\x31.org.dash.platform.dapi.v0.MasternodeListResponse0\x01\x62\x06proto3'
)
-_GETSTATUSRESPONSE_MASTERNODE_STATUS = _descriptor.EnumDescriptor(
+_GETBLOCKCHAINSTATUSRESPONSE_STATUS = _descriptor.EnumDescriptor(
name='Status',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status',
+ full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
- name='UNKNOWN', index=0, number=0,
+ name='NOT_STARTED', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='WAITING_FOR_PROTX', index=1, number=1,
+ name='SYNCING', index=1, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='POSE_BANNED', index=2, number=2,
+ name='READY', index=2, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='REMOVED', index=3, number=3,
+ name='ERROR', index=3, number=3,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
+ ],
+ containing_type=None,
+ serialized_options=None,
+ serialized_start=972,
+ serialized_end=1032,
+)
+_sym_db.RegisterEnumDescriptor(_GETBLOCKCHAINSTATUSRESPONSE_STATUS)
+
+_GETMASTERNODESTATUSRESPONSE_STATUS = _descriptor.EnumDescriptor(
+ name='Status',
+ full_name='org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status',
+ filename=None,
+ file=DESCRIPTOR,
+ create_key=_descriptor._internal_create_key,
+ values=[
_descriptor.EnumValueDescriptor(
- name='OPERATOR_KEY_CHANGED', index=4, number=4,
+ name='UNKNOWN', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='PROTX_IP_CHANGED', index=5, number=5,
+ name='WAITING_FOR_PROTX', index=1, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='READY', index=6, number=6,
+ name='POSE_BANNED', index=2, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='ERROR', index=7, number=7,
+ name='REMOVED', index=3, number=3,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=998,
- serialized_end=1142,
-)
-_sym_db.RegisterEnumDescriptor(_GETSTATUSRESPONSE_MASTERNODE_STATUS)
-
-_GETSTATUSRESPONSE_STATUS = _descriptor.EnumDescriptor(
- name='Status',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse.Status',
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
_descriptor.EnumValueDescriptor(
- name='NOT_STARTED', index=0, number=0,
+ name='OPERATOR_KEY_CHANGED', index=4, number=4,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='SYNCING', index=1, number=1,
+ name='PROTX_IP_CHANGED', index=5, number=5,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='READY', index=2, number=2,
+ name='READY', index=6, number=6,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
- name='ERROR', index=3, number=3,
+ name='ERROR', index=7, number=7,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
- serialized_start=1296,
- serialized_end=1356,
+ serialized_start=1261,
+ serialized_end=1405,
)
-_sym_db.RegisterEnumDescriptor(_GETSTATUSRESPONSE_STATUS)
+_sym_db.RegisterEnumDescriptor(_GETMASTERNODESTATUSRESPONSE_STATUS)
-_GETSTATUSREQUEST = _descriptor.Descriptor(
- name='GetStatusRequest',
- full_name='org.dash.platform.dapi.v0.GetStatusRequest',
+_GETBLOCKCHAINSTATUSREQUEST = _descriptor.Descriptor(
+ name='GetBlockchainStatusRequest',
+ full_name='org.dash.platform.dapi.v0.GetBlockchainStatusRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -136,34 +136,34 @@
oneofs=[
],
serialized_start=41,
- serialized_end=59,
+ serialized_end=69,
)
-_GETSTATUSRESPONSE_VERSION = _descriptor.Descriptor(
+_GETBLOCKCHAINSTATUSRESPONSE_VERSION = _descriptor.Descriptor(
name='Version',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse.Version',
+ full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='protocol', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Version.protocol', index=0,
+ name='protocol', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.protocol', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='software', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Version.software', index=1,
+ name='software', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.software', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='agent', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Version.agent', index=2,
+ name='agent', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.agent', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
@@ -181,34 +181,34 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=526,
- serialized_end=586,
+ serialized_start=519,
+ serialized_end=579,
)
-_GETSTATUSRESPONSE_TIME = _descriptor.Descriptor(
+_GETBLOCKCHAINSTATUSRESPONSE_TIME = _descriptor.Descriptor(
name='Time',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse.Time',
+ full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='now', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Time.now', index=0,
+ name='now', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.now', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='offset', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Time.offset', index=1,
+ name='offset', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.offset', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='median', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Time.median', index=2,
+ name='median', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.median', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
@@ -226,69 +226,69 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=588,
- serialized_end=639,
+ serialized_start=581,
+ serialized_end=632,
)
-_GETSTATUSRESPONSE_CHAIN = _descriptor.Descriptor(
+_GETBLOCKCHAINSTATUSRESPONSE_CHAIN = _descriptor.Descriptor(
name='Chain',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain',
+ full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='name', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain.name', index=0,
+ name='name', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='headers_count', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain.headers_count', index=1,
+ name='headers_count', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.headers_count', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='blocks_count', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain.blocks_count', index=2,
+ name='blocks_count', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.blocks_count', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='best_block_hash', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain.best_block_hash', index=3,
+ name='best_block_hash', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.best_block_hash', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='difficulty', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain.difficulty', index=4,
+ name='difficulty', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.difficulty', index=4,
number=5, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='chain_work', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain.chain_work', index=5,
+ name='chain_work', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.chain_work', index=5,
number=6, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='is_synced', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain.is_synced', index=6,
+ name='is_synced', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.is_synced', index=6,
number=7, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='sync_progress', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Chain.sync_progress', index=7,
+ name='sync_progress', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.sync_progress', index=7,
number=8, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
@@ -306,49 +306,28 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=642,
- serialized_end=815,
+ serialized_start=635,
+ serialized_end=808,
)
-_GETSTATUSRESPONSE_MASTERNODE = _descriptor.Descriptor(
- name='Masternode',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse.Masternode',
+_GETBLOCKCHAINSTATUSRESPONSE_NETWORKFEE = _descriptor.Descriptor(
+ name='NetworkFee',
+ full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='status', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Masternode.status', index=0,
- number=1, type=14, cpp_type=8, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='pro_tx_hash', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Masternode.pro_tx_hash', index=1,
- number=2, type=12, cpp_type=9, label=1,
- has_default_value=False, default_value=b"",
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='pose_penalty', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Masternode.pose_penalty', index=2,
- number=3, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='is_synced', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Masternode.is_synced', index=3,
- number=4, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
+ name='relay', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.relay', index=0,
+ number=1, type=1, cpp_type=5, label=1,
+ has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='sync_progress', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Masternode.sync_progress', index=4,
- number=5, type=1, cpp_type=5, label=1,
+ name='incremental', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.incremental', index=1,
+ number=2, type=1, cpp_type=5, label=1,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
@@ -358,7 +337,6 @@
],
nested_types=[],
enum_types=[
- _GETSTATUSRESPONSE_MASTERNODE_STATUS,
],
serialized_options=None,
is_extendable=False,
@@ -366,29 +344,29 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=818,
- serialized_end=1142,
+ serialized_start=810,
+ serialized_end=858,
)
-_GETSTATUSRESPONSE_NETWORKFEE = _descriptor.Descriptor(
- name='NetworkFee',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee',
+_GETBLOCKCHAINSTATUSRESPONSE_NETWORK = _descriptor.Descriptor(
+ name='Network',
+ full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='relay', full_name='org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.relay', index=0,
- number=1, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
+ name='peers_count', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.peers_count', index=0,
+ number=1, type=13, cpp_type=3, label=1,
+ has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='incremental', full_name='org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.incremental', index=1,
- number=2, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
+ name='fee', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.fee', index=1,
+ number=2, type=11, cpp_type=10, label=1,
+ has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
@@ -404,32 +382,86 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1144,
- serialized_end=1192,
+ serialized_start=860,
+ serialized_end=970,
)
-_GETSTATUSRESPONSE_NETWORK = _descriptor.Descriptor(
- name='Network',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse.Network',
+_GETBLOCKCHAINSTATUSRESPONSE = _descriptor.Descriptor(
+ name='GetBlockchainStatusResponse',
+ full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='peers_count', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Network.peers_count', index=0,
- number=1, type=13, cpp_type=3, label=1,
- has_default_value=False, default_value=0,
+ name='version', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.version', index=0,
+ number=1, type=11, cpp_type=10, label=1,
+ has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='fee', full_name='org.dash.platform.dapi.v0.GetStatusResponse.Network.fee', index=1,
+ name='time', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.time', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='status', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.status', index=2,
+ number=3, type=14, cpp_type=8, label=1,
+ has_default_value=False, default_value=0,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='sync_progress', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.sync_progress', index=3,
+ number=4, type=1, cpp_type=5, label=1,
+ has_default_value=False, default_value=float(0),
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='chain', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.chain', index=4,
+ number=5, type=11, cpp_type=10, label=1,
+ has_default_value=False, default_value=None,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='network', full_name='org.dash.platform.dapi.v0.GetBlockchainStatusResponse.network', index=5,
+ number=7, type=11, cpp_type=10, label=1,
+ has_default_value=False, default_value=None,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ ],
+ extensions=[
+ ],
+ nested_types=[_GETBLOCKCHAINSTATUSRESPONSE_VERSION, _GETBLOCKCHAINSTATUSRESPONSE_TIME, _GETBLOCKCHAINSTATUSRESPONSE_CHAIN, _GETBLOCKCHAINSTATUSRESPONSE_NETWORKFEE, _GETBLOCKCHAINSTATUSRESPONSE_NETWORK, ],
+ enum_types=[
+ _GETBLOCKCHAINSTATUSRESPONSE_STATUS,
+ ],
+ serialized_options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=72,
+ serialized_end=1032,
+)
+
+
+_GETMASTERNODESTATUSREQUEST = _descriptor.Descriptor(
+ name='GetMasternodeStatusRequest',
+ full_name='org.dash.platform.dapi.v0.GetMasternodeStatusRequest',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[
],
extensions=[
],
@@ -442,73 +474,60 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1194,
- serialized_end=1294,
+ serialized_start=1034,
+ serialized_end=1062,
)
-_GETSTATUSRESPONSE = _descriptor.Descriptor(
- name='GetStatusResponse',
- full_name='org.dash.platform.dapi.v0.GetStatusResponse',
+
+_GETMASTERNODESTATUSRESPONSE = _descriptor.Descriptor(
+ name='GetMasternodeStatusResponse',
+ full_name='org.dash.platform.dapi.v0.GetMasternodeStatusResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='version', full_name='org.dash.platform.dapi.v0.GetStatusResponse.version', index=0,
- number=1, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='time', full_name='org.dash.platform.dapi.v0.GetStatusResponse.time', index=1,
- number=2, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='status', full_name='org.dash.platform.dapi.v0.GetStatusResponse.status', index=2,
- number=3, type=14, cpp_type=8, label=1,
+ name='status', full_name='org.dash.platform.dapi.v0.GetMasternodeStatusResponse.status', index=0,
+ number=1, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='sync_progress', full_name='org.dash.platform.dapi.v0.GetStatusResponse.sync_progress', index=3,
- number=4, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
+ name='pro_tx_hash', full_name='org.dash.platform.dapi.v0.GetMasternodeStatusResponse.pro_tx_hash', index=1,
+ number=2, type=12, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='chain', full_name='org.dash.platform.dapi.v0.GetStatusResponse.chain', index=4,
- number=5, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
+ name='pose_penalty', full_name='org.dash.platform.dapi.v0.GetMasternodeStatusResponse.pose_penalty', index=2,
+ number=3, type=13, cpp_type=3, label=1,
+ has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='masternode', full_name='org.dash.platform.dapi.v0.GetStatusResponse.masternode', index=5,
- number=6, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
+ name='is_synced', full_name='org.dash.platform.dapi.v0.GetMasternodeStatusResponse.is_synced', index=3,
+ number=4, type=8, cpp_type=7, label=1,
+ has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='network', full_name='org.dash.platform.dapi.v0.GetStatusResponse.network', index=6,
- number=7, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
+ name='sync_progress', full_name='org.dash.platform.dapi.v0.GetMasternodeStatusResponse.sync_progress', index=4,
+ number=5, type=1, cpp_type=5, label=1,
+ has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
- nested_types=[_GETSTATUSRESPONSE_VERSION, _GETSTATUSRESPONSE_TIME, _GETSTATUSRESPONSE_CHAIN, _GETSTATUSRESPONSE_MASTERNODE, _GETSTATUSRESPONSE_NETWORKFEE, _GETSTATUSRESPONSE_NETWORK, ],
+ nested_types=[],
enum_types=[
- _GETSTATUSRESPONSE_STATUS,
+ _GETMASTERNODESTATUSRESPONSE_STATUS,
],
serialized_options=None,
is_extendable=False,
@@ -516,8 +535,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=62,
- serialized_end=1356,
+ serialized_start=1065,
+ serialized_end=1405,
)
@@ -560,8 +579,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=1358,
- serialized_end=1418,
+ serialized_start=1407,
+ serialized_end=1467,
)
@@ -592,8 +611,65 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1420,
- serialized_end=1453,
+ serialized_start=1469,
+ serialized_end=1502,
+)
+
+
+_GETBESTBLOCKHEIGHTREQUEST = _descriptor.Descriptor(
+ name='GetBestBlockHeightRequest',
+ full_name='org.dash.platform.dapi.v0.GetBestBlockHeightRequest',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ serialized_options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=1504,
+ serialized_end=1531,
+)
+
+
+_GETBESTBLOCKHEIGHTRESPONSE = _descriptor.Descriptor(
+ name='GetBestBlockHeightResponse',
+ full_name='org.dash.platform.dapi.v0.GetBestBlockHeightResponse',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='height', full_name='org.dash.platform.dapi.v0.GetBestBlockHeightResponse.height', index=0,
+ number=1, type=13, cpp_type=3, label=1,
+ has_default_value=False, default_value=0,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ serialized_options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=1533,
+ serialized_end=1577,
)
@@ -638,8 +714,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1455,
- serialized_end=1553,
+ serialized_start=1579,
+ serialized_end=1677,
)
@@ -670,8 +746,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1555,
- serialized_end=1609,
+ serialized_start=1679,
+ serialized_end=1733,
)
@@ -702,8 +778,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1611,
- serialized_end=1646,
+ serialized_start=1735,
+ serialized_end=1770,
)
@@ -769,8 +845,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1649,
- serialized_end=1805,
+ serialized_start=1773,
+ serialized_end=1929,
)
@@ -820,8 +896,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=1807,
- serialized_end=1927,
+ serialized_start=1931,
+ serialized_end=2051,
)
@@ -864,8 +940,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=1930,
- serialized_end=2067,
+ serialized_start=2054,
+ serialized_end=2191,
)
@@ -896,8 +972,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2069,
- serialized_end=2100,
+ serialized_start=2193,
+ serialized_end=2224,
)
@@ -928,8 +1004,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2102,
- serialized_end=2153,
+ serialized_start=2226,
+ serialized_end=2277,
)
@@ -960,8 +1036,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2155,
- serialized_end=2204,
+ serialized_start=2279,
+ serialized_end=2328,
)
@@ -1025,8 +1101,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=2207,
- serialized_end=2418,
+ serialized_start=2331,
+ serialized_end=2542,
)
@@ -1078,8 +1154,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2420,
- serialized_end=2505,
+ serialized_start=2544,
+ serialized_end=2629,
)
@@ -1129,8 +1205,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=2508,
- serialized_end=2743,
+ serialized_start=2632,
+ serialized_end=2867,
)
@@ -1161,8 +1237,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2745,
- serialized_end=2784,
+ serialized_start=2869,
+ serialized_end=2908,
)
@@ -1193,26 +1269,81 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=2786,
- serialized_end=2829,
+ serialized_start=2910,
+ serialized_end=2953,
+)
+
+
+_MASTERNODELISTREQUEST = _descriptor.Descriptor(
+ name='MasternodeListRequest',
+ full_name='org.dash.platform.dapi.v0.MasternodeListRequest',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ serialized_options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=2955,
+ serialized_end=2978,
)
-_GETSTATUSRESPONSE_VERSION.containing_type = _GETSTATUSRESPONSE
-_GETSTATUSRESPONSE_TIME.containing_type = _GETSTATUSRESPONSE
-_GETSTATUSRESPONSE_CHAIN.containing_type = _GETSTATUSRESPONSE
-_GETSTATUSRESPONSE_MASTERNODE.fields_by_name['status'].enum_type = _GETSTATUSRESPONSE_MASTERNODE_STATUS
-_GETSTATUSRESPONSE_MASTERNODE.containing_type = _GETSTATUSRESPONSE
-_GETSTATUSRESPONSE_MASTERNODE_STATUS.containing_type = _GETSTATUSRESPONSE_MASTERNODE
-_GETSTATUSRESPONSE_NETWORKFEE.containing_type = _GETSTATUSRESPONSE
-_GETSTATUSRESPONSE_NETWORK.fields_by_name['fee'].message_type = _GETSTATUSRESPONSE_NETWORKFEE
-_GETSTATUSRESPONSE_NETWORK.containing_type = _GETSTATUSRESPONSE
-_GETSTATUSRESPONSE.fields_by_name['version'].message_type = _GETSTATUSRESPONSE_VERSION
-_GETSTATUSRESPONSE.fields_by_name['time'].message_type = _GETSTATUSRESPONSE_TIME
-_GETSTATUSRESPONSE.fields_by_name['status'].enum_type = _GETSTATUSRESPONSE_STATUS
-_GETSTATUSRESPONSE.fields_by_name['chain'].message_type = _GETSTATUSRESPONSE_CHAIN
-_GETSTATUSRESPONSE.fields_by_name['masternode'].message_type = _GETSTATUSRESPONSE_MASTERNODE
-_GETSTATUSRESPONSE.fields_by_name['network'].message_type = _GETSTATUSRESPONSE_NETWORK
-_GETSTATUSRESPONSE_STATUS.containing_type = _GETSTATUSRESPONSE
+
+_MASTERNODELISTRESPONSE = _descriptor.Descriptor(
+ name='MasternodeListResponse',
+ full_name='org.dash.platform.dapi.v0.MasternodeListResponse',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='masternode_list_diff', full_name='org.dash.platform.dapi.v0.MasternodeListResponse.masternode_list_diff', index=0,
+ number=1, type=12, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"",
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ serialized_options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=2980,
+ serialized_end=3034,
+)
+
+_GETBLOCKCHAINSTATUSRESPONSE_VERSION.containing_type = _GETBLOCKCHAINSTATUSRESPONSE
+_GETBLOCKCHAINSTATUSRESPONSE_TIME.containing_type = _GETBLOCKCHAINSTATUSRESPONSE
+_GETBLOCKCHAINSTATUSRESPONSE_CHAIN.containing_type = _GETBLOCKCHAINSTATUSRESPONSE
+_GETBLOCKCHAINSTATUSRESPONSE_NETWORKFEE.containing_type = _GETBLOCKCHAINSTATUSRESPONSE
+_GETBLOCKCHAINSTATUSRESPONSE_NETWORK.fields_by_name['fee'].message_type = _GETBLOCKCHAINSTATUSRESPONSE_NETWORKFEE
+_GETBLOCKCHAINSTATUSRESPONSE_NETWORK.containing_type = _GETBLOCKCHAINSTATUSRESPONSE
+_GETBLOCKCHAINSTATUSRESPONSE.fields_by_name['version'].message_type = _GETBLOCKCHAINSTATUSRESPONSE_VERSION
+_GETBLOCKCHAINSTATUSRESPONSE.fields_by_name['time'].message_type = _GETBLOCKCHAINSTATUSRESPONSE_TIME
+_GETBLOCKCHAINSTATUSRESPONSE.fields_by_name['status'].enum_type = _GETBLOCKCHAINSTATUSRESPONSE_STATUS
+_GETBLOCKCHAINSTATUSRESPONSE.fields_by_name['chain'].message_type = _GETBLOCKCHAINSTATUSRESPONSE_CHAIN
+_GETBLOCKCHAINSTATUSRESPONSE.fields_by_name['network'].message_type = _GETBLOCKCHAINSTATUSRESPONSE_NETWORK
+_GETBLOCKCHAINSTATUSRESPONSE_STATUS.containing_type = _GETBLOCKCHAINSTATUSRESPONSE
+_GETMASTERNODESTATUSRESPONSE.fields_by_name['status'].enum_type = _GETMASTERNODESTATUSRESPONSE_STATUS
+_GETMASTERNODESTATUSRESPONSE_STATUS.containing_type = _GETMASTERNODESTATUSRESPONSE
_GETBLOCKREQUEST.oneofs_by_name['block'].fields.append(
_GETBLOCKREQUEST.fields_by_name['height'])
_GETBLOCKREQUEST.fields_by_name['height'].containing_oneof = _GETBLOCKREQUEST.oneofs_by_name['block']
@@ -1250,10 +1381,14 @@
_TRANSACTIONSWITHPROOFSRESPONSE.oneofs_by_name['responses'].fields.append(
_TRANSACTIONSWITHPROOFSRESPONSE.fields_by_name['raw_merkle_block'])
_TRANSACTIONSWITHPROOFSRESPONSE.fields_by_name['raw_merkle_block'].containing_oneof = _TRANSACTIONSWITHPROOFSRESPONSE.oneofs_by_name['responses']
-DESCRIPTOR.message_types_by_name['GetStatusRequest'] = _GETSTATUSREQUEST
-DESCRIPTOR.message_types_by_name['GetStatusResponse'] = _GETSTATUSRESPONSE
+DESCRIPTOR.message_types_by_name['GetBlockchainStatusRequest'] = _GETBLOCKCHAINSTATUSREQUEST
+DESCRIPTOR.message_types_by_name['GetBlockchainStatusResponse'] = _GETBLOCKCHAINSTATUSRESPONSE
+DESCRIPTOR.message_types_by_name['GetMasternodeStatusRequest'] = _GETMASTERNODESTATUSREQUEST
+DESCRIPTOR.message_types_by_name['GetMasternodeStatusResponse'] = _GETMASTERNODESTATUSRESPONSE
DESCRIPTOR.message_types_by_name['GetBlockRequest'] = _GETBLOCKREQUEST
DESCRIPTOR.message_types_by_name['GetBlockResponse'] = _GETBLOCKRESPONSE
+DESCRIPTOR.message_types_by_name['GetBestBlockHeightRequest'] = _GETBESTBLOCKHEIGHTREQUEST
+DESCRIPTOR.message_types_by_name['GetBestBlockHeightResponse'] = _GETBESTBLOCKHEIGHTRESPONSE
DESCRIPTOR.message_types_by_name['BroadcastTransactionRequest'] = _BROADCASTTRANSACTIONREQUEST
DESCRIPTOR.message_types_by_name['BroadcastTransactionResponse'] = _BROADCASTTRANSACTIONRESPONSE
DESCRIPTOR.message_types_by_name['GetTransactionRequest'] = _GETTRANSACTIONREQUEST
@@ -1268,69 +1403,77 @@
DESCRIPTOR.message_types_by_name['TransactionsWithProofsResponse'] = _TRANSACTIONSWITHPROOFSRESPONSE
DESCRIPTOR.message_types_by_name['RawTransactions'] = _RAWTRANSACTIONS
DESCRIPTOR.message_types_by_name['InstantSendLockMessages'] = _INSTANTSENDLOCKMESSAGES
+DESCRIPTOR.message_types_by_name['MasternodeListRequest'] = _MASTERNODELISTREQUEST
+DESCRIPTOR.message_types_by_name['MasternodeListResponse'] = _MASTERNODELISTRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
-GetStatusRequest = _reflection.GeneratedProtocolMessageType('GetStatusRequest', (_message.Message,), {
- 'DESCRIPTOR' : _GETSTATUSREQUEST,
+GetBlockchainStatusRequest = _reflection.GeneratedProtocolMessageType('GetBlockchainStatusRequest', (_message.Message,), {
+ 'DESCRIPTOR' : _GETBLOCKCHAINSTATUSREQUEST,
'__module__' : 'core_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetStatusRequest)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBlockchainStatusRequest)
})
-_sym_db.RegisterMessage(GetStatusRequest)
+_sym_db.RegisterMessage(GetBlockchainStatusRequest)
-GetStatusResponse = _reflection.GeneratedProtocolMessageType('GetStatusResponse', (_message.Message,), {
+GetBlockchainStatusResponse = _reflection.GeneratedProtocolMessageType('GetBlockchainStatusResponse', (_message.Message,), {
'Version' : _reflection.GeneratedProtocolMessageType('Version', (_message.Message,), {
- 'DESCRIPTOR' : _GETSTATUSRESPONSE_VERSION,
+ 'DESCRIPTOR' : _GETBLOCKCHAINSTATUSRESPONSE_VERSION,
'__module__' : 'core_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetStatusResponse.Version)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version)
})
,
'Time' : _reflection.GeneratedProtocolMessageType('Time', (_message.Message,), {
- 'DESCRIPTOR' : _GETSTATUSRESPONSE_TIME,
+ 'DESCRIPTOR' : _GETBLOCKCHAINSTATUSRESPONSE_TIME,
'__module__' : 'core_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetStatusResponse.Time)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time)
})
,
'Chain' : _reflection.GeneratedProtocolMessageType('Chain', (_message.Message,), {
- 'DESCRIPTOR' : _GETSTATUSRESPONSE_CHAIN,
- '__module__' : 'core_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetStatusResponse.Chain)
- })
- ,
-
- 'Masternode' : _reflection.GeneratedProtocolMessageType('Masternode', (_message.Message,), {
- 'DESCRIPTOR' : _GETSTATUSRESPONSE_MASTERNODE,
+ 'DESCRIPTOR' : _GETBLOCKCHAINSTATUSRESPONSE_CHAIN,
'__module__' : 'core_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetStatusResponse.Masternode)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain)
})
,
'NetworkFee' : _reflection.GeneratedProtocolMessageType('NetworkFee', (_message.Message,), {
- 'DESCRIPTOR' : _GETSTATUSRESPONSE_NETWORKFEE,
+ 'DESCRIPTOR' : _GETBLOCKCHAINSTATUSRESPONSE_NETWORKFEE,
'__module__' : 'core_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee)
})
,
'Network' : _reflection.GeneratedProtocolMessageType('Network', (_message.Message,), {
- 'DESCRIPTOR' : _GETSTATUSRESPONSE_NETWORK,
+ 'DESCRIPTOR' : _GETBLOCKCHAINSTATUSRESPONSE_NETWORK,
'__module__' : 'core_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetStatusResponse.Network)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network)
})
,
- 'DESCRIPTOR' : _GETSTATUSRESPONSE,
+ 'DESCRIPTOR' : _GETBLOCKCHAINSTATUSRESPONSE,
'__module__' : 'core_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetStatusResponse)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBlockchainStatusResponse)
})
-_sym_db.RegisterMessage(GetStatusResponse)
-_sym_db.RegisterMessage(GetStatusResponse.Version)
-_sym_db.RegisterMessage(GetStatusResponse.Time)
-_sym_db.RegisterMessage(GetStatusResponse.Chain)
-_sym_db.RegisterMessage(GetStatusResponse.Masternode)
-_sym_db.RegisterMessage(GetStatusResponse.NetworkFee)
-_sym_db.RegisterMessage(GetStatusResponse.Network)
+_sym_db.RegisterMessage(GetBlockchainStatusResponse)
+_sym_db.RegisterMessage(GetBlockchainStatusResponse.Version)
+_sym_db.RegisterMessage(GetBlockchainStatusResponse.Time)
+_sym_db.RegisterMessage(GetBlockchainStatusResponse.Chain)
+_sym_db.RegisterMessage(GetBlockchainStatusResponse.NetworkFee)
+_sym_db.RegisterMessage(GetBlockchainStatusResponse.Network)
+
+GetMasternodeStatusRequest = _reflection.GeneratedProtocolMessageType('GetMasternodeStatusRequest', (_message.Message,), {
+ 'DESCRIPTOR' : _GETMASTERNODESTATUSREQUEST,
+ '__module__' : 'core_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetMasternodeStatusRequest)
+ })
+_sym_db.RegisterMessage(GetMasternodeStatusRequest)
+
+GetMasternodeStatusResponse = _reflection.GeneratedProtocolMessageType('GetMasternodeStatusResponse', (_message.Message,), {
+ 'DESCRIPTOR' : _GETMASTERNODESTATUSRESPONSE,
+ '__module__' : 'core_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetMasternodeStatusResponse)
+ })
+_sym_db.RegisterMessage(GetMasternodeStatusResponse)
GetBlockRequest = _reflection.GeneratedProtocolMessageType('GetBlockRequest', (_message.Message,), {
'DESCRIPTOR' : _GETBLOCKREQUEST,
@@ -1346,6 +1489,20 @@
})
_sym_db.RegisterMessage(GetBlockResponse)
+GetBestBlockHeightRequest = _reflection.GeneratedProtocolMessageType('GetBestBlockHeightRequest', (_message.Message,), {
+ 'DESCRIPTOR' : _GETBESTBLOCKHEIGHTREQUEST,
+ '__module__' : 'core_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBestBlockHeightRequest)
+ })
+_sym_db.RegisterMessage(GetBestBlockHeightRequest)
+
+GetBestBlockHeightResponse = _reflection.GeneratedProtocolMessageType('GetBestBlockHeightResponse', (_message.Message,), {
+ 'DESCRIPTOR' : _GETBESTBLOCKHEIGHTRESPONSE,
+ '__module__' : 'core_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetBestBlockHeightResponse)
+ })
+_sym_db.RegisterMessage(GetBestBlockHeightResponse)
+
BroadcastTransactionRequest = _reflection.GeneratedProtocolMessageType('BroadcastTransactionRequest', (_message.Message,), {
'DESCRIPTOR' : _BROADCASTTRANSACTIONREQUEST,
'__module__' : 'core_pb2'
@@ -1444,6 +1601,20 @@
})
_sym_db.RegisterMessage(InstantSendLockMessages)
+MasternodeListRequest = _reflection.GeneratedProtocolMessageType('MasternodeListRequest', (_message.Message,), {
+ 'DESCRIPTOR' : _MASTERNODELISTREQUEST,
+ '__module__' : 'core_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.MasternodeListRequest)
+ })
+_sym_db.RegisterMessage(MasternodeListRequest)
+
+MasternodeListResponse = _reflection.GeneratedProtocolMessageType('MasternodeListResponse', (_message.Message,), {
+ 'DESCRIPTOR' : _MASTERNODELISTRESPONSE,
+ '__module__' : 'core_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.MasternodeListResponse)
+ })
+_sym_db.RegisterMessage(MasternodeListResponse)
+
_CORE = _descriptor.ServiceDescriptor(
@@ -1453,33 +1624,53 @@
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
- serialized_start=2832,
- serialized_end=3782,
+ serialized_start=3037,
+ serialized_end=4418,
methods=[
_descriptor.MethodDescriptor(
- name='getStatus',
- full_name='org.dash.platform.dapi.v0.Core.getStatus',
+ name='getBlockchainStatus',
+ full_name='org.dash.platform.dapi.v0.Core.getBlockchainStatus',
index=0,
containing_service=None,
- input_type=_GETSTATUSREQUEST,
- output_type=_GETSTATUSRESPONSE,
+ input_type=_GETBLOCKCHAINSTATUSREQUEST,
+ output_type=_GETBLOCKCHAINSTATUSRESPONSE,
+ serialized_options=None,
+ create_key=_descriptor._internal_create_key,
+ ),
+ _descriptor.MethodDescriptor(
+ name='getMasternodeStatus',
+ full_name='org.dash.platform.dapi.v0.Core.getMasternodeStatus',
+ index=1,
+ containing_service=None,
+ input_type=_GETMASTERNODESTATUSREQUEST,
+ output_type=_GETMASTERNODESTATUSRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='getBlock',
full_name='org.dash.platform.dapi.v0.Core.getBlock',
- index=1,
+ index=2,
containing_service=None,
input_type=_GETBLOCKREQUEST,
output_type=_GETBLOCKRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
+ _descriptor.MethodDescriptor(
+ name='getBestBlockHeight',
+ full_name='org.dash.platform.dapi.v0.Core.getBestBlockHeight',
+ index=3,
+ containing_service=None,
+ input_type=_GETBESTBLOCKHEIGHTREQUEST,
+ output_type=_GETBESTBLOCKHEIGHTRESPONSE,
+ serialized_options=None,
+ create_key=_descriptor._internal_create_key,
+ ),
_descriptor.MethodDescriptor(
name='broadcastTransaction',
full_name='org.dash.platform.dapi.v0.Core.broadcastTransaction',
- index=2,
+ index=4,
containing_service=None,
input_type=_BROADCASTTRANSACTIONREQUEST,
output_type=_BROADCASTTRANSACTIONRESPONSE,
@@ -1489,7 +1680,7 @@
_descriptor.MethodDescriptor(
name='getTransaction',
full_name='org.dash.platform.dapi.v0.Core.getTransaction',
- index=3,
+ index=5,
containing_service=None,
input_type=_GETTRANSACTIONREQUEST,
output_type=_GETTRANSACTIONRESPONSE,
@@ -1499,7 +1690,7 @@
_descriptor.MethodDescriptor(
name='getEstimatedTransactionFee',
full_name='org.dash.platform.dapi.v0.Core.getEstimatedTransactionFee',
- index=4,
+ index=6,
containing_service=None,
input_type=_GETESTIMATEDTRANSACTIONFEEREQUEST,
output_type=_GETESTIMATEDTRANSACTIONFEERESPONSE,
@@ -1509,7 +1700,7 @@
_descriptor.MethodDescriptor(
name='subscribeToBlockHeadersWithChainLocks',
full_name='org.dash.platform.dapi.v0.Core.subscribeToBlockHeadersWithChainLocks',
- index=5,
+ index=7,
containing_service=None,
input_type=_BLOCKHEADERSWITHCHAINLOCKSREQUEST,
output_type=_BLOCKHEADERSWITHCHAINLOCKSRESPONSE,
@@ -1519,13 +1710,23 @@
_descriptor.MethodDescriptor(
name='subscribeToTransactionsWithProofs',
full_name='org.dash.platform.dapi.v0.Core.subscribeToTransactionsWithProofs',
- index=6,
+ index=8,
containing_service=None,
input_type=_TRANSACTIONSWITHPROOFSREQUEST,
output_type=_TRANSACTIONSWITHPROOFSRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
+ _descriptor.MethodDescriptor(
+ name='subscribeToMasternodeList',
+ full_name='org.dash.platform.dapi.v0.Core.subscribeToMasternodeList',
+ index=9,
+ containing_service=None,
+ input_type=_MASTERNODELISTREQUEST,
+ output_type=_MASTERNODELISTRESPONSE,
+ serialized_options=None,
+ create_key=_descriptor._internal_create_key,
+ ),
])
_sym_db.RegisterServiceDescriptor(_CORE)
diff --git a/packages/dapi-grpc/clients/core/v0/python/core_pb2_grpc.py b/packages/dapi-grpc/clients/core/v0/python/core_pb2_grpc.py
index e8a4eec3513..1ec1d99748b 100644
--- a/packages/dapi-grpc/clients/core/v0/python/core_pb2_grpc.py
+++ b/packages/dapi-grpc/clients/core/v0/python/core_pb2_grpc.py
@@ -14,16 +14,26 @@ def __init__(self, channel):
Args:
channel: A grpc.Channel.
"""
- self.getStatus = channel.unary_unary(
- '/org.dash.platform.dapi.v0.Core/getStatus',
- request_serializer=core__pb2.GetStatusRequest.SerializeToString,
- response_deserializer=core__pb2.GetStatusResponse.FromString,
+ self.getBlockchainStatus = channel.unary_unary(
+ '/org.dash.platform.dapi.v0.Core/getBlockchainStatus',
+ request_serializer=core__pb2.GetBlockchainStatusRequest.SerializeToString,
+ response_deserializer=core__pb2.GetBlockchainStatusResponse.FromString,
+ )
+ self.getMasternodeStatus = channel.unary_unary(
+ '/org.dash.platform.dapi.v0.Core/getMasternodeStatus',
+ request_serializer=core__pb2.GetMasternodeStatusRequest.SerializeToString,
+ response_deserializer=core__pb2.GetMasternodeStatusResponse.FromString,
)
self.getBlock = channel.unary_unary(
'/org.dash.platform.dapi.v0.Core/getBlock',
request_serializer=core__pb2.GetBlockRequest.SerializeToString,
response_deserializer=core__pb2.GetBlockResponse.FromString,
)
+ self.getBestBlockHeight = channel.unary_unary(
+ '/org.dash.platform.dapi.v0.Core/getBestBlockHeight',
+ request_serializer=core__pb2.GetBestBlockHeightRequest.SerializeToString,
+ response_deserializer=core__pb2.GetBestBlockHeightResponse.FromString,
+ )
self.broadcastTransaction = channel.unary_unary(
'/org.dash.platform.dapi.v0.Core/broadcastTransaction',
request_serializer=core__pb2.BroadcastTransactionRequest.SerializeToString,
@@ -49,12 +59,23 @@ def __init__(self, channel):
request_serializer=core__pb2.TransactionsWithProofsRequest.SerializeToString,
response_deserializer=core__pb2.TransactionsWithProofsResponse.FromString,
)
+ self.subscribeToMasternodeList = channel.unary_stream(
+ '/org.dash.platform.dapi.v0.Core/subscribeToMasternodeList',
+ request_serializer=core__pb2.MasternodeListRequest.SerializeToString,
+ response_deserializer=core__pb2.MasternodeListResponse.FromString,
+ )
class CoreServicer(object):
"""Missing associated documentation comment in .proto file."""
- def getStatus(self, request, context):
+ def getBlockchainStatus(self, request, context):
+ """Missing associated documentation comment in .proto file."""
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details('Method not implemented!')
+ raise NotImplementedError('Method not implemented!')
+
+ def getMasternodeStatus(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
@@ -66,6 +87,12 @@ def getBlock(self, request, context):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
+ def getBestBlockHeight(self, request, context):
+ """Missing associated documentation comment in .proto file."""
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details('Method not implemented!')
+ raise NotImplementedError('Method not implemented!')
+
def broadcastTransaction(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
@@ -96,19 +123,35 @@ def subscribeToTransactionsWithProofs(self, request, context):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
+ def subscribeToMasternodeList(self, request, context):
+ """Missing associated documentation comment in .proto file."""
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details('Method not implemented!')
+ raise NotImplementedError('Method not implemented!')
+
def add_CoreServicer_to_server(servicer, server):
rpc_method_handlers = {
- 'getStatus': grpc.unary_unary_rpc_method_handler(
- servicer.getStatus,
- request_deserializer=core__pb2.GetStatusRequest.FromString,
- response_serializer=core__pb2.GetStatusResponse.SerializeToString,
+ 'getBlockchainStatus': grpc.unary_unary_rpc_method_handler(
+ servicer.getBlockchainStatus,
+ request_deserializer=core__pb2.GetBlockchainStatusRequest.FromString,
+ response_serializer=core__pb2.GetBlockchainStatusResponse.SerializeToString,
+ ),
+ 'getMasternodeStatus': grpc.unary_unary_rpc_method_handler(
+ servicer.getMasternodeStatus,
+ request_deserializer=core__pb2.GetMasternodeStatusRequest.FromString,
+ response_serializer=core__pb2.GetMasternodeStatusResponse.SerializeToString,
),
'getBlock': grpc.unary_unary_rpc_method_handler(
servicer.getBlock,
request_deserializer=core__pb2.GetBlockRequest.FromString,
response_serializer=core__pb2.GetBlockResponse.SerializeToString,
),
+ 'getBestBlockHeight': grpc.unary_unary_rpc_method_handler(
+ servicer.getBestBlockHeight,
+ request_deserializer=core__pb2.GetBestBlockHeightRequest.FromString,
+ response_serializer=core__pb2.GetBestBlockHeightResponse.SerializeToString,
+ ),
'broadcastTransaction': grpc.unary_unary_rpc_method_handler(
servicer.broadcastTransaction,
request_deserializer=core__pb2.BroadcastTransactionRequest.FromString,
@@ -134,6 +177,11 @@ def add_CoreServicer_to_server(servicer, server):
request_deserializer=core__pb2.TransactionsWithProofsRequest.FromString,
response_serializer=core__pb2.TransactionsWithProofsResponse.SerializeToString,
),
+ 'subscribeToMasternodeList': grpc.unary_stream_rpc_method_handler(
+ servicer.subscribeToMasternodeList,
+ request_deserializer=core__pb2.MasternodeListRequest.FromString,
+ response_serializer=core__pb2.MasternodeListResponse.SerializeToString,
+ ),
}
generic_handler = grpc.method_handlers_generic_handler(
'org.dash.platform.dapi.v0.Core', rpc_method_handlers)
@@ -145,7 +193,24 @@ class Core(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
- def getStatus(request,
+ def getBlockchainStatus(request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None):
+ return grpc.experimental.unary_unary(request, target, '/org.dash.platform.dapi.v0.Core/getBlockchainStatus',
+ core__pb2.GetBlockchainStatusRequest.SerializeToString,
+ core__pb2.GetBlockchainStatusResponse.FromString,
+ options, channel_credentials,
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
+
+ @staticmethod
+ def getMasternodeStatus(request,
target,
options=(),
channel_credentials=None,
@@ -155,9 +220,9 @@ def getStatus(request,
wait_for_ready=None,
timeout=None,
metadata=None):
- return grpc.experimental.unary_unary(request, target, '/org.dash.platform.dapi.v0.Core/getStatus',
- core__pb2.GetStatusRequest.SerializeToString,
- core__pb2.GetStatusResponse.FromString,
+ return grpc.experimental.unary_unary(request, target, '/org.dash.platform.dapi.v0.Core/getMasternodeStatus',
+ core__pb2.GetMasternodeStatusRequest.SerializeToString,
+ core__pb2.GetMasternodeStatusResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -178,6 +243,23 @@ def getBlock(request,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
+ @staticmethod
+ def getBestBlockHeight(request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None):
+ return grpc.experimental.unary_unary(request, target, '/org.dash.platform.dapi.v0.Core/getBestBlockHeight',
+ core__pb2.GetBestBlockHeightRequest.SerializeToString,
+ core__pb2.GetBestBlockHeightResponse.FromString,
+ options, channel_credentials,
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
+
@staticmethod
def broadcastTransaction(request,
target,
@@ -262,3 +344,20 @@ def subscribeToTransactionsWithProofs(request,
core__pb2.TransactionsWithProofsResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
+
+ @staticmethod
+ def subscribeToMasternodeList(request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None):
+ return grpc.experimental.unary_stream(request, target, '/org.dash.platform.dapi.v0.Core/subscribeToMasternodeList',
+ core__pb2.MasternodeListRequest.SerializeToString,
+ core__pb2.MasternodeListResponse.FromString,
+ options, channel_credentials,
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
diff --git a/packages/dapi-grpc/clients/core/v0/rust/core_example.rs b/packages/dapi-grpc/clients/core/v0/rust/core_example.rs
index 8acc5f5030c..e33cf000143 100644
--- a/packages/dapi-grpc/clients/core/v0/rust/core_example.rs
+++ b/packages/dapi-grpc/clients/core/v0/rust/core_example.rs
@@ -1,5 +1,5 @@
use dapi_grpc::core::v0 as core;
-use prost::Message;
+use dapi_grpc::Message;
fn main() {
let request = core::GetBlockRequest {
diff --git a/packages/dapi-grpc/clients/core/v0/web/CorePromiseClient.js b/packages/dapi-grpc/clients/core/v0/web/CorePromiseClient.js
index eecb1ced181..3f1549d8058 100644
--- a/packages/dapi-grpc/clients/core/v0/web/CorePromiseClient.js
+++ b/packages/dapi-grpc/clients/core/v0/web/CorePromiseClient.js
@@ -52,15 +52,29 @@ class CorePromiseClient {
}
/**
- * @param {!GetStatusRequest} getStatusRequest
+ * @param {!GetBlockchainStatusRequest} getBlockchainStatusRequest
* @param {?Object} metadata
- * @return {Promise}
+ * @return {Promise}
*/
- getStatus(getStatusRequest, metadata = {}) {
+ getBlockchainStatus(getBlockchainStatusRequest, metadata = {}) {
return promisify(
- this.client.getStatus.bind(this.client),
+ this.client.getBlockchainStatus.bind(this.client),
)(
- getStatusRequest,
+ getBlockchainStatusRequest,
+ metadata,
+ );
+ }
+
+ /**
+ * @param {!GetMasternodeStatusRequest} getMasternodeStatusRequest
+ * @param {?Object} metadata
+ * @return {Promise}
+ */
+ getMasternodeStatus(getMasternodeStatusRequest, metadata = {}) {
+ return promisify(
+ this.client.getMasternodeStatus.bind(this.client),
+ )(
+ getMasternodeStatusRequest,
metadata,
);
}
@@ -79,6 +93,20 @@ class CorePromiseClient {
);
}
+ /**
+ * @param {!GetBestBlockHeightRequest} getBestBlockHeightRequest
+ * @param {?Object} metadata
+ * @return {Promise}
+ */
+ getBestBlockHeight(getBestBlockHeightRequest, metadata = {}) {
+ return promisify(
+ this.client.getBestBlockHeight.bind(this.client),
+ )(
+ getBestBlockHeightRequest,
+ metadata,
+ );
+ }
+
/**
* @param {!BroadcastTransactionRequest} broadcastTransactionRequest
* @param {?Object} metadata
@@ -154,6 +182,22 @@ class CorePromiseClient {
rewireStream(stream);
return stream;
}
+
+ /**
+ * @param {MasternodeListRequest} masternodeListRequest The request proto
+ * @param {?Object} metadata User defined call metadata
+ * @return {!grpc.web.ClientReadableStream|undefined}
+ */
+ subscribeToMasternodeList(masternodeListRequest, metadata = {}) {
+ const stream = this.client.subscribeToMasternodeList(
+ masternodeListRequest,
+ metadata
+ )
+
+ rewireStream(stream);
+
+ return stream;
+ }
}
module.exports = CorePromiseClient;
diff --git a/packages/dapi-grpc/clients/core/v0/web/core_pb.d.ts b/packages/dapi-grpc/clients/core/v0/web/core_pb.d.ts
index b96051c0b3a..4c5b85cc11b 100644
--- a/packages/dapi-grpc/clients/core/v0/web/core_pb.d.ts
+++ b/packages/dapi-grpc/clients/core/v0/web/core_pb.d.ts
@@ -3,73 +3,67 @@
import * as jspb from "google-protobuf";
-export class GetStatusRequest extends jspb.Message {
+export class GetBlockchainStatusRequest extends jspb.Message {
serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetStatusRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetStatusRequest): GetStatusRequest.AsObject;
+ toObject(includeInstance?: boolean): GetBlockchainStatusRequest.AsObject;
+ static toObject(includeInstance: boolean, msg: GetBlockchainStatusRequest): GetBlockchainStatusRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
- static serializeBinaryToWriter(message: GetStatusRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetStatusRequest;
- static deserializeBinaryFromReader(message: GetStatusRequest, reader: jspb.BinaryReader): GetStatusRequest;
+ static serializeBinaryToWriter(message: GetBlockchainStatusRequest, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): GetBlockchainStatusRequest;
+ static deserializeBinaryFromReader(message: GetBlockchainStatusRequest, reader: jspb.BinaryReader): GetBlockchainStatusRequest;
}
-export namespace GetStatusRequest {
+export namespace GetBlockchainStatusRequest {
export type AsObject = {
}
}
-export class GetStatusResponse extends jspb.Message {
+export class GetBlockchainStatusResponse extends jspb.Message {
hasVersion(): boolean;
clearVersion(): void;
- getVersion(): GetStatusResponse.Version | undefined;
- setVersion(value?: GetStatusResponse.Version): void;
+ getVersion(): GetBlockchainStatusResponse.Version | undefined;
+ setVersion(value?: GetBlockchainStatusResponse.Version): void;
hasTime(): boolean;
clearTime(): void;
- getTime(): GetStatusResponse.Time | undefined;
- setTime(value?: GetStatusResponse.Time): void;
+ getTime(): GetBlockchainStatusResponse.Time | undefined;
+ setTime(value?: GetBlockchainStatusResponse.Time): void;
- getStatus(): GetStatusResponse.StatusMap[keyof GetStatusResponse.StatusMap];
- setStatus(value: GetStatusResponse.StatusMap[keyof GetStatusResponse.StatusMap]): void;
+ getStatus(): GetBlockchainStatusResponse.StatusMap[keyof GetBlockchainStatusResponse.StatusMap];
+ setStatus(value: GetBlockchainStatusResponse.StatusMap[keyof GetBlockchainStatusResponse.StatusMap]): void;
getSyncProgress(): number;
setSyncProgress(value: number): void;
hasChain(): boolean;
clearChain(): void;
- getChain(): GetStatusResponse.Chain | undefined;
- setChain(value?: GetStatusResponse.Chain): void;
-
- hasMasternode(): boolean;
- clearMasternode(): void;
- getMasternode(): GetStatusResponse.Masternode | undefined;
- setMasternode(value?: GetStatusResponse.Masternode): void;
+ getChain(): GetBlockchainStatusResponse.Chain | undefined;
+ setChain(value?: GetBlockchainStatusResponse.Chain): void;
hasNetwork(): boolean;
clearNetwork(): void;
- getNetwork(): GetStatusResponse.Network | undefined;
- setNetwork(value?: GetStatusResponse.Network): void;
+ getNetwork(): GetBlockchainStatusResponse.Network | undefined;
+ setNetwork(value?: GetBlockchainStatusResponse.Network): void;
serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetStatusResponse.AsObject;
- static toObject(includeInstance: boolean, msg: GetStatusResponse): GetStatusResponse.AsObject;
+ toObject(includeInstance?: boolean): GetBlockchainStatusResponse.AsObject;
+ static toObject(includeInstance: boolean, msg: GetBlockchainStatusResponse): GetBlockchainStatusResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
- static serializeBinaryToWriter(message: GetStatusResponse, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetStatusResponse;
- static deserializeBinaryFromReader(message: GetStatusResponse, reader: jspb.BinaryReader): GetStatusResponse;
+ static serializeBinaryToWriter(message: GetBlockchainStatusResponse, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): GetBlockchainStatusResponse;
+ static deserializeBinaryFromReader(message: GetBlockchainStatusResponse, reader: jspb.BinaryReader): GetBlockchainStatusResponse;
}
-export namespace GetStatusResponse {
+export namespace GetBlockchainStatusResponse {
export type AsObject = {
- version?: GetStatusResponse.Version.AsObject,
- time?: GetStatusResponse.Time.AsObject,
- status: GetStatusResponse.StatusMap[keyof GetStatusResponse.StatusMap],
+ version?: GetBlockchainStatusResponse.Version.AsObject,
+ time?: GetBlockchainStatusResponse.Time.AsObject,
+ status: GetBlockchainStatusResponse.StatusMap[keyof GetBlockchainStatusResponse.StatusMap],
syncProgress: number,
- chain?: GetStatusResponse.Chain.AsObject,
- masternode?: GetStatusResponse.Masternode.AsObject,
- network?: GetStatusResponse.Network.AsObject,
+ chain?: GetBlockchainStatusResponse.Chain.AsObject,
+ network?: GetBlockchainStatusResponse.Network.AsObject,
}
export class Version extends jspb.Message {
@@ -180,57 +174,6 @@ export namespace GetStatusResponse {
}
}
- export class Masternode extends jspb.Message {
- getStatus(): GetStatusResponse.Masternode.StatusMap[keyof GetStatusResponse.Masternode.StatusMap];
- setStatus(value: GetStatusResponse.Masternode.StatusMap[keyof GetStatusResponse.Masternode.StatusMap]): void;
-
- getProTxHash(): Uint8Array | string;
- getProTxHash_asU8(): Uint8Array;
- getProTxHash_asB64(): string;
- setProTxHash(value: Uint8Array | string): void;
-
- getPosePenalty(): number;
- setPosePenalty(value: number): void;
-
- getIsSynced(): boolean;
- setIsSynced(value: boolean): void;
-
- getSyncProgress(): number;
- setSyncProgress(value: number): void;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): Masternode.AsObject;
- static toObject(includeInstance: boolean, msg: Masternode): Masternode.AsObject;
- static extensions: {[key: number]: jspb.ExtensionFieldInfo};
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
- static serializeBinaryToWriter(message: Masternode, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): Masternode;
- static deserializeBinaryFromReader(message: Masternode, reader: jspb.BinaryReader): Masternode;
- }
-
- export namespace Masternode {
- export type AsObject = {
- status: GetStatusResponse.Masternode.StatusMap[keyof GetStatusResponse.Masternode.StatusMap],
- proTxHash: Uint8Array | string,
- posePenalty: number,
- isSynced: boolean,
- syncProgress: number,
- }
-
- export interface StatusMap {
- UNKNOWN: 0;
- WAITING_FOR_PROTX: 1;
- POSE_BANNED: 2;
- REMOVED: 3;
- OPERATOR_KEY_CHANGED: 4;
- PROTX_IP_CHANGED: 5;
- READY: 6;
- ERROR: 7;
- }
-
- export const Status: StatusMap;
- }
-
export class NetworkFee extends jspb.Message {
getRelay(): number;
setRelay(value: number): void;
@@ -261,8 +204,8 @@ export namespace GetStatusResponse {
hasFee(): boolean;
clearFee(): void;
- getFee(): GetStatusResponse.NetworkFee | undefined;
- setFee(value?: GetStatusResponse.NetworkFee): void;
+ getFee(): GetBlockchainStatusResponse.NetworkFee | undefined;
+ setFee(value?: GetBlockchainStatusResponse.NetworkFee): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Network.AsObject;
@@ -277,7 +220,7 @@ export namespace GetStatusResponse {
export namespace Network {
export type AsObject = {
peersCount: number,
- fee?: GetStatusResponse.NetworkFee.AsObject,
+ fee?: GetBlockchainStatusResponse.NetworkFee.AsObject,
}
}
@@ -291,6 +234,73 @@ export namespace GetStatusResponse {
export const Status: StatusMap;
}
+export class GetMasternodeStatusRequest extends jspb.Message {
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): GetMasternodeStatusRequest.AsObject;
+ static toObject(includeInstance: boolean, msg: GetMasternodeStatusRequest): GetMasternodeStatusRequest.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: GetMasternodeStatusRequest, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): GetMasternodeStatusRequest;
+ static deserializeBinaryFromReader(message: GetMasternodeStatusRequest, reader: jspb.BinaryReader): GetMasternodeStatusRequest;
+}
+
+export namespace GetMasternodeStatusRequest {
+ export type AsObject = {
+ }
+}
+
+export class GetMasternodeStatusResponse extends jspb.Message {
+ getStatus(): GetMasternodeStatusResponse.StatusMap[keyof GetMasternodeStatusResponse.StatusMap];
+ setStatus(value: GetMasternodeStatusResponse.StatusMap[keyof GetMasternodeStatusResponse.StatusMap]): void;
+
+ getProTxHash(): Uint8Array | string;
+ getProTxHash_asU8(): Uint8Array;
+ getProTxHash_asB64(): string;
+ setProTxHash(value: Uint8Array | string): void;
+
+ getPosePenalty(): number;
+ setPosePenalty(value: number): void;
+
+ getIsSynced(): boolean;
+ setIsSynced(value: boolean): void;
+
+ getSyncProgress(): number;
+ setSyncProgress(value: number): void;
+
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): GetMasternodeStatusResponse.AsObject;
+ static toObject(includeInstance: boolean, msg: GetMasternodeStatusResponse): GetMasternodeStatusResponse.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: GetMasternodeStatusResponse, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): GetMasternodeStatusResponse;
+ static deserializeBinaryFromReader(message: GetMasternodeStatusResponse, reader: jspb.BinaryReader): GetMasternodeStatusResponse;
+}
+
+export namespace GetMasternodeStatusResponse {
+ export type AsObject = {
+ status: GetMasternodeStatusResponse.StatusMap[keyof GetMasternodeStatusResponse.StatusMap],
+ proTxHash: Uint8Array | string,
+ posePenalty: number,
+ isSynced: boolean,
+ syncProgress: number,
+ }
+
+ export interface StatusMap {
+ UNKNOWN: 0;
+ WAITING_FOR_PROTX: 1;
+ POSE_BANNED: 2;
+ REMOVED: 3;
+ OPERATOR_KEY_CHANGED: 4;
+ PROTX_IP_CHANGED: 5;
+ READY: 6;
+ ERROR: 7;
+ }
+
+ export const Status: StatusMap;
+}
+
export class GetBlockRequest extends jspb.Message {
hasHeight(): boolean;
clearHeight(): void;
@@ -348,6 +358,42 @@ export namespace GetBlockResponse {
}
}
+export class GetBestBlockHeightRequest extends jspb.Message {
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): GetBestBlockHeightRequest.AsObject;
+ static toObject(includeInstance: boolean, msg: GetBestBlockHeightRequest): GetBestBlockHeightRequest.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: GetBestBlockHeightRequest, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): GetBestBlockHeightRequest;
+ static deserializeBinaryFromReader(message: GetBestBlockHeightRequest, reader: jspb.BinaryReader): GetBestBlockHeightRequest;
+}
+
+export namespace GetBestBlockHeightRequest {
+ export type AsObject = {
+ }
+}
+
+export class GetBestBlockHeightResponse extends jspb.Message {
+ getHeight(): number;
+ setHeight(value: number): void;
+
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): GetBestBlockHeightResponse.AsObject;
+ static toObject(includeInstance: boolean, msg: GetBestBlockHeightResponse): GetBestBlockHeightResponse.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: GetBestBlockHeightResponse, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): GetBestBlockHeightResponse;
+ static deserializeBinaryFromReader(message: GetBestBlockHeightResponse, reader: jspb.BinaryReader): GetBestBlockHeightResponse;
+}
+
+export namespace GetBestBlockHeightResponse {
+ export type AsObject = {
+ height: number,
+ }
+}
+
export class BroadcastTransactionRequest extends jspb.Message {
getTransaction(): Uint8Array | string;
getTransaction_asU8(): Uint8Array;
@@ -781,3 +827,41 @@ export namespace InstantSendLockMessages {
}
}
+export class MasternodeListRequest extends jspb.Message {
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): MasternodeListRequest.AsObject;
+ static toObject(includeInstance: boolean, msg: MasternodeListRequest): MasternodeListRequest.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: MasternodeListRequest, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): MasternodeListRequest;
+ static deserializeBinaryFromReader(message: MasternodeListRequest, reader: jspb.BinaryReader): MasternodeListRequest;
+}
+
+export namespace MasternodeListRequest {
+ export type AsObject = {
+ }
+}
+
+export class MasternodeListResponse extends jspb.Message {
+ getMasternodeListDiff(): Uint8Array | string;
+ getMasternodeListDiff_asU8(): Uint8Array;
+ getMasternodeListDiff_asB64(): string;
+ setMasternodeListDiff(value: Uint8Array | string): void;
+
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): MasternodeListResponse.AsObject;
+ static toObject(includeInstance: boolean, msg: MasternodeListResponse): MasternodeListResponse.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: MasternodeListResponse, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): MasternodeListResponse;
+ static deserializeBinaryFromReader(message: MasternodeListResponse, reader: jspb.BinaryReader): MasternodeListResponse;
+}
+
+export namespace MasternodeListResponse {
+ export type AsObject = {
+ masternodeListDiff: Uint8Array | string,
+ }
+}
+
diff --git a/packages/dapi-grpc/clients/core/v0/web/core_pb.js b/packages/dapi-grpc/clients/core/v0/web/core_pb.js
index ae974b2f814..5bf2a3edaeb 100644
--- a/packages/dapi-grpc/clients/core/v0/web/core_pb.js
+++ b/packages/dapi-grpc/clients/core/v0/web/core_pb.js
@@ -23,24 +23,29 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.BlockHeadersWithChainLocksRes
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BloomFilter', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastTransactionRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastTransactionResponse', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockRequest.BlockCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockResponse', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEstimatedTransactionFeeRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEstimatedTransactionFeeResponse', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusRequest', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Network', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Status', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Time', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetStatusResponse.Version', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTransactionRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTransactionResponse', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.InstantSendLockMessages', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.MasternodeListRequest', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.MasternodeListResponse', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.RawTransactions', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.TransactionsWithProofsRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.TransactionsWithProofsRequest.FromBlockCase', null, { proto });
@@ -56,16 +61,16 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.TransactionsWithProofsRespons
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusRequest, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusRequest';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest';
}
/**
* Generated by JsPbCodeGenerator.
@@ -77,16 +82,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse';
}
/**
* Generated by JsPbCodeGenerator.
@@ -98,16 +103,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Version, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Version';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version';
}
/**
* Generated by JsPbCodeGenerator.
@@ -119,16 +124,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Time, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Time';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time';
}
/**
* Generated by JsPbCodeGenerator.
@@ -140,16 +145,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain';
}
/**
* Generated by JsPbCodeGenerator.
@@ -161,16 +166,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee';
}
/**
* Generated by JsPbCodeGenerator.
@@ -182,16 +187,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee';
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network';
}
/**
* Generated by JsPbCodeGenerator.
@@ -203,16 +208,37 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network = function(opt_data) {
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetStatusResponse.Network, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.displayName = 'proto.org.dash.platform.dapi.v0.GetStatusResponse.Network';
+ proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse';
}
/**
* Generated by JsPbCodeGenerator.
@@ -256,6 +282,48 @@ if (goog.DEBUG && !COMPILED) {
*/
proto.org.dash.platform.dapi.v0.GetBlockResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetBlockResponse';
}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse';
+}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
@@ -550,6 +618,48 @@ if (goog.DEBUG && !COMPILED) {
*/
proto.org.dash.platform.dapi.v0.InstantSendLockMessages.displayName = 'proto.org.dash.platform.dapi.v0.InstantSendLockMessages';
}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.MasternodeListRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.MasternodeListRequest.displayName = 'proto.org.dash.platform.dapi.v0.MasternodeListRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.org.dash.platform.dapi.v0.MasternodeListResponse, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+ /**
+ * @public
+ * @override
+ */
+ proto.org.dash.platform.dapi.v0.MasternodeListResponse.displayName = 'proto.org.dash.platform.dapi.v0.MasternodeListResponse';
+}
@@ -566,8 +676,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusRequest.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.toObject(opt_includeInstance, this);
};
@@ -576,11 +686,11 @@ proto.org.dash.platform.dapi.v0.GetStatusRequest.prototype.toObject = function(o
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusRequest} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.toObject = function(includeInstance, msg) {
var f, obj = {
};
@@ -596,23 +706,23 @@ proto.org.dash.platform.dapi.v0.GetStatusRequest.toObject = function(includeInst
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusRequest}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest}
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusRequest;
- return proto.org.dash.platform.dapi.v0.GetStatusRequest.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusRequest} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusRequest}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest}
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -632,9 +742,9 @@ proto.org.dash.platform.dapi.v0.GetStatusRequest.deserializeBinaryFromReader = f
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusRequest.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -642,11 +752,11 @@ proto.org.dash.platform.dapi.v0.GetStatusRequest.prototype.serializeBinary = fun
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusRequest} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusRequest.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
@@ -667,8 +777,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.toObject(opt_includeInstance, this);
};
@@ -677,19 +787,18 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.toObject = function(
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.toObject = function(includeInstance, msg) {
var f, obj = {
- version: (f = msg.getVersion()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject(includeInstance, f),
- time: (f = msg.getTime()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject(includeInstance, f),
+ version: (f = msg.getVersion()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.toObject(includeInstance, f),
+ time: (f = msg.getTime()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.toObject(includeInstance, f),
status: jspb.Message.getFieldWithDefault(msg, 3, 0),
syncProgress: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
- chain: (f = msg.getChain()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject(includeInstance, f),
- masternode: (f = msg.getMasternode()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject(includeInstance, f),
- network: (f = msg.getNetwork()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.toObject(includeInstance, f)
+ chain: (f = msg.getChain()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.toObject(includeInstance, f),
+ network: (f = msg.getNetwork()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -703,23 +812,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.toObject = function(includeIns
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -727,17 +836,17 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader =
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Version;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.deserializeBinaryFromReader);
msg.setVersion(value);
break;
case 2:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Time;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.deserializeBinaryFromReader);
msg.setTime(value);
break;
case 3:
- var value = /** @type {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Status} */ (reader.readEnum());
+ var value = /** @type {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status} */ (reader.readEnum());
msg.setStatus(value);
break;
case 4:
@@ -745,18 +854,13 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader =
msg.setSyncProgress(value);
break;
case 5:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.deserializeBinaryFromReader);
msg.setChain(value);
break;
- case 6:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFromReader);
- msg.setMasternode(value);
- break;
case 7:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Network;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.deserializeBinaryFromReader);
msg.setNetwork(value);
break;
default:
@@ -772,9 +876,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.deserializeBinaryFromReader =
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -782,18 +886,18 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.serializeBinary = fu
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getVersion();
if (f != null) {
writer.writeMessage(
1,
f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.serializeBinaryToWriter
);
}
f = message.getTime();
@@ -801,7 +905,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = func
writer.writeMessage(
2,
f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.serializeBinaryToWriter
);
}
f = message.getStatus();
@@ -823,15 +927,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = func
writer.writeMessage(
5,
f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.serializeBinaryToWriter
- );
- }
- f = message.getMasternode();
- if (f != null) {
- writer.writeMessage(
- 6,
- f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.serializeBinaryToWriter
);
}
f = message.getNetwork();
@@ -839,7 +935,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = func
writer.writeMessage(
7,
f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.serializeBinaryToWriter
);
}
};
@@ -848,7 +944,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.serializeBinaryToWriter = func
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Status = {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status = {
NOT_STARTED: 0,
SYNCING: 1,
READY: 2,
@@ -871,8 +967,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.toObject(opt_includeInstance, this);
};
@@ -881,11 +977,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.toObject = f
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.toObject = function(includeInstance, msg) {
var f, obj = {
protocol: jspb.Message.getFieldWithDefault(msg, 1, 0),
software: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -903,23 +999,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.toObject = function(in
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Version;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -951,9 +1047,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.deserializeBinaryFromR
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -961,11 +1057,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.serializeBin
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProtocol();
if (f !== 0) {
@@ -995,16 +1091,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.serializeBinaryToWrite
* optional uint32 protocol = 1;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.getProtocol = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.getProtocol = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setProtocol = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.setProtocol = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
@@ -1013,16 +1109,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setProtocol
* optional uint32 software = 2;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.getSoftware = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.getSoftware = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setSoftware = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.setSoftware = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
@@ -1031,16 +1127,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setSoftware
* optional string agent = 3;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.getAgent = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.getAgent = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Version.prototype.setAgent = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version.prototype.setAgent = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
@@ -1061,8 +1157,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.toObject(opt_includeInstance, this);
};
@@ -1071,11 +1167,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.toObject = func
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.toObject = function(includeInstance, msg) {
var f, obj = {
now: jspb.Message.getFieldWithDefault(msg, 1, 0),
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -1093,23 +1189,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.toObject = function(inclu
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Time;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -1141,9 +1237,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.deserializeBinaryFromRead
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -1151,11 +1247,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.serializeBinary
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getNow();
if (f !== 0) {
@@ -1185,16 +1281,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.serializeBinaryToWriter =
* optional uint32 now = 1;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.getNow = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.getNow = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setNow = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.setNow = function(value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
@@ -1203,16 +1299,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setNow = functi
* optional int32 offset = 2;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.getOffset = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.getOffset = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setOffset = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.setOffset = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
@@ -1221,16 +1317,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setOffset = fun
* optional uint32 median = 3;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.getMedian = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.getMedian = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Time.prototype.setMedian = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time.prototype.setMedian = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
@@ -1251,8 +1347,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.toObject(opt_includeInstance, this);
};
@@ -1261,11 +1357,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.toObject = fun
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
headersCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -1288,23 +1384,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.toObject = function(incl
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -1356,9 +1452,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.deserializeBinaryFromRea
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -1366,11 +1462,11 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.serializeBinar
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
@@ -1435,16 +1531,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.serializeBinaryToWriter
* optional string name = 1;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getName = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setName = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
@@ -1453,16 +1549,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setName = func
* optional uint32 headers_count = 2;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getHeadersCount = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getHeadersCount = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setHeadersCount = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setHeadersCount = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
@@ -1471,16 +1567,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setHeadersCoun
* optional uint32 blocks_count = 3;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBlocksCount = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getBlocksCount = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setBlocksCount = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setBlocksCount = function(value) {
return jspb.Message.setProto3IntField(this, 3, value);
};
@@ -1489,7 +1585,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setBlocksCount
* optional bytes best_block_hash = 4;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHash = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getBestBlockHash = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
@@ -1499,7 +1595,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHa
* This is a type-conversion wrapper around `getBestBlockHash()`
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHash_asB64 = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getBestBlockHash_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getBestBlockHash()));
};
@@ -1512,7 +1608,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHa
* This is a type-conversion wrapper around `getBestBlockHash()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHash_asU8 = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getBestBlockHash_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getBestBlockHash()));
};
@@ -1520,9 +1616,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getBestBlockHa
/**
* @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setBestBlockHash = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setBestBlockHash = function(value) {
return jspb.Message.setProto3BytesField(this, 4, value);
};
@@ -1531,16 +1627,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setBestBlockHa
* optional double difficulty = 5;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getDifficulty = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getDifficulty = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setDifficulty = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setDifficulty = function(value) {
return jspb.Message.setProto3FloatField(this, 5, value);
};
@@ -1549,7 +1645,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setDifficulty
* optional bytes chain_work = 6;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getChainWork = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
@@ -1559,7 +1655,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork =
* This is a type-conversion wrapper around `getChainWork()`
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork_asB64 = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getChainWork_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getChainWork()));
};
@@ -1572,7 +1668,7 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork_a
* This is a type-conversion wrapper around `getChainWork()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork_asU8 = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getChainWork_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getChainWork()));
};
@@ -1580,9 +1676,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getChainWork_a
/**
* @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setChainWork = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setChainWork = function(value) {
return jspb.Message.setProto3BytesField(this, 6, value);
};
@@ -1591,16 +1687,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setChainWork =
* optional bool is_synced = 7;
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getIsSynced = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getIsSynced = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
};
/**
* @param {boolean} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setIsSynced = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setIsSynced = function(value) {
return jspb.Message.setProto3BooleanField(this, 7, value);
};
@@ -1609,16 +1705,16 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setIsSynced =
* optional double sync_progress = 8;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.getSyncProgress = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.getSyncProgress = function() {
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain.prototype.setSyncProgress = function(value) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain.prototype.setSyncProgress = function(value) {
return jspb.Message.setProto3FloatField(this, 8, value);
};
@@ -1639,8 +1735,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.toObject(opt_includeInstance, this);
};
@@ -1649,17 +1745,14 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.toObject
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.toObject = function(includeInstance, msg) {
var f, obj = {
- status: jspb.Message.getFieldWithDefault(msg, 1, 0),
- proTxHash: msg.getProTxHash_asB64(),
- posePenalty: jspb.Message.getFieldWithDefault(msg, 3, 0),
- isSynced: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
- syncProgress: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
+ relay: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
+ incremental: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
};
if (includeInstance) {
@@ -1673,23 +1766,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.toObject = function
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -1697,24 +1790,12 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFr
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = /** @type {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status} */ (reader.readEnum());
- msg.setStatus(value);
+ var value = /** @type {number} */ (reader.readDouble());
+ msg.setRelay(value);
break;
case 2:
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.setProTxHash(value);
- break;
- case 3:
- var value = /** @type {number} */ (reader.readUint32());
- msg.setPosePenalty(value);
- break;
- case 4:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setIsSynced(value);
- break;
- case 5:
var value = /** @type {number} */ (reader.readDouble());
- msg.setSyncProgress(value);
+ msg.setIncremental(value);
break;
default:
reader.skipField();
@@ -1729,9 +1810,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.deserializeBinaryFr
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -1739,44 +1820,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.serialize
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getStatus();
+ f = message.getRelay();
if (f !== 0.0) {
- writer.writeEnum(
+ writer.writeDouble(
1,
f
);
}
- f = message.getProTxHash_asU8();
- if (f.length > 0) {
- writer.writeBytes(
- 2,
- f
- );
- }
- f = message.getPosePenalty();
- if (f !== 0) {
- writer.writeUint32(
- 3,
- f
- );
- }
- f = message.getIsSynced();
- if (f) {
- writer.writeBool(
- 4,
- f
- );
- }
- f = message.getSyncProgress();
+ f = message.getIncremental();
if (f !== 0.0) {
writer.writeDouble(
- 5,
+ 2,
f
);
}
@@ -1784,130 +1844,38 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.serializeBinaryToWr
/**
- * @enum {number}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status = {
- UNKNOWN: 0,
- WAITING_FOR_PROTX: 1,
- POSE_BANNED: 2,
- REMOVED: 3,
- OPERATOR_KEY_CHANGED: 4,
- PROTX_IP_CHANGED: 5,
- READY: 6,
- ERROR: 7
-};
-
-/**
- * optional Status status = 1;
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getStatus = function() {
- return /** @type {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
-};
-
-
-/**
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.Status} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setStatus = function(value) {
- return jspb.Message.setProto3EnumField(this, 1, value);
-};
-
-
-/**
- * optional bytes pro_tx_hash = 2;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getProTxHash = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * optional bytes pro_tx_hash = 2;
- * This is a type-conversion wrapper around `getProTxHash()`
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getProTxHash_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getProTxHash()));
-};
-
-
-/**
- * optional bytes pro_tx_hash = 2;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getProTxHash()`
- * @return {!Uint8Array}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getProTxHash_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getProTxHash()));
-};
-
-
-/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setProTxHash = function(value) {
- return jspb.Message.setProto3BytesField(this, 2, value);
-};
-
-
-/**
- * optional uint32 pose_penalty = 3;
+ * optional double relay = 1;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getPosePenalty = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.getRelay = function() {
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setPosePenalty = function(value) {
- return jspb.Message.setProto3IntField(this, 3, value);
-};
-
-
-/**
- * optional bool is_synced = 4;
- * @return {boolean}
- */
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getIsSynced = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
-};
-
-
-/**
- * @param {boolean} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setIsSynced = function(value) {
- return jspb.Message.setProto3BooleanField(this, 4, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.setRelay = function(value) {
+ return jspb.Message.setProto3FloatField(this, 1, value);
};
/**
- * optional double sync_progress = 5;
+ * optional double incremental = 2;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.getSyncProgress = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.getIncremental = function() {
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode.prototype.setSyncProgress = function(value) {
- return jspb.Message.setProto3FloatField(this, 5, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.prototype.setIncremental = function(value) {
+ return jspb.Message.setProto3FloatField(this, 2, value);
};
@@ -1927,8 +1895,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.toObject(opt_includeInstance, this);
};
@@ -1937,14 +1905,14 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.toObject
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.toObject = function(includeInstance, msg) {
var f, obj = {
- relay: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
- incremental: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
+ peersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
+ fee: (f = msg.getFee()) && proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -1958,23 +1926,23 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject = function
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network;
+ return proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee}
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -1982,12 +1950,13 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFr
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setRelay(value);
+ var value = /** @type {number} */ (reader.readUint32());
+ msg.setPeersCount(value);
break;
case 2:
- var value = /** @type {number} */ (reader.readDouble());
- msg.setIncremental(value);
+ var value = new proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.deserializeBinaryFromReader);
+ msg.setFee(value);
break;
default:
reader.skipField();
@@ -2002,9 +1971,9 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFr
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -2012,234 +1981,220 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.serialize
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getRelay();
- if (f !== 0.0) {
- writer.writeDouble(
+ f = message.getPeersCount();
+ if (f !== 0) {
+ writer.writeUint32(
1,
f
);
}
- f = message.getIncremental();
- if (f !== 0.0) {
- writer.writeDouble(
+ f = message.getFee();
+ if (f != null) {
+ writer.writeMessage(
2,
- f
+ f,
+ proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee.serializeBinaryToWriter
);
}
};
/**
- * optional double relay = 1;
+ * optional uint32 peers_count = 1;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.getRelay = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.getPeersCount = function() {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.setRelay = function(value) {
- return jspb.Message.setProto3FloatField(this, 1, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.setPeersCount = function(value) {
+ return jspb.Message.setProto3IntField(this, 1, value);
};
/**
- * optional double incremental = 2;
- * @return {number}
+ * optional NetworkFee fee = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.getIncremental = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.getFee = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee, 2));
};
/**
- * @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.NetworkFee|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.setFee = function(value) {
+ return jspb.Message.setWrapperField(this, 2, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.prototype.setIncremental = function(value) {
- return jspb.Message.setProto3FloatField(this, 2, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.clearFee = function() {
+ return this.setFee(undefined);
};
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network.prototype.hasFee = function() {
+ return jspb.Message.getField(this, 2) != null;
+};
+/**
+ * optional Version version = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getVersion = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version, 1));
+};
+
-if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Version|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setVersion = function(value) {
+ return jspb.Message.setWrapperField(this, 1, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.clearVersion = function() {
+ return this.setVersion(undefined);
};
/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * Returns whether this field is set.
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.toObject = function(includeInstance, msg) {
- var f, obj = {
- peersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
- fee: (f = msg.getFee()) && proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.toObject(includeInstance, f)
- };
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.hasVersion = function() {
+ return jspb.Message.getField(this, 1) != null;
+};
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
+
+/**
+ * optional Time time = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getTime = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time, 2));
};
-}
/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network}
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Time|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setTime = function(value) {
+ return jspb.Message.setWrapperField(this, 2, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetStatusResponse.Network;
- return proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.deserializeBinaryFromReader(msg, reader);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.clearTime = function() {
+ return this.setTime(undefined);
};
/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network}
+ * Returns whether this field is set.
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {number} */ (reader.readUint32());
- msg.setPeersCount(value);
- break;
- case 2:
- var value = new proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.deserializeBinaryFromReader);
- msg.setFee(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.hasTime = function() {
+ return jspb.Message.getField(this, 2) != null;
};
/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
+ * optional Status status = 3;
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getStatus = function() {
+ return /** @type {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Status} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getPeersCount();
- if (f !== 0) {
- writer.writeUint32(
- 1,
- f
- );
- }
- f = message.getFee();
- if (f != null) {
- writer.writeMessage(
- 2,
- f,
- proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee.serializeBinaryToWriter
- );
- }
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setStatus = function(value) {
+ return jspb.Message.setProto3EnumField(this, 3, value);
};
/**
- * optional uint32 peers_count = 1;
+ * optional double sync_progress = 4;
* @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.getPeersCount = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getSyncProgress = function() {
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
};
/**
* @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.setPeersCount = function(value) {
- return jspb.Message.setProto3IntField(this, 1, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setSyncProgress = function(value) {
+ return jspb.Message.setProto3FloatField(this, 4, value);
};
/**
- * optional NetworkFee fee = 2;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee}
+ * optional Chain chain = 5;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.getFee = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee, 2));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getChain = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain, 5));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.NetworkFee|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Chain|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.setFee = function(value) {
- return jspb.Message.setWrapperField(this, 2, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setChain = function(value) {
+ return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.clearFee = function() {
- return this.setFee(undefined);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.clearChain = function() {
+ return this.setChain(undefined);
};
@@ -2247,36 +2202,36 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.clearFee = f
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.Network.prototype.hasFee = function() {
- return jspb.Message.getField(this, 2) != null;
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.hasChain = function() {
+ return jspb.Message.getField(this, 5) != null;
};
/**
- * optional Version version = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Version}
+ * optional Network network = 7;
+ * @return {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getVersion = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Version} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Version, 1));
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.getNetwork = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network, 7));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Version|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.Network|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setVersion = function(value) {
- return jspb.Message.setWrapperField(this, 1, value);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.setNetwork = function(value) {
+ return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearVersion = function() {
- return this.setVersion(undefined);
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.clearNetwork = function() {
+ return this.setNetwork(undefined);
};
@@ -2284,192 +2239,397 @@ proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearVersion = funct
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasVersion = function() {
- return jspb.Message.getField(this, 1) != null;
+proto.org.dash.platform.dapi.v0.GetBlockchainStatusResponse.prototype.hasNetwork = function() {
+ return jspb.Message.getField(this, 7) != null;
};
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * optional Time time = 2;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Time}
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getTime = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Time} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Time, 2));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.toObject(opt_includeInstance, this);
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Time|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setTime = function(value) {
- return jspb.Message.setWrapperField(this, 2, value);
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.toObject = function(includeInstance, msg) {
+ var f, obj = {
+
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
};
+}
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearTime = function() {
- return this.setTime(undefined);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest;
+ return proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.deserializeBinaryFromReader(msg, reader);
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasTime = function() {
- return jspb.Message.getField(this, 2) != null;
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
};
/**
- * optional Status status = 3;
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Status}
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getStatus = function() {
- return /** @type {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
};
/**
- * @param {!proto.org.dash.platform.dapi.v0.GetStatusResponse.Status} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setStatus = function(value) {
- return jspb.Message.setProto3EnumField(this, 3, value);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusRequest.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
};
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * optional double sync_progress = 4;
- * @return {number}
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getSyncProgress = function() {
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.toObject(opt_includeInstance, this);
};
/**
- * @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setSyncProgress = function(value) {
- return jspb.Message.setProto3FloatField(this, 4, value);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ status: jspb.Message.getFieldWithDefault(msg, 1, 0),
+ proTxHash: msg.getProTxHash_asB64(),
+ posePenalty: jspb.Message.getFieldWithDefault(msg, 3, 0),
+ isSynced: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
+ syncProgress: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
};
+}
/**
- * optional Chain chain = 5;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain}
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getChain = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain, 5));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse;
+ return proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.deserializeBinaryFromReader(msg, reader);
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Chain|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setChain = function(value) {
- return jspb.Message.setWrapperField(this, 5, value);
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = /** @type {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status} */ (reader.readEnum());
+ msg.setStatus(value);
+ break;
+ case 2:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setProTxHash(value);
+ break;
+ case 3:
+ var value = /** @type {number} */ (reader.readUint32());
+ msg.setPosePenalty(value);
+ break;
+ case 4:
+ var value = /** @type {boolean} */ (reader.readBool());
+ msg.setIsSynced(value);
+ break;
+ case 5:
+ var value = /** @type {number} */ (reader.readDouble());
+ msg.setSyncProgress(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
};
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearChain = function() {
- return this.setChain(undefined);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasChain = function() {
- return jspb.Message.getField(this, 5) != null;
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getStatus();
+ if (f !== 0.0) {
+ writer.writeEnum(
+ 1,
+ f
+ );
+ }
+ f = message.getProTxHash_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 2,
+ f
+ );
+ }
+ f = message.getPosePenalty();
+ if (f !== 0) {
+ writer.writeUint32(
+ 3,
+ f
+ );
+ }
+ f = message.getIsSynced();
+ if (f) {
+ writer.writeBool(
+ 4,
+ f
+ );
+ }
+ f = message.getSyncProgress();
+ if (f !== 0.0) {
+ writer.writeDouble(
+ 5,
+ f
+ );
+ }
+};
+
+
+/**
+ * @enum {number}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status = {
+ UNKNOWN: 0,
+ WAITING_FOR_PROTX: 1,
+ POSE_BANNED: 2,
+ REMOVED: 3,
+ OPERATOR_KEY_CHANGED: 4,
+ PROTX_IP_CHANGED: 5,
+ READY: 6,
+ ERROR: 7
+};
+
+/**
+ * optional Status status = 1;
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getStatus = function() {
+ return /** @type {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
- * optional Masternode masternode = 6;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode}
+ * @param {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.Status} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getMasternode = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode, 6));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setStatus = function(value) {
+ return jspb.Message.setProto3EnumField(this, 1, value);
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Masternode|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setMasternode = function(value) {
- return jspb.Message.setWrapperField(this, 6, value);
+ * optional bytes pro_tx_hash = 2;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getProTxHash = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * optional bytes pro_tx_hash = 2;
+ * This is a type-conversion wrapper around `getProTxHash()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getProTxHash_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getProTxHash()));
+};
+
+
+/**
+ * optional bytes pro_tx_hash = 2;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getProTxHash()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getProTxHash_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getProTxHash()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setProTxHash = function(value) {
+ return jspb.Message.setProto3BytesField(this, 2, value);
};
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * optional uint32 pose_penalty = 3;
+ * @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearMasternode = function() {
- return this.setMasternode(undefined);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getPosePenalty = function() {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * @param {number} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasMasternode = function() {
- return jspb.Message.getField(this, 6) != null;
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setPosePenalty = function(value) {
+ return jspb.Message.setProto3IntField(this, 3, value);
};
/**
- * optional Network network = 7;
- * @return {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Network}
+ * optional bool is_synced = 4;
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.getNetwork = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetStatusResponse.Network} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetStatusResponse.Network, 7));
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getIsSynced = function() {
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetStatusResponse.Network|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.setNetwork = function(value) {
- return jspb.Message.setWrapperField(this, 7, value);
+ * @param {boolean} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setIsSynced = function(value) {
+ return jspb.Message.setProto3BooleanField(this, 4, value);
};
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetStatusResponse} returns this
+ * optional double sync_progress = 5;
+ * @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.clearNetwork = function() {
- return this.setNetwork(undefined);
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.getSyncProgress = function() {
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * @param {number} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetStatusResponse.prototype.hasNetwork = function() {
- return jspb.Message.getField(this, 7) != null;
+proto.org.dash.platform.dapi.v0.GetMasternodeStatusResponse.prototype.setSyncProgress = function(value) {
+ return jspb.Message.setProto3FloatField(this, 5, value);
};
@@ -2783,7 +2943,262 @@ proto.org.dash.platform.dapi.v0.GetBlockResponse.deserializeBinaryFromReader = f
*/
proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBlockResponse} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getBlock_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 1,
+ f
+ );
+ }
+};
+
+
+/**
+ * optional bytes block = 1;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
+};
+
+
+/**
+ * optional bytes block = 1;
+ * This is a type-conversion wrapper around `getBlock()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getBlock()));
+};
+
+
+/**
+ * optional bytes block = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getBlock()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getBlock()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBlockResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.setBlock = function(value) {
+ return jspb.Message.setProto3BytesField(this, 1, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.toObject = function(includeInstance, msg) {
+ var f, obj = {
+
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest;
+ return proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightRequest.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ height: jspb.Message.getFieldWithDefault(msg, 1, 0)
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse;
+ return proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = /** @type {number} */ (reader.readUint32());
+ msg.setHeight(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -2791,15 +3206,15 @@ proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.serializeBinary = fun
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetBlockResponse} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getBlock_asU8();
- if (f.length > 0) {
- writer.writeBytes(
+ f = message.getHeight();
+ if (f !== 0) {
+ writer.writeUint32(
1,
f
);
@@ -2808,44 +3223,20 @@ proto.org.dash.platform.dapi.v0.GetBlockResponse.serializeBinaryToWriter = funct
/**
- * optional bytes block = 1;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * optional bytes block = 1;
- * This is a type-conversion wrapper around `getBlock()`
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getBlock()));
-};
-
-
-/**
- * optional bytes block = 1;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getBlock()`
- * @return {!Uint8Array}
+ * optional uint32 height = 1;
+ * @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.getBlock_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getBlock()));
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.prototype.getHeight = function() {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetBlockResponse} returns this
+ * @param {number} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetBlockResponse.prototype.setBlock = function(value) {
- return jspb.Message.setProto3BytesField(this, 1, value);
+proto.org.dash.platform.dapi.v0.GetBestBlockHeightResponse.prototype.setHeight = function(value) {
+ return jspb.Message.setProto3IntField(this, 1, value);
};
@@ -5878,4 +6269,259 @@ proto.org.dash.platform.dapi.v0.InstantSendLockMessages.prototype.clearMessagesL
};
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.MasternodeListRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.toObject = function(includeInstance, msg) {
+ var f, obj = {
+
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListRequest}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.MasternodeListRequest;
+ return proto.org.dash.platform.dapi.v0.MasternodeListRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListRequest}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.MasternodeListRequest.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListRequest.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.MasternodeListResponse.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListResponse} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ masternodeListDiff: msg.getMasternodeListDiff_asB64()
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListResponse}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.MasternodeListResponse;
+ return proto.org.dash.platform.dapi.v0.MasternodeListResponse.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListResponse} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListResponse}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setMasternodeListDiff(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.MasternodeListResponse.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.MasternodeListResponse} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getMasternodeListDiff_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 1,
+ f
+ );
+ }
+};
+
+
+/**
+ * optional bytes masternode_list_diff = 1;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.getMasternodeListDiff = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
+};
+
+
+/**
+ * optional bytes masternode_list_diff = 1;
+ * This is a type-conversion wrapper around `getMasternodeListDiff()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.getMasternodeListDiff_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getMasternodeListDiff()));
+};
+
+
+/**
+ * optional bytes masternode_list_diff = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getMasternodeListDiff()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.getMasternodeListDiff_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getMasternodeListDiff()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.MasternodeListResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.MasternodeListResponse.prototype.setMasternodeListDiff = function(value) {
+ return jspb.Message.setProto3BytesField(this, 1, value);
+};
+
+
goog.object.extend(exports, proto.org.dash.platform.dapi.v0);
diff --git a/packages/dapi-grpc/clients/core/v0/web/core_pb_service.d.ts b/packages/dapi-grpc/clients/core/v0/web/core_pb_service.d.ts
index 9b635554bac..4181c8f8526 100644
--- a/packages/dapi-grpc/clients/core/v0/web/core_pb_service.d.ts
+++ b/packages/dapi-grpc/clients/core/v0/web/core_pb_service.d.ts
@@ -4,13 +4,22 @@
import * as core_pb from "./core_pb";
import {grpc} from "@improbable-eng/grpc-web";
-type CoregetStatus = {
+type CoregetBlockchainStatus = {
readonly methodName: string;
readonly service: typeof Core;
readonly requestStream: false;
readonly responseStream: false;
- readonly requestType: typeof core_pb.GetStatusRequest;
- readonly responseType: typeof core_pb.GetStatusResponse;
+ readonly requestType: typeof core_pb.GetBlockchainStatusRequest;
+ readonly responseType: typeof core_pb.GetBlockchainStatusResponse;
+};
+
+type CoregetMasternodeStatus = {
+ readonly methodName: string;
+ readonly service: typeof Core;
+ readonly requestStream: false;
+ readonly responseStream: false;
+ readonly requestType: typeof core_pb.GetMasternodeStatusRequest;
+ readonly responseType: typeof core_pb.GetMasternodeStatusResponse;
};
type CoregetBlock = {
@@ -22,6 +31,15 @@ type CoregetBlock = {
readonly responseType: typeof core_pb.GetBlockResponse;
};
+type CoregetBestBlockHeight = {
+ readonly methodName: string;
+ readonly service: typeof Core;
+ readonly requestStream: false;
+ readonly responseStream: false;
+ readonly requestType: typeof core_pb.GetBestBlockHeightRequest;
+ readonly responseType: typeof core_pb.GetBestBlockHeightResponse;
+};
+
type CorebroadcastTransaction = {
readonly methodName: string;
readonly service: typeof Core;
@@ -67,15 +85,27 @@ type CoresubscribeToTransactionsWithProofs = {
readonly responseType: typeof core_pb.TransactionsWithProofsResponse;
};
+type CoresubscribeToMasternodeList = {
+ readonly methodName: string;
+ readonly service: typeof Core;
+ readonly requestStream: false;
+ readonly responseStream: true;
+ readonly requestType: typeof core_pb.MasternodeListRequest;
+ readonly responseType: typeof core_pb.MasternodeListResponse;
+};
+
export class Core {
static readonly serviceName: string;
- static readonly getStatus: CoregetStatus;
+ static readonly getBlockchainStatus: CoregetBlockchainStatus;
+ static readonly getMasternodeStatus: CoregetMasternodeStatus;
static readonly getBlock: CoregetBlock;
+ static readonly getBestBlockHeight: CoregetBestBlockHeight;
static readonly broadcastTransaction: CorebroadcastTransaction;
static readonly getTransaction: CoregetTransaction;
static readonly getEstimatedTransactionFee: CoregetEstimatedTransactionFee;
static readonly subscribeToBlockHeadersWithChainLocks: CoresubscribeToBlockHeadersWithChainLocks;
static readonly subscribeToTransactionsWithProofs: CoresubscribeToTransactionsWithProofs;
+ static readonly subscribeToMasternodeList: CoresubscribeToMasternodeList;
}
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -110,14 +140,23 @@ export class CoreClient {
readonly serviceHost: string;
constructor(serviceHost: string, options?: grpc.RpcOptions);
- getStatus(
- requestMessage: core_pb.GetStatusRequest,
+ getBlockchainStatus(
+ requestMessage: core_pb.GetBlockchainStatusRequest,
metadata: grpc.Metadata,
- callback: (error: ServiceError|null, responseMessage: core_pb.GetStatusResponse|null) => void
+ callback: (error: ServiceError|null, responseMessage: core_pb.GetBlockchainStatusResponse|null) => void
): UnaryResponse;
- getStatus(
- requestMessage: core_pb.GetStatusRequest,
- callback: (error: ServiceError|null, responseMessage: core_pb.GetStatusResponse|null) => void
+ getBlockchainStatus(
+ requestMessage: core_pb.GetBlockchainStatusRequest,
+ callback: (error: ServiceError|null, responseMessage: core_pb.GetBlockchainStatusResponse|null) => void
+ ): UnaryResponse;
+ getMasternodeStatus(
+ requestMessage: core_pb.GetMasternodeStatusRequest,
+ metadata: grpc.Metadata,
+ callback: (error: ServiceError|null, responseMessage: core_pb.GetMasternodeStatusResponse|null) => void
+ ): UnaryResponse;
+ getMasternodeStatus(
+ requestMessage: core_pb.GetMasternodeStatusRequest,
+ callback: (error: ServiceError|null, responseMessage: core_pb.GetMasternodeStatusResponse|null) => void
): UnaryResponse;
getBlock(
requestMessage: core_pb.GetBlockRequest,
@@ -128,6 +167,15 @@ export class CoreClient {
requestMessage: core_pb.GetBlockRequest,
callback: (error: ServiceError|null, responseMessage: core_pb.GetBlockResponse|null) => void
): UnaryResponse;
+ getBestBlockHeight(
+ requestMessage: core_pb.GetBestBlockHeightRequest,
+ metadata: grpc.Metadata,
+ callback: (error: ServiceError|null, responseMessage: core_pb.GetBestBlockHeightResponse|null) => void
+ ): UnaryResponse;
+ getBestBlockHeight(
+ requestMessage: core_pb.GetBestBlockHeightRequest,
+ callback: (error: ServiceError|null, responseMessage: core_pb.GetBestBlockHeightResponse|null) => void
+ ): UnaryResponse;
broadcastTransaction(
requestMessage: core_pb.BroadcastTransactionRequest,
metadata: grpc.Metadata,
@@ -157,5 +205,6 @@ export class CoreClient {
): UnaryResponse;
subscribeToBlockHeadersWithChainLocks(requestMessage: core_pb.BlockHeadersWithChainLocksRequest, metadata?: grpc.Metadata): ResponseStream;
subscribeToTransactionsWithProofs(requestMessage: core_pb.TransactionsWithProofsRequest, metadata?: grpc.Metadata): ResponseStream;
+ subscribeToMasternodeList(requestMessage: core_pb.MasternodeListRequest, metadata?: grpc.Metadata): ResponseStream;
}
diff --git a/packages/dapi-grpc/clients/core/v0/web/core_pb_service.js b/packages/dapi-grpc/clients/core/v0/web/core_pb_service.js
index 7eeda0af881..b810654314a 100644
--- a/packages/dapi-grpc/clients/core/v0/web/core_pb_service.js
+++ b/packages/dapi-grpc/clients/core/v0/web/core_pb_service.js
@@ -10,13 +10,22 @@ var Core = (function () {
return Core;
}());
-Core.getStatus = {
- methodName: "getStatus",
+Core.getBlockchainStatus = {
+ methodName: "getBlockchainStatus",
service: Core,
requestStream: false,
responseStream: false,
- requestType: core_pb.GetStatusRequest,
- responseType: core_pb.GetStatusResponse
+ requestType: core_pb.GetBlockchainStatusRequest,
+ responseType: core_pb.GetBlockchainStatusResponse
+};
+
+Core.getMasternodeStatus = {
+ methodName: "getMasternodeStatus",
+ service: Core,
+ requestStream: false,
+ responseStream: false,
+ requestType: core_pb.GetMasternodeStatusRequest,
+ responseType: core_pb.GetMasternodeStatusResponse
};
Core.getBlock = {
@@ -28,6 +37,15 @@ Core.getBlock = {
responseType: core_pb.GetBlockResponse
};
+Core.getBestBlockHeight = {
+ methodName: "getBestBlockHeight",
+ service: Core,
+ requestStream: false,
+ responseStream: false,
+ requestType: core_pb.GetBestBlockHeightRequest,
+ responseType: core_pb.GetBestBlockHeightResponse
+};
+
Core.broadcastTransaction = {
methodName: "broadcastTransaction",
service: Core,
@@ -73,6 +91,15 @@ Core.subscribeToTransactionsWithProofs = {
responseType: core_pb.TransactionsWithProofsResponse
};
+Core.subscribeToMasternodeList = {
+ methodName: "subscribeToMasternodeList",
+ service: Core,
+ requestStream: false,
+ responseStream: true,
+ requestType: core_pb.MasternodeListRequest,
+ responseType: core_pb.MasternodeListResponse
+};
+
exports.Core = Core;
function CoreClient(serviceHost, options) {
@@ -80,11 +107,42 @@ function CoreClient(serviceHost, options) {
this.options = options || {};
}
-CoreClient.prototype.getStatus = function getStatus(requestMessage, metadata, callback) {
+CoreClient.prototype.getBlockchainStatus = function getBlockchainStatus(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
}
- var client = grpc.unary(Core.getStatus, {
+ var client = grpc.unary(Core.getBlockchainStatus, {
+ request: requestMessage,
+ host: this.serviceHost,
+ metadata: metadata,
+ transport: this.options.transport,
+ debug: this.options.debug,
+ onEnd: function (response) {
+ if (callback) {
+ if (response.status !== grpc.Code.OK) {
+ var err = new Error(response.statusMessage);
+ err.code = response.status;
+ err.metadata = response.trailers;
+ callback(err, null);
+ } else {
+ callback(null, response.message);
+ }
+ }
+ }
+ });
+ return {
+ cancel: function () {
+ callback = null;
+ client.close();
+ }
+ };
+};
+
+CoreClient.prototype.getMasternodeStatus = function getMasternodeStatus(requestMessage, metadata, callback) {
+ if (arguments.length === 2) {
+ callback = arguments[1];
+ }
+ var client = grpc.unary(Core.getMasternodeStatus, {
request: requestMessage,
host: this.serviceHost,
metadata: metadata,
@@ -142,6 +200,37 @@ CoreClient.prototype.getBlock = function getBlock(requestMessage, metadata, call
};
};
+CoreClient.prototype.getBestBlockHeight = function getBestBlockHeight(requestMessage, metadata, callback) {
+ if (arguments.length === 2) {
+ callback = arguments[1];
+ }
+ var client = grpc.unary(Core.getBestBlockHeight, {
+ request: requestMessage,
+ host: this.serviceHost,
+ metadata: metadata,
+ transport: this.options.transport,
+ debug: this.options.debug,
+ onEnd: function (response) {
+ if (callback) {
+ if (response.status !== grpc.Code.OK) {
+ var err = new Error(response.statusMessage);
+ err.code = response.status;
+ err.metadata = response.trailers;
+ callback(err, null);
+ } else {
+ callback(null, response.message);
+ }
+ }
+ }
+ });
+ return {
+ cancel: function () {
+ callback = null;
+ client.close();
+ }
+ };
+};
+
CoreClient.prototype.broadcastTransaction = function broadcastTransaction(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
@@ -313,5 +402,44 @@ CoreClient.prototype.subscribeToTransactionsWithProofs = function subscribeToTra
};
};
+CoreClient.prototype.subscribeToMasternodeList = function subscribeToMasternodeList(requestMessage, metadata) {
+ var listeners = {
+ data: [],
+ end: [],
+ status: []
+ };
+ var client = grpc.invoke(Core.subscribeToMasternodeList, {
+ request: requestMessage,
+ host: this.serviceHost,
+ metadata: metadata,
+ transport: this.options.transport,
+ debug: this.options.debug,
+ onMessage: function (responseMessage) {
+ listeners.data.forEach(function (handler) {
+ handler(responseMessage);
+ });
+ },
+ onEnd: function (status, statusMessage, trailers) {
+ listeners.status.forEach(function (handler) {
+ handler({ code: status, details: statusMessage, metadata: trailers });
+ });
+ listeners.end.forEach(function (handler) {
+ handler({ code: status, details: statusMessage, metadata: trailers });
+ });
+ listeners = null;
+ }
+ });
+ return {
+ on: function (type, handler) {
+ listeners[type].push(handler);
+ return this;
+ },
+ cancel: function () {
+ listeners = null;
+ client.close();
+ }
+ };
+};
+
exports.CoreClient = CoreClient;
diff --git a/packages/dapi-grpc/clients/platform/v0/java/org/dash/platform/dapi/v0/PlatformGrpc.java b/packages/dapi-grpc/clients/platform/v0/java/org/dash/platform/dapi/v0/PlatformGrpc.java
index a27ed63482d..908976e2506 100644
--- a/packages/dapi-grpc/clients/platform/v0/java/org/dash/platform/dapi/v0/PlatformGrpc.java
+++ b/packages/dapi-grpc/clients/platform/v0/java/org/dash/platform/dapi/v0/PlatformGrpc.java
@@ -77,37 +77,6 @@ org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityResponse> getGetIdentity
return getGetIdentityMethod;
}
- private static volatile io.grpc.MethodDescriptor getGetIdentitiesMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "getIdentities",
- requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesRequest.class,
- responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesResponse.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getGetIdentitiesMethod() {
- io.grpc.MethodDescriptor getGetIdentitiesMethod;
- if ((getGetIdentitiesMethod = PlatformGrpc.getGetIdentitiesMethod) == null) {
- synchronized (PlatformGrpc.class) {
- if ((getGetIdentitiesMethod = PlatformGrpc.getGetIdentitiesMethod) == null) {
- PlatformGrpc.getGetIdentitiesMethod = getGetIdentitiesMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getIdentities"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesResponse.getDefaultInstance()))
- .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getIdentities"))
- .build();
- }
- }
- }
- return getGetIdentitiesMethod;
- }
-
private static volatile io.grpc.MethodDescriptor getGetIdentityKeysMethod;
@@ -139,6 +108,99 @@ org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityKeysResponse> getGetIden
return getGetIdentityKeysMethod;
}
+ private static volatile io.grpc.MethodDescriptor getGetIdentitiesContractKeysMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getIdentitiesContractKeys",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesContractKeysRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesContractKeysResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetIdentitiesContractKeysMethod() {
+ io.grpc.MethodDescriptor getGetIdentitiesContractKeysMethod;
+ if ((getGetIdentitiesContractKeysMethod = PlatformGrpc.getGetIdentitiesContractKeysMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetIdentitiesContractKeysMethod = PlatformGrpc.getGetIdentitiesContractKeysMethod) == null) {
+ PlatformGrpc.getGetIdentitiesContractKeysMethod = getGetIdentitiesContractKeysMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getIdentitiesContractKeys"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesContractKeysRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesContractKeysResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getIdentitiesContractKeys"))
+ .build();
+ }
+ }
+ }
+ return getGetIdentitiesContractKeysMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetIdentityNonceMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getIdentityNonce",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityNonceRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityNonceResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetIdentityNonceMethod() {
+ io.grpc.MethodDescriptor getGetIdentityNonceMethod;
+ if ((getGetIdentityNonceMethod = PlatformGrpc.getGetIdentityNonceMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetIdentityNonceMethod = PlatformGrpc.getGetIdentityNonceMethod) == null) {
+ PlatformGrpc.getGetIdentityNonceMethod = getGetIdentityNonceMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getIdentityNonce"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityNonceRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityNonceResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getIdentityNonce"))
+ .build();
+ }
+ }
+ }
+ return getGetIdentityNonceMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetIdentityContractNonceMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getIdentityContractNonce",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityContractNonceRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityContractNonceResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetIdentityContractNonceMethod() {
+ io.grpc.MethodDescriptor getGetIdentityContractNonceMethod;
+ if ((getGetIdentityContractNonceMethod = PlatformGrpc.getGetIdentityContractNonceMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetIdentityContractNonceMethod = PlatformGrpc.getGetIdentityContractNonceMethod) == null) {
+ PlatformGrpc.getGetIdentityContractNonceMethod = getGetIdentityContractNonceMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getIdentityContractNonce"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityContractNonceRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityContractNonceResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getIdentityContractNonce"))
+ .build();
+ }
+ }
+ }
+ return getGetIdentityContractNonceMethod;
+ }
+
private static volatile io.grpc.MethodDescriptor getGetIdentityBalanceMethod;
@@ -356,37 +418,6 @@ org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumentsResponse> getGetDocumen
return getGetDocumentsMethod;
}
- private static volatile io.grpc.MethodDescriptor getGetIdentitiesByPublicKeyHashesMethod;
-
- @io.grpc.stub.annotations.RpcMethod(
- fullMethodName = SERVICE_NAME + '/' + "getIdentitiesByPublicKeyHashes",
- requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesByPublicKeyHashesRequest.class,
- responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesByPublicKeyHashesResponse.class,
- methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
- public static io.grpc.MethodDescriptor getGetIdentitiesByPublicKeyHashesMethod() {
- io.grpc.MethodDescriptor getGetIdentitiesByPublicKeyHashesMethod;
- if ((getGetIdentitiesByPublicKeyHashesMethod = PlatformGrpc.getGetIdentitiesByPublicKeyHashesMethod) == null) {
- synchronized (PlatformGrpc.class) {
- if ((getGetIdentitiesByPublicKeyHashesMethod = PlatformGrpc.getGetIdentitiesByPublicKeyHashesMethod) == null) {
- PlatformGrpc.getGetIdentitiesByPublicKeyHashesMethod = getGetIdentitiesByPublicKeyHashesMethod =
- io.grpc.MethodDescriptor.newBuilder()
- .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
- .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getIdentitiesByPublicKeyHashes"))
- .setSampledToLocalTracing(true)
- .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesByPublicKeyHashesRequest.getDefaultInstance()))
- .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
- org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesByPublicKeyHashesResponse.getDefaultInstance()))
- .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getIdentitiesByPublicKeyHashes"))
- .build();
- }
- }
- }
- return getGetIdentitiesByPublicKeyHashesMethod;
- }
-
private static volatile io.grpc.MethodDescriptor getGetIdentityByPublicKeyHashMethod;
@@ -573,6 +604,254 @@ org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochsInfoResponse> getGetEpochs
return getGetEpochsInfoMethod;
}
+ private static volatile io.grpc.MethodDescriptor getGetContestedResourcesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getContestedResources",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourcesRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourcesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetContestedResourcesMethod() {
+ io.grpc.MethodDescriptor getGetContestedResourcesMethod;
+ if ((getGetContestedResourcesMethod = PlatformGrpc.getGetContestedResourcesMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetContestedResourcesMethod = PlatformGrpc.getGetContestedResourcesMethod) == null) {
+ PlatformGrpc.getGetContestedResourcesMethod = getGetContestedResourcesMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getContestedResources"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourcesRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourcesResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getContestedResources"))
+ .build();
+ }
+ }
+ }
+ return getGetContestedResourcesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetContestedResourceVoteStateMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getContestedResourceVoteState",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceVoteStateRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceVoteStateResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetContestedResourceVoteStateMethod() {
+ io.grpc.MethodDescriptor getGetContestedResourceVoteStateMethod;
+ if ((getGetContestedResourceVoteStateMethod = PlatformGrpc.getGetContestedResourceVoteStateMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetContestedResourceVoteStateMethod = PlatformGrpc.getGetContestedResourceVoteStateMethod) == null) {
+ PlatformGrpc.getGetContestedResourceVoteStateMethod = getGetContestedResourceVoteStateMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getContestedResourceVoteState"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceVoteStateRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceVoteStateResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getContestedResourceVoteState"))
+ .build();
+ }
+ }
+ }
+ return getGetContestedResourceVoteStateMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetContestedResourceVotersForIdentityMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getContestedResourceVotersForIdentity",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceVotersForIdentityRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceVotersForIdentityResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetContestedResourceVotersForIdentityMethod() {
+ io.grpc.MethodDescriptor getGetContestedResourceVotersForIdentityMethod;
+ if ((getGetContestedResourceVotersForIdentityMethod = PlatformGrpc.getGetContestedResourceVotersForIdentityMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetContestedResourceVotersForIdentityMethod = PlatformGrpc.getGetContestedResourceVotersForIdentityMethod) == null) {
+ PlatformGrpc.getGetContestedResourceVotersForIdentityMethod = getGetContestedResourceVotersForIdentityMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getContestedResourceVotersForIdentity"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceVotersForIdentityRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceVotersForIdentityResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getContestedResourceVotersForIdentity"))
+ .build();
+ }
+ }
+ }
+ return getGetContestedResourceVotersForIdentityMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetContestedResourceIdentityVotesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getContestedResourceIdentityVotes",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceIdentityVotesRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceIdentityVotesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetContestedResourceIdentityVotesMethod() {
+ io.grpc.MethodDescriptor getGetContestedResourceIdentityVotesMethod;
+ if ((getGetContestedResourceIdentityVotesMethod = PlatformGrpc.getGetContestedResourceIdentityVotesMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetContestedResourceIdentityVotesMethod = PlatformGrpc.getGetContestedResourceIdentityVotesMethod) == null) {
+ PlatformGrpc.getGetContestedResourceIdentityVotesMethod = getGetContestedResourceIdentityVotesMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getContestedResourceIdentityVotes"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceIdentityVotesRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetContestedResourceIdentityVotesResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getContestedResourceIdentityVotes"))
+ .build();
+ }
+ }
+ }
+ return getGetContestedResourceIdentityVotesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetVotePollsByEndDateMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getVotePollsByEndDate",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetVotePollsByEndDateRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetVotePollsByEndDateResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetVotePollsByEndDateMethod() {
+ io.grpc.MethodDescriptor getGetVotePollsByEndDateMethod;
+ if ((getGetVotePollsByEndDateMethod = PlatformGrpc.getGetVotePollsByEndDateMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetVotePollsByEndDateMethod = PlatformGrpc.getGetVotePollsByEndDateMethod) == null) {
+ PlatformGrpc.getGetVotePollsByEndDateMethod = getGetVotePollsByEndDateMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getVotePollsByEndDate"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetVotePollsByEndDateRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetVotePollsByEndDateResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getVotePollsByEndDate"))
+ .build();
+ }
+ }
+ }
+ return getGetVotePollsByEndDateMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetPrefundedSpecializedBalanceMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getPrefundedSpecializedBalance",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetPrefundedSpecializedBalanceRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetPrefundedSpecializedBalanceResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetPrefundedSpecializedBalanceMethod() {
+ io.grpc.MethodDescriptor getGetPrefundedSpecializedBalanceMethod;
+ if ((getGetPrefundedSpecializedBalanceMethod = PlatformGrpc.getGetPrefundedSpecializedBalanceMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetPrefundedSpecializedBalanceMethod = PlatformGrpc.getGetPrefundedSpecializedBalanceMethod) == null) {
+ PlatformGrpc.getGetPrefundedSpecializedBalanceMethod = getGetPrefundedSpecializedBalanceMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getPrefundedSpecializedBalance"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetPrefundedSpecializedBalanceRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetPrefundedSpecializedBalanceResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getPrefundedSpecializedBalance"))
+ .build();
+ }
+ }
+ }
+ return getGetPrefundedSpecializedBalanceMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetTotalCreditsInPlatformMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getTotalCreditsInPlatform",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetTotalCreditsInPlatformRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetTotalCreditsInPlatformResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetTotalCreditsInPlatformMethod() {
+ io.grpc.MethodDescriptor getGetTotalCreditsInPlatformMethod;
+ if ((getGetTotalCreditsInPlatformMethod = PlatformGrpc.getGetTotalCreditsInPlatformMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetTotalCreditsInPlatformMethod = PlatformGrpc.getGetTotalCreditsInPlatformMethod) == null) {
+ PlatformGrpc.getGetTotalCreditsInPlatformMethod = getGetTotalCreditsInPlatformMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getTotalCreditsInPlatform"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetTotalCreditsInPlatformRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetTotalCreditsInPlatformResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getTotalCreditsInPlatform"))
+ .build();
+ }
+ }
+ }
+ return getGetTotalCreditsInPlatformMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetPathElementsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "getPathElements",
+ requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest.class,
+ responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetPathElementsMethod() {
+ io.grpc.MethodDescriptor getGetPathElementsMethod;
+ if ((getGetPathElementsMethod = PlatformGrpc.getGetPathElementsMethod) == null) {
+ synchronized (PlatformGrpc.class) {
+ if ((getGetPathElementsMethod = PlatformGrpc.getGetPathElementsMethod) == null) {
+ PlatformGrpc.getGetPathElementsMethod = getGetPathElementsMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getPathElements"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getPathElements"))
+ .build();
+ }
+ }
+ }
+ return getGetPathElementsMethod;
+ }
+
/**
* Creates a new async stub that supports all call types for the service
*/
@@ -637,16 +916,30 @@ public void getIdentity(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentity
/**
*/
- public void getIdentities(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIdentitiesMethod(), responseObserver);
+ public void getIdentityKeys(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityKeysRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIdentityKeysMethod(), responseObserver);
}
/**
*/
- public void getIdentityKeys(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityKeysRequest request,
- io.grpc.stub.StreamObserver responseObserver) {
- io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIdentityKeysMethod(), responseObserver);
+ public void getIdentitiesContractKeys(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesContractKeysRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIdentitiesContractKeysMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void getIdentityNonce(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityNonceRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIdentityNonceMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void getIdentityContractNonce(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityContractNonceRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIdentityContractNonceMethod(), responseObserver);
}
/**
@@ -698,13 +991,6 @@ public void getDocuments(org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumen
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDocumentsMethod(), responseObserver);
}
- /**
- */
- public void getIdentitiesByPublicKeyHashes(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentitiesByPublicKeyHashesRequest request,
- io.grpc.stub.StreamObserver