| CPC G06F 16/1744 (2019.01) | 19 Claims |

|
1. A method of compressing a blockchain stored in a memory of a computer system, comprising:
accessing a first blockchain by a compression application executing on a computer, the first blockchain comprising active and inactive blocks;
traversing the first blockchain by the compression application to identify the active blocks and the inactive blocks in the first blockchain, wherein the blocks of the first blockchain include wireless communication subscriber data;
identifying a first block of the first blockchain as an inactive block according to a block evaluator function and determining to treat the first block as an active block despite the identification as an inactive block responsive to the first block having a link with a second block of the first blockchain, the second block identified as an active block by the block evaluator function;
after traversing the first blockchain, determining that a percentage of inactive blocks on the first blockchain by the compression application exceeds a predefined threshold;
responsive to the percentage of inactive blocks in the first blockchain exceeding the predefined threshold, determining by the compression application to build a second blockchain comprising blocks containing a data content of the active blocks in the first blockchain;
building the second blockchain by the compression application that comprises blocks built to contain the data content of each of the active blocks in the first blockchain and none of a data content of the inactive blocks in the first blockchain;
constructing a history blockchain by:
building new blocks for the history blockchain on the basis of, and including the data content of, the inactive blocks; and
adding the new blocks to the history blockchain, wherein the first blockchain, the second blockchain, and the history blockchain are each separate and distinct blockchains.
|