Patrick Gray
babe932703
docs: expanded docs for faucet API endpoints ( #843 )
2021-12-15 17:49:20 +01:00
Matthew Little
9c10bf70f7
chore: util for testing chaintip-based http cache-control behavior against CDNs ( #890 )
2021-12-15 17:18:41 +01:00
Asim Mehmood
52f7ad5715
fix: fee rate and nonce for sponsored txs #857
2021-12-15 17:16:47 +01:00
Rafael Cárdenas
61f6e7c27a
fix: git-info error message
2021-12-15 09:55:51 -06:00
Matthew Little
28ebe2d1eb
docs: add major version upgrade instructions ( #908 )
...
BREAKING CHANGE: SQL schema changes have been made, follow the readme upgrade instructions
2021-12-15 16:28:30 +01:00
Matthew Little
a8a87762f4
fix: revert #792 , restore events array to tx responses ( #907 )
2021-12-15 13:14:13 +01:00
Matthew Little
820bfff1db
fix: buffer profiler heap snapshot data to disk before to http client request ( #906 )
2021-12-15 10:48:49 +01:00
Rafael Cárdenas
dfcc591d2a
fix: add parsed abi to mempool tx endpoints ( #904 )
2021-12-14 12:05:56 -06:00
Matthew Little
ee61346ac9
fix: regression introduced in #860 where contract http response abi field is no longer a json string ( #905 )
2021-12-14 19:03:43 +01:00
saralab
9448dd9f81
Feat/27 documentation conventions ( #900 ) - Fixes https://github.com/hirosystems/docs/issues/27
...
* Updated API Descriptions
* Updated Tags from linting
* Updated postman link, descriptions
* Merged with Linting changes
* Fixed Tags for Stacking Rewards, Fees and Names
* Updated API Descriptions
* Updated Tags from linting
* Updated postman link, descriptions
* Merged with Linting changes
* Fixed Tags for Stacking Rewards, Fees and Names
2021-12-13 13:41:27 -05:00
Rafael Cárdenas
7d5940d20e
fix: get abi for all tx queries
...
* chore: refactor abi column into helper
* fix: extend microblock tests
* fix: block txs
* chore: block with metadata
* chore: get tx strict
* chore: search
* chore: search principal
* chore: fixme, not todo
* fix: remove count
* fix: comma typo
* chore: block txs rows
* chore: tx search
* chore: get block from data store
* chore: get txs from block
2021-12-13 11:30:00 -06:00
Alexander Graebe
ca1220c02b
feat: openapi lint config and grouping #744 #762 #745
2021-12-13 18:18:10 +01:00
Matthew Little
0b6213787b
chore: cache docker layers in to speed up stacks-node build CI step ( #892 )
2021-12-10 22:39:40 +01:00
Rafael Cárdenas
196f6120ce
fix: fetch abi on tx /with-transfers ( #895 )
2021-12-10 21:18:35 +01:00
Thomas Osmonson
4964fe7c5e
fix: nft value encoding in /transactions_with_transfers #885
2021-12-10 21:04:22 +01:00
Rafael Cárdenas
d479309dcd
chore: update standalone mocknet instructions
2021-12-10 13:44:45 -06:00
Matthew Little
b2540831c3
fix: contract-call tx arg bug in /extended/v1/address/<principal>/transactions_with_transfers ( #894 )
2021-12-10 20:44:00 +01:00
Rafael Cárdenas
a280073dae
fix: address txs abi and reported total
...
* fix: get abi info when querying address txs
* fix: query return type
* fix: only parse abi json if it is a string
* fix: keep stringify
* fix: broken test
* feat: move abi query to materialized view, fix count
* chore: add test with contract call
* chore: create incremental migration for materialized view changes
* fix: undo vscode temp changes
* chore: test contract-call function decoding in `/extended/v1/address/<contract-principal>/transactions`
* chore: test contract-call function decoding in `/extended/v1/address/<standard-principal>/transactions`
Co-authored-by: Matthew Little <zone117x@gmail.com >
2021-12-10 13:30:01 -06:00
Matthew Little
5697f6f477
chore: fix jest not quickly finishing tests ( #888 )
2021-12-09 22:01:16 +01:00
Matthew Little
29165387f1
chore: fix missing contract-call tx data in tx list endpoint response ( #887 )
2021-12-09 18:22:20 +01:00
Zitao Xiong
8ddec2c458
fix: remove unnecessary socket-io logEvent when init
2021-12-09 09:54:46 -06:00
M Hassan Tariq
c64956aaa2
refactor: remove extra query for parsing contract-call txs #579
2021-12-09 14:37:53 +01:00
Rafael Cárdenas
f34c7d518d
fix: set explicit context for github actions docker builds
2021-12-08 10:17:18 -06:00
Matthew Little
581bef4b2a
feat: chaintip-based cache-control, caching with zero stale data ( #834 )
...
http chaintip cache-control implemented for the following routes:
* /extended/v1/block
* /extended/v1/block/:hash
* /extended/v1/block/by_height/:height
* /extended/v1/block/by_burn_block_height/:burnBlockHeight
* /extended/v1/block/by_burn_block_hash/:burnBlockHash
* /extended/v1/tx
2021-12-07 20:13:40 +01:00
M Hassan Tariq
f993e0d2ef
feat: include entity metadata in search endpoint responses #651
2021-12-07 17:03:16 +01:00
Matthew Little
001e9a9077
Merger master into develop
2021-12-07 16:49:50 +01:00
M Hassan Tariq
fdbc548e28
chore: lint and remove unused exports #806
2021-12-07 11:43:11 +01:00
Rafael Cárdenas
352a054b71
feat: move build-publish github actions to docker/build-push-action@v2
...
* feat: first upgrade attempt
* fix: user and pass
* feat: try hirosystems image
* feat: install cmake, push standalone
* fix: use correct standalone tags
* fix: try re-adding sha and ref tags
* chore: sort dependencies
* chore: version fixes
* fix: only run for master,develop branches
2021-12-06 10:02:24 -06:00
Asim Mehmood
f18068c300
feat: return all the contracts implement a given trait
...
* feat: implement an api to get all contracts which implement a given trait
* test: add test cases for contract/trait endpoint
* docs: added docs for contract/trait endpoint
* fix: add return statment after response
* perf: add index for jsonb abi column
* refactor: use createIndex method
* fix: use get request instead of post for contracts trait
* docs: update docs for trait/contract api
* fix: fixed rebase issue
* test: add test for large query data
* refactor: change path of contract/by_trait api
2021-12-05 22:43:04 -06:00
M Hassan Tariq
f9b4e72517
fix: error reading contract abi #850
2021-12-02 12:24:39 +01:00
Rafael Cárdenas
216b9ab715
feat: docker cleanup
...
* cleaning up docker
feat/cleanup needed it's own cleanup since it was so out of date. better to just start over with an up to date pull of develop
* Update paths for docker-compose files
* Updating paths and compose version
* switch network to testnet
* adjusting stacks-blockchain configs
* use correct context to build api image
* use the defaults from develop branch
* feat: update to latest stacks blockchain
* fix: rosetta output paths
* chore: update stacks api to v0.71.2
Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com >
* fix: remove magic_byte from mainnet toml
Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com >
* fix: update stacks node everywhere
Co-authored-by: wileyj <2847772+wileyj@users.noreply.github.com >
Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com >
2021-12-01 17:03:21 -06:00
Rafael Cárdenas
14f3d08c6f
chore: add a reference to the client readme, expand docs
2021-12-01 11:59:30 -06:00
Asim Mehmood
9f206a3d74
feat: add at_block query param for /address endpoints
...
* feat: added block limit to all the address endpoints
* refactor: fixed typo and types issue
* docs: update docs for at_block params
* refactor: change at_block param to until block
* refactor: refactor openapi docs
* style: fixed style issue
* fix: fixed rebase issue
* fix: add where clause for address tx
* test: add unit test for atBlock
* chore: bump for codecov.io runner fix
Co-authored-by: Matthew Little <zone117x@gmail.com >
2021-11-30 10:18:51 -06:00
Rafael Cárdenas
ab9b3de70a
feat: add prometheus metrics for websockets
...
* feat: add prometheus metrics for websockets
* chore: add comments
* feat: add histogram for subscription duration
* chore: install histogram to socket.io
* chore: install histogram to ws
* feat: add counter for connections by remote address
* chore: consider x-forwarded-for for ip addresses
* chore: comment style updates
* feat: add custom bucket sizes to histogram
2021-11-24 20:37:28 -06:00
M Hassan Tariq
172e6a2123
fix: removed empty events array from response #668
2021-11-24 10:49:08 +01:00
Jason Schrader
04f3c68a9a
chore: update links from blockstack to hirosystems
2021-11-24 10:42:28 +01:00
Rafael Cárdenas
67c453cb6c
feat: add latest smart contract txs materialized view
...
* feat: add contract_txs materialized view
* chore: refresh view on update
* chore: fix unit tests
* feat: optimize view to include last 50 txs
* feat: refresh on microblock updates as well
* chore: remove unused var
* chore: select only required columns
* fix: race condition on refresh and pg notify
* chore: return to shorthand or-equal notation
* fix: await for pg notification emission
* chore: make helper for refreshing views
* fix: sql syntax error
* chore: fix style for view selection
2021-11-23 16:41:01 -06:00
Rafael Cárdenas
e7d8efa9f3
feat: add heartbeat to websockets
...
* feat: add heartbeat to websockets
* chore: cancel interval on ws server close
* fix: also stop heartbeat on client disconnect
2021-11-23 08:41:26 -06:00
Rafael Cárdenas
15600b0304
chore: expand client README to include socket.io and message examples
...
* chore: update block and microblock schema examples
* chore: add update examples to client README
* chore: expand clarity value objects
* fix: typos
2021-11-19 08:38:06 -06:00
Asim Mehmood
f764054cb8
feat: rosetta data api and construction validation with rosetta-cli
...
* test: added test for rosetta cli check:construction and check:data
* ci: added github workflow to test roseta-cli:data
* ci: add github action for rosetta-cli: construction
* refactor: refactor cli tests
* fix: use localhoust for github actions in rosetta config file
* fix: github actions
* fix: rebase issue
* refactor: update rosetta-cli env files path
* refactor: remove hard coded cli container and use rosetta-cli ouput
* perf: remove unnecessary wait of 20 seconds
2021-11-16 10:18:04 -06:00
semantic-release-bot
01cd4a1ad3
chore(release): 0.71.2 [skip ci]
...
## [0.71.2](https://github.com/blockstack/stacks-blockchain-api/compare/v0.71.1...v0.71.2 ) (2021-11-16)
### Bug Fixes
* tx broadcast logging error [#852 ](https://github.com/blockstack/stacks-blockchain-api/issues/852 ) ([b0c43d9 ](b0c43d9395 ))
v0.71.2
2021-11-16 15:09:34 +00:00
Matthew Little
b0c43d9395
fix: tx broadcast logging error #852
2021-11-16 16:00:28 +01:00
Matthew Little
285632a983
feat: stx addr encoding LRU cache
2021-11-16 12:39:25 +01:00
semantic-release-bot
0a485a3db3
chore(release): 0.71.1 [skip ci]
...
## [0.71.1](https://github.com/blockstack/stacks-blockchain-api/compare/v0.71.0...v0.71.1 ) (2021-11-15)
### Bug Fixes
* build/publish Dockerfile python installation issues ([7bc217a ](7bc217a40f ))
* change to python3 ([676fd05 ](676fd05612 ))
* transaction broadcast log ([7fef7a8 ](7fef7a8123 ))
v0.71.1
2021-11-15 15:33:48 +00:00
Rafael Cárdenas
282ee1f8aa
Merge pull request #847 from hirosystems/fix/transaction-logs
...
fix: transaction broadcast logs and Docker publish
2021-11-15 09:25:47 -06:00
Rafael Cárdenas
676fd05612
fix: change to python3
2021-11-15 09:05:10 -06:00
Rafael Cárdenas
7bc217a40f
fix: build/publish Dockerfile python installation issues
...
* fix: install python2 in follower.Dockerfile
* fix: select python2 in Dockerfile
2021-11-15 08:53:18 -06:00
Rafael Cárdenas
7fef7a8123
fix: transaction broadcast log
2021-11-15 08:53:18 -06:00
Rafael Cárdenas
aaafb5ae2f
feat: add nft_custody pg materialized view to speed up nft event lookup
...
* feat: add nft_custody materialized view
* fix: nft events unit test
* fix: perform full query if user wants unanchored results
* feat: only refresh materialized views when not in event replay
2021-11-12 08:40:58 -06:00
Rafael Cárdenas
7a1138452a
fix: build/publish Dockerfile python installation issues
...
* fix: install python2 in follower.Dockerfile
* fix: select python2 in Dockerfile
2021-11-10 10:04:59 -06:00