Post
Topic
Board Announcements (Altcoins)
Re: [ANN][FLO] A Worldwide Public Record | Alexandria | ETDB | Medici | 0.15 Segwit
by
mitzi101
on 04/12/2018, 02:04:46 UTC
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=Hello

I 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 ??