Juan Batiz-Benet
ac62d13e42
peerstore Put -> Add
...
Changed lots of peer use, and changed the peerstore to ensure
there is only ever one peer in use.
Fixed #174
2014-10-20 06:37:12 -07:00
Juan Batiz-Benet
9ca87fbb93
peer.Peer is now an interface
...

2014-10-20 03:26:46 -07:00
Juan Batiz-Benet
b1d11ccfcb
peerstore constructs peers
...
Now, all peers should be retrieved from the Peerstore, which will
construct the peers accordingly. This ensures there's only one peer
object per peer (opposite would be bad: things get out sync)
cc @whyrusleeping
2014-10-20 00:44:44 -07:00
Juan Batiz-Benet
9e3bfa28bb
Merge pull request #185 from cryptix/cmdObjects
...
object plumbing commands
2014-10-19 16:58:47 -07:00
Henry
468494e5e5
break with ErrObjectTooLarge
2014-10-19 17:07:03 +02:00
Henry
bc38bdf512
limit raw input to 512 kilobytes
2014-10-19 16:57:12 +02:00
Henry
2276b55c57
no links, no error
2014-10-19 16:52:45 +02:00
Jeromy
60cd0f1cf0
some dht cleanup, and make DHTs take a master context
2014-10-18 04:28:26 -07:00
Jeromy
b2bd6848a8
fix core NewNode not setting network field, and added new json serializer for diagnostics
2014-10-18 04:28:25 -07:00
Jeromy
4189d50d77
fix bug in diagnostics, and add more peers to closer peer responses
2014-10-18 04:28:25 -07:00
Henry
e735addbb2
object plumbing commands
2014-10-18 04:35:12 +02:00
Henry
e4da27a2a5
implemented ipfs log command
2014-10-15 13:34:38 +02:00
Henry
3455846b35
add log command
2014-10-15 13:18:00 +02:00
Henry
98d9df544f
remove utils.PErr()
2014-10-15 13:17:04 +02:00
Henry
03e42d8ed4
added TODO about reading from io.Reader arg
2014-10-14 09:57:19 +02:00
Henry
a6630c804f
display key if BlockPut is successful
2014-10-14 00:39:29 +02:00
Henry
073ec11529
fixed BlockGet and cleaned up logging
2014-10-14 00:31:34 +02:00
Henry
08bb6f149f
templates for block commands (updates #138 )
2014-10-13 20:31:14 +02:00
Juan Batiz-Benet
b204c21d10
add plumbing output + logging
...
Fixes #157
Found #158
2014-10-13 02:40:39 -07:00
Juan Batiz-Benet
338b037238
clean up and add inet.Network to bitswap
...
new Service interface
2014-10-10 20:43:04 -07:00
Jeromy
bb84c232e1
make add command use absolute paths and print properly, issue #151
2014-10-10 13:46:51 -07:00
Jeromy
a7b69500b1
address concerns in PR and make log stuff more fun
2014-10-10 13:18:20 -07:00
Jeromy
3732244837
actually start the diagnostics service
2014-10-10 13:18:20 -07:00
Jeromy
96af2a1f81
pretty output
2014-10-10 13:18:20 -07:00
Jeromy
808cf9dfc0
fail with error when running diagnostic in offline mode
2014-10-10 13:18:19 -07:00
Jeromy
d5f0476c1c
implement diagnostics command
2014-10-10 13:18:19 -07:00
Jeromy
280c7e7e06
implement diagnostics service
2014-10-10 13:18:19 -07:00
Juan Batiz-Benet
972c0f7b4b
u.DOut -> log.Debug
...
and other logging switches. I kept the u.PErr and u.POut in cli
commands, as those do need to write raw output directly.
2014-10-09 04:50:22 -07:00
Juan Batiz-Benet
2fa43ce46c
ipfs name cmd improvements
...
- cleaned up cmd help
- ipfs name publish [<name>] <ref>
- ipfs name resolve [<name>]
- publish validates <ref>
- both validate n args
2014-10-09 03:39:47 -07:00
Juan Batiz-Benet
dc6fdd39c5
use encoded (pretty) keys only on fs ds
2014-10-08 14:49:04 -07:00
Jeromy
093c8fb04d
Rework package structure for unixfs and subpackage
...
cc @jbenet
2014-10-08 21:14:18 +00:00
Juan Batiz-Benet
2944360f5c
New NameSystem interface
...
type NameSystem interface {
Resolver
Publisher
}
should say it all.
cc @whyrusleeping
2014-10-08 04:14:52 -07:00
Juan Batiz-Benet
77fccaa2f3
Obviated need for .ID.Pretty() all over the place.
2014-10-06 04:23:55 -07:00
Juan Batiz-Benet
910a76e220
updated multiaddr use across codebase
2014-10-06 04:13:43 -07:00
Jeromy
5592030ed3
working on dag modification structures, factored out the data format into an importer subpackage and added more ipns tests
2014-10-06 03:42:59 +00:00
Jeromy
16e42f82b0
fixed ipns file persistence bug
2014-10-04 22:42:03 +00:00
Jeromy
faaaa2298b
Merge branch 'ipns' of github.com:jbenet/go-ipfs into ipns
2014-10-04 19:26:58 +00:00
Jeromy
25b36d1000
moved mock core node to core package
2014-10-04 19:13:56 +00:00
Juan Batiz-Benet
ee1d1ac078
add: only show added once.
2014-10-04 03:56:12 -07:00
Juan Batiz-Benet
0c8ae7674e
loggers: set level
2014-10-04 03:53:21 -07:00
Juan Batiz-Benet
7e1cd59259
initialize loggers at ERROR
2014-10-04 03:36:30 -07:00
Juan Batiz-Benet
2ce9415c69
+ fs ds + thread safe
2014-10-03 14:45:21 -07:00
Juan Batiz-Benet
88d804e32a
added core logging
2014-10-03 14:45:21 -07:00
Juan Batiz-Benet
f923652d88
remove extra printf
2014-10-02 03:07:52 -07:00
Juan Batiz-Benet
ba510cbd6d
IpnsPublicher -> Publisher interface
2014-10-01 01:36:21 -07:00
Juan Batiz-Benet
b787c705e2
command output nit
2014-10-01 01:28:55 -07:00
Juan Batiz-Benet
1cfb0ffd05
command output nit
2014-10-01 01:28:20 -07:00
Juan Batiz-Benet
14a384d826
pin: add depth arg.
2014-10-01 01:26:48 -07:00
Juan Batiz-Benet
728f17d3c9
cmd/ipfs/pin.go now uses MakeCommand
...
+ added recursive pinning func
2014-10-01 01:17:27 -07:00
Juan Batiz-Benet
7cd9e4db3e
remove merge issue (logger)
2014-10-01 00:45:36 -07:00