Files
stacks-blockchain-api/.vscode/tasks.json
Rafael Cárdenas d1adca4d50 feat: add read-only mode
* feat: add readonly vscode launch config and .env var

* feat: add pg-listen dependency

* feat: first successful messages

* chore: modify event emitter types to use only ids

* chore: apply changes to ws rpc

* chore: reduce size of address tx updates

* fix: build tests

* chore: move pg-listen logic to separate class

* fix: incorrect message forwarding

* chore: remove special treatment for test env

* fix: rosetta, bns, tokens tests

* fix: ws-rpc tests and serialization

* fix: block height on ws rpc test

* fix: remove manual notifier connection

* fix: remove circular dependency on PgNotifier

* fix: move away from Map and Set

* fix: close pg channels correcty before disconnecting

* fix: update socket-io with latest messages

* chore: reduce size of token metadata messages

* chore: remove logs on readonly task

* chore: restore old style on rosetta tests

* chore: remove tx_id array from block update message

* feat: don't send tx events on address updates

* fix: remove logs from devenv docker

* chore: remove unused interface

* fix: skip db migrations during read-only mode

* chore: compound debug for dual reader-writer mode

* chore: restore removed line

* chore: delete unused docker config

* chore: update ts string management

* chore: remove readonly npm script

* chore: don't use notifier on event replay

* chore: make notifications be non-blocking

* feat: ignore limit/offset when getting asset transfers for a single block

* chore: make limit and offset optional args too

* chore: fix websocket unit test

* fix: fetch block txs correctly

Co-authored-by: Matthew Little <zone117x@gmail.com>
2021-09-29 12:11:49 -05:00

66 lines
1.6 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "generate:schemas",
"type": "npm",
"script": "generate:schemas",
"presentation": {
"reveal": "silent"
}
},
{
"label": "stacks-node:deploy-dev",
"type": "shell",
"command": "npm run devenv:deploy -- -d",
"isBackground": true,
"problemMatcher": [
{
"pattern": [{ "regexp": ".", "file": 1, "location": 2, "message": 3, }],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": ".",
}
},
]
},
{
"label": "stacks-node:deploy-follower",
"type": "shell",
"command": "npm run devenv:follower -- -d && npm run devenv:logs",
"isBackground": true,
"problemMatcher": [
{
"pattern": [{ "regexp": ".", "file": 1, "location": 2, "message": 3, }],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": ".",
}
},
]
},
{
"label": "stacks-node:stop-dev",
"type": "shell",
"command": "npm run devenv:stop",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
},
{
"label": "stacks-node:build-dev",
"type": "shell",
"command": "npm run devenv:build && npm run devenv:deploy"
},
]
}