#txcomment API
search all tx-comments for a particular string
requires floblockexplorer
open port 5831 in ACL or iptables
$ iptables -A INPUT -p tcp --dport 5831 -j ACCEPT
set environment variables
$ export DB_USER='dbusername'
$ export DB_PASS='reallygoodpassword10020229294#33334$$'
run the program
$ go run main.go
on your web browser or whatever client:
send a POST to the endpoint /searchTxComment
to get a response
{
"search":"Alexandria",
"page":0,
"results-per-page":10
}
max results-per-page is 30