Computer-implemented system and method for storing, retrieving and communicating data via a peer-to-peer network

By using transaction indexes, wallets and search tools on the blockchain, combined with Rabin signatures and atomic swap mechanisms, efficient and secure data storage and sharing are achieved, solving the centralization problem of data management on the blockchain and providing decentralized services. Centralized data processing and transmission solution.

CN113169877BActive Publication Date: 2024-10-01NCHAIN HLDG LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980078242.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-11-27
Filing Date
2019-11-14
Publication Date
2024-10-01
Estimated Expiration
2039-11-14

AI Technical Summary

Technical Problem

It is difficult for existing technologies to effectively utilize the distributed, immutable and permanent characteristics of blockchain to store, process, retrieve and share data on the blockchain, and lacks efficient and secure data communication and exchange solutions, especially when it does not rely on In the case of centralized servers.

Method used

Provide a data processing and transmission system based on blockchain, using transaction index, wallet, decompression, decryption components and search tools to realize data storage, retrieval, sharing and access through blockchain search protocol and Yuannet protocol. Rabin signature and atomic exchange mechanism are used to ensure data security and integrity.

Benefits of technology

It realizes a solution to efficiently and securely store, retrieve and share data on the blockchain, avoids centralized control, provides distributed and decentralized data management, and improves the control and security of data access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113169877B_ABST
    Figure CN113169877B_ABST
Patent Text Reader

Abstract

The present invention provides a system for searching a blockchain for data / content stored in one or more blockchain transactions and accessing the data / content. It can be used in conjunction with a protocol for searching a blockchain. Embodiments of the present invention can be arranged to enable a user to search, access, view, write and / or retrieve a portion of the data provided in at least one blockchain transaction (Tx), and can also be arranged to search, access, view, write and / or retrieve a portion of the data provided in at least one blockchain transaction (Tx) based on a transaction index (Tx). index ) identifies at least one transaction (Tx), the transaction index (TX index ) includes a transaction ID and a public key associated with the transaction (Tx). The system may include a search tool that is disposed within the blockchain search system; or is arranged to interface and / or communicate with the blockchain search system. The system may also include at least one wallet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to data improvements for data communication and exchange across electronic networks, particularly peer-to-peer networks such as blockchain networks and the like. It relates to storage, access, retrieval and processing, and in particular to such data-related activities on blockchains. The present invention is particularly suitable for, but not limited to, use when data is processed in a manner similar to that provided by websites and web pages, but using blockchains as the underlying mechanism or platform rather than network servers. Thus, the present invention provides a secure, efficient, cryptographically implemented alternative infrastructure for data processing and transmission. Background Art

[0002] In this document, we use the term "blockchain" to include all forms of electronic, computer-based distributed ledgers. These include consensus-based blockchains and transaction chain technologies, permissioned and unpermissioned ledgers, shared ledgers, and their variations. The term "user" in this article can refer to a person or a processor-based resource.

[0003] Blockchain is a peer-to-peer electronic ledger implemented as a computer-based decentralized distributed system consisting of blocks, which in turn consist of transactions. Each transaction is a data structure that encodes the transfer of control of digital assets between participants in the blockchain system and includes at least one input and at least one output. Each block contains a hash value of the previous block, so that blocks are linked together to create a permanent, unchangeable record of all transactions that have been written to the blockchain since its inception. Transactions contain small programs called scripts embedded in their inputs and outputs that specify how and by whom the output of the transaction can be accessed. Digital assets in the present invention do not include cryptocurrencies.

[0004] In order for a transaction to be written to the blockchain, it must be “validated.” Network nodes perform work to ensure that each transaction is valid, and invalid transactions are rejected by the network. The software client installed on the node performs this validation work on unspent transactions (UTXOs) by executing their locking scripts and unlocking scripts. If the execution of the locking script and unlocking script evaluates to true (TRUE), then the transaction is valid and the transaction is written to the blockchain. Therefore, in order for a transaction to be written to the blockchain, it must: i) be validated by the first node that receives the transaction – if the transaction is validated, then that node relays it to other nodes in the network; ii) the transaction is added to a new block; and iii) the transaction is added to the public ledger of past transactions.

[0005] Blockchain is able to leverage the benefits of blockchain (e.g., permanent, tamper-proof records of events, distributed processing, etc.) while having more uses in its applications.

[0006] One such area of ​​interest is using blockchain to store, share, access and control data between users. Today, this is accomplished via the Internet, where servers host websites and pages that users typically access through search engines to access the data they need.

[0007] However, some observers have begun to envision using blockchain to address certain shortcomings of the Internet, such as the control of large amounts of data and content by centralized parties. See, for example, "Life After Google: The Fall of Big Data and the Rise of the Blockchain Economy," George Gilder, Gateway Editions, July 2018, ISBN-10: 9781621575764 and ISBN-13: 978-1621575764. Summary of the invention

[0008] Therefore, it is desirable to provide an arrangement that enables such data to be stored, processed, retrieved, searched and / or shared on a blockchain, advantageously utilizing the distributed, immutable and permanent nature of the blockchain. Such an improved scheme has now been devised.

[0009] Embodiments of the present disclosure provide at least alternative efficient and secure technologies for implementing blockchain solutions and for storing, processing, searching and / or retrieving data on or from them. Embodiments also provide at least an alternative blockchain-implemented technical infrastructure for storing, processing, retrieving, transmitting, searching and / or sharing data between computing nodes. Because the present invention enables blockchain networks to be used in new ways and to provide improved technical results, the present invention provides an improved blockchain-implemented network.

[0010] Embodiments also provide schemes for securely controlling access to digital resources on technologically different and improved computing platforms, including peer-to-peer networks such as blockchains and blockchain protocols.

[0011] The invention is defined in the appended claims.

[0012] According to the present invention, a computer-implemented method / system may be provided. The present invention may be arranged to store, retrieve and / or share data across a peer-to-peer network such as a blockchain. Data may be stored across one or more blockchain transactions. Conventionally or alternatively, the present invention may be referred to as a search system. It may be arranged to operate together with or in conjunction with a blockchain search protocol. As described, the blockchain search protocol may be substantially related to the "metanet" protocol described herein.

[0013] In this document, "sharing" may include providing, sending, communicating, transferring or providing access to a portion of data to a node or user. The term "processing" may be interpreted to mean any activity related to a transaction or its associated data, including generating, transmitting, verifying, accessing, searching, sharing, submitting to a blockchain network and / or identifying.

[0014] The system may be arranged to enable a (human or machine) user to search, access, view, retrieve and / or otherwise process portions of data provided in or referenced by at least one blockchain transaction (Tx). Thus, a blockchain transaction may include portions of data, or references to portions of data. A reference to a portion of data may be a pointer, address or other indicator of a location where the data is stored. A portion of data may be any type of data or digital content, such as a computer executable item, text, video, image, sound file, etc. A portion of data may be referred to as "content". A portion of data or a reference to it may be in a processed form. For example, it may be a hash digest of a portion of data. Data may be stored on the blockchain or outside the blockchain (i.e., "off-chain").

[0015] Preferably, the system is arranged to be based on a transaction index (TX index ) to identify at least one transaction (T x ), the transaction index includes the transaction ID and the transaction (T x ) associated with the public key.

[0016] As will be readily understood by those skilled in the art, each blockchain transaction (T X ) has its own unique identifier (ID) so that it can be identified on the blockchain. Advantageously, the present invention combines this existing ID with a public key associated with and / or provided within a transaction so that the combination forms a unique identifier for the transaction. This facilitates fast and efficient searching of the blockchain.

[0017] Preferably, the system includes a search facility that is disposed within the blockchain search system (i.e., local or internal); or is arranged to interface and / or communicate with the blockchain search system (i.e., external to the search system).

[0018] Preferably, the system comprises at least one wallet. Preferably, at least one wallet is arranged to generate, store and / or process hierarchical deterministic keys. At least one wallet may be arranged to store at least one cryptographic key and / or at least one token in a trusted execution environment (TEE). Tokens in the present invention do not include cryptocurrency.

[0019] Preferably, the system comprises: a decompression component arranged to decompress the portion of data if it is compressed; a reassembly component; and / or a decryption component arranged to decrypt the portion of data if it is encrypted. The reassembly component may be arranged to reassemble portions of data retrieved from more than one transaction on the blockchain.

[0020] Preferably, the system comprises at least one presentation component arranged to present the data portion to a user in an audible and / or visual form.

[0021] Preferably, the search system includes a method for inputting or generating a search path to identify at least one transaction (T x ), the search path includes:

[0022] i) Transaction Index (TX) index );as well as

[0023] ii) and transaction (T x ) is associated with at least one attribute.

[0024] Preferably, at least one of the attributes is a mnemonic associated with the transaction; and / or at least one attribute is empty.

[0025] Preferably, the (search) system is arranged to communicate with a wallet or other resource to facilitate processing, storage and / or generation of cryptographic keys, blockchain transactions and / or digital signatures.

[0026] Preferably, the system is arranged to store a transaction index (TX index ). Preferably, the system is arranged to store respective transaction indexes for more than one transaction.

[0027] Preferably, the system is also arranged to send a request for the data portion to a peer on the blockchain; and / or receive the data portion from a peer on the blockchain. This enables the creation of an infrastructure that involves using a third party to interact with the blockchain and provide the user with the required data and / or write data to the blockchain on behalf of the user.

[0028] Preferably, a plurality of transactions are provided on the blockchain, each transaction having or providing a portion of the data or referencing a portion of the data.

[0029] Preferably, multiple transactions (T X ) include one, some or all of the inputs, the inputs including:

[0030] The Parent Public Key (PPK) associated with the Logical Parent Transaction (LPTx), identified by a discretionary transaction ID (DTxID); and

[0031] A signature generated using the parent public key (PPK).

[0032] This enables the construction of a logical hierarchy between transactions and their embedded data. As a result, multiple associated or logically linked transactions on the blockchain can be processed efficiently, securely, and quickly. Logically associated transactions may not be stored at consecutive block heights on the blockchain, but they can be easily and securely identified and / or accessed.

[0033] Preferably, the system is also arranged to control access to portions of the data using a time lock mechanism. This provides a greater degree of control over access to data on the blockchain.

[0034] The present invention also provides a corresponding system, which is arranged and configured to perform the steps of any embodiment of the method described herein. It may include a computer-implemented system, the system comprising:

[0035] Processor; and

[0036] A memory comprising executable instructions that, due to being executed by a processor, cause the system to perform any embodiment of the computer-implemented method described herein.

[0037] The present invention also provides a non-transitory computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor of a computer system, causes the computer system to perform at least any embodiment of the method described herein.

[0038] Some embodiments of the method / system of the present invention may include one or more of the features described below, particularly in the section entitled "Browser / Wallet Application".

[0039] Thus, the present disclosure may provide improved solutions for storing, searching, identifying, communicating, and / or accessing data via blockchain. Embodiments provide improvements for data communication and exchange across electronic networks, particularly across peer-to-peer blockchain networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] These and other aspects of the invention will become apparent from and elucidated with reference to the embodiments described herein. Embodiments of the invention will now be described by way of example only and with reference to the accompanying drawings, in which:

[0041] Figure 1 A blockchain transaction embodying the present invention is shown in which data is stored in multiple outputs;

[0042] Figure 2 A blockchain transaction embodying the present invention is shown in which data is stored in an input.

[0043] Figure 3 A series of blockchain transactions embodying the present invention are shown in which data is stored on outputs of multiple blockchain transactions;

[0044] Figure 4 A blockchain transaction embodying the present invention is shown, the blockchain transaction transmitting a payment to allow access to data by means of an atomic swap;

[0045] Figure 5 A blockchain transaction embodying the present invention is shown for redeeming Figure 4 Payment of transactions;

[0046] Figure 6 shows secret values ​​held by participants in a blockchain transaction embodying the present invention, the blockchain transaction issuing tokens to allow access to data via atomic swaps;

[0047] Figure 7 and Figure 8 A blockchain transaction embodying the present invention is shown for issuing a token to allow access to data by means of an atomic swap;

[0048] Fig. 9 and Fig.10 A blockchain transaction embodying the present invention is shown for redeeming Figure 7 and Figure 8 Tokens issued by transactions;

[0049] Fig.11 and Fig.12 shows the method for accessing the Fig. 9 and Fig.10 The transaction is exchanged on a secret blockchain transaction;

[0050] Fig.13 An illustration of a metanet graph structure according to an embodiment of the present invention is provided.

[0051] Fig.14A diagram of a metanet graph tree for the domain "bobsblog" including a MURL search path is shown in accordance with an embodiment of the present invention.

[0052] Fig.15 A diagram is provided that illustrates how searching for content is performed within the infrastructure of an embodiment of the present invention.

[0053] Fig.16 An illustrative interaction between a local full replica peer and a global full replica peer is shown in accordance with an embodiment of the present invention.

[0054] Fig.17 A metanet tree (or graph) is shown for use with reference to the illustrative use cases described below.

[0055] Fig.18 A flow chart is shown that illustrates the process embodied by the illustrative use case provided below.

[0056] Fig.19 is a schematic diagram illustrating a computing environment in which various embodiments may be implemented. DETAILED DESCRIPTION

[0057] In the remainder of this document, the protocol that determines the operation of embodiments of the present invention will be referred to as the "Metanet Protocol".

[0058] According to embodiments of the present invention, the terms "content", "digital content" and "data" may be used interchangeably herein to refer to data stored in, referenced via, or otherwise accessed via blockchain transactions. Data is additional / discretionary data transmitted, communicated, or stored via a blockchain, as opposed to data required by the underlying blockchain protocol as part of the transaction code itself.

[0059] Overview

[0060] As described above, it has been recognized that there is a need for an improved and / or alternative infrastructure to store, write, access, and view data between and by computing nodes. Using the advantages inherent in blockchain technology (e.g., immutable records, cryptographically enforced control and access, built-in payment mechanisms, the ability to publicly inspect the ledger, distributed architecture, etc.) would be advantageous. However, building a "blockchain-enabled Internet" is challenging from many technical perspectives.

[0061] These challenges may include, but are not limited to: how to locate specific portions of data within a network; how to protect and control access to data so that only authorized parties can gain access; how to transmit data from one party to another in a peer-to-peer manner; how to arrange data so that it can be logically associated but still stored in different locations within the network, and how to subsequently combine it from different locations to provide an overall and enhanced result; how to provide and / or store data in a hierarchical manner; how to allow users and parties with different computing platforms to access the required data; how to store, provide, and share data across (potentially global) computing networks without relying on or requiring large storage servers and centralized data controllers.

[0062] The present invention provides this improved solution in a manner that is similar in some respects to the Internet, but achieves its results in a completely different manner, using a platform of completely different hardware components and software components than those known in the prior art. According to an embodiment of the present invention, the servers that store Internet / network data and provide it to end users are replaced by blockchain exchanges that reside on the blockchain network. In order to achieve this, several innovations must be devised. These are described in the following sections.

[0063] Insert data into the blockchain "metanet" for reference Figure 1 , shows a blockchain transaction embodying the present invention, in which first data to be stored on the blockchain is stored in one or more first outputs of the transaction, and second data representing attributes of the first data is stored in one or more second outputs of the transaction. One or more first portions of the first data <content 1> are stored in the spendable output of the transaction. Data <attribute 1> and <attribute 2> representing respective attributes of the first data and a flag indicating that the data is being stored according to the metanet protocol are stored in a second unspendable output of the transaction. The term "unspendable" is used to indicate that at least one first and / or second output of the transaction may include a script opcode (OPRETURN) for marking the output as invalid for subsequent use as an input to a subsequent transaction.

[0064] It is advantageous to store the content and attribute parts of the data separately in separate outputs of the transaction.

[0065] Figure 2 A blockchain transaction embodying the present invention is shown, in which the first data <content 1> to be stored on the blockchain is stored in the input of the transaction. The metanet flag and the attribute data <attribute 1> and <attribute 2> are similar to Figure 1 The arrangement shown is stored in the unspendable output of the transaction.

[0066] Data Insertion

[0067] Data insertion method

[0068] Hopefully the following data can be inserted into the blockchain

[0069] a) MetaNet Logo

[0070] b) Attributes

[0071] c) Content

[0072] Content is the data to be stored on the blockchain, the Metanet Flag is a 4-byte prefix that acts as an identifier for any data related to the Metanet protocol, and attributes contain indexing, licensing, and encoding information about the content. This can include, but is not limited to, data types, encryption, and / or compression schemes. Such attributes are also often referred to as metadata. To avoid confusion with transaction metadata, this term will be avoided in this document.

[0073] The following techniques can be used to embed this data into blockchain scripts:

[0074] 1. OP_RETURN - In this method, all the data (attributes and contents) in the locking script of the provably unspendable transaction output is placed after the OP_RETURN.

[0075] An example output script using this operator is as follows:

[0076] UTXO0:OP_RETURN<Metanet Flag> <attributes> <content>

[0077] 2. OP_RETURN with OP_DROP - In this case, the OP_RETURN contains the attributes, while the content is stored in the spendable transaction script (locked or unlocked) before the OP_DROP. The content can be split into multiple packets in transaction inputs and outputs. If the data is inserted into the transaction input, the OP_MOD can be used as a checksum on the data instead of network node verification to ensure its validity. For example, a 32-bit OP_MOD operation can be performed and checked to see if it is equal to a pre-calculated value.

[0078] In this case, the attributes may contain information about how to reassemble the content packets. Additionally, providing the hash of the reassembled packet H(Content 1 + Content 2) as an attribute enables verification that the recommended reassembly scheme has been used.

[0079] Figure 1 A transaction implementing the second data insertion method is shown in . For simplicity, this transaction only includes the content inserted into its output, which is signed by its single input. Figure 2 The method shown here can also be used to insert content into another input using the OP_DROP statement.

[0080] If the content is large, it may be advantageous to split it over multiple transactions. Figure 3 Shown in. Figure 3 A pair of blockchain transactions embodying the present invention is shown, in which a first data <content> to be stored on the blockchain is split into two chunks <content chunk 1> and <content chunk 2>, which can then be reassembled as <content>=<content chunk 1> / / <content chunk 2>, where the operator " / / " concatenates the content data of the two chunks. The concatenation operator can be replaced by any desired bitwise or similar piecewise binary operator. The two chunks <content chunk 1> and <content chunk 2> are then stored in corresponding spendable outputs of separate blockchain transactions, while data related to attributes of the content data are stored in corresponding non-spendable outputs of the blockchain transaction. Again, the attributes can contain information about the reassembly scheme. For example, the content can be raw data, an executable program, or an HTML web page. In addition, content 1 can include a pointer to the location of content 2 on the blockchain, which functions in the same way as an embedded HTML link within a web page.

[0081] It should be noted that both transactions will take the same public key P (and ECDSA signature) as input, so that although <Content Chunk 1> and <Content Chunk 2> are stored in different transactions with TxID1 and TxID2 respectively, they can be related by the same public key P.

[0082] Using the role of network node verification

[0083] Here, the transaction verification process performed by the network nodes is used to gain an advantage in storing this data. This is because all data in the transaction output will be signed by the owner of the public key P in at least one transaction input (if the SIGHASH|ALL flag is present), and this signature will be checked in the transaction verification process performed by all network nodes.

[0084] This ensures

[0085] Data integrity - If the data is corrupted, the CHECKSIG operation will fail.

[0086] Data authenticity - the owner of P has provably witnessed and signed the data.

[0087] This is particularly beneficial for content that is split over multiple transactions, since P's input signature provides a provable link between the split components of the data, as described above in reference Figure 3 The arrangement shown in is described.

[0088] Rabin's signature

[0089] Another way to ensure the authenticity of data is to use Rabin signatures, which can be used to sign the data itself rather than the entire message. This can be advantageous because the signatory does not need to sign each individual transaction in which the data appears, and the signature can be reused in multiple transactions.

[0090] Rabin signatures can be easily verified in the script. These can be incorporated into case (2) above by inserting the Rabin signature verification before the OP_DROP command, i.e.

[0091] <content1><Rabin Sig(content1)>FUNC_CHECKRABSIG OP_DROP<H(P1)> [CheckSig P1]

[0092] Note that this cannot be done in case (1) above, since the script containing the OP_RETURN fails regardless, so verification cannot be achieved.

[0093] A concrete example using Rabin signatures

[0094] introduce

[0095] Digital signatures are a fundamental part of blockchain protocols. They ensure that any transaction recorded on the blockchain has been authorized by the legitimate holder of the token being sent. In blockchain transactions, the Elliptic Curve Digital Signature Algorithm (ECDSA) is used to sign transaction messages. However, ECDSA signatures are usually applied to the entire transaction.

[0096] There are some use cases for blockchains where participants from outside the network may want to provide signatures for arbitrary data types that can then be used by network participants. By using Rabin digital signatures, any piece of data can be signed - even if it originates outside the blockchain - and then placed in one or more transactions.

[0097] It will now be shown how data can be signed and verified directly with a script by exploiting the algebraic structure of the Rabin cryptosystem.

[0098] Rabin Digital Signature

[0099] Rabin Digital Signature Algorithm

[0100] Background Mathematics

[0101] Definition – Integer mod p

[0102] The integers modulo p are defined as the set

[0103]

[0104] Fermat's Little Theorem

[0105] Let p be a prime number. Then for any integer a, the following condition applies

[0106] a p-1 ≡1mod p

[0107] Euler criterion

[0108] Let p be a prime number. r is a quadratic remainder mod p if and only if

[0109]

[0110] Modular square root (p = 3 mod 4)

[0111] Let p be a prime number such that p≡3 mod 4. Then for any integer r that satisfies Euler's criterion, if a is an integer such that

[0112] a 2 ≡r mod p

[0113] Then, a has the form of a solution of

[0114]

[0115] Chinese Remainder Theorem

[0116] Given pairs of mutually prime positive integers n1, n2, ..., n k and any integers a1, a2, …, a k , a system of simultaneous congruences

[0117] x≡a1modn1

[0118] x≡a2modn2

[0119]

[0120] x≡a k mod n k

[0121] Has a unique solution modulus N = n1n2…n k As a special case of the Chinese Remainder Theorem, it can be shown that:

[0122] If and only if

[0123] When x≡r mod n1·n2,

[0124] x≡r mod n1 and x≡r mod n2

[0125] Rabin Digital Signature Algorithm

[0126] The Rabin digital signature algorithm can be described as follows:

[0127] For any message m, let H be a collision-resistant hash algorithm with k output bits.

[0128] To generate the key, select prime numbers p and q, each with a bit length of approximately k / 2, such that p≡3 mod 4, q≡3 mod 4 and calculate the product n = p·q. The private key is (p, q) and the public key is n = p·q.

[0129] To sign a message m, the signer chooses padding U such that H(m||U) satisfies

[0130]

[0131] The signature S is calculated using the following formula

[0132]

[0133] The signature of a message m is the pair (S,U). Verification can be done simply by checking that for a given m, U, and S,

[0134] H(m||U)≡S 2 mod n (Equation 1).

[0135] If and only if there exists an integer λ in the range 0,…,n-1 such that

[0136] H(m||U)+λ·n=S 2 (Equation 2), this is true.

[0137] The factor λ can be safely included in the signature to provide the combination (S,λ,U).

[0138] The beneficial features of the Rabin signature scheme are as follows:

[0139] a) Signature generation is computationally expensive, while verification of a signature is computationally easy.

[0140] b) The security of the signature depends only on the difficulty of integer factorization. Therefore, the Rabin signature is inherently unforgeable (unlike RSA).

[0141] c) The hash function value H(m||U) must have a similar size to the public key n.

[0142] Verification in Script is straightforward, as it only requires squaring the given signature, performing a modular reduction, and then checking that the result is equal to H(m||U).

[0143] Rabin Signature Proof

[0144] Let p and q be relatively prime numbers, and n = p·q. By using the Chinese remainder theorem, it can be shown that:

[0145] If and only if

[0146] S 2 ≡H(m||U)mod p

[0147] S 2 ≡H(m||U)mod q,

[0148] but

[0149] S 2 ≡H(m||U)mod n

[0150] Use the following equation

[0151]

[0152]

[0153] It can be shown that:

[0154] S 2 ≡H(m||U)mod q

[0155] so

[0156]

[0157] It is assumed that H(m||U) satisfies the Euler criterion. Through similar calculations, it can also be shown that:

[0158] S 2 ≡H(m||U)mod p.

[0159] Rabin signature in blockchain

[0160] Signature verification in scripts

[0161] A small amount of arithmetic and stack manipulation opcodes are required to verify the Rabin signature. Consider a redemption script of the form

[0162] OP_DUP OP_HASH160 <H 160 (n)>OP_EQUALVERIFY OP_MUL OP_SWAP OP_2OP_ROLLOP_CAT FUNC_HASH3072 OP_ADD OP_SWAP OP_DUP OP_MUL OP_EQUAL

[0163] Where n is the signer's public key. This will evaluate to true if and only if the following input is present

[0164] <s> <m><λ> <n>

[0165] Where m is an arbitrary message and (S,λ,U) is a valid Rabin signature. Alternatively, if the Rabin signature is checked using equation 1 above, the redemption script is given by:

[0166] OP_DUP OP_HASH160 <H 160 (n)>OP_DUP OP_TOALTSTACK OP_SWAP<roll index> OP_ROLL OP_CAT FUNC_HASH3072 OP_SWAP OP_MOD OP_SWAP OP_DUP OP_MUL OP_FROMALTSTACK OP_MOD OP_EQUAL

[0167] In this case, this will evaluate to true if and only if the input is

[0168] S> <m> <n>

[0169] In both redemption scripts, the 3072-bit hash projection function "FUNC_HASH3072" is used. For a given message / padding concatenation, the following script is used to generate the FUNC_HASH3072 hash projection:

[0170] OP_SHA256{OP_2OP_SPLIT OP_SWAP OP_SHA256 OP_SWAP}(x11)

[0171] OP_SHA256 OP_SWAP OP_SHA256{OP_CAT}(x11)

[0172] Data Compression

[0173] Internet data consists of JavaScript and common file types such as text files (SML, HTML, etc.), video files (MPEG, M-JPEG, etc.), image files (GIF, JPEG, etc.) and audio files (AU, WAV, etc.), for example, as described in more detail at the following links: https: / / www.doc.ic.ac.uk / ~nd / surprise_97 / journal / vol1 / mmp / #text Using the data insertion techniques described above, these different data types can also be embedded on the blockchain.

[0174] Before embedding large file sizes on the blockchain, they can be compressed using one of several existing encoding schemes. Lossless data compression algorithms such as run-length and Huffman coding can be used for several applications, including ZIP files, executable programs, text documents, and source code.

[0175] There are many different algorithms, depending on the specific input data. Apple Lossless and Adaptive Transform Vocoding can be used to compress audio files, PNG and TIFF can be used to compress graphic files, and movie files can be compressed using one of many lossless video codecs. Flags within the attributes can be used to indicate any compression of the data content. For example, the flag in the attributes for the LZW lossless encoding scheme would be <lzw>.

[0176] Encryption and decryption of payments

[0177] Data encryption

[0178] Owners of content can choose to protect content before embedding it on the blockchain. This ensures that the content cannot be viewed without the necessary permissions.

[0179] There are many well-known techniques for encrypting data (plaintext or other data types). These techniques can be classified as asymmetric encryption or symmetric encryption.

[0180] Elliptic Curve Cryptography (ECC) is asymmetric because it relies on a public-private key pair. It is one of the most secure cryptographic systems. For ECC cryptography, the Koblitz algorithm can be used to encrypt data.

[0181] In a symmetric scheme, a single key is used for both encryption and decryption of data. The Advanced Encryption Standard (AES) algorithm is considered one of the most secure symmetric algorithms generated by such a secret as a seed, for example as described in more detail in C. Paar and J. Pelzl, Chapter 4 in "Understanding Cryptography", Springer-Verlag Berlin Heidelberg, 2nd edition, 2010, pages 87-118.

[0182] When encrypting data stored on a blockchain, there are advantages to using the same cryptographic system as the underlying blockchain. These advantages are:

[0183] -The encryption is only as secure as the underlying system on which the data is stored.

[0184] -The software architecture required to store encrypted data will have a smaller code base.

[0185] -Key management in the wallet can be used for both transactions and encryption / decryption.

[0186] - It is more efficient since the same key can be used for encryption and payments, so fewer keys are needed. This also reduces storage space.

[0187] - The ability to exchange / purchase decrypted data may require fewer communication channels.

[0188] - Improved security since the keys used for encryption and transactions are the same data structure, thus mitigating targeted attacks on specific key types.

[0189] For purposes of illustration, it is described how the Koblitz algorithm may be used to encrypt data using ECC.

[0190] Koblitz algorithm

[0191] Given an ECC key pair P1=S1·G, the Koblitz algorithm allows anyone to encrypt a message using the public key P1, so that only someone who knows the corresponding private key S1 can decrypt the message.

[0192] Suppose you wish to encrypt the plaintext message 'hello world' using the Koblitz method. This is done character by character. The first character 'h' is encrypted and decrypted as follows.

[0193] 1. The character 'h' is mapped to a point on the secp256k1 curve. This can be done by mapping the plaintext characters to 8-bit numbers using the ASCII convention. The point on the curve is then calculated by multiplying the base point G by this number. In this example, 'h' maps to 104 in ASCII and the elliptic curve point is represented by P m =104·G is given.

[0194] 2. Then use the public key P1 to point P m This is done by choosing a random temporary key k0 and computing the pair C m = {k0·G,Q} (where Q: = P m +k0·P1) to achieve this, and then the point pair can be broadcast.

[0195] 3. The owner of private key S1 can calculate P m =Q-S1·k0·G to decrypt the original point. They can then recover the original ASCII numbers by trial and error or with the help of a lookup table to establish which number x corresponds to P m =x·G.

[0196] Using blockchain to purchase licenses

[0197] Storing data on a blockchain has the obvious advantage that payment mechanisms are built into the system. Payments can be used to purchase

[0198] -Decrypt data for viewing / use

[0199] -Permission to insert data at a specific address

[0200] In both cases, the buyer uses a token to purchase a secret that grants them permission to do something. The secret can be a hash preimage or a private key.

[0201] An efficient and secure way to make such a purchase is to use an atomic swap. This keeps the secure communication channel to a minimum and ensures payment to the seller and disclosure of the secret to the buyer, or that nothing has happened.

[0202] It is also convenient to purchase licenses using access tokens. This is a secret value (usually a hashed preimage) that the buyer has that he can use to make a purchase. The buyer can buy such access tokens in bulk in advance and then activate them when he actually wants to use the license.

[0203] Now refer to Figure 4 and Figure 5 Describes how to perform atomic swaps.

[0204] Atomic swaps using hash puzzles or private key puzzles

[0205] Assume Alice is the owner of a secret. The secret can be a hash preimage of a known hash digest, or a private key of a known public key. Assume Bob wishes to purchase the secret from Alice using a token. Describe a mechanism called an atomic swap that enables this transaction to occur. This is atomic in the sense that Alice obtains the token and reveals the secret to Bob, or nothing happens.

[0206] The method is as follows:

[0207] Alice has a public / private key pair P A =S A G's private key S A , Bob has a public / private key pair P B =S B G's private key S B .

[0208] Alice has the secret of the private key S1 which is the preimage X of the known hash digest H(X) or the known public key P1=S1·G.

[0209] They agree that Alice will sell the secret to Bob for a token price.

[0210] Before this can happen, Bob must set up a transaction to send the temporary key k0 to Alice outside the block, so that Alice can calculate the component r0 of the digital signature.

[0211] Reference Figure 4 ,

[0212] 1. Bob transfers the tokens locked via the following redemption script R (written schematically) to Alice:

[0213] For the hash preimage:

[0214] R=[Hash Puzzle H(X)][CheckSig P A ]

[0215] This forces the preimage X to be exposed in the redeem script's input.

[0216] For private key:

[0217] R=[Private Key Puzzle P1,r0][CheckSig P A ]

[0218] This forces the private key S1 to be computable from the input to the redeem script. In this case, Bob and Alice must agree on a temporary key k0 for constructing r0, where (r0, R y )=k0·G.

[0219] 2. Since Alice knows her secret (X or S1), she can use Figure 5 The transaction shown spends her funds on the blockchain. This allows Bob to determine her secret.

[0220] As an optional security feature, Alice and Bob can use their public keys P A ,P B To establish a shared secret S known only to the two of them. This can be achieved in the manner outlined in International Patent Publication No. WO 2017 / 145016. In this case, S can be added to the preimage X in the hash puzzle so that X is not publicly revealed on the blockchain. Similarly, in the private key puzzle, S can be used as a temporary key k0 to ensure that only Alice or Bob can calculate the private key.

[0221] If Alice decides not to spend her funds, a time-locked refund can be introduced into the procedure to prevent Bob’s funds from being locked by Alice.

[0222] Purchase using tokens

[0223] Assume the same situation as described above, but Bob wishes to redeem the access token purchased in advance in exchange for a secret.

[0224] The procedure that Alice and Bob must follow is similar to the case described in the previous section, but uses a similar sequence of atomic swaps. There are two phases to the process; token issuance and token redemption.

[0225] Phase 1: Token Release

[0226] The token issuance phase is actually a single purchase of tokens by Bob. For example, consider the following scenario: Alice has 10 different secrets X1, X2, …, X 10 , and Bob wishes to purchase 10 tokens T1,T2,…,T in a single transaction, each granting him access to the corresponding secret 10 .

[0227] First, Bob generates a set of 10 tokens from a secret seed value known only to him. These tokens are created by sequentially hashing the seed to form a hash chain, where each token is calculated as:

[0228] T i =H 10-i (Y)For i∈{1,2,…,10}.

[0229] Alice and Bob now each have 10 secret values ​​that can be revealed in a hash puzzle to, for example, redeem tokens. However, in order to issue these tokens, they must also each generate a secret initialization value I Alice and I Bob . These values ​​are given as follows:

[0230]

[0231] I Bob =H 10 (Y).

[0232] It should be noted that Alice's initialiser is simply a random integer with no particular meaning, but Bob's initialiser should be the hash of his first token T1=H 9 (Y). Extending the token chain to an initialization value in this manner allows token issuance to also define tokens to be used later for subsequent redemption. Figure 6 All secret values ​​kept by each participant are shown in .

[0233] Alice and Bob can now agree to buy 10 tokens for 10 units. The purchase of these tokens can be done in a variety of ways, but we will use an atomic swap to illustrate this. Figure 7 and Figure 8 The outputs in both transactions require the solution of two hash puzzles and a valid signature.

[0234] Once two transactions appear in the blockchain, Alice and Bob can share their shared initialization value I Alice and I Bob , and complete the atomic swap of token issuance.

[0235] As a result of this atomic swap, Alice receives payment for the purchase of 10 tokens and both initialization value secrets are revealed. Note that only Bob’s secret I Bob =H 10 (Y) is meaningful because it will define the first hash puzzle to be solved [Hash puzzle (T1)], whose solution is the initialization value H 10 The preimage H of (Y) 9 (Y).

[0236] Phase 2: Token Redemption

[0237] At some point in the future, Bob wants to redeem his first token T1 = H 9 (Y) and receives its first secret X1, but as mentioned above, it has already paid for this secret by purchasing a valid token. The process of exchanging tokens will take the form of another atomic swap, in which the solution to the locked hash puzzle is the token T i and the corresponding secret X i .

[0238] To redeem his tokens, Bob should broadcast Fig. 9 The transaction shown in , the output of which is locked with two hash puzzles. When Alice sees this transaction, she broadcasts Fig.10 The two parties can now exchange their secrets T1 and X1 and unlock the outputs of these transactions. The two parties can now redeem the nominal fee x by providing the correct unlocking script that also exposes the two secrets. Fig.11 and Fig.12 A transaction with these unlocking scripts is shown in .

[0239] Completion of this atomic swap to redeem tokens reveals Alice's first secret x1 to Bob, reveals Bob's first token T1 to Alice, and has a net zero exchange of funds given that the amount x is suitably large to encourage both parties to spend the locked output. Crucially, this also establishes that the next token Bob can spend must be the solution T2 to the hash puzzle [hash puzzle H(T2)], where the target hash H(T2) = T1 has just been revealed to Alice. This process can be repeated recursively until Bob has spent his last token T 10 =Y.

[0240] Naming and addressing

[0241] Node and edge structure

[0242] It has been explained above how data can be inserted into the blockchain by providing it within a transaction. Now a protocol is presented for structuring these transactions in a logical manner that allows for node discovery, licensing, and content versioning. The structure of this distributed peer-to-peer metanet is similar to the existing Internet.

[0243] It should be noted that this is a "tier-2" protocol that does not modify the protocol or consensus rules of the underlying blockchain.

[0244] The goals of the structure described here are:

[0245] (i) Associating related content from different transactions to enable search, identification and access to data

[0246] (ii) Allow human-readable keyword searches to identify content to improve search speed, accuracy, and efficiency

[0247] (iii) Building and simulating server-like structures in blockchain

[0248] Our approach is to structure the data associated with the meta-network as a directed graph. The nodes and edges of this graph correspond to:

[0249] Node - Transactions associated with the Metanet Protocol. Nodes store content. (The terms "content" and "data" are used interchangeably in this document).

[0250] The node is included by<Metanet Flag> Each node is assigned a public key P node The combination of the public key and the transaction ID uniquely specifies the index ID of the node. node :=H(P node ||TxID node ).

[0251] The hash function used should be consistent with the underlying blockchain protocol that the present invention will be used with, for example, SHA-256 or RIPEMD-160.

[0252] Edge - the association of a child node with a parent node.

[0253] Edge in Signature Sig P parent It is created when it appears in the input of a MetaNet transaction, so only the parent can give permission to create an edge. All nodes can have at most one parent, and a parent node can have any number of children. In the language of graph theory, the indegree of each node is at most 1, and the outdegree of each node is arbitrary.

[0254] It should be noted that edges are aspects of the metanet protocol and are not themselves transactions associated with the underlying blockchain.

[0255] A valid metanet node (with a parent) is given by a transaction of the following form:

[0256]

[0257] This transaction contains all the information needed to specify the following nodes and their parent indexes:

[0258] ID node =H(P node ||TxID node ),

[0259] ID parent =H(P parent ||TxID parent ).

[0260] Furthermore, since the signature of the parent node is required, only the parent can create an edge to the child. <TxID parent >field does not exist or does not point to a valid Metanet transaction, then the node is an orphan. The node has no higher-level nodes that can reach it.

[0261] Additional attributes can be added to each node. These attributes can include flags, names, and keywords. These attributes are discussed later in this document.

[0262] As shown, the index of nodes (transactions) can be divided into

[0263] a) Public key P node , which we interpret as the address of the node

[0264] b) Transaction ID TxID node , which we interpret as the node's version

[0265] This structuring yields advantageous characteristics:

[0266] Permission - only if the public key P node The node's children can only be created when the owner of P signs the transaction input when creating the child node. node Not only does it represent the address of a node, but it also represents the permission to create child nodes. This is intentionally similar to standard blockchain transactions - a public key is not only an address, but also the permission associated with that address.

[0267] It should be noted that since the parent node's signature appears in the UXTO unlocking script, it is verified through the standard network node verification process when the network accepts the transaction. This means that the permission to create the child node is verified by the blockchain network itself.

[0268] It is worth noting that a standard Internet Protocol (IP) address is unique only within a network at a certain point in time. On the other hand, the index of a node in a metanet is unique at all times, and there is no concept of separate networks, which allows data to be permanently anchored to a single object ID. node .

[0269] The node and edge structure allows the meta-network to be visualized as a graph, e.g. Fig.13 shown.

[0270] Domains, naming, and locating content in the Metanet

[0271] The hierarchical structure of the metanet graph allows for a rich domain-like structure to emerge. We interpret orphan nodes as top-level domains (TLDs), children of orphan nodes as subdomains, grandchildren as sub-subdomains, etc., and childless nodes as end-points. Fig.13 .

[0272] Domain name is interpreted as ID node Each top-level domain in the metanet can be viewed as a tree, where the root is an orphan node and the leaves are childless nodes. The metanet itself is a global collection of trees that form a graph.

[0273] The MetaNet protocol does not specify that any node contains content data, but leaf (childless) nodes represent the end of a directed path on the data tree and will therefore typically be used to store content data. However, content can be stored at any node in the tree. Protocol-specific flags included as attributes in the node can be used to specify the role of a node in the data tree (disk space, folder, file, or permission change).

[0274] As mentioned earlier, the Internet uses the Domain Name System (DNS) to associate human-readable names to Internet Protocol (IP) addresses. DNS is decentralized in a sense, although in practice it is controlled by a small number of key players (e.g., governments and large companies). Depending on your DNS provider, the same name can take you to different addresses. This problem is inherent in mapping short human-readable names to computer-generated numbers.

[0275] We assume that there is a decentralized index ID that maps human-readable top-level domains to root nodes root In other words, there is a 1-1 function κ that maps human-readable names to metanet root node indices, such as:

[0276] κ('bobsblog')=ID bobsblog (=H(P bobsblog ||TxID bobsblog ))

[0277] The input to the left is a human-readable word, and the output to the right is a hash digest, which will typically be a 256-bit data structure. bobsblog and TxID bobsblog It is not usually human readable either. In standard IP protocol this would be a mapping from www.bobsblog.com to the IP address of the corresponding domain within the network.

[0278] The mapping κ should be interpreted as a measure to ensure backward compatibility of the Metanet with the Internet when replicating human readability of DNS-published domain names, but the naming and addressing scheme providing the structure of the Metanet does not explicitly depend on this mapping.

[0279] Possible existing forms of mapping functions include the DNSLink system adopted by the Interplanetary File System (IPFS) or the OpenNIC service (https: / / www.openic.org). The mapping can be stored in an existing TXT record as part of DNS. This is similar to DNSLink in IPFS, see https: / / docs.ipfs.io / guides / concepts / dnslink / . However, in general, these sacrifice some elements of decentralization in order to provide a 1-1 mapping, see https: / / hackernoon.com / ten-terrible-attempts-to-make-the-inter-planetary- file-system-human-friendly-e4e95df0c6fa

[0280] Vanity Address

[0281] The public keys used as addresses of MetaNetwork nodes are not human-readable objects. This can make search, referencing, and input activities by human users error-prone and slow. However, it is possible to create human-recognizable public key addresses - vanity addresses P vanity - It includes a plain text prefix that can be directly interpreted by the user. Vanity addresses are known in the art.

[0282] The difficulty of creating such an address depends on the length of characters in the required prefix. This means that human-readable vanity addresses can be used as node addresses that rely only on the owner's creation effort rather than central publication. For a given prefix, there are many different vanity addresses due to the remaining characters in the suffix, so many node addresses can share a common prefix while still remaining unique.

[0283] An example of a vanity address with the desired prefix is:

[0284] P bobsblog :bobsblogHtKNngkdXEeobR76b53LETtpyT

[0285] Prefix:bobsblog

[0286] Suffix:HtKNngkdXEeobR76b53LETtpyT

[0287] The vanity address above can be used to sense the node index ID from the name 'bobsblog' bobsblog It should be noted that the prefix is ​​not unique here, but the entire address itself is a unique entity.

[0288] Selected address P vanity Together with TxID, it forms ID node The combination of is also beneficial because it means there is no central issuer of domain names, and the names are recoverable from the blockchain itself. Advantageously, there are no more points of failure that exist within the Internet DNS.

[0289] Since the metadomain already provides a permission system (public keys), there is no need to issue certificates to prove ownership. This has been done, for example, in Namecoin ( https: / / namecoin.org / ) explores using blockchain for this purpose. However, according to the present invention, there is no need to use a separate blockchain for this function, as everything can be achieved within one blockchain.

[0290] This significantly reduces the amount of resources (hardware, processing resources and energy) required by the present invention compared to the prior art. It also provides a completely different architecture in terms of the arrangement of the devices and system components.

[0291] The advantage of this naming system is that users are able to identify top-level domains in the Metanet by memorable words (e.g., company names) rather than hash digests. This also makes searching for domains faster because it is faster to search for keywords rather than hash digests. This also reduces typing errors, thus providing an improved search tool for data stored on the blockchain.

[0292] Given that we have a mapping from domain names to node indices, we can create a resource locator similar to the Internet's uniform resource locator (URL). We call this a metanet URL (MURL) and it is of the form

[0293] MURL='mnp:'+' / / domain name'+' / path'+' / file'.

[0294] Each of the components of a URL—protocol, domain name, path, and file—has been mapped to the structure of an MURL, making the object more user-intuitive and enabling it to integrate with the existing structure of the Internet.

[0295] This assumes that each node has a name associated with its public key (address) that is unique at the level within the domain tree. The name is always the rightmost component of the MURL for a given node. If two nodes at the same level in the tree have the same name, they will have the same public key, so the latest version is used.

[0296] The following table gives an analogy between the Metanet Protocol and the Internet Protocol:

[0297]

[0298] Table: Summary of analogies between Internet Protocol and Metanet Protocol

[0299] Search MetaNet

[0300] We have defined the meta-graph structure of the exemplary embodiment so that each node has a unique index and can have a name attributed to it. This allows the use of MURLs to locate content. To also enable fast search functionality, we allow additional keywords to be attributed to nodes.

[0301] The fixed attributes of a node are the index and the index of the parent node, and the optional attributes are the name and keyword.

[0302] Node properties

[0303]

[0304]

[0305] In one example, a practical method for searching the metanet may be to first trawl the blockchain using a block explorer and identify all transactions by the metanet flag, check if it is a valid metanet node, and if so, record its index and keyword in a database or other storage resource. This database can then be used to efficiently search for nodes by the desired keyword. Once the index of a node is found by the desired keyword, its content can be extracted from the block explorer and viewed.

[0306] For example, consider Fig.14 Branch P1 of P0, P1 and P 1,1 The nodes represent the home page, topic page, and sub-topic page respectively. These nodes are given the names 'bobsblog', 'summer', and 'caribbean', and their properties are as follows:

[0307] Home page node P0

[0308]

[0309] Topic page node P1

[0310]

[0311]

[0312] Subtopic page node P 1,1

[0313]

[0314] In this example, the leaf node P 1,1,1 , P 1,1,2 and P 1,1,3 They are given the names 'beaches', 'nightlife' and 'food' respectively, and are used to store individual blog posts. The complete domain structure is shown in the diagram over leaf at the end of the page, including the MURL search paths associated with each node in the tree.

[0315] We should note that the Metanet can also be incorporated into the Content Addressable Network (CAN) by storing the hash of the content stored by the node transaction as an additional attribute. This means that the Metanet nodes can also be indexed and searched by content hash.

[0316] The naming and addressing method described above provides numerous technical advantages over existing technologies, including:

[0317] 1. Public key address - The system uses the same public-private key pair as the blockchain to assign node addresses. This means that the same set of keys is used for both the management of tokens and the licensing of content data. This provides an efficient and secure solution.

[0318] 2. Graph Structure - The naming and addressing architecture specifies a graph that can be constructed from a subset of blockchain data including metanet nodes. The design uses an ordered structure to map the complexity of the Internet to the blockchain, allowing the blockchain to fully replicate its functionality and scalability while maintaining security.

[0319] Blockchain search engine

[0320] Search Engines – Prior Art

[0321] Search engines (SEs) known in the prior art rely on powerful web crawlers to locate, index, and rate web content based on user queries. (The same basic principle can be extended to third-party blockchain SEs that crawl the metanet).

[0322] The SE identifies relevant HTML meta tags and content through keyword searches in the query. The crawl results are then indexed, where any embedded images / videos / media files are analyzed and cataloged. The most relevant results in the index are then programmatically ranked, taking into account the user's location, language, and device.

[0323] A typical SE should have the following functionality:

[0324] 1. Crawl - Identify Internet data and crawl through related metadata such as domain names, linked pages, and related keywords, etc. Discover new Internet content through existing content and also crawl for any related information.

[0325] 2. Indexing - Analyze and catalog content data. This information is stored in a database.

[0326] 3. Serving and Rating - Rating content indexes in order of relevance to user queries.

[0327] Block Detector

[0328] The closest blockchain analog to an Internet search engine (SE) is a blockchain explorer, which is sometimes called a 'block explorer' or 'blockchain browser.' A blockchain explorer is a web application that enables user-friendly queries of the blockchain at a high level, and functions similarly to a web browser, but connects to the blockchain rather than the Internet.

[0329] In most cases, these probes allow blocks (indexed by the hash of the block header), transactions (indexed by TxID), addresses, and unspent transaction outputs (UTXOs) to be searched as input. Many probes also provide their own application programming interface (API) for retrieving raw transaction and block data. See https: / / blockexplorer.com / api-ref .

[0330] Block explorers vary in their capabilities, but are generally useful for cataloging transactions and displaying basic information about them in a form that is easily digestible by users—for example, the monetary value of the transaction, the confirmation and history of the coin, and the address. Many explorers also allow viewing of a transaction's individual inputs and locking scripts, although these are not as common as more advanced sites (e.g., Blockchair). https: / / blockchair.com / ) choose to provide this information.

[0331] Recently, there are many extensions to the basic blockchain explorer for running web applications based on blockchain data. These applications (e.g., Memo.cash https: / / memo.cash / protocol and Matter https: / / www.mttr.app / home ) catalogs and organizes blockchain transactions containing specific protocol identifiers like a block explorer, and displays the data encoded within those specific transactions.

[0332] However, there are two significant problems with using blockchain detectors, which embodiments of the present invention address:

[0333] 1. Universality - Currently there is no industry standard for browsing content data stored in transactions. Content data refers to any data that is not related to the protocol used to create and secure the underlying blockchain.

[0334] 2. Keyword Search - The content data stored in the transaction needs to be searchable by human-readable keywords. This is not generally a function of current block explorers, as current block explorers are used to query the protocol-based properties of transactions (e.g., block height, TxID, and address), rather than keywords as search input. (However, some explorers such as Blockchair can search for these words if they are included directly in the script of the transaction).

[0335] Importantly, as described above, the powerful naming and addressing structure of the present invention facilitates and enables the construction of more complex blockchain probes than are known in the art.

[0336] Metanet Search Engine

[0337] The browser wallet application communicates with a third-party search engine to discover the node identity (ID node ). It is contemplated that this third party may provide a powerful and versatile service that replicates the capabilities of existing Internet search engines.

[0338] The third party Metanet search engine maintains a database of all Metanet transactions mined into the blockchain that can be identified by the Metanet protocol logo. This database can be obtained by including ID node , node name, keyword, TxID and block height range index catalogs all meta-network nodes.

[0339] There are already existing platforms such as BitDB https: / / bitdb.network / The browser wallet transfers the responsibility of crawling, indexing, serving and rating Metanet transactions to this third party and connects to its service when locating content stored on the Metanet graph.

[0340] By having a database dedicated only to Metanet data, efficiency can be saved. Unlike Bit DB, this database will not store data associated with all transactions, but only those containing the Metanet flag. Certain databases, such as non-relational databases like MongoDB, may be more efficient at storing the graph structure of the Metanet. This will allow for faster queries, lower storage space, and more efficient association of related content within the Metanet domain.

[0341] Fig.15 It is shown how a browser wallet interacts with a third party search engine when a user searches for content within the Metanet infrastructure. It is important to note that in contrast to the Internet, no routing is required, and thus the present invention provides significant advantages in terms of efficiency, speed, processing, and required resources.

[0342] The process is as follows:

[0343] 1. The end user enters keywords in the browser wallet search bar.

[0344] 2. The browser wallet sends the keyword query to the third-party SE.

[0345] 3. The SE checks the keyword against its database and returns the ID of any MetaNetwork Node that contains relevant content node . Third parties may also return other indexes on each node to the user and provide suggestions for related content.

[0346] 4. The browser wallet constructs the MURL using the node ID and the domain name associated with it.

[0347] 5. The browser wallet requests the content belonging to the specified node from any network peer that has a full copy of the blockchain.

[0348] 6. The network peer provides the requested content to the browser wallet. Because the peer has a copy of the blockchain, it must also have a copy of the content, so only one request is made and the request is never forwarded to other network peers.

[0349] It should be emphasized that the third-party SE is only responsible for indexing and maintaining the attribute records of the meta-network nodes, while the original content data stored on the nodes is stored by network peers (e.g., full-copy peers, archives) that have a full copy of the blockchain.

[0350] Content Display – MetaNet Browser

[0351] The browser wallet application emulates the same front-end capabilities that any typical web browser should provide. These features include but are not limited to:

[0352] 1. Search - Provides access to a search engine (SE) to locate content.

[0353] 2. Retrieval - Communicate with a server to facilitate transfer of content using known protocols such as Hypertext Transfer Protocol (HTTP).

[0354] 3. Interpretation - parsing the original code (e.g., in JavaScript) and executing it.

[0355] 4. Rendering - Efficiently display the parsed content for end users to view.

[0356] 5. User Interface (UI) - Provide users with an intuitive interface to interact with content, including action buttons and mechanisms for user input.

[0357] 6. Storage - Local temporary storage capacity used for caching Internet content, cookies, etc. to improve repeat access to content.

[0358] In certain embodiments, a software component of a browser wallet application responsible for acting as a web browser is able to perform the above functions on metanet content embedded in a blockchain that is searchable (using SE) and retrievable (from peers) using its attributes.

[0359] Reassembly, decompression and decryption

[0360] According to certain embodiments of the invention, the web browser software component of the browser wallet application is able to handle all operations that need to be performed on a given metanet content. In general, there are many such operations that need to be performed, but we assume that at least the following operations are performed by the application using the metanet protocol and infrastructure.

[0361] Reassembly - In the case where the metanet content needs to be split and inserted into multiple separate node transactions, the application will request the content from all relevant nodes and reconstruct the original content. The ordering and structure of the fragmented content can be encoded using additional flags in the properties of each node.

[0362] Decompression - In cases where content data is stored on the blockchain in compressed form, a flag should be included to indicate to the browser wallet which standard compression scheme has been used. The app will decompress the content based on this flag.

[0363] Decryption - In the case where the content is encrypted, a flag should be used to indicate the encryption scheme. The application will locate the key from its decryption key wallet (discussed below) and decrypt the content data for use according to the encryption scheme used.

[0364] When performing these operations on content data, flags can be used to indicate to the browser wallet that a given operation needs to be performed. This applies to any other operation, for which the appropriate<operation_flag> May be included as part of the properties of the node to which the operation applies.

[0365] Cache

[0366] The caching of local files and cookies is a common and important function of typical web browsers. Browser wallet applications also use local storage in a similar manner to optionally save IDs related to content of interest. node and other node attributes. This allows for more efficient lookup and retrieval of content from frequently visited metanet nodes.

[0367] The Metanet solves the inherent problem of caching Internet data, which is mutable and can be changed or truncated by web browsing software depending on the provider. When caching Metanet data, users can always easily verify that the data is in the same state as when it was originally included on the blockchain as an immutable record.

[0368] Hierarchical Deterministic Key Management

[0369] A deterministic key Dk is a private key initialized from a single "seed" key. The seed is a randomly generated number that acts as a master key. A hash function can be used to combine the seed with other data (e.g., an index number or "chain code") (see, HD Wallets - BIP-32 / BIP-44) to derive a deterministic key. These keys are related to each other and can be fully recovered from the seed key. The seed also allows easy import / export of wallets between different wallet implementations, giving an additional degree of freedom if the user wishes to use an external wallet in conjunction with the Metanet Browser Wallet.

[0370] Hierarchical deterministic (HD) wallets are a well-known deterministic key derivation method. In an HD wallet, a parent key generates a series of child keys, which in turn derive a series of grandchild keys, and so on. This tree structure is a powerful mechanism for managing multiple keys.

[0371] In a preferred embodiment, the HD wallet can be incorporated into Fig.15 In the meta-network architecture shown in .

[0372] The advantages of using an HD wallet include:

[0373] 1. Structure Different branches of subkeys can be used for different purposes to express additional organizational meaning. For example, users can dedicate different branches (and their corresponding subkeys) to different types of data.

[0374] 2. Security Users can create a series of public keys without corresponding private keys, making HD wallets capable of receiving only and suitable for use on unsecured servers. Moreover, since fewer secrets need to be stored, the risk of exposure is lower.

[0375] 3. Recovery If the key is lost / damaged, it can be recovered from the seed key.

[0376] Bypass network server

[0377] The present invention allows browsers (clients) and web servers to communicate and exchange information through a new mechanism for distributed peer-to-peer Internet communications that bypasses Domain Name System (DNS) servers and typical network routing procedures. http: / / www.theshulers.com / whitepapers / internet_whitepaper / The present invention provides a new network architecture comprising peers that maintain a full copy of the blockchain, from which content can be served to browser wallet applications.

[0378] Local full replica peer

[0379] Consider a system of local peers in each geographic area (e.g., zip code, town, city). We assume that within this local area network, at least one peer maintains a full copy of the blockchain, and we refer to this peer as a local full copy peer (LFCP). For our purposes, the LFCP only needs to store blockchain transactions including the metanet flag, but is not limited to this.

[0380] All users send a 'get' request to the LFCP by default. Since the peer maintains a complete and up-to-date copy of the entire blockchain, all requests can be satisfied since any node ID queried will be available to the LFCP. It should be noted that a Metanet search engine can also act as a LFCP if the SE is powerful and large enough to store the Metanet content and perform the main functions of a typical SE.

[0381] In the simplest case, each LFCP will have the same storage and disk space overhead, as they will all need to be able to store the entire blockchain (about 200GB at write time). The difference between each LFCP is that the LFCP should scale its capabilities to respond to local requests from Metanet users. Therefore, if by default every Metanet user in the world queries its closest LFCP, each LCFP should seek to scale its operational capabilities to meet its local requirements. Densely populated areas such as cities will require LFCP operations involving many clustered servers, while sparsely populated areas such as small towns will require fewer LCFP operations.

[0382] It is important to note that the disk space requirements are generic, while the CPU requirements for each LFCP are adapted to the LAN needs. This is an example of an adaptive network, e.g. Freenet - see https: / / blockstack.org / papers / .

[0383] One advantage of such a system is that it is very easy to retrieve a node When requesting the associated content, the user only needs a single (local) connection to its LFCP. The LFCP does not need to forward the request to other peers because it itself guarantees that it can provide the required content.

[0384] The Metanet offers many advantages over the Internet—for example, decentralization and deduplication—similar to other peer-to-peer (P2P) file sharing services such as IFPS. However, the Metanet improves upon these existing P2P models by ensuring immutability and, crucially, by removing the need to flood the network with requests for a given content.

[0385] The metanet infrastructure is also robust to impairment of any one LFCP by employing a network of these peers. This means that if an LFCP is deactivated, the end user simply defaults to using its next closest LFCP. This can be more efficient if the LFCPs communicate with each other to indicate which nearby peers are below or above capacity in terms of requests at any given time. This can allow users to send their requests to the most appropriate peer and establish a dynamic balance of request distribution between nearby LFCPs.

[0386] Global full replica peer

[0387] Now consider the scenario when the general disk space requirements become too large for smaller peers, which will occur as the metanet portion of the blockchain scales and grows with adoption.

[0388] In this case, the smaller LFCP should use its disk space capacity storage metanet node transactions based on the popularity system (there are existing technologies for ranking content by request volume and nature). This means that the LFCP now tailors both its CPU (for request processing capacity) and its storage allocation (for content serving capacity) to suit its local geographic needs in terms of both content volume and nature.

[0389] In order to solve the fact that LFCP cannot store all metanet transaction contents now, the concept of global full copy peer (GFCP) can be used. GFCP is a full copy peer with the following properties:

[0390] 1. GFCP increases its disk space capacity in order to always maintain a full copy of the blockchain.

[0391] 2. GFCP has considerable CPU resources, so that it can handle significantly more requests than LFCP. In case many LFCPs are impaired, the global full replica peers should be able to cope with the sudden increase in demand.

[0392] There are two main functions of the GFCP. First, it acts as a failsafe for user requests for MetaNet content when requests overflow from LFCPs. Second, the GFCP acts as an archive peer to store all MetaNet content mined historically, which ensures that any MetaNet node content can still be accessed even if many LFCPs omit certain content from their local storage supply.

[0393] Global database (data bank)

[0394] The concept of GFCP is powerful and illustrates how the overall architecture of the MetaNetwork can provide solutions to existing problems; creating an all-encompassing global database.

[0395] Prior to this, it has not been possible to securely construct a universal and globally accessible database because a central authority is required to maintain the database. This central authority injects points of failure and trust into the system. Crucially, if we rely on one organization to store and maintain all Internet data, we need to trust the fact that that organization is operating correctly and legally, and will not corrupt information.

[0396] Through the Metanet infrastructure, the two issues of trust and centrality are effectively removed from the concept of a global data center. Now, it is possible to create a GFCP that is only relied upon to provide the disk space required for storage without verifying and authenticating the information to be stored.

[0397] Through the metanet, the process of verifying the stored content is performed by the network nodes, so the universal global database can be trusted because it cannot corrupt the blockchain information. The GFCP does not need to be trusted, it only needs to provide storage.

[0398] The fact that all GFCPs can store the same information that is always verifiable and provable against the blockchain itself means that information can be replicated between many such GFCPs.

[0399] This means that by having many global databases existing in parallel and provably storing the same information the problem of having a single point of failure is also solved.

[0400] Fig.16 A system with two LFCPs and one GFCP is shown, and explains how each peer can support the other peer in a network that is robust to impairments of the individual peers.

[0401] Aspects of the present invention that may be implemented in the above-described embodiments of the browser wallet application provide a number of distinguishing features and advantages over the prior art, including but not limited to:

[0402] 1. Deterministic Keys - Hierarchical deterministic key management for both tokens and metanet addresses is performed in the same wallet component of the application. This allows keys to be organized through multiple functions that reduce their storage requirements and enable key recovery.

[0403] 2. Payment Mechanism - The application allows consumers to pay merchants directly without having to point to another application or third-party payment service that will authenticate and provide trust as per convention. This allows the purchase and delivery of digital content via the same blockchain platform.

[0404] 3. Bypass Web Servers - This application facilitates bypassing the conventional web servers that would traditionally handle a large amount of traffic, requests, and routing. This is because the application only needs to request content from a single LFCP, which ensures that the request does not need to be forwarded to other LFCPs to serve the user. This reduces the total traffic as well as the completion time of each request

[0405] 4. Timed Access - The app facilitates timed access to content by syncing with the blockchain and using the blockchain to enforce access permissions based on its current state. This removes the need for third-party services to monitor user privileges over time while protecting the rights of the original owner.

[0406] Use Case - Decentralized App Store (Swapp Store)

[0407] The first use case of the Metanet architecture presented here (for illustrative purposes only) is decentralized payment and distribution for applications (apps).

[0408] Consider the following scenario: App developer Alice and consumer Bob wish to transact with each other. The transaction will take the form of an atomic swap, where a token is exchanged for a secret key that grants Bob access to the app data. The encrypted app data has been made public as part of the Metanet Node transaction.

[0409] Applications exchanged at the atomic level are called Swapps. A third-party platform (Swapp Store) can be used to catalog and advertise applications present on the Metanet, but the payment and transfer of access keys to the user (e.g., Bob) does not require the involvement of any third party and can be done directly between the merchant and the consumer.

[0410] The following section details the process from Alice creating an app to Bob deploying the app for buying and selling Swapp. Throughout the process, Alice and Bob will use their respective browser wallets to interact with the Metanet.

[0411] release

[0412] 1. Alice writes an application. The data that makes up the application is <app>She also uses the secret key S k Encrypt it as<e(App)> .

[0413] 2. Alice creates a node transaction ID AliceApp to set up her first metadomain (tree). She generates 1AliceAppHtKNngkdXEeobR76b53LETtpy(P AliceApp ).

[0414] 3. Alice then creates children of the first node to form a tree that corresponds to the meta-network library of her application. Alice's tree domain is Fig.17 Shown in.

[0415] One of the leaf nodes in the tree corresponds to the node with index ID App Her application <app>In this node, Alice will encrypt the application data<e(App)> Inserted into the node's input script (scriptSig). Use the secret key s k Let's use the Koblitz method to encrypt app data.

[0416] The node transaction is shown below.

[0417]

[0418] 4. Alice's public broadcast ID AliceApp , P AliceApp and the domain name 'AliceApp'. This can be done via social media, an internet website or by using a third party metanet website.

[0419] Buy

[0420] 1. Bob wants to download a puzzle game and sees Alice’s app listed on the Metanet website (Swapp Store) that he views on his browser wallet.

[0421] 2. Bob then communicates with Alice using the information from the website and sets up an atomic swap. The swap is designed so that Bob will pay Alice the agreed-upon price and Alice will reveal the secret key s k , or none of these events occur.

[0422] 3. The atomic swap is completed, and Bob's browser wallet transfers the secret key s k Stored in their access key / token wallet.

[0423] deploy

[0424] Bob now has the key s that will allow him to decrypt the application data Alice previously published k To download the app and deploy it, Bob does the following.

[0425] 1. Bob uses the MetaNet Search Engine (SE) to find the encrypted app data<e(App)> The associated MURL. It uses the keywords 'AliceApp' and 'App' as input to the search bar in the browser wallet. The third-party SE parses the query and returns the following MURL:

[0426] mnp: / / aliceapp / games / puzzle / app

[0427] This locator corresponds to a unique metanet node ID App , which includes the encrypted app data in its input script.

[0428] 2. Bob’s browser wallet receives the MURL and then sends a request to the nearest appropriate LFCP. This peer provides Bob with the requested data<e(App)> .

[0429] 3. Browser wallet based on ID App This includes using the secret key s k Decrypt application data and process it <app>.

[0430] 4. Bob will apply <app>From his browser to his computer. Now Bob can deploy the application locally without having to re-purchase access.

[0431] Fig.18 The entire process outlined in the illustrative use case above is shown. The flowchart shows two branches of actions: Alice's branch (starting on the left) and Bob's branch (starting on the right). The branch corresponding to Alice shows the initial posting stage and the Bob branch shows the stage of setting up the purchase via an atomic swap.

[0432] On Bob's branch, he broadcasts the following transaction TxID Bob As an atomic swap setup phase:

[0433] In this transaction, the output is locked by a private key puzzle that requires a secret decryption key

[0434]

[0435] s k Revealed to Bob so Alice can spend.

[0436] Alice and Bob’s branches in this diagram converge at the point where Alice successfully completes the atomic swap transaction. This happens when Alice broadcasts the transaction TxID Alice When achieving:

[0437]

[0438] Once this transaction is broadcast, Alice and Bob’s branches of action diverge again. Alice receives a payment of x tokens, while Bob receives the secret decryption key s k , and is able to retrieve and decrypt Alice's application from the Metanet.

[0439] Now turn to Fig.19 , provides an illustrative simplified block diagram of a computing device 2600 that can be used to practice at least one embodiment of the present disclosure. In various embodiments, the computing device 2600 can be used to implement any of the systems shown and described above. For example, the computing device 2600 can be configured to function as a data server, a network server, a portable computing device, a personal computer, or any electronic computing device. Fig.19 As shown, computing device 2600 may include one or more processors (collectively referred to as 2602) with one or more levels of cache memory and memory controller, which may be configured to communicate with a storage subsystem 2606 including a main memory 2608 and a permanent storage device 2610. As shown, main memory 2608 may include dynamic random access memory (DRAM) 2618 and read-only memory (ROM) 2620. Storage subsystem 2606 and cache memory 2602 may be used to store information, such as details associated with transactions and blocks described in the present disclosure. Storage subsystem 2606 also includes clock 2624. (One or more) processors 2602 may be used to provide the steps or functions of any embodiment described in the present disclosure.

[0440] The processor(s) 2602 may also communicate with one or more user interface input devices 2612 , one or more user interface output devices 2614 , and a network interface subsystem 2616 .

[0441] The bus subsystem 2604 may provide a mechanism for enabling the various components and subsystems of the computing device 2600 to communicate with each other as intended. Although the bus subsystem 2604 is schematically shown as a single bus, alternative embodiments of the bus subsystem may utilize multiple busses.

[0442] The network interface subsystem 2616 may provide an interface to other computing devices and networks. The network interface subsystem 2616 may serve as an interface to receive data from and transmit data to other systems other than the computing device 2600. For example, the network interface subsystem 2616 may enable a data technician to connect the device to a network so that the data technician may transmit data to and receive data from the device while being located at a remote location (e.g., a data center).

[0443] The user interface input device 2612 may include one or more user input devices, such as a keyboard; a pointing device such as an integrated mouse, trackball, touchpad, or graphics tablet; a scanner; a barcode scanner; a touch screen incorporated into a display; an audio input device such as a voice identification system, a microphone, and other types of input devices. In general, the use of the term "input device" is intended to include all possible types of devices and mechanisms for inputting information into the computing device 2600.

[0444] One or more user interface output devices 2614 may include a display subsystem, a printer, or a non-visual display such as an audio output device. The display subsystem may be a cathode ray tube (CRT), a flat panel device such as a liquid crystal display (LCD), a light emitting diode (LED) display, or a projector, or other display device. In general, the use of the term "output device" is intended to include all possible types of devices and mechanisms for outputting information from the computing device 2600. One or more user interface output devices 2614 may be used, for example, to present a user interface to facilitate user interaction with an application that performs the described processes and variations therein, when such interaction is appropriate.

[0445] The storage subsystem 2606 may provide a computer-readable storage medium for storing basic programming and data structures that can provide the functions of at least one embodiment of the present disclosure. When executed by one or more processors, applications (programs, code modules, instructions) can provide the functions of one or more embodiments of the present disclosure and can be stored in the storage subsystem 2606. These application modules or instructions can be executed by one or more processors 2602. In addition, the storage subsystem 2606 may provide a repository for storing data used according to the present disclosure. For example, the main memory 2608 and the cache memory 2602 may provide volatile storage for programs and data. The permanent storage device 2610 may provide permanent (non-volatile) storage for programs and data, and may include flash memory, one or more solid-state drives, one or more magnetic hard drives, one or more floppy disk drives with associated removable media, one or more optical drives (e.g., CD-ROM or DVD or Blue-Ray) drives with associated removable media, and other similar storage media. Such programs and data may include programs for executing the steps of one or more embodiments as described in the present disclosure and data associated with transactions and blocks described in the present disclosure.

[0446] The computing device 2600 may be of various types, including a portable computer device, a tablet computer, a workstation, or any other device described below. Additionally, the computing device 2600 may include another device that may be connected to the computing device 2600 via one or more ports (e.g., a USB, a headphone jack, a lightning connector, etc.). The device that may be connected to the computing device 2600 may include a plurality of ports configured to accept fiber optic connectors. Thus, the device may be configured to convert optical signals into electrical signals that may be transmitted through the port connecting the device to the computing device 2600 for processing. Due to the ever-changing nature of computers and networks, Fig.19 The description of the computing device 2600 depicted in FIG. 2 is intended only as a specific example for the purpose of illustrating a preferred embodiment of the device. Fig.19 Many other configurations of the systems depicted with more or fewer components are possible.

[0447] It should be noted that the above embodiments illustrate rather than limit the present invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the present invention as defined by the appended claims. In the claims, any reference numerals in parentheses shall not be interpreted as limiting the claims. The words "comprising, comprise" and the like do not exclude the presence of elements or steps other than those listed in any claim or the entire specification. In this specification, "comprise" means "include or consist of", and "comprising" means "including or consist of". The singular form of an element does not exclude the plural form of such elements, and vice versa. The present invention may be implemented by hardware comprising several different elements and by a suitably programmed computer. In a device claim enumerating several components, several of these components may be implemented by one and the same hardware. The fact that certain means are recorded in mutually different dependent claims does not mean that a combination of these means cannot be used advantageously.< / app> < / app> < / app> < / app> < / lzw> < / n> < / m> < / n> < / m> < / s> < / content> < / attributes>

Claims

1. A method performed by a computer-implemented system, the system being arranged to enable a user to search, access, view, write and / or retrieve portions of data provided in at least one blockchain transaction (Tx), the method comprising: Transaction index based on blockchain search protocol (TX index ) to identify at least one blockchain transaction (Tx), where the transaction index (TX index ) includes any combination of: Transaction ID; and a public key associated with the transaction (Tx), wherein the public key associated with the transaction (Tx) is a public key associated with a transaction ID provided in the blockchain transaction (Tx).

2. The method according to claim 1, wherein: The system includes a search tool, the search tool: Set within the blockchain search system; or Arranged to interface and / or communicate with said blockchain search system.

3. The method of claim 1, wherein the system further comprises: At least one wallet.

4. The method according to claim 3, wherein: The at least one wallet is arranged to generate, store and / or process hierarchical deterministic keys; and / or The at least one blockchain transaction includes a protocol flag of the blockchain search protocol.

5. The method according to claim 3, wherein: The at least one wallet is arranged to store at least one cryptographic key and / or at least one token in a trusted execution environment, wherein the token does not comprise a cryptocurrency.

6. The method according to any one of claims 1 to 5, wherein the system further comprises: a decompression component arranged to decompress said portion of the data if said portion of the data is compressed; Recombination components; and / or A decryption component is arranged to decrypt said portion of data if said portion of data is encrypted.

7. The method according to any one of claims 1 to 5, further comprising: The portion of the data is presented to the user in an audible and / or visual form.

8. The method according to any one of claims 1 to 5, further comprising: A search path is input or generated to identify the at least one blockchain transaction (Tx) on the blockchain, the search path comprising: i) Transaction Index (TX) index );as well as ii) at least one attribute associated with said transaction (Tx).

9. The method according to claim 8, wherein: At least one of the attributes is a mnemonic associated with the transaction; and / or The at least one attribute is empty.

10. The method according to any one of claims 1 to 5, further comprising: The system communicates with wallets or other resources to facilitate processing, storage and / or generation of cryptographic keys, blockchain transactions and / or digital signatures.

11. The method according to any one of claims 1 to 5, further comprising: Store the transaction index (TX index ).

12. The method according to claim 11, wherein: Store the transaction index (TX index ) includes storing corresponding transaction indexes for more than one transaction.

13. The method according to any one of claims 1 to 5, further comprising: sending a request for the portion of data to a peer on the blockchain; and / or The portion of data is received from a peer on the blockchain.

14. The method according to any one of claims 1 to 5, further comprising: Use a time-locking mechanism to control access to portions of data.