Bitcoin Forum
April 25, 2024, 06:49:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 [87] 88 89 90 91 92 93 94 95 »
  Print  
Author Topic: [ANN][Datacoin] Datacoin blockchain start announcement (Minor code upd + logo)  (Read 171793 times)
cryptrol
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
August 13, 2017, 04:17:22 PM
 #1721

They can write the data, but no other client can read it.

In rpcwallet.cpp I saw

senddata(const Array& params, bool fHelp)

...


Yes, this does baffle me.  I thought data was stored without encryption, and that any other client could read it.  We will have to redo the steps that the Apertus.io team went through to understand what went on.  This seems to imply that the block explorer or DTCbrowser (or Apertus.io) must do some sort of decryption.  I also wonder of they were using a client that could not do RPC for getdata.  If I remember correctly the earliest datacoin-hp client could not do RPC.  It was mostly for mining.

Data is stored *unencrypted* inside the blockchain, unless you encrypt it by your own means. Data can be posted RAW or using the envelope protocol (defined by OP).
I wrote a tool some time ago to read both types of data from a running datacoind using RPC calls .
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714070966
Hero Member
*
Offline Offline

Posts: 1714070966

View Profile Personal Message (Offline)

Ignore
1714070966
Reply with quote  #2

1714070966
Report to moderator
Verionum
Jr. Member
*
Offline Offline

Activity: 89
Merit: 3


View Profile
August 13, 2017, 07:08:06 PM
 #1722

Does anybody develop DTC seriously at present time?

Where is the original developer?
extro24
Sr. Member
****
Offline Offline

Activity: 481
Merit: 252


View Profile
August 13, 2017, 07:53:30 PM
 #1723

Quote
cryptrol wrote:
Data is stored *unencrypted* inside the blockchain, unless you encrypt it by your own means. Data can be posted RAW or using the envelope protocol (defined by OP).
I wrote a tool some time ago to read both types of data from a running datacoind using RPC calls .

I tried to install the "Aliens" HTML 5 game onto the Datacoin blockchain, as shown in the very interesting Apertus.io tutorial:  
https://www.youtube.com/watch?v=dCyxrtbD4lI

To my surprise, the cost was 159DTC.  Embii then informed me that this was because Apertus.io could only store data in 20 byte chunks, not 128kB chunks, so the cost was prohibitive.  If they used the 128kB chunks of the getdata/senddata methods other wallets could not execute the programs from the blockchain.

To quote:  
" FYI: Apertus.io also supports Datacoin's variable field storage. it is a lot cheaper method of storing data. one big problem with it... The datacoin wallet does not allow external wallets to access the variable coin data via RPC calls so any DTC-V etchings can only be rebuilt from the wallet that created it. Sad (fee free to experiment with it by enabling the DTC-V coin within your wallet settings...

We hope that the datacoin development team will fix this someday as it would be a great additional storage mechanism.

DTC standard etching behave the same as all other etchings...They are accessible in wallets that did not archive them."  
End quote.

I believe that it is extremely important to be able to execute Javascript programs cheaply from the Datacoin blockchain, and I ask everyone on this forum to please go through the tutorial and try to etch that alien game into the Datacoin blockchain.  Try to see where the problem is and how we can make this work.  I am not in any way connected with the Apertus.io team, but I believe this would be the "killer app" for Datacoin.  I will even send you some Datacoins, but it is actually very easy to mine them yourself with a cheap or old computer because the difficulty is very very low. If Datacoin can execute Javascript programs it would be "Turing complete", like Ethereum.  


voteformeg
Legendary
*
Offline Offline

Activity: 1932
Merit: 1005


View Profile
August 13, 2017, 08:28:22 PM
 #1724

think you guys do great work to revive DTC to DATA, will follow your work , if i remember where i held my old wallet.dat i come back for more and hopefully mining

this was great coin years ago and a lot of members hold DCT so o guess that support will follow
extro24
Sr. Member
****
Offline Offline

Activity: 481
Merit: 252


View Profile
August 14, 2017, 01:06:01 PM
 #1725

Does anybody develop DTC seriously at present time?

Where is the original developer?

oocook5u was the developer, but he disappeared very early on.  Since then the coin has been limping along, and I suppose we would welcome a new developer.

Verionum
Jr. Member
*
Offline Offline

Activity: 89
Merit: 3


View Profile
August 14, 2017, 04:18:13 PM
Last edit: August 14, 2017, 05:08:51 PM by Verionum
 #1726

oocook5u was the developer, but he disappeared very early on.  Since then the coin has been limping along, and I suppose we would welcome a new developer.

If there is no any development team, may be there are some experienced people that want to form new dev team.

I want to help with development, ideas or promotion. But I don't have sufficient programming experience.


Please, anyone who want to form new dev team write out here.


I still think the DTC idea is great. It is perfect tool for free speach, censorship-free or hidden messaging.

It can be tool for fighting against corruption. People can publish in DTC blockchain evidences against corruption.

It can be tool for evidence of priority of science discoveries and so on.

Information in DTC blockchain can be opened in browser with URL like dtc:HASH. And no state can forbid the access.

(Sorry for my English)
Chicago
Sr. Member
****
Offline Offline

Activity: 592
Merit: 259


View Profile
August 15, 2017, 03:41:47 AM
 #1727

Hello,

    Someone is burning a lot of cycles mining Datacoin.
    In the past 24 hours, we have jumped to a difficulty of 7.3 and blocks are being found several times per minute.

Code:
2017-08-15 03:30:54 SetBestChain: new best=7594a59e1211311b99169187f8363cd89d2e1e1307819d408aa2b65bb481b2bd  height=1959345  difficulty=7.3047667 log2Work=13.504695  log2ChainWork=44.258749  tx=2245104  date=2017-08-15 03:30:51 progress=0.999999

    One day earlier, on 8-14, difficulty was 6.99.

Code:
2017-08-14 03:30:52 SetBestChain: new best=fc935e650560f39fcca3ff4171211a8993dd68ad2adf04be5dc617485bf567df  height=1954949  difficulty=6.995058 log2Work=12.794213  log2ChainWork=44.258746  tx=2240706  date=2017-08-14 03:30:50 progress=0.999999

    Two days earlier, on 8-13, difficulty was 6.99.

Code:
2017-08-13 03:30:46 SetBestChain: new best=28090ab3548cba4cf231b54fb61f0fd714125454014b87f4eae7759f8b424c1c  height=1952510  difficulty=6.9938966 log2Work=12.749869  log2ChainWork=44.258745  tx=2238267  date=2017-08-13 03:30:50 progress=1.000001

    Three days earlier, on 8-12, difficulty was 6.99.

Code:
2017-08-12 03:30:46 SetBestChain: new best=dadbaa7a6fe26302567e08cc6bcf6bcc9c559fa9b0b728ece6479b35e0ae1f20  height=1949902  difficulty=6.9922183 log2Work=12.688032  log2ChainWork=44.258744  tx=2235659  date=2017-08-12 03:30:49 progress=1.000001

    Four days earlier, on 8-11, difficulty was 6.98.

Code:
2017-08-11 03:30:18 SetBestChain: new best=76cc4738718c01e3b8828495fe0769abb9e03347ead635a362f768d421a6ec2b  height=1946915  difficulty=6.98932 log2Work=12.587309  log2ChainWork=44.258742  tx=2232672  date=2017-08-11 03:30:20 progress=1.000001

    Five days earlier, on 8-10, difficulty was 6.98.

Code:
2017-08-10 03:30:49 SetBestChain: new best=d69040ec4119b134e470ab23b4d67cba09e4ec1237d269c352191304d3382e6a  height=1944039  difficulty=6.9856988 log2Work=12.470405  log2ChainWork=44.258741  tx=2229795  date=2017-08-10 03:30:51 progress=1.000001


    We can see between 8/10 - 8/11, 2876 blocks had been minted.
    We can see between 8/11 - 8/12, 2987 blocks had been minted.
    We can see between 8/12 - 8/13, 2608 blocks had been minted.
    We can see between 8/13 - 8/14, 2439 blocks had been minted.

   In the last 24 hours, 4396 blocks have been minted.



Best Regards,
-Chicago
extro24
Sr. Member
****
Offline Offline

Activity: 481
Merit: 252


View Profile
August 15, 2017, 09:03:46 AM
 #1728

We need:

A few people to be publicly identified as the "Datacoin developers".  Some C++ coding skills plus your own Datacoin repository on Github would be needed.  Or maybe we just take the most active people on this tread.

Full integration with Apertus.io.

An exchange.

Something like a "Datacoin Magazine" or "Datacoin News"

We then need to announce all of this with a new OP that is referenced from this thread.

I'll go first.  Anybody else interested?



 

Verionum
Jr. Member
*
Offline Offline

Activity: 89
Merit: 3


View Profile
August 15, 2017, 12:57:44 PM
 #1729


Full integration with Apertus.io.


I have looked at Apertus.io.

Does it use the transaction address as data storage? Is it only 20 bytes per transaction?

It is very essential limitation of Apertus.io.

It seems very ineffective.

DTC is designed for another way.

Apertus.io needs fundamental redesign for effective DTC usage.

Verionum
Jr. Member
*
Offline Offline

Activity: 89
Merit: 3


View Profile
August 15, 2017, 01:19:10 PM
 #1730


Code:
Value getdata(const Array& params, bool fHelp)
{
    if (fHelp || params.size() != 1)
        throw runtime_error(
            "getdata <hash>\n"
            "Returns base64 data from a given tx-hash.");

    std::string strHash = params[0].get_str();
    uint256 hash(strHash);

    CTransaction tx;
    uint256 hashBlock = 0;
    if (!GetTransaction(hash, tx, hashBlock, true))
        throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "No information available about transaction");

    string data = tx.GetBase64Data();

    return data;
}



From bitcoin documentation. https://chainquery.com/bitcoin-api/gettransaction

Quote
Command: gettransaction
Notes: The gettransaction RPC gets detailed information about an in-wallet transaction.
....

Note
Only transactions for this wallet are shown, for other transactions try getrawtransaction.

It seems the GetTransaction function must be correctly replaced with getrawtransaction function.
Verionum
Jr. Member
*
Offline Offline

Activity: 89
Merit: 3


View Profile
August 15, 2017, 02:02:02 PM
Last edit: August 15, 2017, 02:26:08 PM by Verionum
 #1731

Resume:

getdata can be easily replaced with following RPC Calls.

getrawtransaction <TRID>
decoderawtransaction <HEXRAWTR>

The result is a parsed transaction. The data field can be easily extracted from it.

It works for in-wallet and external transactions.

I hope it will be useful.
cryptrol
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
August 15, 2017, 04:06:44 PM
 #1732

Quote
cryptrol wrote:
Data is stored *unencrypted* inside the blockchain, unless you encrypt it by your own means. Data can be posted RAW or using the envelope protocol (defined by OP).
I wrote a tool some time ago to read both types of data from a running datacoind using RPC calls .

I tried to install the "Aliens" HTML 5 game onto the Datacoin blockchain, as shown in the very interesting Apertus.io tutorial:  
https://www.youtube.com/watch?v=dCyxrtbD4lI

To my surprise, the cost was 159DTC.  Embii then informed me that this was because Apertus.io could only store data in 20 byte chunks, not 128kB chunks, so the cost was prohibitive.  If they used the 128kB chunks of the getdata/senddata methods other wallets could not execute the programs from the blockchain.

Blockchain storage MUST be expensive, very expensive. 159 DTC is actually too cheap IMO.

I don't know what apertus is, but I guess they are using the OP_RETURN size to store data, I fail to see how Datacoin can be leveraged to store this kind of data in front of other (more secure) blockchains.

BTW, as of today, 34Mb of data is stored in the blockchain, besides bytestamp (I don't know what it is), there is nobody really using it.

On the development side, there is a lot of effort to put on it, I don't think any developer will pick the project as it is, too many issues,really old code (still openssl bugs on the main repo), without mentioning the Datacoin own issues with big blocks and network propagation. There is zero incentive for picking this old chain in front of bootstraping a new one, unless you are a hoarder and have millions (literally) of coins.

The chain as it is right now is : unsecure, unreliable, trivially exploitable. Be warned.
Chicago
Sr. Member
****
Offline Offline

Activity: 592
Merit: 259


View Profile
August 15, 2017, 04:26:11 PM
 #1733

Hi cryptrol,

    For the OpenSSL bugs are you referring to strict DER signatures?

Best Regards,
-Chicago
cryptrol
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
August 15, 2017, 04:35:01 PM
 #1734

No, heartbleed and posterior bugs.
You can restrict RPC to local access but having the bug in there is kinda creepy ...
MarcusDe
Hero Member
*****
Offline Offline

Activity: 796
Merit: 505



View Profile WWW
August 15, 2017, 04:39:38 PM
 #1735

Hi,

I see movement in DTC, nice!
I still support it by running node 24/7.
I can turn on my old AMD pool for DTC if you guys are interested.
But that will happen in few days, as I'm on holidays right now :-)

Chicago
Sr. Member
****
Offline Offline

Activity: 592
Merit: 259


View Profile
August 15, 2017, 04:49:47 PM
 #1736

No, heartbleed and posterior bugs.
You can restrict RPC to local access but having the bug in there is kinda creepy ...

Hi cryptrol,

    Well honestly, the heartbleed bugs only are a problem if you didn't compile your own wallet.
    My node is running OpenSSL v1.0.2l and hence is not affected by heartbleed.

    Who leaves RPC open in the wild anyway without a tcp-wrapper or iptables?

    You bring up a legitimate point and the solution is simply compiling the builds linked to a new version of OpenSSL.

    I'd have figured you were referring to BIP66.

    Much of the "maintenance" can be had by rebasing.
    At that time, new improvements will be inherited and modern binaries may be distributed.

    If anybody is looking for a blockchain to store data; it makes sense to find one which has survived a few years... otherwise what is the point?
    This chain is 1.8G and hasn't been spammed to death and has utility in multiple applications.
    ByteSt@mp is a testament to innovation secured with a chain of blocks.

    If you found Datacoin today and it had a 500G blockchain, would you so easily dismiss it?

    What else did you find aside from an SSL linking problem only affecting those who don't compile their own wallet?

Best Regards,
-Chicago
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 15, 2017, 05:07:46 PM
 #1737

Someone is burning a lot of cycles mining Datacoin.
In the past 24 hours, we have jumped to a difficulty of 7.3 and blocks are being found several times per minute.
In the last 24 hours, 4396 blocks have been minted.

I'm responsible for some of that (126 blocks by the look of it):

/www/lib/abe/datacoin-hp/datacoind listtransactions "" 1000 0 | grep amount | wc
    126     378    4032


It's a Hetzner-hosted server and I'm using cron to enable one i5 thread's worth of setgenerate true for 10m twice per hour, e.g.


51 * * * * /www/lib/abe/datacoin-hp/datacoind setgenerate true 1
0  * * * * /www/lib/abe/datacoin-hp/datacoind setgenerate false


Don't be misled by the /www/lib/abe/datacoin-hp, I'm not working on adapting the Abe block explorer for Datacoin.

What I do have is a nearly-complete ACME adaptation. ACME stands for “A Cryptocurrency Metadata Explorer” and it's an idiosyncratic, in-development approach to extracting and presenting the metadata associated with blocks, transactions and addresses.

There's an early version on Minkiz ... https://minkiz.co/acme/dtc but the displayed metadata is confined to what can be retrieved using the existing JSON-RPC commands, the “regulation dance moves” (if you're familiar with Dan Houser's work “In the Future, there Will be Robots” in GTA VC).

The basic issue is that the wallet itself is basically a transaction browser, scoped to transactions pertinent to a given set of addresses (i.e. yours) and so that version of ACME returns an error when attempting to retrieve the metadata associated with an address because there are no JSON-RPC commands that return the desired data.

As a consequence, in order to access metadata pertinent to addresses, one must create a separate representation of pretty much the entire blockchain in a form that can be searched, e.g. a standard database (the path followed by Abe, Iquidus, et al.)

It transpires that the blockchain is mostly metadata (txinhash, txohash, addrhash, blockhash, merkleroothash, dates, difficulty, nbits, nonces, etc.) and, as has been observed elsewhere on bitcointalk, the blockchain is a directed acyclic graph.

My familiarity with semantic web enables me to understand that a directed acyclic graph can be straightforwardly mapped to an RDF model (a labelled directed multigraph).

That is to say, I have a small Python script that maps the metadata returned by JSON-RPC calls on the client, e.g. this is the response for block #1 of Slimcoin's testnet ...


{
  "Formatted nEffectiveBurnCoins": "0.00",
  "bits": "1e7fffff",
  "difficulty": 3.052e-05,
  "entropybit": 1,
  "flags": "proof-of-work",
  "hash": "000032dd80ce31e95065504b6d4b688497f9d5093b88ac617a676e61c726d9c1",
  "height": 1,
  "merkleroot": "be151c377da175c2a06e8d8e103575e27440c9819258a92dc80753d144d93019",
  "mint": 42.04,
  "modifier": "0000000000000000",
  "modifierchecksum": "bc4b99b6",
  "nBurnBits": "1f00ffff",
  "nEffectiveBurnCoins": "0",
  "nextblockhash": "0000624e33550d6a42ca7d48db2c4707d900009f8fd710b4b5444c8acaded7ff",
  "nonce": 13988,
  "previousblockhash": "00000d7e8a80fec4057cb6d560822705596040bf41f0ebb2465dcdf46e4c517e",
  "proofhash": "000032dd80ce31e95065504b6d4b688497f9d5093b88ac617a676e61c726d9c1",
  "size": 356,
  "time": "2017-04-15 19:27:40 UTC",
  "tx": [
    "be151c377da175c2a06e8d8e103575e27440c9819258a92dc80753d144d93019"
  ],
  "version": 1
}


mapped to RDF, the green bit, in this context-setting example, note how the (slightly decorated) hash identifiers map the RDF to the blockchain data. I've included some additional statements to illustrate the range of representation available:


@prefix :      <http://purl.org/net/bel-epa/ccy#> .
@prefix doacc: <http://purl.org/net/bel-epa/doacc#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml:   <http://www.w3.org/XML/1998/namespace> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .


:C00000d7e8a80fec4057cb6d560822705596040bf41f0ebb2465dcdf46e4c517e
        a                :BlockChain ;
        :cryptocurrency  doacc:D6b7dd05f-19f2-4b36-833d-f4bda4be58f5 .

doacc:D6b7dd05f-19f2-4b36-833d-f4bda4be58f5
        a                          doacc:Cryptocurrency ;
        dc:description             "Slimcoin burn mining is truly ASIC-proof."@en ;
        doacc:block-reward         "50" ;
        doacc:block-time           90 ;
        doacc:date-founded         "2014-05-28"^^xsd:date ;
        doacc:distribution-scheme  doacc:Dc10c93fb-f7ec-40cd-a06e-7890686f6ef8 ;
        doacc:image                "slimcoin_slm.png" ;
        doacc:incept               "2014-05" ;
        doacc:pow                  doacc:D28483031-b854-4853-9a35-e1daf97e4c59 ;
        doacc:protection-scheme    doacc:D493eab2e-eeba-496d-afca-c9372c6efe9a ;
        doacc:protocol             doacc:Dede0f611-3a23-4794-b768-0740933a5ff6 ;
        doacc:retarget-time        "continuous" ;
        doacc:reward-modifier      "var/diff" ;
        doacc:symbol               "SLM"@en ;
        doacc:total-coins          "250000000" ;
        skos:prefLabel             "Slimcoin"@en .

:C000032dd80ce31e95065504b6d4b688497f9d5093b88ac617a676e61c726d9c1
        a                   :Block ;
        :difficulty         3.052e-05 ;
        :flags              "proof-of-work" ;
        :height             1 ;
        :mint               42.04 ;
        :nextblockhash      :C0000624e33550d6a42ca7d48db2c4707d900009f8fd710b4b5444c8acaded7ff ;
        :previousblockhash  :C00000d7e8a80fec4057cb6d560822705596040bf41f0ebb2465dcdf46e4c517e ;
        :size               356 ;
        :time               1492277260 .

[ ... ]

:Cd59670bd91b31ed6ec358bcce242a66ddce2fe8845e6dd7fdef4361ae9c583f9
        a                   :Block ;
        :difficulty         0.07415064 ;
        :flags              "proof-of-burn" ;
        :height             184 ;
        :mint               94.77 ;
        :nextblockhash      :C00000006874a6a4e3b9d91c52d34f2782e8728902d95277ba85758232bb66fdf ;
        :previousblockhash  :C00000006ecd2854d57e9469143e04bb77c457cf5766baefc953633ad79537eff ;
        :size               355 ;
        :time               1492287327 .



I haven't included the RDF for the transaction hash referenced in the JSON response

be151c377da175c2a06e8d8e103575e27440c9819258a92dc80753d144d93019

but it can be looked up as :Cbe151c377da175c2a06e8d8e103575e27440c9819258a92dc80753d144d93019, or to render it with a fully-expanded identifier:

http://purl.org/net/bel-epa/ccy#Cbe151c377da175c2a06e8d8e103575e27440c9819258a92dc80753d144d93019

(This is a prototype, I can make the URLs work, the URLs can be changed to http://purl.org/net/datacoin/ccy# on successful registration of a purl.org account and the successful submission of a /net/datacoin subdomain request - I got one for bel-epa as you can guess).

The Datacoin ACME running on http://tessier.bel-epa.com, port 5059 (apologies for the apparentl coyness, Hetzner's outsourced DoS protection algos have a habit of misclassifying web traffic to “unexpected” ports as DoS attempts and closing access to the port) is (atm) only JSON-RPC but you can get an idea of a more complete version by browsing the Slimcoin ACME on http://tessier.bel-epa.com, port 6054. Look at what's going on in “Publications” (on both mainnet and testnet - to toggle between them, click the coin icon/name in the menubar).

So, not just a metadata explorer but also, for Datacoin, the fact that ACME is a web app also means that it is also a vehicle that potentially can be made capable of detecting which txs have a non-null value bound to their “data” slot, what that value is and if that data has been embedded in a metadata-holding protobuf structure which can be interrogated to discover the declared MIME type of the stored binary data and rendered appropriately according to the MIME type (in a vain hope that the mimetype declaration is actually accurate).

So, I have a JSON-RPC-only v0 of ACME, a v1 variant developed for Slimcoin, a v2 variant of v1 adapted for Datacoin and my next task, before releasing the code as open source is create v0.0, the intersection of v0, v1 and v2, properly generalised (some altcoin implementations return dates as a formatted string, others return a timestamp-in-seconds integer). Then the Slimcoin and Datacoin adaptations can become separate branches (ditto for Beecoin, which is the next adaptation in the queue).


I don't see a dev, too centralised for my tastes. But I do see custodians, curators and restorers. That's a good distributed thing and renders this peer-to-peer network more likely to (continue to) survive.

Cheers

Graham
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 15, 2017, 06:38:48 PM
 #1738

From bitcoin documentation. https://chainquery.com/bitcoin-api/gettransaction
It seems the GetTransaction function must be correctly replaced with getrawtransaction function.

I tried it and it sort of works as advertised ...

From bytestamp, txhash 5e0adc631cab6f9040e125a5eed5c87803c4e95c2e734a1bc3d6c36f56cbb94e has the binary data of a GIF, apparently.


$ .../datacoind getdata 5e0adc631cab6f9040e125a5eed5c87803c4e95c2e734a1bc3d6c36f56cbb94e
TVJdLTBAXy9EV2MxZjRiZGFmY2M4Y2RmMTU0MDIxZjI4NzEyYzNkNjMzLDZmMDNiYjJhNGVlMzE4NzM 2YTc4OTlhZDI0MDVhNDE1LA==


Can't be the GIF, not enough bytes.

The perl source of foo1inge's datacoin-brower will be instructive (when I've understood it's functioning) https://github.com/foo1inge/datacoin-browser/tree/master/perl

Cheers

Graham
Verionum
Jr. Member
*
Offline Offline

Activity: 89
Merit: 3


View Profile
August 15, 2017, 07:55:26 PM
Last edit: August 15, 2017, 08:23:47 PM by Verionum
 #1739



$ .../datacoind getdata 5e0adc631cab6f9040e125a5eed5c87803c4e95c2e734a1bc3d6c36f56cbb94e
TVJdLTBAXy9EV2MxZjRiZGFmY2M4Y2RmMTU0MDIxZjI4NzEyYzNkNjMzLDZmMDNiYjJhNGVlMzE4NzM 2YTc4OTlhZDI0MDVhNDE1LA==




It seems that transaction does not contain the original gif file. It seems it contains MD5 signature of the external file.

"TVJdLTBAXy9EV2MxZjRiZGFmY2M4Y2RmMTU0MDIxZjI4NzEyYzNkNjMzLDZmMDNiYjJhNGVlMzE4NzM 2YTc4OTlhZDI0MDVhNDE1LA==" is base64 encoded.


After decode "TVJdLTBAXy9EV2MxZjRiZGFmY2M4Y2RmMTU0MDIxZjI4NzEyYzNkNjMzLDZmMDNiYjJhNGVlMzE4NzM 2YTc4OTlhZDI0MDVhNDE1LA=="  
turns into     "MR]-0@_/DWc1f4bdafcc8cdf154021f28712c3d633,6f03bb2a4ee318736a7899ad2405a415,"

It perfectly corresponds to bytestamp's info of that transaction: "MD5 in this transaction: c1f4bdafcc8cdf154021f28712c3d633 - MD5 of the note: 6f03bb2a4ee318736a7899ad2405a415"


It seems that "MR]-0@_/DWc1f4bdafcc8cdf154021f28712c3d633,6f03bb2a4ee318736a7899ad2405a415," is some sort of data formatting for saving file signatures.
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 15, 2017, 09:04:47 PM
 #1740

It seems that transaction does not contain the original gif file. It seems it contains MD5 signature of the external file.

It seems that "MR]-0@_/DWc1f4bdafcc8cdf154021f28712c3d633,6f03bb2a4ee318736a7899ad2405a415," is some sort of data formatting for saving file signatures.

Ahhh, is that what it is. I couldn't figure out what the md5 hashes were about. Must be a similar approach, using the md5 hashes as indexes.

I wonder if the preceding binary is what protobuf gets boiled down to:

1. Only CompressionMethod and Data fields are required. Compression method can be set to "None" (means no compression).

from https://github.com/foo1inge/datacoin-browser/blob/master/perl/envelope.proto#L34

Unless bytestamp use their own scheme.

Cheers

Graham
Pages: « 1 ... 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 [87] 88 89 90 91 92 93 94 95 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!