CPC G06F 16/1752 (2019.01) | 21 Claims |
1. A method comprising:
receiving, by a computing device, data for a block in a blockchain during a recovery process, wherein in the recovery process a recovering replica is recovering the block for a first instance of the blockchain, wherein the first instance of the blockchain is being maintained by the recovering replica, and wherein the block is received from a second instance of the blockchain being maintained by a source replica;
splitting, by the computing device, the data for the block into a plurality of chunks, wherein each chunk includes a portion of the data for the block;
determining, by the computing device, whether the recovering replica can recover a chunk in the plurality of chunks using a representation of the chunk;
in response to determining that the recovering replica can recover the chunk using the representation of the chunk, sending, by the computing device, the representation of the chunk to the recovering replica; and
in response to determining that the recovering replica cannot recover the chunk using the representation of the chunk, sending, by the computing device, the data for the chunk to the recovering replica.
|