Page MenuHomePhabricator

[Cashtab] Add chronik method to get all tx history by lokad id
ClosedPublic

Authored by bytesofman on Jul 17 2024, 18:17.

Details

Summary

Add helper function to get all tx history by lokad id. This will be used to support NFT trading. See D16328 for implementation.

This diff does not implement the method. Only adds it + adds tests, to reduce review sprawl of D16328.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
lokadid-history-fn
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29609
Build 58753: Build Diffecash-lib-tests · cashtab-tests
Build 58752: arc lint + arc unit

Event Timeline

fix test for page size, better naming for lokad function

emack added a subscriber: emack.

minor nit

cashtab/src/chronik/__tests__/index.test.js
500 ↗(On Diff #48702)
This revision is now accepted and ready to land.Jul 18 2024, 09:11