sander has quit [Remote host closed the connection]
lassulus_ has joined #ipfs
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
<fiatjaf>
is there a way to request the file size from peers before downloading a file?
hurikhan77 has joined #ipfs
aerth has quit [Remote host closed the connection]
aerth has joined #ipfs
kanej has quit [Quit: Connection closed for inactivity]
elux has joined #ipfs
<elux>
hi there
<elux>
im trying to use ipfs pubsub in-browser for a basic chat - is there a gateway/swarm address i can use that is reliable? ive tried to use /dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star but, and have two browsers subscribed to same topic, and publishing to it.. but im not seeing messages being passed
reit has joined #ipfs
joseminao has joined #ipfs
cehteh has joined #ipfs
stoopkid has joined #ipfs
xcm has quit [Remote host closed the connection]
xcm has joined #ipfs
joseminao has left #ipfs [#ipfs]
dhutra has joined #ipfs
<tperson>
@fiatjaf `ipfs object stat <hash>` should tell you some information, the CumulativeSize will be the number of bytes for all blocks under the CID.
}ls{ has quit [Ping timeout: 244 seconds]
user_51 has quit [Ping timeout: 252 seconds]
}ls{ has joined #ipfs
user_51 has joined #ipfs
_whitelogger has joined #ipfs
daurnimator has quit [Ping timeout: 252 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #ipfs
dimitarvp has quit [Quit: Bye]
cehteh has quit [Ping timeout: 252 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #ipfs
elux has quit [Ping timeout: 244 seconds]
xcm has quit [Read error: Connection reset by peer]
xcm has joined #ipfs
daurnimator has joined #ipfs
graphene has quit [Remote host closed the connection]
graphene has joined #ipfs
xcm has quit [Read error: Connection reset by peer]
cehteh has joined #ipfs
xcm has joined #ipfs
lanlink has joined #ipfs
graphene has quit [Remote host closed the connection]
thomasan_ has quit [Read error: Connection reset by peer]
thomasa__ has quit [Remote host closed the connection]
null1337 has joined #ipfs
HeWhois has quit [Ping timeout: 272 seconds]
Mayeu has quit [Quit: Ping timeout (120 seconds)]
b7219264 has quit [Read error: Connection reset by peer]
b7219264 has joined #ipfs
HeWhois has joined #ipfs
null1337 has quit [Ping timeout: 245 seconds]
reit has quit [Quit: Leaving]
b7219264 has quit [Read error: Connection reset by peer]
b7219264 has joined #ipfs
b7219264 has quit [Read error: Connection reset by peer]
b7219264 has joined #ipfs
cehteh has quit [Ping timeout: 252 seconds]
reit has joined #ipfs
gozala has quit [Ping timeout: 260 seconds]
gozala has joined #ipfs
<OliverUv>
so I'm using js-ipfs, and everything works fine and dandy in node. But when I'm using the same code in browser, the .files.add() call just returns an empty array... no files added. No errors or anything. Anyone know how to troubleshoot this?
jamesaxl has joined #ipfs
daurnimator has quit [Ping timeout: 246 seconds]
daurnimator has joined #ipfs
morteza__ has joined #ipfs
morteza_ has quit [Ping timeout: 268 seconds]
reit has quit [Quit: Leaving]
daurnimator has quit [Ping timeout: 252 seconds]
jamesaxl has quit [Ping timeout: 252 seconds]
_whitelogger has joined #ipfs
_whitelogger has joined #ipfs
plexigras has joined #ipfs
separatistic has joined #ipfs
separatistic has quit [Ping timeout: 245 seconds]
daurnimator has joined #ipfs
gmoro has joined #ipfs
Steverman has joined #ipfs
Mateon2 has joined #ipfs
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon2 is now known as Mateon1
Steverman has quit [Ping timeout: 250 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #ipfs
mauz555 has joined #ipfs
mauz555 has quit [Remote host closed the connection]
pecastro has joined #ipfs
graphene has quit [Remote host closed the connection]
graphene has joined #ipfs
cehteh has joined #ipfs
gmoro has quit [Ping timeout: 244 seconds]
_whitelogger has joined #ipfs
Oatmeal has quit [Ping timeout: 272 seconds]
Encrypt has joined #ipfs
MDude has quit [Ping timeout: 252 seconds]
<fiatjaf>
tperson, does that work without downloading the file?
Taoki has quit [Ping timeout: 268 seconds]
kaminishi has joined #ipfs
horlicks has joined #ipfs
daurnimator has quit [Ping timeout: 276 seconds]
Taoki has joined #ipfs
pedrot_ is now known as pedrot
Steverman has joined #ipfs
mauz555 has joined #ipfs
Steverman has quit [Quit: WeeChat 2.2]
Steverman has joined #ipfs
Oatmeal has joined #ipfs
Encrypt has quit [Quit: Quit]
malaclyps has quit [Read error: Connection reset by peer]
SunflowerSociety has joined #ipfs
malaclyps has joined #ipfs
ONI_Ghost has quit [Ping timeout: 246 seconds]
gerle[m] has joined #ipfs
joseminao has joined #ipfs
joseminao has left #ipfs [#ipfs]
Steverman has quit [Quit: WeeChat 2.2]
dhutra has quit [Ping timeout: 252 seconds]
Steverman has joined #ipfs
dhutra has joined #ipfs
mauz555 has quit []
Oatmeal has quit [Ping timeout: 268 seconds]
SunflowerSociety has quit [Read error: Connection reset by peer]
ONI_Ghost has joined #ipfs
enri[m] has joined #ipfs
bencevans[m] has quit [Ping timeout: 250 seconds]
RaymondFoley[m] has quit [Ping timeout: 250 seconds]
Anastas[m] has quit [Ping timeout: 260 seconds]
kryptx_07[m] has quit [Ping timeout: 260 seconds]
RaymondFoley[m] has joined #ipfs
exothermic[m]11 has quit [Ping timeout: 250 seconds]
kst[m] has quit [Ping timeout: 250 seconds]
enri[m] has quit [Ping timeout: 276 seconds]
bencevans[m] has joined #ipfs
sanderpick[m] has quit [Ping timeout: 260 seconds]
HydraGene[m] has quit [Ping timeout: 260 seconds]
luisu[m] has quit [Ping timeout: 260 seconds]
spoctoss[m] has quit [Ping timeout: 260 seconds]
veunen[m] has quit [Ping timeout: 260 seconds]
roger_sr71[m] has quit [Ping timeout: 260 seconds]
holblack[m] has quit [Ping timeout: 260 seconds]
xMajedz[m]1 has quit [Ping timeout: 250 seconds]
atmoz[m] has quit [Ping timeout: 250 seconds]
mtita[m] has quit [Ping timeout: 250 seconds]
brainiac[m] has quit [Ping timeout: 276 seconds]
Zedwick[m] has quit [Ping timeout: 276 seconds]
peddie1 has quit [Ping timeout: 276 seconds]
hugowett[m] has quit [Ping timeout: 276 seconds]
Xamino[m] has quit [Ping timeout: 276 seconds]
petzah[m] has quit [Ping timeout: 276 seconds]
marceloakira[m] has quit [Ping timeout: 276 seconds]
ep1618[m] has quit [Ping timeout: 276 seconds]
asyncawait[m] has quit [Ping timeout: 276 seconds]
logan_0[m] has quit [Ping timeout: 276 seconds]
M0x1d[m]1 has quit [Ping timeout: 276 seconds]
undef[m] has quit [Ping timeout: 276 seconds]
Leer10[m] has quit [Ping timeout: 276 seconds]
andy_tokyo[m] has quit [Ping timeout: 276 seconds]
Anastas[m] has joined #ipfs
exothermic[m]11 has joined #ipfs
kst[m] has joined #ipfs
luke-clifton[m] has quit [Ping timeout: 250 seconds]
ntninja[m] has quit [Ping timeout: 250 seconds]
trilobyte[m] has quit [Ping timeout: 250 seconds]
indefini[m] has quit [Ping timeout: 260 seconds]
Tbi[m] has quit [Ping timeout: 260 seconds]
VegBerg[m] has quit [Ping timeout: 260 seconds]
datartist[m] has quit [Ping timeout: 260 seconds]
speaker[m] has quit [Ping timeout: 260 seconds]
yuriko2000[m] has quit [Ping timeout: 260 seconds]
mighty-pirate[m] has quit [Ping timeout: 260 seconds]
Hithrick[m] has quit [Ping timeout: 260 seconds]
phideas[m] has quit [Ping timeout: 260 seconds]
mikiunw[m] has quit [Ping timeout: 260 seconds]
tianshi[m] has joined #ipfs
kryptx_07[m] has joined #ipfs
enri[m] has joined #ipfs
timokau[m]1 has quit [Ping timeout: 250 seconds]
arsen3d[m] has quit [Ping timeout: 276 seconds]
fionnan[m] has quit [Ping timeout: 276 seconds]
myco[m] has quit [Ping timeout: 276 seconds]
HydraGene[m] has joined #ipfs
mitfree[m] has quit [Ping timeout: 260 seconds]
avastmick[m] has quit [Ping timeout: 250 seconds]
empach3r[m] has joined #ipfs
JakobTigerstrm[4 has joined #ipfs
yo-jo[m] has joined #ipfs
halfhand[m] has joined #ipfs
bwerthmann[m] has joined #ipfs
omichalek[m] has joined #ipfs
Manu[m] has joined #ipfs
veunen[m] has joined #ipfs
sanderpick[m] has joined #ipfs
jcgruenhage has quit [Ping timeout: 276 seconds]
schmars[m] has quit [Ping timeout: 276 seconds]
al1p[m] has quit [Ping timeout: 276 seconds]
dliot[m] has quit [Ping timeout: 276 seconds]
aisaku[m] has quit [Ping timeout: 276 seconds]
freijon[m] has quit [Ping timeout: 276 seconds]
andy_tokyo[m] has joined #ipfs
pam_cakes[m] has joined #ipfs
marceloakira[m] has joined #ipfs
zaphar_ps[m] has joined #ipfs
kompowiec2[m] has joined #ipfs
asyncawait[m] has joined #ipfs
luisu[m] has joined #ipfs
mikiunw[m] has joined #ipfs
undef[m] has joined #ipfs
datartist[m] has joined #ipfs
VegBerg[m] has joined #ipfs
phideas[m] has joined #ipfs
Tbi[m] has joined #ipfs
omiselu[m] has joined #ipfs
mighty-pirate[m] has joined #ipfs
ep1618[m] has joined #ipfs
indefini[m] has joined #ipfs
speaker[m] has joined #ipfs
xMajedz[m]1 has joined #ipfs
alilinuxAboShana has quit [Ping timeout: 276 seconds]
yuriko2000[m] has joined #ipfs
luke-clifton[m] has joined #ipfs
jceb[m] has joined #ipfs
kanej has joined #ipfs
myco[m] has joined #ipfs
bobdod[m] has joined #ipfs
Hithrick[m] has joined #ipfs
avastmick[m] has joined #ipfs
schmars[m] has joined #ipfs
timokau[m]1 has joined #ipfs
freijon[m] has joined #ipfs
al1p[m] has joined #ipfs
enri[m] is now known as rikettsie[m]
dliot[m] has joined #ipfs
aisaku[m] has joined #ipfs
arsen3d[m] has joined #ipfs
jcgruenhage has joined #ipfs
codyopel[m] has joined #ipfs
igel[m] has joined #ipfs
mitfree[m] has joined #ipfs
holblack[m] has joined #ipfs
hugowett[m] has joined #ipfs
fionnan[m] has joined #ipfs
logan_0[m] has joined #ipfs
M0x1d[m]1 has joined #ipfs
Zedwick[m] has joined #ipfs
Xamino[m] has joined #ipfs
petzah[m] has joined #ipfs
mtita[m] has joined #ipfs
plindner[m] has joined #ipfs
admin[m]1 has joined #ipfs
atmoz[m] has joined #ipfs
spoctoss[m] has joined #ipfs
brainiac[m] has joined #ipfs
roger_sr71[m] has joined #ipfs
rdgrant[m] has joined #ipfs
alilinuxAboShana has joined #ipfs
trilobyte[m] has joined #ipfs
ntninja[m] has joined #ipfs
Leer10[m] has joined #ipfs
peddie1 has joined #ipfs
alexshpilkin has quit [Ping timeout: 264 seconds]
alexshpilkin has joined #ipfs
alexshpilkin is now known as Guest98797
Oatmeal has joined #ipfs
Oatmeal has quit [Ping timeout: 260 seconds]
jamesaxl has joined #ipfs
Oatmeal has joined #ipfs
Steverman has quit [Quit: WeeChat 2.2]
Steverman has joined #ipfs
Steverman has quit [Ping timeout: 276 seconds]
elux_ has joined #ipfs
Steverman has joined #ipfs
alexgr has quit [Quit: Leaving]
goiko has joined #ipfs
goiko has joined #ipfs
goiko has quit [Changing host]
wingsoffreedom[m has joined #ipfs
elux_ has quit [Quit: #archlinux-unre]
elux has joined #ipfs
kvothe has joined #ipfs
kvothe has quit [Client Quit]
kvothe176 has joined #ipfs
kvothe176 has quit [Client Quit]
dhutra has quit [Ping timeout: 244 seconds]
dhutra has joined #ipfs
_whitelogger has joined #ipfs
MDude has joined #ipfs
elux has quit [Ping timeout: 260 seconds]
PyHedgehog has quit [Quit: Connection closed for inactivity]
horlicks has quit [Ping timeout: 252 seconds]
fazo has joined #ipfs
horlicks has joined #ipfs
Encrypt has joined #ipfs
gmoro has joined #ipfs
horlicks has quit [Ping timeout: 250 seconds]
horlicks has joined #ipfs
horlicks has quit [Ping timeout: 276 seconds]
horlicks has joined #ipfs
fafour has joined #ipfs
dimitarvp has joined #ipfs
horlicks has quit [Ping timeout: 268 seconds]
horlicks has joined #ipfs
graphene has quit [Remote host closed the connection]
graphene has joined #ipfs
graphene has quit [Remote host closed the connection]
graphene has joined #ipfs
horlicks has quit [Ping timeout: 276 seconds]
horlicks has joined #ipfs
horlicks has quit [Ping timeout: 250 seconds]
horlicks has joined #ipfs
horlicks has quit [Ping timeout: 246 seconds]
horlicks has joined #ipfs
horlicks has quit [Ping timeout: 246 seconds]
horlicks has joined #ipfs
bigs_ has left #ipfs [#ipfs]
fafour has quit [Ping timeout: 276 seconds]
horlicks has quit [Ping timeout: 250 seconds]
horlicks has joined #ipfs
fafour has joined #ipfs
horlicks has quit [Ping timeout: 276 seconds]
horlicks has joined #ipfs
horlicks has quit [Ping timeout: 252 seconds]
kahiru has left #ipfs ["User left"]
PyHedgehog has joined #ipfs
reit has joined #ipfs
elux has joined #ipfs
voker57 has joined #ipfs
voker57 has joined #ipfs
voker57 has quit [Changing host]
Steverman has quit [Quit: WeeChat 2.2]
voker57 has quit [Quit: voker57]
spditner has joined #ipfs
voker57 has joined #ipfs
spditner has left #ipfs [#ipfs]
Encrypt has quit [Quit: Quit]
<rain2>
hey
<Swedneck>
o/
<rain2>
i was just wondering, can i calculate the IPFS hash a file will have locally? or do I have to upload it to the IPFS network to find that out?
<rain2>
and why is it different to just sha256 of the file or something?
ghostyy has joined #ipfs
<voker57>
rain2: ipfs add --hash-only
<rain2>
i see! is thaht computed from the file alone?
<voker57>
different because 1. it's specifically encoded hash 2. it's a tree hash
<voker57>
from file contents alone
<rain2>
Do you know where I could learn abotu tree hash? is that related to merkele trees?
<voker57>
smaller data chunks can use "raw" hashes instead of trees or even "identity" hashes
dhutra has quit [Ping timeout: 276 seconds]
ctOS has joined #ipfs
kn0rki has quit [Disconnected by services]
Kn0rki_ has joined #ipfs
kn0rki has joined #ipfs
elux has quit [Ping timeout: 252 seconds]
trqx has quit [Remote host closed the connection]
trqx has joined #ipfs
Kn0rki_ has quit [Quit: Verlassend]
kakra has joined #ipfs
hurikhan77 has quit [Ping timeout: 252 seconds]
<tperson>
fiatjaf: ya, the first block contains all that information.
petroav has joined #ipfs
pedrot has quit [Disconnected by services]
<fiatjaf>
tperson, do you have a hash there I can try with?
<kpcyrd>
fiatjaf: adding a file to ipfs that is larger than the max object size gives you a hash to try it. I'm not sure what's the limit from the top of my head, but 10mb should do
<kpcyrd>
I think there's an inspect command to get the "raw" object and that's going to show you that it's just a list of pointers to the actual chunks
Mayeu has joined #ipfs
Steverman has joined #ipfs
}ls{ has quit [Ping timeout: 244 seconds]
elux has joined #ipfs
tombusby has quit [Remote host closed the connection]
<fiatjaf>
kpcyrd, I don't get. I have files greater than 10MB added here
kaminishi has quit [Remote host closed the connection]
<kpcyrd>
ipfs object get QmdpAidwAsBGptFB3b6A9Pyi5coEbgjHrL3K2Qrsutmj9K
kaminishi has joined #ipfs
elux has quit [Ping timeout: 276 seconds]
elux has joined #ipfs
fafour has quit [Ping timeout: 250 seconds]
elux has quit [Ping timeout: 246 seconds]
<fiatjaf>
but if I do that I'll get the entire object, I don't want that!
<fiatjaf>
I just want to know the object size
<kpcyrd>
fiatjaf: that's difficult, depending on the object
<kpcyrd>
just noticed the size for each link is tracked, so you just have to sum them
<fiatjaf>
what if I don't have a directory, but a direct hash o a file?
<r0kk3rz>
they still have a directory wrapper i think
elux has joined #ipfs
<kpcyrd>
each object has a Data field that contains magic bytes that tell you the type of the object
<kpcyrd>
so you would take the first object, check it's magic bytes, and either calculate the size of a single object with no links or sum the size of each link
<kpcyrd>
*its
elux has quit [Ping timeout: 244 seconds]
gmoro has quit [Remote host closed the connection]
Encrypt has joined #ipfs
Jesin has quit [Quit: Leaving]
Lymkwi has quit [Remote host closed the connection]
Lymkwi has joined #ipfs
elux has joined #ipfs
graphene has quit [Remote host closed the connection]
graphene has joined #ipfs
Jesin has joined #ipfs
lnostdal has quit [Ping timeout: 245 seconds]
kaminishi has quit [Remote host closed the connection]
fazo has quit [Quit: fazo]
jhulten has joined #ipfs
joseminao has joined #ipfs
wakko has joined #ipfs
wakko1 has quit [Ping timeout: 244 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ipfs
Caterpillar2 has joined #ipfs
Caterpillar2 has quit [Client Quit]
lnostdal has joined #ipfs
ndjust has joined #ipfs
horlicks has joined #ipfs
horlicks has quit [Ping timeout: 244 seconds]
The_8472 has quit [Ping timeout: 252 seconds]
joseminao has left #ipfs [#ipfs]
The_8472 has joined #ipfs
xcm has quit [Remote host closed the connection]
elux has quit [Ping timeout: 268 seconds]
xcm has joined #ipfs
ONI_Ghost has quit [Ping timeout: 252 seconds]
ONI_Ghost has joined #ipfs
random_yanek has quit [Ping timeout: 252 seconds]
asymptotically has quit [Quit: Leaving]
random_yanek has joined #ipfs
Encrypt has quit [Quit: Quit]
HeWhois has quit [Quit: Now if you will excuse me, I have a giant ball of oil to throw out my window]