Verifying data integrity using multiple blockchains
Embodiments provide systems and methods for verifying data integrity on computer systems. A computer-implemented method, for example, includes obtaining a digital fingerprint for a blockchain block of an object previously stored in a first blockchain based on requesting a new block in the first blockchain, the new block automatically storing the digital fingerprint as a fingerprint of a most recent previous block to be added to the first blockchain, requesting retrieval of the obtained digital fingerprint from a second blockchain that is separate from the first blockchain, determining a validity of the obtained digital fingerprint based on a result of the requested retrieval of the obtained digital fingerprint from the second blockchain and providing a report of the determined validity.
1 . A method comprising:
obtaining a digital fingerprint for a blockchain block of an object previously stored in a first blockchain based on requesting a new block in the first blockchain, the new block automatically storing the digital fingerprint as a fingerprint of a most recent previous block to be added to the first blockchain;
requesting retrieval of the obtained digital fingerprint from a second blockchain that is separate from the first blockchain, the second blockchain storing the obtained digital fingerprint and the first blockchain storing object data not also stored in the second blockchain, wherein the second blockchain stores the obtained digital fingerprint after a contract is executed to obtain a consensus on a requested content action;
determining a validity of the obtained digital fingerprint based on a result of the requested retrieval of the obtained digital fingerprint from the second blockchain; and
providing a report of the determined validity.
2 . The method of claim 1 , wherein determining the validity of the obtained digital fingerprint comprises determining that the obtained digital fingerprint is invalid, responsive to determining that the obtained digital fingerprint is not found in the second blockchain.
3 . The method of claim 1 , wherein the first blockchain comprises a private blockchain and the second blockchain comprises a public blockchain.
4 . The method of claim 1 , wherein determining the validity of the obtained digital fingerprint comprises determining that the obtained digital fingerprint is valid, responsive to determining that the obtained digital fingerprint is found in the second blockchain.
5 . The method of claim 1 , wherein the digital fingerprint comprises a digital fingerprint of the new block which is newly added and included in the first blockchain.
6 . The method of claim 1 , wherein the digital fingerprint comprises a hash value of the new block included in the first blockchain, wherein the object previously stored in the first blockchain was previously stored in the block.
7 . The method of claim 1 , wherein obtaining the digital fingerprint for the object previously stored in the first blockchain comprises accessing an application programming interface (API) that is configured to interface with the first blockchain.
8 . A non-transitory computer-readable medium storing instructions that are executable by a processor for:
obtaining a digital fingerprint for a blockchain block of an object previously stored in a first blockchain based on requesting a new block in the first blockchain, the new block automatically storing the digital fingerprint as a fingerprint of a most recent previous block to be added to the first blockchain;
requesting retrieval of the obtained digital fingerprint from a second blockchain that is separate from the first blockchain, the second blockchain storing the obtained digital fingerprint and the first blockchain storing object data not also stored in the second blockchain, wherein the second blockchain stores the obtained digital fingerprint after a contract is executed to obtain a consensus on a requested content action;
determining a validity of the obtained digital fingerprint based on a result of the requested retrieval of the obtained digital fingerprint from the second blockchain; and
providing a report of the determined validity.
9 . The non-transitory computer-readable medium of claim 8 , wherein determining the validity of the obtained digital fingerprint comprises determining that the obtained digital fingerprint is invalid, responsive to determining that the obtained digital fingerprint is not found in the second blockchain.
10 . The non-transitory computer-readable medium of claim 8 , wherein the first blockchain comprises a private blockchain and the second blockchain comprises a public blockchain.
11 . The non-transitory computer-readable medium of claim 8 , wherein determining the validity of the obtained digital fingerprint comprises determining that the obtained digital fingerprint is valid, responsive to determining that the obtained digital fingerprint is found in the second blockchain.
12 . The non-transitory computer-readable medium of claim 8 , wherein the digital fingerprint comprises a digital fingerprint of the new block that is newly added and included in the first blockchain.
13 . The non-transitory computer-readable medium of claim 8 , wherein the digital fingerprint comprises a hash value of the new block included in the first blockchain, wherein the object previously stored in the first blockchain was previously stored in the block.
14 . The non-transitory computer-readable medium of claim 8 , wherein obtaining the digital fingerprint for the object previously stored in the first blockchain comprises accessing an application programming interface (API) that is configured to interface with the first blockchain.
15 . A computer-implemented method comprising:
initiating storage of an object in a first blockchain;
responsive to storage of the object in the first blockchain, obtaining a digital fingerprint of a block in the first blockchain in which the object has been most recently previously stored in the first blockchain;
initiating storage of the obtained digital fingerprint of the block in a second blockchain that is separate from the first blockchain, the second blockchain storing the obtained digital fingerprint and the first blockchain storing object data not also stored in the second blockchain, wherein the second blockchain stores the obtained digital fingerprint after a contract is executed to obtain a consensus on a requested content action;
verifying integrity of the object stored in the first blockchain based on:
initiating retrieval of the object from the first blockchain, and
determining whether a retrieved block digital fingerprint of the first blockchain that is obtained as a result of the initiated retrieval of the object from the first blockchain is stored in the second blockchain.
16 . The computer-implemented method of claim 15 , wherein verifying integrity of the object stored in the first blockchain comprises determining that the retrieved block digital fingerprint is invalid, responsive to determining that the retrieved block digital fingerprint is not stored in the second blockchain.
17 . The computer-implemented method of claim 15 , wherein the first blockchain comprises a private blockchain and the second blockchain comprises a public blockchain.
18 . The computer-implemented method of claim 15 , wherein verifying integrity of the object stored in the first blockchain comprises determining that the retrieved block digital fingerprint is valid, responsive to determining that the retrieved block digital fingerprint is stored in the second blockchain.
19 . The computer-implemented method of claim 15 , wherein the digital fingerprint comprises a hash value of a new block newly added in the first blockchain.
20 . The computer-implemented method of claim 15 , wherein initiating storage of the object in the first blockchain comprises accessing an application programming interface (API) that is configured to interface with the first blockchain.