Commit Graph

505 Commits

Author SHA1 Message Date
Steven Allen
1a0684bd67 add a test for UpdateAddrs 2018-01-04 13:01:24 -08:00
Steven Allen
f6bb5a31c1 add method to atomically update TTLs
This allows one to find all addresses with a given TTL and update them to have a
new TTL.
2018-01-04 13:00:37 -08:00
Steven Allen
420131a845 mark test helpers 2018-01-04 12:59:43 -08:00
Whyrusleeping
8b5c1b16c0
Merge pull request #17 from libp2p/feat/oom-me-not
more effectively free memory
2017-12-07 21:15:19 +01:00
Steven Allen
e377d8bf00 ci: don't test on osx
(slow)
2017-12-05 18:11:33 -08:00
Steven Allen
76e427fca8 add test for multiple subscriptions 2017-12-05 18:03:03 -08:00
Steven Allen
dd7efed6ee faster duplicate check in AddrStream 2017-12-05 18:02:55 -08:00
Steven Allen
eaa5f7e9e7 preallocate AddrStream buffer 2017-12-05 18:02:55 -08:00
Steven Allen
b99e11911a more effectively free memory
* Completely free memory related to subscriptions when all subscribers go away.
* Completely free peer address records when they all expire.
* Don't copy the *entire* subscription array when unsubscribing from a peer
  address stream.
2017-12-05 18:02:44 -08:00
Steven Allen
9f2b163f00
Merge pull request #18 from libp2p/gx/update-5osgb9
gx: update go-multihash
2017-12-04 23:37:09 +00:00
Steven Allen
785207bc4e
Merge pull request #16 from libp2p/kevina/travisci
Update Travis CI to use standard test script and go 1.9.x.
2017-12-04 23:35:43 +00:00
Steven Allen
89838b9577 gx publish 1.4.10 2017-12-03 20:37:15 -08:00
Kevin Atkinson
c186c2672e Disable sudo in Travis CI. 2017-11-17 23:28:02 -05:00
Kevin Atkinson
59b91b10dc Run make deps in install step instead of before_install. 2017-11-17 22:45:45 -05:00
Kevin Atkinson
ba9f095b69 Update Travis CI to use standard test script and go 1.9.x.
This also switches from goveralls to codecov.
2017-11-17 03:09:24 -05:00
Steven Allen
b2087a91b1 gx: import deps 2017-07-19 00:35:08 -07:00
Jeromy
10405862a7 gx publish 1.4.9 2017-07-11 10:55:25 -07:00
Lars Gierth
744a149e48 gx publish 1.4.8 2017-04-28 04:17:12 +02:00
Lars Gierth
a1adbf426a Merge pull request #14 from libp2p/feat/p2paddr
Add func to construct /ipfs addrs from PeerInfo
2017-04-28 04:12:13 +02:00
Lars Gierth
2ce0773687 Allow for parsing otherwise empty /ipfs addrs, improve tests 2017-04-28 02:49:06 +02:00
Lars Gierth
6a60f4058e Add func to construct /ipfs addrs from PeerInfo 2017-04-28 02:49:04 +02:00
Jeromy
17c3462143 gx publish 1.4.7 2017-03-31 23:08:33 -07:00
Jeromy
968d9c9149 add method to parse /ipfs/ addresses into a peerinfo 2017-03-31 23:08:23 -07:00
Jeromy
aa7305d39f remove go-ipfs-util dep 2017-03-23 18:57:39 -07:00
Jeromy
e54fbe83d4 gx publish 1.4.6 2017-03-23 18:50:12 -07:00
Jeromy
5fbc624d4a gx publish 1.4.5 2017-03-21 16:25:59 -07:00
Jeromy
1ee2d0de81 gx publish 1.4.4 2017-03-05 18:22:35 -08:00
Jeromy
9b13cae8e0 gx publish 1.4.3 2017-02-03 12:51:23 -08:00
Jeromy
7842b6862f dont commit with deps rewritten 2017-02-03 12:49:59 -08:00
Jeromy
5ea1774aba gx publish 1.4.2 2017-02-03 10:32:21 -08:00
Jeromy
2969d77b0f gx publish 1.4.1 2017-02-01 22:47:04 -08:00
Lars Gierth
15bf35eef9 Merge pull request #1 from libp2p/feature/standardize-readme
Standardized Readme
2017-01-06 23:30:43 +01:00
Jeromy
63b884f507 gx publish 1.4.0 2016-11-17 16:49:55 -08:00
Jeromy Johnson
ab348e7915 Merge pull request #12 from libp2p/feat/set-protos
Add SetProtocols method to peerstore
2016-11-17 16:47:14 -08:00
Jeromy
f759b0e611 Add SetProtocols method to peerstore
This allows us to overwrite known protocols and remove potentially
unwanted ones during a full knowledge update. The current AddProtocol
just appends to the existing set.
2016-11-17 15:49:21 -08:00
Richard Littauer
0d1068b958 Added install and usage 2016-11-03 13:25:03 -04:00
Richard Littauer
e08850948e Standardized Readme
See https://github.com/ipfs/community/issues/124
2016-11-03 13:24:04 -04:00
Jeromy
639e4e1e92 gx publish 1.3.0 2016-10-04 18:43:44 -07:00
Jeromy Johnson
cf69e7912b Merge pull request #9 from libp2p/feat/stdlib-ctx
use context from stdlib
2016-10-04 18:10:56 -07:00
Jeromy
c0ba61510e update readme 2016-10-04 18:06:37 -07:00
Jeromy
c61bb7e8a3 update package location 2016-10-04 18:05:58 -07:00
Jeromy
901c7a7e3d fix CI, vet, and annoying types 2016-10-04 18:01:51 -07:00
Jeromy
c87d50ff49 use context from stdlib 2016-10-04 16:19:16 -07:00
Jeromy
8b37b2c3bd gx publish 1.2.5 2016-09-25 02:13:21 -07:00
Jeromy Johnson
052ff5d380 Merge pull request #7 from geoah/master
Publish gx 1.2.4
2016-09-05 11:53:14 -04:00
George Antoniadis
91f5ce98a8 Publish gx 1.2.4 2016-09-05 16:29:14 +01:00
Jeromy Johnson
34e65edc90 Merge pull request #6 from geoah/master
Bump 'go-libp2p-peer' to '2.0.4'
2016-09-03 09:22:58 -07:00
George Antoniadis
f3c22edf46 Switch to go 1.7 2016-09-02 18:05:24 +01:00
George Antoniadis
9ec1567053 Bump 'go-libp2p-peer' to '2.0.4' 2016-09-02 17:28:08 +01:00
Jeromy
1553be2ee4 gx publish version 1.2.2 2016-08-22 18:40:34 -07:00