0.0.1 (2020-07-31)
Features
/block/transaction
endpoint finished (fcbed6b), closes #12/block
endpoint (e1de850), closes #13/block
genesis test mockup (4c5be44)/block
returns information about latest block when no block_identifie (2b743f7)- added balance and utxo query and full accountBalance impl. (8e0bae7)
- added block validation when requesting blockTransaction endpoint (a6cc667)
- added metadata to
/block
api (73ff25c), closes #21 - added networkList implementation for both service and repository (#26) (f212b39)
- added tx_out index to txResponse on /block (3735b1d)
- added tx_out index to txResponse on /block (c4ec9c3)
- fastify server with typescript endpoints created using openapi (f31beb2)
- initial commit. Added first prototype to find a tx by hash. Networks is already validated (bd8bfe7)
- network options endpoint (#30) (c1aa3e7)
- network status endpoint (#31) (7be024f)
- now we read the file in an absolute path way. path.resolve() was used to accomplish it (83694f7)
- only return hashes when there are a lot of transactions per block (WIP) (e6a7d60)
- remove findBalance query since findUtxoDetailsForAddress was the same query (28ecd6d), closes #71
- return utxos as metadata when querying for account balance (791068c)
- transactions are returned for
/blocks
API (09ecfd8), closes #22 - typescript types generation based on openapi specs from rosetta (1b48eae)
Bug Fixes
- added tests for /block for a block with more than 8 txs. Extract PAGE_SIZE to .env (38be744)
- allow
/block
to be able to be queried by block === 0 (#59) (ef79708), closes #51 - errors weren't being logged when caught by the server (21291ba)
- findBlock query was refactored to support new db schema (#34) (347dd1c)
- fix query indentation, remove some joins cause they werent necesary. Fix a test bug. Return balance as string from db to avoid posible overflow. (4e953ad)
- JOIN on findBlock must be a LEFT JOIN since previous field could be null on genesisBlock. Also fix a null.toString() (8dd1eb7)
- latestBlockQuery was fixed since db schema update. (fc52f6b), closes #41
- point package.json links to new repo (efaf39b)
- return different error codes to comply with rosetta spec (#52) (8535b6c), closes #49
- return different error codes to comply with rosetta spec (#52) (a86d8c3), closes #49
- transactionInput and transactionOutput query fix. Also fix tests because of some corrupted data with previous queries (#39) (7fb27f1)