Hector Sanjuan
3a22da58ee
Merge pull request #955 from marten-seemann/update-quic
...
update go-libp2p-quic-transport to v0.2.1
2019-11-09 14:55:32 +01:00
Marten Seemann
dc4dc977f3
update go-libp2p-quic-transport to v0.2.1
2019-11-09 18:39:24 +07:00
Kishan Mohanbhai Sagathiya
a9910a77e2
remove unused var
2019-11-08 22:41:14 +05:30
Kishan Mohanbhai Sagathiya
cef9129d0e
Fix subtract function
2019-11-08 22:35:42 +05:30
Kishan Mohanbhai Sagathiya
95016492c3
Merge branch 'master' into fix/broadcast-ops
2019-11-08 20:50:19 +05:30
Kishan Mohanbhai Sagathiya
d42c0fd651
move comment with variables
2019-11-08 20:49:06 +05:30
Kishan Mohanbhai Sagathiya
0e7ed97e59
Make it clearer
2019-11-08 19:45:01 +05:30
Hector Sanjuan
10de80a396
Merge pull request #954 from ipfs/fix/graph-all-ipfs
...
Fix graph not displaying all ipfs nodes when all-ipfs-peers enabled
2019-11-08 14:17:34 +01:00
Hector Sanjuan
7c5d86ee86
Fix graph not displaying all ipfs nodes when all-ipfs-peers enabled
2019-11-08 12:48:02 +01:00
Hector Sanjuan
9db16092cb
Merge pull request #953 from ipfs/fix/tests2
...
Multiple fixes to tests
2019-11-08 12:47:03 +01:00
Hector Sanjuan
7b4d647267
Tests: multiple fixes, increase timings
2019-11-08 12:46:11 +01:00
Hector Sanjuan
11eb08afe5
Merge pull request #950 from ipfs/fix/949-activation-threshold
...
Fix #949 : Cluster peers should advertise their external earlier
2019-11-08 10:08:00 +01:00
Kishan Mohanbhai Sagathiya
108fcff8a9
temp
2019-11-08 12:43:01 +05:30
Hector Sanjuan
9649664dbd
Run tests by default with crdt and not with raft
2019-11-07 20:19:34 +01:00
Hector Sanjuan
92bdc2e2e3
Improve comment about discovery
2019-11-07 20:19:24 +01:00
Hector Sanjuan
f788a83d23
Fix lbclient test with new multiaddresses
2019-11-07 20:19:07 +01:00
Hector Sanjuan
f9b52e02b9
Fix graph tests failing and randomly failing
2019-11-07 20:18:50 +01:00
Hector Sanjuan
a04f7fd785
Merge pull request #945 from ipfs/feat/cluster-gc
...
Run Garbage Collector(ipfs repo gc) on all peers
2019-11-07 18:50:21 +01:00
Hector Sanjuan
249d9007d2
Merge branch 'master' into feat/cluster-gc
2019-11-07 18:35:42 +01:00
Hector Sanjuan
df08d76c2c
Fix #949 : Cluster peers should advertise their external earlier
...
This lowers the activation threshold for an observed addressed
to 1 and increases the OwnObservedAddressTTL to infinite.
This should let cluster peers (particularly in small clusters)
advertise their known external addresses asap so that other peers
can include them in their peerstores (and save them on shutdown).
By default this only happens when an external address has received 4
connections in the last 40 minutes. In NATed environments this may
result in cluster peers advertising right away their NAT-translated address/ports
which may not be dialable, but in other cases that address seems to be
indeed dialable (docker).
2019-11-07 13:05:31 +01:00
Hector Sanjuan
834a95b44a
update go-dot to latest tag
2019-11-07 12:52:17 +01:00
Hector Sanjuan
e55db51ab3
Merge pull request #925 from ipfs/feat/trust-graph
...
Improve connection graph output
2019-11-07 12:50:34 +01:00
Hector Sanjuan
5f265b017a
Change colors and shapes
2019-11-07 12:49:51 +01:00
Hector Sanjuan
71bf98ac86
go.mod
2019-11-07 10:51:46 +01:00
Kishan Mohanbhai Sagathiya
4d8ef92b3d
health/graph: Improve graph
...
Mark local, trusted peers. Add peernames. Improve display.
2019-11-07 10:47:29 +01:00
Kishan Mohanbhai Sagathiya
a2ce37d52d
If pin is not part of the pinset mark it as unpinned
2019-11-06 10:14:59 +05:30
Kishan Mohanbhai Sagathiya
7289b55e99
Merge branch 'master' into fix/broadcast-ops
2019-11-05 21:02:48 +05:30
Kishan Mohanbhai Sagathiya
3a7addc946
globalPinInfo should contain entries for all peers except for
...
followermode
2019-11-05 21:01:29 +05:30
Hector Sanjuan
ab4f2b4c41
Merge pull request #932 from ipfs/feat/nat
...
Enable P2P Circuit relay and QUIC
2019-11-05 13:11:01 +01:00
Hector Sanjuan
b08fe09cec
Move to latest quic-transport
2019-11-05 12:52:08 +01:00
Hector Sanjuan
e34bddd3ab
Do not start Autonat when not used
...
Avoid chaining options as not necessary.
Add functions for common options and protector creation.
2019-11-05 12:51:18 +01:00
Kishan Mohanbhai Sagathiya
c7f37ce9f4
Use quic and use tls by default in restapi and restapi client
...
(cherry picked from commit 7ab1cd66ed17fda923b149628cae18ea96d1cf45)
2019-11-05 12:51:18 +01:00
Hector Sanjuan
1214aabf5b
Allow main tests to run for 15 mins
2019-11-05 12:51:18 +01:00
Hector Sanjuan
b306bda877
Raft logging: update logger to new interface
2019-11-05 12:51:18 +01:00
Hector Sanjuan
73ab101a3a
Use latest go-libp2p-raft
...
Does not spit errors when no addresses are known for a peer.
2019-11-05 12:51:18 +01:00
Hector Sanjuan
9bd7260d37
Fix bad identing in test file
2019-11-05 12:51:18 +01:00
Hector Sanjuan
8d7ff58787
Use fixed version of go-libp2p-tls
2019-11-05 12:51:15 +01:00
Hector Sanjuan
24491ab3fc
Update to latest quic-transport
2019-11-05 12:50:46 +01:00
Hector Sanjuan
669e75aefc
libp2p host: add secio as alternative, do not rewrap host
...
Only use QUIC for tests, as TCP+TLS has proven very unreliable.
2019-11-05 12:50:46 +01:00
Kishan Mohanbhai Sagathiya
56ef75b50c
Use TLS instead of secio for security
2019-11-05 12:50:46 +01:00
Kishan Mohanbhai Sagathiya
ce85bfc745
Added support for QUIC
...
- Cluster peers will now be able dial and listen using QUIC
- By default QUIC is enabled, to disable it remove QUIC listen address
from service.json
- This commit also adds a config option for whether to act as relay or
not, EnableRelayHop
2019-11-05 12:50:46 +01:00
Kishan Mohanbhai Sagathiya
e702c5fee1
Enable p2p-circuit-relay
...
- make all nodes relay
- let them discover relays
- enable autorelay
2019-11-05 12:50:46 +01:00
Hector Sanjuan
dcb6c0805b
Merge pull request #946 from ipfs/dockerfiles-improvs
...
Dockerfiles: download modules in advance
2019-11-05 12:27:51 +01:00
Hector Sanjuan
e06118277e
Merge pull request #923 from ipfs/feat/pin-expiration
...
Pin Expiration
2019-11-05 12:27:02 +01:00
Hector Sanjuan
af29bbc944
Pin-expiration: error when pinning expired pins
2019-11-05 12:22:52 +01:00
Kishan Mohanbhai Sagathiya
e4e1cbea6e
Fix #481 : Pin expiration
...
This adds a new PinOption: ExpireAt.
The StateSync ticker will check and unpin expired pins from the Cluster.
ipfs-cluster-ctl supports an "expire-in" which gives a duration.
2019-11-05 10:40:48 +01:00
Kishan Sagathiya
295915272b
Tests: multiple fixes to tests reliability ( #943 )
...
This makes a number of fixes to improve the reliability of tests.
2019-10-31 21:51:13 +01:00
Hector Sanjuan
d2ec84d8f2
Address review
2019-10-31 10:58:09 +01:00
Kishan Mohanbhai Sagathiya
fdb47292d0
"Sync/Status/Recover" operations should not broadcast to peers with remote pins
2019-10-29 20:18:16 +05:30
Hector Sanjuan
073a0dfa58
Dockerfiles: download modules in advance
...
This should speed up Dockerfile builds, particularly when building after
updating the code since the modules will not be to be re-downloaded.
2019-10-28 10:23:18 +01:00