feat: blockbook btc integration #582
Annotations
5 errors and 2 warnings
test/tests/get-schema-for-endpoint.test.ts > getSchemaForEndpoint > generateSchemas:
test/tests/get-schema-for-endpoint.test.ts#L1794
Error: Snapshot `getSchemaForEndpoint > generateSchemas 1` mismatched
- Expected
+ Received
@@ -3918,10 +3918,530 @@
],
"type": "object",
},
},
},
+ "/api/v2/": {
+ "response": {
+ "200": {
+ "properties": {
+ "backend": {
+ "properties": {
+ "bestBlockHash": {
+ "type": "string",
+ },
+ "blocks": {
+ "type": "integer",
+ },
+ "chain": {
+ "type": "string",
+ },
+ "difficulty": {
+ "type": "string",
+ },
+ "headers": {
+ "type": "integer",
+ },
+ "protocolVersion": {
+ "type": "string",
+ },
+ "sizeOnDisk": {
+ "type": "integer",
+ },
+ "subversion": {
+ "type": "string",
+ },
+ "version": {
+ "type": "string",
+ },
+ },
+ "type": "object",
+ },
+ "blockbook": {
+ "properties": {
+ "about": {
+ "type": "string",
+ },
+ "bestHeight": {
+ "type": "integer",
+ },
+ "buildTime": {
+ "type": "string",
+ },
+ "coin": {
+ "type": "string",
+ },
+ "currentFiatRatesTime": {
+ "type": "string",
+ },
+ "dbSize": {
+ "type": "integer",
+ },
+ "decimals": {
+ "type": "integer",
+ },
+ "gitCommit": {
+ "type": "string",
+ },
+ "hasFiatRates": {
+ "type": "boolean",
+ },
+ "historicalFiatRatesTime": {
+ "type": "string",
+ },
+ "host": {
+ "type": "string",
+ },
+ "inSync": {
+ "type": "boolean",
+ },
+ "inSyncMempool": {
+ "type": "boolean",
+ },
+ "initialSync": {
+ "type": "boolean",
+ },
+ "lastBlockTime": {
+ "type": "string",
+ },
+ "lastMempoolTime": {
+ "type": "string",
+ },
+ "mempoolSize": {
+ "type": "integer",
+ },
+ "syncMode": {
+ "type": "boolean",
+ },
+ "version": {
+ "type": "string",
+ },
+ },
+ "type": "object",
+ },
+ },
+ "type": "object",
+ "x-examples": {
+ "Example 1": {
+ "backend": {
+ "bestBlockHash": "00000000000000000000df1072b381603f20d3e6877cf4689c743e90d2dde719",
+ "blocks": 784299,
+ "chain": "main",
+ "difficulty": "47887764338536.25",
+ "headers": 784299,
+ "protocolVersion": "70016",
+ "sizeOnDisk": 534828732178,
+ "subversion": "/Satoshi:24.0.1/",
+ "version": "240001",
+ },
+ "blockbook": {
+ "about": "Blockbook blockchain indexer for https://chain49.com/ - based on trezor/blockbook",
+ "bestHeight": 784299,
+ "buildTime": "2023-02-27T02:40:48+00:00",
+ "coin": "Bitcoin",
+ "currentFiatRatesTime": "2023-04-07T03:00:04.080770962Z",
+ "dbSize": 399834379691,
+ "decimals": 8,
+ "gitCommit": "83fe6672",
+ "hasFiatRates": true,
+ "historicalFiatRatesTime": "2023-04-07T00:00:00Z",
+
|
build (20.x)
Process completed with exit code 1.
|
build (18.x)
The job was canceled because "_20_x" failed.
|
test/tests/get-schema-for-endpoint.test.ts > getSchemaForEndpoint > generateSchemas:
test/tests/get-schema-for-endpoint.test.ts#L1794
Error: Snapshot `getSchemaForEndpoint > generateSchemas 1` mismatched
- Expected
+ Received
@@ -3918,10 +3918,530 @@
],
"type": "object",
},
},
},
+ "/api/v2/": {
+ "response": {
+ "200": {
+ "properties": {
+ "backend": {
+ "properties": {
+ "bestBlockHash": {
+ "type": "string",
+ },
+ "blocks": {
+ "type": "integer",
+ },
+ "chain": {
+ "type": "string",
+ },
+ "difficulty": {
+ "type": "string",
+ },
+ "headers": {
+ "type": "integer",
+ },
+ "protocolVersion": {
+ "type": "string",
+ },
+ "sizeOnDisk": {
+ "type": "integer",
+ },
+ "subversion": {
+ "type": "string",
+ },
+ "version": {
+ "type": "string",
+ },
+ },
+ "type": "object",
+ },
+ "blockbook": {
+ "properties": {
+ "about": {
+ "type": "string",
+ },
+ "bestHeight": {
+ "type": "integer",
+ },
+ "buildTime": {
+ "type": "string",
+ },
+ "coin": {
+ "type": "string",
+ },
+ "currentFiatRatesTime": {
+ "type": "string",
+ },
+ "dbSize": {
+ "type": "integer",
+ },
+ "decimals": {
+ "type": "integer",
+ },
+ "gitCommit": {
+ "type": "string",
+ },
+ "hasFiatRates": {
+ "type": "boolean",
+ },
+ "historicalFiatRatesTime": {
+ "type": "string",
+ },
+ "host": {
+ "type": "string",
+ },
+ "inSync": {
+ "type": "boolean",
+ },
+ "inSyncMempool": {
+ "type": "boolean",
+ },
+ "initialSync": {
+ "type": "boolean",
+ },
+ "lastBlockTime": {
+ "type": "string",
+ },
+ "lastMempoolTime": {
+ "type": "string",
+ },
+ "mempoolSize": {
+ "type": "integer",
+ },
+ "syncMode": {
+ "type": "boolean",
+ },
+ "version": {
+ "type": "string",
+ },
+ },
+ "type": "object",
+ },
+ },
+ "type": "object",
+ "x-examples": {
+ "Example 1": {
+ "backend": {
+ "bestBlockHash": "00000000000000000000df1072b381603f20d3e6877cf4689c743e90d2dde719",
+ "blocks": 784299,
+ "chain": "main",
+ "difficulty": "47887764338536.25",
+ "headers": 784299,
+ "protocolVersion": "70016",
+ "sizeOnDisk": 534828732178,
+ "subversion": "/Satoshi:24.0.1/",
+ "version": "240001",
+ },
+ "blockbook": {
+ "about": "Blockbook blockchain indexer for https://chain49.com/ - based on trezor/blockbook",
+ "bestHeight": 784299,
+ "buildTime": "2023-02-27T02:40:48+00:00",
+ "coin": "Bitcoin",
+ "currentFiatRatesTime": "2023-04-07T03:00:04.080770962Z",
+ "dbSize": 399834379691,
+ "decimals": 8,
+ "gitCommit": "83fe6672",
+ "hasFiatRates": true,
+ "historicalFiatRatesTime": "2023-04-07T00:00:00Z",
+
|
build (18.x)
Process completed with exit code 1.
|
build (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|