How to record information on the blockchain
blockchain technology is just a kind of underlying technology, which is applied between nodes that need security and privacy. As long as there is a demand, corresponding development can be done;
generally, the blockchain platform will provide corresponding interfaces, such as RPC, json-rpc, HTTP, etc. of course, the platforms are not the same, and the degree of friendliness is different
some companies specializing in API, such as blockcypher, can provide friendly calling interfaces, and it is not very convenient to write answers on the mobile phone, Search below
as for the storage content, add a point: in addition to the conventional cloud storage, file entities on the file hash record chain also have blockchain based storage schemes, such as IPFs, storej and so on
The relevant certificates can be issued online for the data of blockchain storage and network forensics through easysaving. Through the record number on the certificate, the blockchain query can be concted directly through the official website of easysaving and relevant arbitration commission, including the preservation subject, preservation time stamp, Guangzhou Internet court evidence number, blockchain hash value and other relevant information
1. Regularly clean the st in the computer, turn off the computer, open the chassis, use a hair dryer and blow with cold air< At ordinary times, 360 guard, Jinshan guard and other tools should be used to clean up the system garbage and temporary files generated by the Internet, and check and kill malicious
Italian software
3. The computer configuration is poor, so try to set the virtual memory as large as possible, and install anti-virus software with less resources, such as NOD32, or only one
auxiliary anti-virus software
4. Try to set the IP to static IP, which can rece the startup time of the computer
5. Don't put too many files and icons on the computer desktop, which will slow down the reaction of the computer. Try not to install the software on disk C
6. Regularly defragment the disk. Open the drive of my computer to defragment - properties - tools
select the disk to be defragmented. Open the "disk defragmenter" window - Analysis - defragmentation - the system will start to defragment
.
1.1. Introction
practitioners in the computer instry should be very familiar with the word hash. Hash can realize the mapping of data from one dimension to another, and hash function is usually used to realize this mapping. Generally, y = hash (x) is used in the instry. The hash function can calculate a hash value y by calculating X
hash function characteristics in blockchain:
function parameters are string type
fixed size output
is computationally efficient
collision free means that the conflict probability is small: X= y => hash(x) != Hash (y)
hide the original information: for example, the verification of transactions between nodes in the blockchain only needs to verify the information entropy of the transaction, and does not need to compare the original information. The nodes do not need to transmit the original data of the transaction, only the hash of the transaction, Common algorithms include Sha series and MD5
1.2. Hash is widely used in blockchain. One of them is called hash pointer
hash pointer, which means that the value of the variable is calculated from the actual data and points to the actual data location, That is, it can not only represent the actual data content, but also the storage location of the actual data. The figure below shows the schematic diagram of hash pointer

so far, no research institution or indivial claims that it can change the tamper proof characteristics of blockchain
decent, a distributed content publishing platform, uses this feature of blockchain to protect users' property rights.
blockchain is the big ledger of bitcoin network, and each block is equivalent to a page in the ledger. What information is recorded in the "account book"? At present, each block of bitcoin mainly records data such as block head, transaction details, transaction counter and block size
"block header" contains all information except transaction information, mainly including the hash value of the previous block header, which is used to ensure that blocks are connected in sequence; Time stamp: record the generation time of the block; Random number: that is, the answer to the arithmetic problem of PK for all miners in the whole network; Difficulty target: score the difficulty coefficient of the arithmetic problem
"transaction details" records in detail the transferor, income party, amount and digital signature of the transferor of each transaction, which is the main content of each block
"transaction counter" describes the number of transactions contained in each block
"block size" refers to the size of each block data. Currently, each block is limited to 1MB, which does not rule out the possibility of expansion in the future.