Skip to content

compress duplicate transaction id's in Ledger file #23

Description

@embiimob

after ledger file is created process the file to replace duplicate transaction id's with a transaction id and count of duplicate rows separated by a delimiter.

Example:
46a022b8d2b5a74946a56dfb4d35c6da8df391eace2288f30b136b9229583c97
46a022b8d2b5a74946a56dfb4d35c6da8df391eace2288f30b136b9229583c97
46a022b8d2b5a74946a56dfb4d35c6da8df391eace2288f30b136b9229583c97
46a022b8d2b5a74946a56dfb4d35c6da8df391eace2288f30b136b9229583c97

would be replace with:
46a022b8d2b5a74946a56dfb4d35c6da8df391eace2288f30b136b9229583c97**:4**

Update file building process to interpret the :4 to mean repeat the data 4 times in a row.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions