Recently, I have a question about searching function in blockchain. Blockchain is a distributed database and as a database, there should be some searching functions such as "Select", "Join". I am wondering if I have 10 contracts in my private blockchain, how can I search according to the attribute inside the contracts? Is that the only way to do it, is to have a registration contract.
Thank