semiotic-ai / timeline-aggregation-protocol

A fast, efficient and trust-minimized unidirectional micro-payments system.
Apache License 2.0
14 stars 3 forks source link

feat(manager): add receipts_auto_delete #130

Closed aasseman closed 1 year ago

aasseman commented 1 year ago

receipts_auto_delete is a function that deletes receipts that are older than the last RAV.

Had to hack a bit with the tests to reduce code duplication:

Fixes #108

github-actions[bot] commented 1 year ago

🤖 Cargo Audit Report 🤖

(Empty means OK! 👍)

github-actions[bot] commented 1 year ago

Pull Request Test Coverage Report for Build 5511368234


Changes Missing Coverage Covered Lines Changed/Added Lines %
tap_core/src/tap_manager/manager.rs 9 10 90.0%
<!-- Total: 9 10 90.0% -->
Totals Coverage Status
Change from base Build 5510645575: 1.3%
Covered Lines: 978
Relevant Lines: 1149

💛 - Coveralls
aasseman commented 1 year ago

Rabased onto latest main. Now tests are less hacky thanks to #135

github-actions[bot] commented 1 year ago

🤖 Cargo Audit Report 🤖

(Empty means OK! 👍)

github-actions[bot] commented 1 year ago

🤖 Cargo Audit Report 🤖

(Empty means OK! 👍)

github-actions[bot] commented 1 year ago

🤖 Cargo Audit Report 🤖

(Empty means OK! 👍)

github-actions[bot] commented 1 year ago

🤖 Cargo Audit Report 🤖

(Empty means OK! 👍)

aasseman commented 1 year ago

Rebased onto latest main

github-actions[bot] commented 1 year ago

🤖 Cargo Audit Report 🤖

(Empty means OK! 👍)