Commit Graph

283 Commits

Author SHA1 Message Date
Steven Allen
ccd2a0abe3 gx publish 1.4.21 2018-06-25 17:15:46 -07:00
Steven Allen
8363aa9ac6 gx publish 1.4.20 2018-06-08 22:28:48 -07:00
Steven Allen
b71d80cdd0 gx publish 1.4.19 2018-06-08 20:23:17 -07:00
Steven Allen
60a83a6ca3
Merge pull request #25 from libp2p/feat/refactor
gx publish 1.4.16
2018-06-06 07:20:37 +00:00
Steven Allen
9d8e49b726 gx publish 1.4.18 2018-06-04 18:01:38 -07:00
Steven Allen
2eaffe7319 update deps 2018-06-04 18:01:20 -07:00
Steven Allen
7ac092e7f7 Merge branch 'gx/update-og4qoy' 2018-04-16 13:36:07 +09:00
Steven Allen
83d66257b3 gx publish 1.4.17 2018-04-16 13:29:47 +09:00
Steven Allen
07cda98963
Merge pull request #27 from libp2p/feat/inline-pk
add support for extracting inlined public keys
2018-04-16 04:27:22 +00:00
Steven Allen
edb4024c24 gx publish 1.4.16 2018-04-16 13:25:45 +09:00
Steven Allen
3f5b1a304a support extracting inlined public keys
Technically, the caller can do this but this is more convenient.
2018-04-16 13:25:21 +09:00
Steven Allen
2c122745dc gx publish 1.4.15 2018-01-31 18:47:31 -08:00
Steven Allen
54c3d5cb2e
Merge pull request #23 from libp2p/fix/technically-not-broken
we no longer use maps
2018-01-27 17:39:41 +00:00
Steven Allen
9c4ac72897 we no longer use maps
This technically worked, but was extremely misleading.
2018-01-26 20:31:11 -08:00
Steven Allen
f0e2dcd6b4 gx publish 1.4.14 2018-01-19 20:51:09 -08:00
Steven Allen
634fac3a38 gx publish 1.4.13 2018-01-19 17:46:19 -08:00
Steven Allen
020aa74b6e
Merge pull request #22 from Arceliar/memusage
Memory usage
2018-01-17 18:26:59 +00:00
Arceliar
83cd5386b1 Preallocate maps and remove extra cleanup line. 2018-01-17 08:06:35 -06:00
Arceliar
6eedcc1da4 use []expiringAddr instead map[string]expiringAddr in addr_manager.go 2018-01-16 17:36:29 -06:00
Steven Allen
070490797c gx publish 1.4.12 2018-01-06 15:40:02 -08:00
Steven Allen
006e2c92f1
Merge pull request #21 from libp2p/feat/variable-ttls
make it possible to modify non-permanent TTLs
2018-01-05 21:07:24 +00:00
Steven Allen
d2a1a281f2 make it possible to modify non-permanent TTLs
useful for testing, at the very least.
2018-01-04 19:30:22 -08:00
Steven Allen
96cec5af5a gx publish 1.4.11 2018-01-04 18:28:56 -08:00
Steven Allen
db522971de
Merge pull request #20 from libp2p/feat/shrink-addrs
add a method for atomically updating TTLs
2018-01-05 02:27:07 +00:00
Steven Allen
9cb6ba9eb7 improve UpdateTTLs test coverage 2018-01-04 18:23:02 -08:00
Steven Allen
62cbfac7c6 spelling 2018-01-04 18:15:01 -08:00
Steven Allen
07712d63e3 fix PerminentAddrTTL comment 2018-01-04 16:32:58 -08:00
Steven Allen
b53dd2e95e make all TTLs distinct
(also, make permanent TTLs actually permanent)
2018-01-04 14:51:36 -08:00
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