Skip to content

PointSav Documentation

The engineering library for the PointSav platform — operating systems and services for regulated businesses that own their data, their AI, and their record-keeping outright. Where the monorepo holds the code, this wiki holds the reasoning: architecture, services, security, and the governance commitments that bind future development.

Merkle proofs as a substrate primitive

← All revisions

6e92cbd6 · PointSav Digital Systems ·

editorial(substrate): fix LedgerConsumer trait signature drift in merkle-proofs-as-substrate-primitive (Track-B) — deep-verified against real system-core/system-ledger source: struct/trait/file existence all confirmed accurate (rare for this pass), but the shown LedgerConsumer trait signature had drifted from real code — consult_capability takes &self (not &mut self) plus now/witness params the article omitted; apply_witness_record takes 2 owned params (record, proof), not 5 by-reference params including a SignedCheckpoint the real trait doesn't take (checkpoint state lives on the consumer itself, e.g. InMemoryLedger's CheckpointCache); fixed the code block and surrounding prose to match; register-clean EN

View the full record as of this revision →

@@ -10,7 +10,7 @@ index_group: cryptographic-and-microkernel-primitives
short_description: "Merkle proofs are the cryptographic mechanism letting the platform prove to any third party that a record is part of an append-only log that has not been rewritten."
status: active
bcsc_class: no-disclosure-implication
last_edited: 2026-05-25
last_edited: 2026-08-22
editor: pointsav-engineering
cites: []
references:
@@ -325,18 +325,17 @@ the public contract:
```rust
pub trait LedgerConsumer {
    fn consult_capability(
        &mut self,
        &self,
        cap: &Capability,
        current_root: &SignedCheckpoint,
        now: u64,
        witness: Option<&WitnessRecord>,
    ) -> Result<Verdict, ConsultError>;

    fn apply_witness_record(
        &mut self,
        record: &WitnessRecord,
        proof: &InclusionProof,
        current_checkpoint: &SignedCheckpoint,
        signer_name: &str,
        signer_pubkey: &VerifyingKey,
        record: WitnessRecord,
        proof: InclusionProof,
    ) -> Result<(), LedgerError>;

    // ... revocation and apex methods
@@ -352,11 +351,13 @@ created a gap: a misconfigured or compromised caller could extend the ledger
with records that never appeared in the signed transparency log.

Phase 1A.4 closed this gap by promoting `apply_witness_record` to require an
`InclusionProof` and a `SignedCheckpoint`. The method now delegates to
`verify_inclusion_proof` before recording the witness. A record is accepted
only if the Merkle proof confirms the record's hash is in the tree covered by
the current apex-signed checkpoint. This is the v0.1.x → v0.2.0 breaking
change: trait signature changed, not just implementation.
`InclusionProof` alongside the record. The current checkpoint the proof is
verified against comes from the consumer's own held state (`InMemoryLedger`
keeps a `CheckpointCache`), not a parameter on every call. The method now
delegates to `verify_inclusion_proof` before recording the witness. A record
is accepted only if the Merkle proof confirms the record's hash is in the
tree covered by the current apex-signed checkpoint. This is the v0.1.x →
v0.2.0 breaking change: trait signature changed, not just implementation.

### Read-side cost and the checkpoint cache

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is currently a trade name of Woodfine Capital Projects Inc. ("Woodfine"), planned to become a wholly-owned Woodfine subsidiary upon incorporation. PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. The full trademark notice appears in the footer of every page on this site.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →