tracking: one ledger, one authority — prune protection and replace-vs-add answered from the same records, fail-safe on unreadable state
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
reasampler_pure_library(origin_ledger SOURCES origin_ledger.cpp LINK PRIVATE json)
|
||||
reasampler_test(origin_ledger LINK origin_ledger json)
|
||||
|
||||
# prune_reconcile + bank_book are linked into the authority's test, not the library:
|
||||
# the test proves end-to-end that a tied usage can never reach the orphan set, which
|
||||
# is the "consumers cannot disagree" property stated at the pure layer.
|
||||
reasampler_pure_library(tracking_authority
|
||||
SOURCES tracking_authority.cpp
|
||||
LINK PUBLIC origin_ledger sample_usage)
|
||||
reasampler_test(tracking_authority LINK tracking_authority prune_reconcile bank_book)
|
||||
Reference in New Issue
Block a user