is there an easy way to search all text posted on florincoin blockchain ?
never mind i have found a way.
I check all tx in all blocks, and in every tx i check floData field. (would take a long time if blockchain was busy)
i can index it into a search database for later quicker searches
for this to work i need to run flo daemon with -txindex
Yes, that's exactly how to do it and is how I've been doing it.
There's an online API for it from my server but it's in development and may be up/down periodically so don't rely on it yet for any critical systems.
http://snowflake.oip.fun:1606/floData/search?limit=10&q=HelloI am indexing the floData into an ElasticSearch. it is working. i had a though to run it on a server, and open it for public queries.
can i get into any kind of trouble for that ? what if someone wrote a hate speech or worse (illegal stuff) into the blockchain text ??
Any rules/laws regarding potential trouble for such content appearing in the text would depend upon local regulations that vary per country.
For the United States there are a few applicable regulations two of which are 47 U.S.C. § 230(c)(1) and 17 U.S.C. § 512(c) also known as "
Section 230 of the Communications Decency Act" and "
Online Copyright Infringement Liability Limitation Act"
Also, sounds like you may be pursuing similar end goals to the
Open Index Protocol and we are also indexing blockchain data into ElasticSearch (that's what's behind the snowflake API I posted above) if you'd like to discuss more specifics on how it all works or to build upon OIP please join our Rocket.Chat instance at
https://chat.alexandria.io