Distributed ledger comprising snapshots
AssigneeAlphaPoint
InventorsGiuseppe Ventura, Jeffrey Tangowski
Life of this patent
Estimating the term…
Abstract
A snapshot of a distributed ledger is generated, wherein the distributed ledger is stored by a plurality of node computing entities. A first node computing entity reads current states of one or more domain objects from a local cache stored by the node computing entity and corresponding to an application operating on the node computing entity. A snapshot record comprising the current states of the one or more domain objects is generated and written to a segment data file. The snapshot record is posted to the distributed ledger as part of a block.
Claims20
A method for generating a snapshot of a distributed ledger, the distributed ledger stored by a plurality of node computing entities, the method comprising:
- reading, by a first node computing entity of the plurality of node computing entities and comprising at least one processor, a memory, and a communications interface configured to communicate via at least one network, current states from a local cache stored by the node computing entity and corresponding to an application operating on the node computing entity;
- creating, by the first node computing entity, a new segment root block, wherein the new segment root block comprises the current states;
- closing, by the first node computing entity, a current segment data file stored in the memory;
- opening, by the first node computing entity, a new segment data file in the memory;
- writing, by the first node computing entity, the new segment root block to the new segment data file;
- and
- posting, by the first node computing entity, the new segment root block to the distributed ledger.
An apparatus for generating a snapshot of a distributed ledger, the distributed ledger stored by a plurality of node computing entities, the apparatus being one of the plurality of node computing entities, the apparatus comprising at least one processor, a communications interface configured for communicating via at least one network, and at least one memory storing computer program code, the at least one memory and the computer program code configured to, with the processor, cause the apparatus to at least:
- read current states from a local cache stored by the node computing entity and corresponding to an application operating on the node computing entity;
- create a new segment root block, wherein the new segment root block comprises the current states;
- close a current segment data file stored in the memory;
- open a new segment data file in the memory;
- write the new segment root block to the new segment data file;
- and
- post the new segment root block to the distributed ledger.
A computer program product for generating a snapshot of a distributed ledger, the distributed ledger stored by a plurality of node computing entities, the computer program product comprising at least one non-transitory computer-readable storage medium having computer-executable program code instructions stored therein, the computer-executable program code instructions comprising program code instructions configured to, when executed by a processor of a node computing entity of the plurality of node computing entities:
- read current states from a local cache stored by the node computing entity and corresponding to an application operating on the node computing entity;
- create a new segment root block, wherein the new segment root block comprises the current states;
- close a current segment data file stored in the memory;
- open a new segment data file in the memory;
- write the new segment root block to the new segment data file;
- and
- post the new segment root block to the distributed ledger.
Dependencies are inferred from the claim text.