Marco Munizaga
5961756bdf
Add quic-v1
2022-11-11 20:47:12 -08:00
Marco Munizaga
2837d35405
Document other behaviors
2022-09-08 07:42:47 -07:00
Marco Munizaga
9320261c0c
Fix comment on Decapsulate
2022-09-07 16:23:53 -07:00
Marten Seemann
adec8516f7
switch to Base64Url encoding for certhashes
2022-06-20 23:08:50 +02:00
Marten Seemann
db19e64f87
validate that certhashes are valid multihashes
2022-06-20 23:05:28 +02:00
Marten Seemann
494efd07c6
add support for certhash
2022-06-20 22:59:47 +02:00
Marten Seemann
e0eb8cdf5d
add support for WebTransport
2022-06-19 19:26:22 +02:00
Marco Munizaga
f5adc3b7a2
add ipcidr support ( #177 )
...
* Add support for ipcidr protocol
* Move test
* Fix gocheck
* PR comments
* Check byte slice len
2022-06-19 09:15:36 -07:00
Marten Seemann
7768f965af
add a Contains function ( #172 )
2022-01-10 05:01:27 -08:00
Marten Seemann
334b79e5a9
move FilterAddrs here from go-addr-util
2021-12-14 17:29:05 +04:00
Marten Seemann
89ffaeea18
add Noise
2021-07-01 16:41:44 -07:00
Steven Allen
33b3c2d75f
test: fix tls proto order
2021-06-29 17:48:19 -07:00
Pavel Karpy
99477a348c
feat: add TLS protocol
2021-05-26 16:04:06 +03:00
web3-bot
d82dff5292
sync: run go mod tidy (and set Go 1.15) and gofmt -s in copy workflow ( #146 )
2021-04-01 14:44:26 +00:00
Adin Schmahmann
9eb5a88b09
feat: support decoding /p2p addresses that are encoded as CIDs
2020-08-12 02:26:28 -04:00
Steven Allen
7bffa37597
feat: add wss protocol
...
Now that we define all protocols in this package, we might as well add wss.
fixes #72
2020-02-28 18:58:05 -08:00
Steven Allen
438f18c3f9
feat: switch to /p2p multiaddrs by default
2019-11-01 14:22:21 -07:00
Steven Allen
020c4d1741
test: empty multiaddr
2019-05-20 12:28:10 -07:00
Steven Allen
e3951368fb
forbid empty multiaddrs
...
fixes #104
2019-05-20 12:23:28 -07:00
idk
672c39fb9b
add comments and don't repeat myself as much
2019-04-05 20:51:42 -04:00
idk
71e227b59a
correct the protocol codes for garlic addresses
2019-04-05 15:15:05 -04:00
idk
d75a9913ac
add a test for base32's longer than 56 chars
2019-03-29 17:45:22 -04:00
idk
d288e979d6
variable-length garlic32 addresses
2019-03-29 14:52:24 -04:00
Hector Sanjuan
0aa80854ab
Let Multiaddr implement marshalers: binary, text, json
2019-02-25 22:48:24 +00:00
backkem
6b421eaeda
Add p2p-webrtc-direct protocol
2018-12-20 12:10:18 +01:00
idk
b0582d3730
make suggested changes, pre-compute garlicBase64Encoding, simplify garlicValidate, check length of bytes
2018-12-18 10:22:35 -05:00
idk
567daf242f
made garlic64 variable-length
2018-12-13 04:53:17 -05:00
idk
0f1c1ba00d
remove garlic32 protocol
2018-11-30 22:48:29 -05:00
idk
a91caf054e
add both base64 and base32 addresses as separate protocols, remove port from addresses to be expressed as /tcp, etc.
2018-11-30 19:55:52 -05:00
idk
789405bd40
remove log
2018-11-27 18:17:51 -05:00
idk
fb27f336e7
better test message for failure to convert x to y
2018-11-27 12:58:26 -05:00
idk
01a9048ee5
re-enable the tests
2018-11-27 12:53:46 -05:00
idk
54ddf83b00
Switch to using base64 i2p addresses to facilitate transport
2018-11-26 05:03:37 -05:00
idk
58c18c3ad6
Switch to using base64 i2p addresses to facilitate transport
2018-11-25 15:27:27 -05:00
idk
cf7ed7c1ad
created onionv3 and garlic multiaddrs
2018-11-15 04:11:07 -05:00
Steven Allen
96897075ba
fix path test
...
Opinionated: Paths should start with /, dammit!
2018-10-01 22:05:11 -07:00
Steven Allen
0f158f1163
nit: mark test helper
2018-10-01 16:56:58 -07:00
Steven Allen
61e31ed48b
stop copying when calling Bytes
...
This is a huge performance hit. Really, we just need to tell users not to modify
the result.
Also, get rid of an unnecessary pointer indirection (no api change).
2018-10-01 16:56:57 -07:00
Steven Allen
41068aa69c
correctly format ip4-in-6 addresses
...
fixes part one of #77
2018-09-30 16:41:00 -07:00
mwnx
1f9df061aa
Add "zone" multiaddr (IPv6 zone)
...
See [rfc4007].
Can be prefixed to "ip6" like so:
/zone/eth0/ip6/fe80::1
This corresponds to the rfc4007 address `fe80::1%eth0`
[rfc4007] https://tools.ietf.org/html/rfc4007
2018-09-14 18:41:48 -07:00
Steven Allen
1e80322cf0
add test case for panic
2018-06-22 13:29:31 -07:00
Steven Allen
7f59fc3f88
add tests for /p2p addrs
2018-06-18 18:31:18 -07:00
Steven Allen
a778a9db10
add a round-trip test
2018-06-18 18:27:39 -07:00
Jeromy
dea70a9f19
begin transition from /ipfs/ to /p2p/ multiaddrs
2018-06-18 18:24:36 -07:00
Lars Gierth
b11b0e541e
Add test for Bytes()
2017-10-22 17:18:59 +01: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
Marten Seemann
22c78388e2
add QUIC
2017-03-17 13:26:26 +07: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
5734f44c3d
go vet
2016-05-04 14:03:16 -07:00