MHassanTariq
70bafc91cd
docs: rectified map key variable name
2021-10-27 14:11:54 +05:00
MHassanTariq
a14fc93559
docs: added stacker_tuple in contract map
2021-10-27 14:05:10 +05:00
Matthew Little
bae619d653
fix: microblock related re-org bug causing txs to be incorrectly orphaned #804 #818
2021-10-22 21:38:47 +02:00
Rafael Cárdenas
4ade5ee39b
fix: api versioning
2021-10-20 12:42:46 -05:00
kyranjamie
ff7f9d3472
fix(docs): ensure naming convention is followed
2021-10-20 08:21:49 +02:00
Rafael Cárdenas
c49a4d4a1d
fix: rosetta account/balance speed
...
* fix: optimize stx_events query
* fix: add missing indexes
2021-10-19 09:09:46 -05:00
Rafael Cárdenas
26e50fd1b0
feat: add broadcast/confirmed tx logs
...
* feat: add broadcast/confirmed tx logs
* chore: add comment and return type
* fix: setting /v2 proxy header on response object
* fix: use structured logging (json metadata) for the tx broadcast and tx confirm logs
* chore: update 'http-proxy-middleware' lib
* fix: http proxy lib types after upgrade
* fix: use URL pathname for checking `/v2/transactions`
Co-authored-by: Matthew Little <zone117x@gmail.com >
2021-10-15 11:14:34 -05:00
Rafael Cárdenas
70464f4c82
chore: update openapi-generator-cli
2021-10-13 14:31:29 -05:00
Rafael Cárdenas
95d4108d0b
fix: socket.io incorrect microblock and mempool updates
...
* fix: missing break in microblock updates
* fix: also search pruned mempool txs for socket updates
* fix: allow empty subscription array on connect
2021-10-12 10:48:13 -05:00
Asim Mehmood
9f721c1b18
chore: update stacks.js dependency #712
2021-10-12 12:40:59 +02:00
Rafael Cárdenas
64680e0221
chore: add missing unit tests for socket.io
...
* chore: add block test
* chore: add tx test
* chore: add address tx test
* chore: add address balance test
2021-10-08 08:19:15 -05:00
wileyj
fcf43ed7ce
fixing some typos
2021-10-07 16:18:56 -04:00
Rafael Cárdenas
1b9126e73d
feat: set api version in openapi schema automatically
...
* feat: add real api version to schema
* fix: separate postman from spec resolution
* fix: add workflow_run condition
* fix: vercel broken build
* fix: vercel generate resolved
2021-10-06 08:37:03 -05:00
Rafael Cárdenas
204d7979a9
feat: add microblock update support to socket-io
...
* feat: add microblockUpdate to socket topics
* chore: start adding tests
* chore: finish socket-io test
2021-10-05 09:15:50 -05:00
M Hassan Tariq
13c33e5475
fix: removed regtest references #784
2021-10-05 15:05:33 +02:00
Asim Mehmood
37efffcdf3
fix(bns): save new owner in the db in case of name-transfer #779
2021-10-05 12:35:52 +02:00
Rafael Cárdenas
e854a53ca6
chore: add api architecture diagram
2021-10-04 09:56:27 -05:00
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
Matthew Little
128517e803
Merge branch 'master' into develop
2021-09-28 13:03:28 +02:00
Asim Mehmood
dd25dca40c
test: updated reorg test to cover bns reorg scenerio #654
2021-09-24 15:50:05 +02:00
M Hassan Tariq
0f4613169c
fix: move zonefiles into new table #621
2021-09-22 19:02:26 +02:00
dependabot[bot]
a662e57c55
chore(deps): bump tmpl from 1.0.4 to 1.0.5 ( #775 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 21:32:41 +02:00
Asim Mehmood
8d2d86f972
feat: added execution cost to block response #735
2021-09-21 21:31:16 +02:00
dependabot[bot]
67c71b5363
chore(deps): bump prismjs from 1.23.0 to 1.25.0 in /docs ( #773 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 10:51:26 +02:00
semantic-release-bot
73ec732fb9
chore(release): 0.68.0 [skip ci]
...
# [0.68.0](https://github.com/blockstack/stacks-blockchain-api/compare/v0.67.1...v0.68.0 ) (2021-09-20)
### Bug Fixes
* return the latest name by address [#714 ](https://github.com/blockstack/stacks-blockchain-api/issues/714 ) ([101922b ](101922bc84 ))
### Features
* ability to configure multiple tx broadcast endpoints [#765 ](https://github.com/blockstack/stacks-blockchain-api/issues/765 ) ([8a9222a ](8a9222a3cb ))
v0.68.0
2021-09-20 20:21:17 +00:00
Matthew Little
4e75dd8996
Merge pull request #772 from blockstack/develop
...
Merge develop into master
2021-09-20 22:15:20 +02:00
Matthew Little
8a9222a3cb
feat: ability to configure multiple tx broadcast endpoints #765
2021-09-20 21:50:06 +02:00
Asim Mehmood
101922bc84
fix: return the latest name by address #714
2021-09-20 21:49:20 +02:00
semantic-release-bot
1d6de66305
chore(release): 0.67.1 [skip ci]
...
## [0.67.1](https://github.com/blockstack/stacks-blockchain-api/compare/v0.67.0...v0.67.1 ) (2021-09-17)
### Bug Fixes
* ignore out of order microblocks causing API to crash ([1e0b3d0 ](1e0b3d0e18 ))
v0.67.1
2021-09-17 20:48:06 +00:00
Matthew Little
1e0b3d0e18
fix: ignore out of order microblocks causing API to crash
2021-09-17 15:42:22 -05:00
semantic-release-bot
42402b95cf
chore(release): 0.67.0 [skip ci]
...
# [0.67.0](https://github.com/blockstack/stacks-blockchain-api/compare/v0.66.1...v0.67.0 ) (2021-09-16)
### Bug Fixes
* **rosetta:** use coinbase txs hash instead of stx_lock for forged unlock_transaction [#760 ](https://github.com/blockstack/stacks-blockchain-api/issues/760 ) ([37adcc7 ](37adcc70aa ))
* disable http keep-alive for stacks-node /v2 proxied endpoints ([cebeda0 ](cebeda0e37 ))
* increase the 10 second cap on prometheus http metric reporting ([735874e ](735874e45c ))
* replicate query optimizations to other asset txs queries ([05c9931 ](05c9931b61 ))
### Features
* automatically generate postman collection from the openapi spec ([5f07d74 ](5f07d7455f ))
* **rosetta:** support memos in stx token transfer operations [#752 ](https://github.com/blockstack/stacks-blockchain-api/issues/752 ) ([6f4f3e2 ](6f4f3e2a91 ))
v0.67.0
2021-09-16 10:40:57 +00:00
Matthew Little
0118b74036
Merge pull request #766 from blockstack/develop
...
Merge develop into master
2021-09-16 12:34:46 +02:00
Asim Mehmood
37adcc70aa
fix(rosetta): use coinbase txs hash instead of stx_lock for forged unlock_transaction #760
2021-09-16 11:38:42 +02:00
Rafael Cárdenas
5f07d7455f
feat: automatically generate postman collection from the openapi spec
...
* feat: add speccy and openapi2postmanv2 as deps
* feat: organize postman folders like our docs
* chore: generate postman on gh-pages action
* chore: change link to download Postman collection from local file
2021-09-15 10:01:19 -05:00
Matthew Little
cebeda0e37
fix: disable http keep-alive for stacks-node /v2 proxied endpoints
2021-09-13 23:32:19 +02:00
Matthew Little
735874e45c
fix: increase the 10 second cap on prometheus http metric reporting
2021-09-13 23:32:01 +02:00
Rafael Cárdenas
6c3944515f
chore: update typescript to 4.4.2
...
* chore: update typescript to 4.4.2
* fix: update eslint parser to latest version, remove unnecessary type casts
* fix: add any type to errors in bns tests
2021-09-10 10:46:50 -05:00
Matthew Little
6f4f3e2a91
feat(rosetta): support memos in stx token transfer operations #752
2021-09-10 15:55:40 +02:00
Rafael Cárdenas
05c9931b61
fix: replicate query optimizations to other asset txs queries
2021-09-09 14:34:26 -05:00
semantic-release-bot
9a7165e3c9
chore(release): 0.66.1 [skip ci]
...
## [0.66.1](https://github.com/blockstack/stacks-blockchain-api/compare/v0.66.0...v0.66.1 ) (2021-09-09)
### Bug Fixes
* support post in api status endpoint ([7dcb019 ](7dcb01901b ))
v0.66.1
2021-09-09 17:24:44 +00:00
Rafael Cárdenas
7dcb01901b
fix: support post in api status endpoint
2021-09-09 19:19:59 +02:00
semantic-release-bot
a8d64da5a6
chore(release): 0.66.0 [skip ci]
...
# [0.66.0](https://github.com/blockstack/stacks-blockchain-api/compare/v0.65.0...v0.66.0 ) (2021-09-09)
### Bug Fixes
* optimize query that retrieves txs with asset transfers ([821f578 ](821f578792 ))
* **rosetta:** do not assume encoding of delegate-stx `pox_addr` data [#732 ](https://github.com/blockstack/stacks-blockchain-api/issues/732 ) ([a97bd6f ](a97bd6f0d2 ))
### Features
* added a new endpoint fee_rate [#729 ](https://github.com/blockstack/stacks-blockchain-api/issues/729 ) ([7c09ac5 ](7c09ac53a9 ))
v0.66.0
2021-09-09 11:36:24 +00:00
Matthew Little
583927e886
Merge pull request #748 from blockstack/develop
...
Merge develop into master
2021-09-09 13:30:33 +02:00
Rafael Cárdenas
821f578792
fix: optimize query that retrieves txs with asset transfers
2021-09-09 13:01:33 +02:00
Matthew Little
9519e9a86c
Merge branch 'master' into develop
...
# Conflicts:
# src/rosetta-helpers.ts
2021-09-08 15:51:41 +02:00
Matthew Little
a97bd6f0d2
fix(rosetta): do not assume encoding of delegate-stx pox_addr data #732
2021-09-08 15:47:14 +02:00
Asim Mehmood
7c09ac53a9
feat: added a new endpoint fee_rate #729
2021-09-08 10:57:25 +02:00
semantic-release-bot
1914333f66
chore(release): 0.65.0 [skip ci]
...
# [0.65.0](https://github.com/blockstack/stacks-blockchain-api/compare/v0.64.2...v0.65.0 ) (2021-09-07)
### Bug Fixes
* added types for search endpoint [#645 ](https://github.com/blockstack/stacks-blockchain-api/issues/645 ) ([7cc78fb ](7cc78fb573 ))
* short summaries for BNS endpoints ([e37b5af ](e37b5afbf5 ))
* sql optimizations to speed up various tx queries ([10b1c67 ](10b1c67d20 ))
* **rosetta:** change sender and receiver operations to token_transfer [#683 ](https://github.com/blockstack/stacks-blockchain-api/issues/683 ) ([91856c8 ](91856c8655 ))
### Features
* add execution cost data to transactions ([d9e1131 ](d9e1131f83 ))
* emit prometheus metrics for socket.io ([3100c56 ](3100c5661e ))
* expose FT and NFT transfers in /extended/v1/address/[:principal]/transactions_with_transfers ([439d4f4 ](439d4f46cd ))
* return git info in /extended/v1/status ([0538ae2 ](0538ae297f ))
* token metadata ([33f11bb ](33f11bbcf3 ))
v0.65.0
2021-09-07 12:11:28 +00:00
Matthew Little
ff91e7b1e1
Merge pull request #741 from blockstack/develop
...
Merge develop into master
2021-09-07 06:06:00 -06:00
Matthew Little
10b1c67d20
fix: sql optimizations to speed up various tx queries
2021-09-03 15:15:08 -05:00