481
TestNet Discussion Archive / Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« on: August 29, 2018, 10:18:43 PM »That doesnt make sense; the code either accepts it or rejects it. I do not think you tested it properly; can you Upload the file into the transaction and double click it, and then paste it, and that means the Single test was performed? (In contrast to uploading it and forgetting to check on the transaction list message).
If something fails, you can just post the entire error message here, since this is an atomic test.
So far, I see no flaws in the system except user error and the ipfs gateway going up-down at random times.
There is a third possibility isn't there besides accepts it or rejects it... and that is... it accepts it, processes the upload, but the transaction ID doesn't include the ipfs hash in the transaction details? I wish I was smart enough to understand my 2.4MB file works, but not a 4MB file. 4mb jpeg - can you try to attach this file and see if you can replicate what I've been saying? This is the file: https://upload.wikimedia.org/wikipedia/commons/1/1e/Caerte_van_Oostlant_4MB.jpg
So, I was able to upload a 2.4MB file:
Quote
Status: 0/unconfirmed, broadcast through 2 nodes
Date: 8/29/2018 20:15
To: klondike testnet yfhc5FdNSyAYyB4Fx4aJ2x4KoXiGuXxhyH
Debit: -106.00000000 tBiblepay
Net amount: -106.00000000 tBiblepay
IPFS Document: Navigate to document QmceXVXDjork9aT2MoVnroYRc3RxLXdJY8UA9872y8o9FV Transaction ID: e32028e1f1576521540a450b137947c1b690bca598e7660b7bea6e62710d8f43-000
Debug information
Debit: -119 989.49989340 tBiblepay
Credit: 119 883.49989340 tBiblepay
Transaction:
CTransaction(hash=e32028e1f1, ver=1, vin.size=1, vout.size=2, nLockTime=54059)
CTxIn(COutPoint(77527314927f560414ba52f571fab48f701b34385b22cad00f7db7984b4a635c, 2), scriptSig=483045022100d68ecb44edde, nSequence=4294967294)
CTxOut(nValue=106.00000000, scriptPubKey=76a914d49b3ddf917fb85e7e39b440)
CTxOut(nValue=119883.49989340, scriptPubKey=76a914fa9ea914a5d2e9b1e1541102)
Inputs:
yga9M5wSn9zUp8oTi4Yzqom7F7D1rWRApc Amount=119 989.49989340 tBiblepay IsMine=true IsWatchOnly=false
XML:
{PACK}{MT}ATTACHMENT{/MT}{MK}OUT_TX{/MK}{MV}QmceXVXDjork9aT2MoVnroYRc3RxLXdJY8UA9872y8o9FV{/MV}{ipfshash}QmceXVXDjork9aT2MoVnroYRc3RxLXdJY8UA9872y8o9FV{/ipfshash}{/PACK}{PACK}{MT}MESSAGE{/MT}{MK}OUT_TX{/MK}{MV}test 6 big truck video {/MV}{/PACK}{change}1{/change}
but this one 4mb jpeg doesn't show the ipfs hash in transaction details.
Quote
Status: 0/unconfirmed, broadcast through 2 nodes
Date: 8/29/2018 20:15
To: klondike testnet yfhc5FdNSyAYyB4Fx4aJ2x4KoXiGuXxhyH
Debit: -107.00000000 tBiblepay
Net amount: -107.00000000 tBiblepay
Transaction ID: 87126350a8ba79a679e66807e0e17b22b1dfdf3d3db64775fd3565ecad9eb2e7-000
Debug information
Debit: -443 465.02000000 tBiblepay
Credit: 443 358.02000000 tBiblepay
Transaction:
CTransaction(hash=87126350a8, ver=1, vin.size=1, vout.size=2, nLockTime=54059)
CTxIn(COutPoint(45d826b3e6f24da2dd6379fedf10413dc9dab9132b0b1c390110fe6a7667861e, 1), scriptSig=483045022100f73941971aeb, nSequence=4294967294)
CTxOut(nValue=107.00000000, scriptPubKey=76a914d49b3ddf917fb85e7e39b440)
CTxOut(nValue=443358.02000000, scriptPubKey=76a914a7c5ca8893336e79620b426b)
Inputs:
yM4cUY5evJmSKJEjbTsgxh6RQbpqk53kYe Amount=443 465.02000000 tBiblepay IsMine=true IsWatchOnly=false
XML:
{PACK}{MT}ATTACHMENT{/MT}{MK}OUT_TX{/MK}{MV}{/MV}{ipfshash}{/ipfshash}{/PACK}{PACK}{MT}MESSAGE{/MT}{MK}OUT_TX{/MK}{MV}test 7 4mb jpg {/MV}{/PACK}{change}1{/change}