Steven Allen
1ae1320955
refactor the protocol definition files
...
Also use `AddProtocol` for *all* protocols (even predefined ones).
2018-07-18 09:09:29 -07:00
Steven Allen
6688376452
unexport ProtocolsByName and add protocolsByCode
2018-06-26 14:53:06 -07:00
Steven Allen
47e3ab13b2
validate protocol definition in add protocol
2018-06-22 18:34:55 -07:00
Steven Allen
b68c4a264d
go fmt
2018-06-22 13:28:00 -07:00
Jeromy
dea70a9f19
begin transition from /ipfs/ to /p2p/ multiaddrs
2018-06-18 18:24:36 -07:00
mwnx
7bf24dca81
Fix CodeToVarint []byte size
...
We were missing a logarithm... CodeToVarint would previously allocate
more bytes than necessary (exponentially) for the varint slice. This bug
was silent but deserves to be fixed nonetheless.
2018-06-16 19:53:08 +02:00
Steven Allen
a8637d432a
Change QUIC multicodec to a unique number
...
It conflicted with CBOR.
part of multiformats/multicodec#55
2017-07-30 19:50:20 -07:00
Steven Allen
71c1bfde36
Fix protocol multicodecs numbers
...
1. Swap udt/utp.
2. Fix udp (17 is SHA1)
3. Change them to hex so it's easier to compare them with the official
multicodec table.
4. Remove the local protocols.csv table.
Fixes #49
Fixes multiformats/multicodec#51
2017-07-20 14:39:12 -07:00
Marten Seemann
22c78388e2
add QUIC
2017-03-17 13:26:26 +07:00
Jakub Sztandera
1919305418
add Transocoder functionality
...
Allowing multiaddr extensions to have data with
2016-10-14 11:48:19 -04:00
jbenet
bdf3e3a444
added unix path protocol
2016-09-19 11:06:27 +08:00
Ian Preston
e32e9cd0f0
Implemented byte decoder for onion addresses. Corrected onion bit size.
2016-08-09 19:21:28 +01:00
Jeromy
9c4a0baf6d
cleanup panics and make NewFromBytes faster
2016-04-29 14:16:41 -07:00
Jeromy
b185168cd2
modularize multiaddr protocols
2016-01-17 01:28:18 -08:00
David Stainton
3bc1e2e8c3
Onions are 80 bits
2015-09-26 01:36:31 +02:00
David Stainton
0e7ae0d2ee
Renamed tor to onion and added embedded port field
2015-08-31 03:19:47 +02:00
David Stainton
ed310561bd
Add Tor .onion address support and unit test cases
2015-08-29 19:48:07 +02:00
Juan Batiz-Benet
f529ec7884
added http, https, and ipfs protocols
2015-01-17 21:12:54 -08:00
Juan Batiz-Benet
32d9d68b64
ProtocolsWithString
2015-01-09 05:51:16 -08:00
Juan Batiz-Benet
17f4666d01
Protocols now value
2015-01-09 05:37:39 -08:00
Juan Batiz-Benet
59f6cfc921
implement varints + add utp, udt
2014-11-19 13:02:06 -08:00
Juan Batiz-Benet
b90678896b
go lint + unexporting some funcs
2014-09-11 10:47:56 -07:00
Juan Batiz-Benet
99196c0d23
dialing + consts
2014-07-07 01:25:20 -07:00
Juan Batiz-Benet
9033141fca
gofmt
2014-07-04 11:21:39 -07:00
Juan Batiz-Benet
e20c5b9d3b
protocols
2014-07-04 00:12:33 -07:00
Juan Batiz-Benet
c5510ff4b8
string <> []byte
2014-07-03 23:42:24 -07:00