Commit Graph

7 Commits

Author SHA1 Message Date
Juan Batiz-Benet
4a5f5e2e2b reprovide: wait a minute before reproviding
Many times, a node will start up only to shut down immediately.
In these cases, reproviding is costly to both the node, and the
rest of the network. Also note: the probability of a node being
up another minute increases with uptime.

TODO: maybe this should be 5 * time.Minute
2015-01-23 05:25:32 -08:00
Matt Bell
e6091be0c7 pin: Return copies of pinned keys, of each type (direct/indirect/recursive) 2014-11-19 00:53:23 -08:00
Brian Tiger Chow
cea398b8a7 fix(all) log.Debug -> log.Debugf 2014-10-30 06:35:29 -07:00
Juan Batiz-Benet
4b01ad0b7c fixed pin json marshal 2014-10-22 02:55:22 -07:00
Jeromy
edb5a14f79 update datastore paths 2014-10-22 00:33:14 -07:00
Jeromy
6458ddcd32 flesh out pinning object, needs tests and cli wiring still 2014-10-22 00:28:41 -07:00
Jeromy
4d63820bbe move indirect pinning to its own structure 2014-10-22 00:26:11 -07:00