added upload command, --conf and --verbose flags
This commit is contained in:
parent
611635c87d
commit
b9ee0b0644
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ import (
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// TODO: iterativeFindValue may be stopping early. if it gets a response with one peer, it should keep going because other nodes may know about more peers that have that blob
|
||||||
|
// TODO: or, it should try a tcp handshake with peers as it finds them, to make sure they are still online and have the blob
|
||||||
|
|
||||||
type contactFinder struct {
|
type contactFinder struct {
|
||||||
findValue bool // true if we're using findValue
|
findValue bool // true if we're using findValue
|
||||||
target Bitmap
|
target Bitmap
|
||||||
|
|
Loading…
Reference in a new issue