From 653ff094c09fc20955847e71bf807439652ce315 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Fri, 25 Apr 2014 19:54:24 -0700 Subject: [PATCH] README update. --- README.md | 15 ++++++++++++--- btc-crawl.go | 2 -- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 93012e5..51ccc65 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,11 @@ Bitcoin node network crawler (written in golang). This is a for-fun project to explore the Bitcoin protocol and network. -Current status: It crawls from hard-coded values and spits a bunch of stuff to -stdout. +Current status: +* It crawls with all kinds of nice parameters but stores everything in memory + until dumping a giant JSON blob at the end. +* --It crawls from hard-coded values and spits a bunch of stuff to +stdout.~~ ## Usage @@ -19,4 +22,10 @@ $ btc-crawl ## Todo -Lots of things. Grep for "TODO". +(In approximate order of priority) + +* Apply peer-age filter to results +* Stream JSON rather than accumulate into a giant array. +* Add timeout option. +* Graceful cleanup on Ctrl+C +* Namespace packages properly (outside of `main`) diff --git a/btc-crawl.go b/btc-crawl.go index 79ffdec..9156342 100644 --- a/btc-crawl.go +++ b/btc-crawl.go @@ -1,5 +1,3 @@ -// TODO: Namespace packages properly (outside of `main`) -// TODO: Apply peer-age filter to results? package main import (