Brian Tiger Chow
cea398b8a7
fix(all) log.Debug -> log.Debugf
2014-10-30 06:35:29 -07:00
Juan Batiz-Benet
184c25430b
go-vet friendly codebase
...
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
Henry
3e40788188
updateApply: force shutdown check on daemon (TODO: force flag in cli)
2014-10-22 11:25:30 +02:00
Henry
7ddf3836d0
implemented manual check and update (with signature verification)
2014-10-22 11:25:30 +02:00
Jeromy
31b0ff0307
add testing for pins
2014-10-22 00:28:41 -07:00
Jeromy
3ab3170a98
IPFS_ADDRESS_RPC env var for changing rpc target
2014-10-18 17:29:54 -07:00
Juan Batiz-Benet
e989d6febe
move IDFromPubKey to peer pkg
2014-10-18 04:28:26 -07:00
Henry
3455846b35
add log command
2014-10-15 13:18:00 +02:00
Henry
e0df8895c2
daemon should log a command error too
2014-10-15 13:18:00 +02:00
Henry
f93732a9c5
added block get and put commands to daemon
2014-10-13 20:47:09 +02:00
Juan Batiz-Benet
0bd64e7f71
move net -> multiaddr/net
...
transition our use of the net package to multiaddr/net
2014-10-11 03:24:35 -07:00
Juan Batiz-Benet
917be90437
updated multiaddr for net pkg
2014-10-11 03:07:36 -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
910a76e220
updated multiaddr use across codebase
2014-10-06 04:13:43 -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
41bc355be3
/rpcaddr should be storing a multiaddr
...
client expects a multiaddr. server was writing a bsaddr
2014-10-02 03:42:19 -07:00
Juan Batiz-Benet
381824477e
Bugfix: daemon wg sync
2014-10-02 00:12:36 -07:00
Jeromy
9b0c578fc0
better cleanup of ipfs on program exit
2014-10-01 00:41:30 -07:00
Jeromy
6080944af9
writing files inside ipns works now! also implemented resolve cli command
2014-10-01 00:41:29 -07:00
Jeromy
375a38c5f7
add basic publish command, needs polish
2014-10-01 00:39:57 -07:00
Juan Batiz-Benet
17f147eff8
vendor go-logging + camlistore/lock
2014-09-30 03:33:51 -07:00
Juan Batiz-Benet
7492a708a3
daemon_test: use proper temp dir
2014-09-30 03:24:57 -07:00
Juan Batiz-Benet
6aa15ddb94
fixed close sync issue
2014-09-30 03:24:57 -07:00
Juan Batiz-Benet
d0380b739d
const for lock file, + fix unreachable Close
2014-09-30 03:24:57 -07:00
Jeromy
e311ccbf43
respect the lock file, also cpu profile
2014-09-30 03:22:29 -07:00
Jeromy
9c221719f9
switch over to using a lock file for daemon connections
2014-09-30 03:20:15 -07:00
Juan Batiz-Benet
5594432236
this import snuck in
...
wish go-dep warned you about dependency problems.
cc @whyrusleeping
2014-09-29 13:33:57 -07:00
Jeromy
727b6bf9a3
udpated commands and RPC dialing to work with new configuration changes
2014-09-27 16:02:50 -07:00
Juan Batiz-Benet
e6b96b9c75
ammend tests with changes
2014-09-26 02:41:46 -07:00
Brian Tiger Chow
2d2aee1508
fix(daemon) multiaddr in test
2014-09-22 04:23:55 -07:00
Juan Batiz-Benet
1653304129
adjusted what Address means in config
...
There are (so far) two sorts of addresses that peers care about:
- peer network addresses, local to listen, saved to bootstrap.
`config.Identity.Address`
- peer RPC network address, local RPC tcp endpoint
`config.RPCAddress`
@whyrusleeping @perfmode
2014-09-22 04:06:17 -07:00
llSourcell
5fafaa42e8
fmt the test
2014-09-18 12:49:57 -07:00
llSourcell
8dd83ee17c
clarifying method name
2014-09-18 12:28:56 -07:00
llSourcell
8eb13eb6be
tests for Daemon Listener #59
...
using IDfromPubKey
2014-09-18 11:59:14 -07:00
Jeromy
b55a5078a8
refactor daemon code, moved commands to core/commands
2014-09-12 21:29:54 +00:00
Jeromy
ec40a29b3d
change ExecuteCommand to return an error
2014-09-12 19:11:54 +00:00
Siraj Ravel
80dc4b3531
gofmt-d and golint-d
2014-09-10 13:31:40 -07:00
Siraj Ravel
07bfa3baf2
fixed uppercase
2014-09-10 12:42:01 -07:00
Siraj Ravel
4f7856a414
refactoring naming conventions
2014-09-10 12:31:19 -07:00
Jeromy
976fe94d4d
some more tweaks to the daemon code
2014-09-10 06:22:13 +00:00
Jeromy
b2a218816d
initial hack at turning ipfs into a daemon, just implemented simple rpc at this point
2014-09-09 05:11:56 +00:00
Jeromy
05e457e197
create daemon listener for listening for user commands
2014-09-08 18:21:18 +00:00