Conflict-free version control
An example operation may include one or more of receiving, by a document processor node, a file with a document identifier (ID), generating, by the document processor node, a hash of the file, submitting, by the document processor node, a blockchain transaction containing the hash of the file, the document ID and a locator of a document, assigning, by the document processor node, document access permissions to participating nodes, and notifying the participating nodes of a version of the document under the ID.
1. A document processor node in a blockchain network, the document processor node comprising:
a processor that when executing one or more instructions stored in a memory is configured to:
receive a file with a document identifier (ID);
generate a hash of the file;
submit a blockchain transaction that contains the hash of the file, the document ID, and a locator of a document;
assign document access permissions to participating nodes; and
notify the participating nodes of a version of the document under the document ID.
2. The document processor node of claim 1 , wherein the processor is further configured to:
provide the file to an off-chain node to be stored on a local file store.
3. The document processor node of claim 1 , wherein the processor is further configured to:
receive an assignment of an ownership of the document under the ID is not stored on a ledger of the blockchain.
4. The document processor node of claim 1 , wherein the processor is further configured to:
provide a verification if the document is stored on the ledger of the blockchain.
5. The document processor node of claim 1 , wherein the locator of the document is an encrypted Uniform Resource Locator.
6. The document processor node of claim 1 , wherein the processor is further configured to:
guarantee versioning of the document based on a blockchain transaction ordering responsive to multiple participating nodes submitting the document under the same ID.
7. The document processor node of claim 6 , wherein the processor is further configured to:
provide a conflict-free document ownership among the participating nodes.
8. A method, comprising:
receiving, by a document processor node in a blockchain network, a file with a document identifier (ID);
generating, by the document processor node, a hash of the file;
submitting, by the document processor node, a blockchain transaction containing the hash of the file, the document ID, and a locator of a document;
assigning, by the document processor node, document access permissions to participating nodes; and
notifying the participating nodes of a version of the document under the document ID.
9. The method of claim 8 , further comprising;
providing the file to an off-chain node to be stored on a local file store.
10. The method of claim 8 , further comprising:
receiving an assignment of an ownership of the document under the ID is not stored on a ledger of the blockchain.
11. The method of claim 8 , further comprising:
providing a verification if the document is stored on the ledger of the blockchain.
12. The method of claim 8 , wherein the locator of the document is an encrypted Uniform Resource Locator.
13. The method of claim 8 , further comprising:
guaranteeing versioning of the document based on a blockchain transaction ordering responsive to multiple participating nodes submitting the document under the same ID.
14. The method of claim 13 , further comprising:
providing a conflict-free document ownership among the participating nodes.
15. A non-transitory computer readable medium comprising one or more instructions that when executed by a processor document processor node in a blockchain network cause the processor to perform:
receiving a file with a document identifier (ID);
generating a hash of the file;
submitting a blockchain transaction containing the hash of the file, the document ID, and a locator of a document;
assigning document access permissions to participating nodes; and
notifying the participating nodes of a version of the document under the document ID.
16. The non-transitory computer readable medium of claim 15 , wherein the one or more instructions further cause the processor to perform:
providing the file to an off-chain node to be stored on a local file store.
17. The non-transitory computer readable medium of claim 15 , wherein the one or more instructions further cause the processor to perform:
receiving an assignment of an ownership of the document under the ID is not stored on a ledger of the blockchain.
18. The non-transitory computer readable medium of claim 15 wherein the one or more further comprising instructions further cause the processor to perform:
providing a verification if the document is stored on the ledger of the blockchain.
19. The non-transitory computer readable medium of claim 15 , wherein the one or more instructions further, cause the processor to perform:
guaranteeing versioning of the document based on a blockchain transaction ordering responsive to multiple participating nodes submitting the document under the same ID.
20. The non-transitory computer readable medium of claim 19 , wherein the one or more instructions further cause the processor to perform:
providing a conflict-free document ownership among the participating nodes.