-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search related continuations in tx search (#66)
This PR extends the transaction endpoints to gather the history of continuation transactions. It extends the following endpoints and adds the `initialCode` and `previousSteps` fields to them: * Single transaction details: `/txs/tx` * Multiple transaction details: `/txs/txs` * Transaction search: `/txs/search` * Recent transactions: `/txs/recent` In addition to attaching this continuation history to the response, this PR also extends the search logic of `/txs/search` so that if the given search term appears in the `initialCode` of a continuation transaction, the search still finds it. This PR supports kadena-io/block-explorer#64 and kadena-io/block-explorer#63 * Search related continuations in tx search * Retreive continuation history recursively * Explain the continuation histor custom expression * Deduplicate tx summary plumbing * Deduplicate dbToApi tx detail conversion * Deduplicate txs query execution * Add transaction continuation histories * Delete dead code Left over from #140 --------- Co-authored-by: Stuart Popejoy <[email protected]> Co-authored-by: Enis Bayramoğlu <[email protected]>
- Loading branch information
1 parent
75e7606
commit 67cd94d
Showing
6 changed files
with
113 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters