建议和反馈

请填写你的反馈内容

问答 > 比特币 > 问答详情
求助中

Chainpoint BTC区块链证明10LK

Chainpoint说:

Chainpoint将数据的哈希链接到区块链并返回时间戳证明。Chainpoint节点接收使用Merkle树聚合在一起的散列。此树的根发布在比特币交易中。最终的Chainpoint证明定义了一组操作,这些操作将您的数据加密链接到比特币区块链。

现在,我明白了,但在他们的Chainpoint proof v3.0版本中,他们没有向API的消费者提供实际的交易ID。他们以前在Chainpoint v2和v1中给出了它。我知道我在这里遗漏了一些东西,但是还有什么我需要证明我的Doc's哈希确实被推到了区块链,除了用他们提供的信息计算出来的merkle。

请帮助我理解这是如何暗示他们已经为我的Doc存在时间戳。

以下是Chainpoint proof v3的样子:

{
  "@context": "https://w3id.org/chainpoint/v3",
  "type": "Chainpoint",
  "hash": "ffff27222fe366d0b8988b7312c6ba60ee422418d92b62cdcb71fe2991ee7391",
  "hash_id_node": "66a34bd0-f4e7-11e7-a52b-016a36a9d789",
  "hash_submitted_node_at": "2018-01-09T02:47:15Z",
  "hash_id_core": "66bd6380-f4e7-11e7-895d-0176dc2220aa",
  "hash_submitted_core_at": "2018-01-09T02:47:15Z",
  "branches": [
    {
      "label": "cal_anchor_branch",
      "ops": [
        {
          "l": "node_id:66a34bd0-f4e7-11e7-a52b-016a36a9d789"
        },
        {
          "op": "sha-256"
        },
        {
          "l": "core_id:66bd6380-f4e7-11e7-895d-0176dc2220aa"
        },
        {
          "op": "sha-256"
        },
        {
          "l": "nist:1515465960:1041862e0f3987dca3aab3a91767d2a2ebbf251451b740879adb0926f0ee325e608d5c311e3f64a002dc5266337efc34ebdbf0032c7a253a8fbb64c1b0fb625f"
        },
        {
          "op": "sha-256"
        },
        {
          "r": "725a969557e64600aa2bbe50e75fc12dd913620144660836441a97f6d36babf9"
        },
        {
          "op": "sha-256"
        },
        {
          "l": "f21aac3945aee46d0cd888faff3364cc7640f88c9bdfefb1072a4bb82c6702b6"
        },
        {
          "op": "sha-256"
        },
        {
          "r": "c59058f17b93b609f4b49366c8808099a715836b6c08b45a1dc6ac762820ae27"
        },
        {
          "op": "sha-256"
        },
        {
          "l": "985635:1515466042:1:https://a.chainpoint.org:cal:985635"
        },
        {
          "r": "0e20cff025777bec277cd3a0599eaf5efbeb1ea7adf5ec5a39126a77fa57f837"
        },
        {
          "op": "sha-256"
        },
        {
          "anchors": [
            {
              "type": "cal",
              "anchor_id": "985635",
              "uris": [
                "https://a.chainpoint.org/calendar/985635/hash"
              ]
            }
          ]
        }
      ],
      "branches": [
        {
          "label": "btc_anchor_branch",
          "ops": [
            {
              "l": "0e20cff025777bec277cd3a0599eaf5efbeb1ea7adf5ec5a39126a77fa57f837"
            },
            {
              "op": "sha-256"
            },
            {
              "r": "9d7e8027c869d7446db8f2a5f371d967f5ba9d3a88f1703a1674f57963d3448d"
            },
            {
              "op": "sha-256"
            },
            {
              "l": "28c6aa4416d1b0aa474bc52fd32175ec7d15980772874617b5000aff043ac6cb"
            },
            {
              "op": "sha-256"
            },
            {
              "r": "4c297218f2015d4f84a6561ca06c1c28b2f6cca1500315ef6d4944ad6822b974"
            },
            {
              "op": "sha-256"
            },
            {
              "r": "f6a15401357e6e177583dbf5aa82b5ed5ae1043d1bda3faba88ca0fdb90e01c0"
            },
            {
              "op": "sha-256"
            },
            {
              "r": "ae9137386a03fdcdb9a1554a6e4fcd9697efed17caaa0221ce35e12bfc9fbf2d"
            },
            {
              "op": "sha-256"
            },
            {
              "l": "fa5643778470a9175644affe35e0177a13b2446d73182be0963d53b1d09214ab"
            },
            {
              "op": "sha-256"
            },
            {
              "l": "01000000013d9bfb8c553b3a7c9c030ea9b0f47c7e4c457e47a1ad2d9c751c8eb0e02fee70010000006a47304402201eac07288c3881f354564bb9da0d8267174cdc9e8c42ca82c2129a0416c806220220104e9932a89259472c84be7722f77324efa43a65ca79dd5bb8b6aab0ac9788000121032695ca0d3c0f7f8082a6ef66e7127e48d4eb99bef86be99432b897c485962fa8ffffffff020000000000000000226a20"
            },
            {
              "r": "ca694202000000001976a9149f1f4038857beedd34cc5ba9f26ac7a20c04d51988ac00000000"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "aa7008cdf722a674cc3532727ee39e9ebc810fb047cc7f4edc302705fcee3985"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "f0fae6f1dc00b678596e230584430b95bad9c1439f03293250b5a9bfb993b500"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "a79b18abcde7db6554e95c14ed544231f59670318033fc6e2e28142341ef223a"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "12105db21e488b1d8eb44fbce8bc5e3fcb7becc35fe4d9d30696ef7baff853eb"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "0ce1848d74ea8705858e468e045e7891f2b5f9c8ed37eeaa00be51846460294e"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "52af6b21e7b370f680e984b8a1e34ffdb45770d3cf599357ce245bad8c820d50"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "bb5bd9669a3bc3202e460091185f8103863da4263f417e85479fc3bb40a882d1"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "25bb84e8a36904224182b28adb04956d1251d4312b4e975c4ee3ff74a50bce1d"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "l": "a55b52dc8079febc3a8b673ee123829c176aca7dabb330299afdeac2bfea16d6"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "r": "3bf18e7d4ffaab9988d14b1402fe9817ea6c50fa626dd78bcaba18a9b16184f1"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "r": "af9ae1010333cf6e5ea124e5827a8bf0f40f68ab9a5bf283f93f744046b07a5d"
            },
            {
              "op": "sha-256-x2"
            },
            {
              "anchors": [
                {
                  "type": "btc",
                  "anchor_id": "503275",
                  "uris": [
                    "https://a.chainpoint.org/calendar/985814/data"
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]}

Chainpoint proof v2.0看起来像是不再使用了:

{
  "@context": "https://w3id.org/chainpoint/v2",
  "type": "ChainpointSHA256v2",
  "targetHash": "bdf8c9bdf076d6aff0292a1c9448691d2ae283f2ce41b045355e2c8cb8e85ef2",
  "merkleRoot": "51296468ea48ddbcc546abb85b935c73058fd8acdb0b953da6aa1ae966581a7a",
  "proof": [
    {
      "left": "bdf8c9bdf076d6aff0292a1c9448691d2ae283f2ce41b045355e2c8cb8e85ef2"
    },
    {
      "left": "cb0dbbedb5ec5363e39be9fc43f56f321e1572cfcf304d26fc67cb6ea2e49faf"
    },
    {
      "right": "cb0dbbedb5ec5363e39be9fc43f56f321e1572cfcf304d26fc67cb6ea2e49faf"
    }
  ],
  "anchors": [
    {
      "type": "BTCOpReturn",
      "sourceId": "f3be82fe1b5d8f18e009cb9a491781289d2e01678311fe2b2e4e84381aafadee"
    }
  ]}

-谢谢!


2019-07-18
0
请先登陆或注册

暂无回答!

邀请

感谢您的善举,每一次解答会成为新人的灯塔,回答被采纳后获得20算力和相应的LK币奖励