Publishes batches to ipfs and pins them. Assumes running ipfs daemon on 8080. Moved relay listener to 8090

This commit is contained in:
imw
2018-12-28 14:01:50 +01:00
parent 6ad2f16c24
commit d09af85502
5 changed files with 26 additions and 14 deletions

View File

@@ -75,7 +75,7 @@ func main() {
i, _ := strconv.Atoi(interval)
timer := time.NewTicker(time.Millisecond * time.Duration(i))
rand.Seed(time.Now().UnixNano())
url := "http://localhost:8080/submit"
url := "http://localhost:8090/submit"
fmt.Println("URL:>", url)
for {