Merge tag '1.1' into develop

1.1
Hot fix bug when a node is offline
This commit is contained in:
David E. Perez Negron Rocha 2021-01-06 00:59:06 -06:00
commit d89785581d
1 changed files with 20 additions and 0 deletions

View File

@ -144,9 +144,29 @@ class App extends React.Component {
console.log('IPFS node ready with id ' + info.id)
try{
await ipfs.swarm.connect('/dns4/node5.deca.green/tcp/443/wss/p2p/QmZL1otpiCzWMEJTHXbQ5Hb4aFE7TKLjAuuBAAet1WAgtD');
}catch (error)
{
console.log(error)
}
try{
await ipfs.swarm.connect('/dns4/node0.deca.green/tcp/443/wss/p2p/Qmd4Cv2fNwixP6cabEnTVFkF57GUGD6VBEcDhUkqHPG4X9');
}catch (error)
{
console.log(error)
}
try{
await ipfs.swarm.connect('/dns4/node4.deca.green/tcp/443/wss/p2p/QmQAbhxMCjQpNrdU3xJYZjjmd7bHXUGcLx2o7wfpvvzJvc');
}catch (error)
{
console.log(error)
}
try{
await ipfs.swarm.connect("/dns4/node2.deca.green/tcp/443/wss/p2p/QmfBASmqe3Az9AUjCxx3dtomSmbZEiJCsXusPxznjNnjU5");
}catch (error)
{
console.log(error)
}
try{
await ipfs.swarm.connect("/dns4/node.neetsec.com/tcp/443/wss/p2p/QmYDVy4LE5wsNecmHPpyUp8MDuSRtpYtQuDjpLhvRjfKTj");
}catch (error)
{